{"id":"8d4a7931c877825c9729964a47cbf999","_format":"hh-sol-build-info-1","solcVersion":"0.8.28","solcLongVersion":"0.8.28+commit.7893614a","input":{"language":"Solidity","sources":{"@openzeppelin/contracts/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n * require(hasRole(MY_ROLE, msg.sender));\n * ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n struct RoleData {\n mapping(address account => bool) hasRole;\n bytes32 adminRole;\n }\n\n mapping(bytes32 role => RoleData) private _roles;\n\n bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n /**\n * @dev Modifier that checks that an account has a specific role. Reverts\n * with an {AccessControlUnauthorizedAccount} error including the required role.\n */\n modifier onlyRole(bytes32 role) {\n _checkRole(role);\n _;\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\n }\n\n /**\n * @dev Returns `true` if `account` has been granted `role`.\n */\n function hasRole(bytes32 role, address account) public view virtual returns (bool) {\n return _roles[role].hasRole[account];\n }\n\n /**\n * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n */\n function _checkRole(bytes32 role) internal view virtual {\n _checkRole(role, _msgSender());\n }\n\n /**\n * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n * is missing `role`.\n */\n function _checkRole(bytes32 role, address account) internal view virtual {\n if (!hasRole(role, account)) {\n revert AccessControlUnauthorizedAccount(account, role);\n }\n }\n\n /**\n * @dev Returns the admin role that controls `role`. See {grantRole} and\n * {revokeRole}.\n *\n * To change a role's admin, use {_setRoleAdmin}.\n */\n function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n return _roles[role].adminRole;\n }\n\n /**\n * @dev Grants `role` to `account`.\n *\n * If `account` had not been already granted `role`, emits a {RoleGranted}\n * event.\n *\n * Requirements:\n *\n * - the caller must have ``role``'s admin role.\n *\n * May emit a {RoleGranted} event.\n */\n function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n _grantRole(role, account);\n }\n\n /**\n * @dev Revokes `role` from `account`.\n *\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\n *\n * Requirements:\n *\n * - the caller must have ``role``'s admin role.\n *\n * May emit a {RoleRevoked} event.\n */\n function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n _revokeRole(role, account);\n }\n\n /**\n * @dev Revokes `role` from the calling account.\n *\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\n * purpose is to provide a mechanism for accounts to lose their privileges\n * if they are compromised (such as when a trusted device is misplaced).\n *\n * If the calling account had been revoked `role`, emits a {RoleRevoked}\n * event.\n *\n * Requirements:\n *\n * - the caller must be `callerConfirmation`.\n *\n * May emit a {RoleRevoked} event.\n */\n function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n if (callerConfirmation != _msgSender()) {\n revert AccessControlBadConfirmation();\n }\n\n _revokeRole(role, callerConfirmation);\n }\n\n /**\n * @dev Sets `adminRole` as ``role``'s admin role.\n *\n * Emits a {RoleAdminChanged} event.\n */\n function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n bytes32 previousAdminRole = getRoleAdmin(role);\n _roles[role].adminRole = adminRole;\n emit RoleAdminChanged(role, previousAdminRole, adminRole);\n }\n\n /**\n * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n *\n * Internal function without access restriction.\n *\n * May emit a {RoleGranted} event.\n */\n function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n if (!hasRole(role, account)) {\n _roles[role].hasRole[account] = true;\n emit RoleGranted(role, account, _msgSender());\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.\n *\n * Internal function without access restriction.\n *\n * May emit a {RoleRevoked} event.\n */\n function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {\n if (hasRole(role, account)) {\n _roles[role].hasRole[account] = false;\n emit RoleRevoked(role, account, _msgSender());\n return true;\n } else {\n return false;\n }\n }\n}\n"},"@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev External interface of AccessControl declared to support ERC-165 detection.\n */\ninterface IAccessControl {\n /**\n * @dev The `account` is missing a role.\n */\n error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);\n\n /**\n * @dev The caller of a function is not the expected one.\n *\n * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\n */\n error AccessControlBadConfirmation();\n\n /**\n * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n *\n * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n * {RoleAdminChanged} not being emitted to signal this.\n */\n event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\n\n /**\n * @dev Emitted when `account` is granted `role`.\n *\n * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).\n * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\n */\n event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\n\n /**\n * @dev Emitted when `account` is revoked `role`.\n *\n * `sender` is the account that originated the contract call:\n * - if using `revokeRole`, it is the admin role bearer\n * - if using `renounceRole`, it is the role bearer (i.e. `account`)\n */\n event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\n\n /**\n * @dev Returns `true` if `account` has been granted `role`.\n */\n function hasRole(bytes32 role, address account) external view returns (bool);\n\n /**\n * @dev Returns the admin role that controls `role`. See {grantRole} and\n * {revokeRole}.\n *\n * To change a role's admin, use {AccessControl-_setRoleAdmin}.\n */\n function getRoleAdmin(bytes32 role) external view returns (bytes32);\n\n /**\n * @dev Grants `role` to `account`.\n *\n * If `account` had not been already granted `role`, emits a {RoleGranted}\n * event.\n *\n * Requirements:\n *\n * - the caller must have ``role``'s admin role.\n */\n function grantRole(bytes32 role, address account) external;\n\n /**\n * @dev Revokes `role` from `account`.\n *\n * If `account` had been granted `role`, emits a {RoleRevoked} event.\n *\n * Requirements:\n *\n * - the caller must have ``role``'s admin role.\n */\n function revokeRole(bytes32 role, address account) external;\n\n /**\n * @dev Revokes `role` from the calling account.\n *\n * Roles are often managed via {grantRole} and {revokeRole}: this function's\n * purpose is to provide a mechanism for accounts to lose their privileges\n * if they are compromised (such as when a trusted device is misplaced).\n *\n * If the calling account had been granted `role`, emits a {RoleRevoked}\n * event.\n *\n * Requirements:\n *\n * - the caller must be `callerConfirmation`.\n */\n function renounceRole(bytes32 role, address callerConfirmation) external;\n}\n"},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n /**\n * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n * @param balance Current balance for the interacting account.\n * @param needed Minimum amount required to perform a transfer.\n */\n error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n /**\n * @dev Indicates a failure with the token `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n */\n error ERC20InvalidSender(address sender);\n\n /**\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\n * @param receiver Address to which tokens are being transferred.\n */\n error ERC20InvalidReceiver(address receiver);\n\n /**\n * @dev Indicates a failure with the `spender`โs `allowance`. Used in transfers.\n * @param spender Address that may be allowed to operate on tokens without being their owner.\n * @param allowance Amount of tokens a `spender` is allowed to operate with.\n * @param needed Minimum amount required to perform a transfer.\n */\n error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n /**\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n * @param approver Address initiating an approval operation.\n */\n error ERC20InvalidApprover(address approver);\n\n /**\n * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n * @param spender Address that may be allowed to operate on tokens without being their owner.\n */\n error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n /**\n * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n * Used in balance queries.\n * @param owner Address of the current owner of a token.\n */\n error ERC721InvalidOwner(address owner);\n\n /**\n * @dev Indicates a `tokenId` whose `owner` is the zero address.\n * @param tokenId Identifier number of a token.\n */\n error ERC721NonexistentToken(uint256 tokenId);\n\n /**\n * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n * @param tokenId Identifier number of a token.\n * @param owner Address of the current owner of a token.\n */\n error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n /**\n * @dev Indicates a failure with the token `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n */\n error ERC721InvalidSender(address sender);\n\n /**\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\n * @param receiver Address to which tokens are being transferred.\n */\n error ERC721InvalidReceiver(address receiver);\n\n /**\n * @dev Indicates a failure with the `operator`โs approval. Used in transfers.\n * @param operator Address that may be allowed to operate on tokens without being their owner.\n * @param tokenId Identifier number of a token.\n */\n error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n /**\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n * @param approver Address initiating an approval operation.\n */\n error ERC721InvalidApprover(address approver);\n\n /**\n * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n * @param operator Address that may be allowed to operate on tokens without being their owner.\n */\n error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n /**\n * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n * @param balance Current balance for the interacting account.\n * @param needed Minimum amount required to perform a transfer.\n * @param tokenId Identifier number of a token.\n */\n error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n /**\n * @dev Indicates a failure with the token `sender`. Used in transfers.\n * @param sender Address whose tokens are being transferred.\n */\n error ERC1155InvalidSender(address sender);\n\n /**\n * @dev Indicates a failure with the token `receiver`. Used in transfers.\n * @param receiver Address to which tokens are being transferred.\n */\n error ERC1155InvalidReceiver(address receiver);\n\n /**\n * @dev Indicates a failure with the `operator`โs approval. Used in transfers.\n * @param operator Address that may be allowed to operate on tokens without being their owner.\n * @param owner Address of the current owner of a token.\n */\n error ERC1155MissingApprovalForAll(address operator, address owner);\n\n /**\n * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n * @param approver Address initiating an approval operation.\n */\n error ERC1155InvalidApprover(address approver);\n\n /**\n * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n * @param operator Address that may be allowed to operate on tokens without being their owner.\n */\n error ERC1155InvalidOperator(address operator);\n\n /**\n * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n * Used in batch transfers.\n * @param idsLength Length of the array of token identifiers\n * @param valuesLength Length of the array of token amounts\n */\n error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"@openzeppelin/contracts/interfaces/IERC5267.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)\n\npragma solidity ^0.8.20;\n\ninterface IERC5267 {\n /**\n * @dev MAY be emitted to signal that the domain could have changed.\n */\n event EIP712DomainChanged();\n\n /**\n * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\n * signature.\n */\n function eip712Domain()\n external\n view\n returns (\n bytes1 fields,\n string memory name,\n string memory version,\n uint256 chainId,\n address verifyingContract,\n bytes32 salt,\n uint256[] memory extensions\n );\n}\n"},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n mapping(address account => uint256) private _balances;\n\n mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n uint256 private _totalSupply;\n\n string private _name;\n string private _symbol;\n\n /**\n * @dev Sets the values for {name} and {symbol}.\n *\n * Both values are immutable: they can only be set once during construction.\n */\n constructor(string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n }\n\n /**\n * @dev Returns the name of the token.\n */\n function name() public view virtual returns (string memory) {\n return _name;\n }\n\n /**\n * @dev Returns the symbol of the token, usually a shorter version of the\n * name.\n */\n function symbol() public view virtual returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev Returns the number of decimals used to get its user representation.\n * For example, if `decimals` equals `2`, a balance of `505` tokens should\n * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n *\n * Tokens usually opt for a value of 18, imitating the relationship between\n * Ether and Wei. This is the default value returned by this function, unless\n * it's overridden.\n *\n * NOTE: This information is only used for _display_ purposes: it in\n * no way affects any of the arithmetic of the contract, including\n * {IERC20-balanceOf} and {IERC20-transfer}.\n */\n function decimals() public view virtual returns (uint8) {\n return 18;\n }\n\n /**\n * @dev See {IERC20-totalSupply}.\n */\n function totalSupply() public view virtual returns (uint256) {\n return _totalSupply;\n }\n\n /**\n * @dev See {IERC20-balanceOf}.\n */\n function balanceOf(address account) public view virtual returns (uint256) {\n return _balances[account];\n }\n\n /**\n * @dev See {IERC20-transfer}.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - the caller must have a balance of at least `value`.\n */\n function transfer(address to, uint256 value) public virtual returns (bool) {\n address owner = _msgSender();\n _transfer(owner, to, value);\n return true;\n }\n\n /**\n * @dev See {IERC20-allowance}.\n */\n function allowance(address owner, address spender) public view virtual returns (uint256) {\n return _allowances[owner][spender];\n }\n\n /**\n * @dev See {IERC20-approve}.\n *\n * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n * `transferFrom`. This is semantically equivalent to an infinite approval.\n *\n * Requirements:\n *\n * - `spender` cannot be the zero address.\n */\n function approve(address spender, uint256 value) public virtual returns (bool) {\n address owner = _msgSender();\n _approve(owner, spender, value);\n return true;\n }\n\n /**\n * @dev See {IERC20-transferFrom}.\n *\n * Skips emitting an {Approval} event indicating an allowance update. This is not\n * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n *\n * NOTE: Does not update the allowance if the current allowance\n * is the maximum `uint256`.\n *\n * Requirements:\n *\n * - `from` and `to` cannot be the zero address.\n * - `from` must have a balance of at least `value`.\n * - the caller must have allowance for ``from``'s tokens of at least\n * `value`.\n */\n function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n address spender = _msgSender();\n _spendAllowance(from, spender, value);\n _transfer(from, to, value);\n return true;\n }\n\n /**\n * @dev Moves a `value` amount of tokens from `from` to `to`.\n *\n * This internal function is equivalent to {transfer}, and can be used to\n * e.g. implement automatic token fees, slashing mechanisms, etc.\n *\n * Emits a {Transfer} event.\n *\n * NOTE: This function is not virtual, {_update} should be overridden instead.\n */\n function _transfer(address from, address to, uint256 value) internal {\n if (from == address(0)) {\n revert ERC20InvalidSender(address(0));\n }\n if (to == address(0)) {\n revert ERC20InvalidReceiver(address(0));\n }\n _update(from, to, value);\n }\n\n /**\n * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n * this function.\n *\n * Emits a {Transfer} event.\n */\n function _update(address from, address to, uint256 value) internal virtual {\n if (from == address(0)) {\n // Overflow check required: The rest of the code assumes that totalSupply never overflows\n _totalSupply += value;\n } else {\n uint256 fromBalance = _balances[from];\n if (fromBalance < value) {\n revert ERC20InsufficientBalance(from, fromBalance, value);\n }\n unchecked {\n // Overflow not possible: value <= fromBalance <= totalSupply.\n _balances[from] = fromBalance - value;\n }\n }\n\n if (to == address(0)) {\n unchecked {\n // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n _totalSupply -= value;\n }\n } else {\n unchecked {\n // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n _balances[to] += value;\n }\n }\n\n emit Transfer(from, to, value);\n }\n\n /**\n * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n * Relies on the `_update` mechanism\n *\n * Emits a {Transfer} event with `from` set to the zero address.\n *\n * NOTE: This function is not virtual, {_update} should be overridden instead.\n */\n function _mint(address account, uint256 value) internal {\n if (account == address(0)) {\n revert ERC20InvalidReceiver(address(0));\n }\n _update(address(0), account, value);\n }\n\n /**\n * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n * Relies on the `_update` mechanism.\n *\n * Emits a {Transfer} event with `to` set to the zero address.\n *\n * NOTE: This function is not virtual, {_update} should be overridden instead\n */\n function _burn(address account, uint256 value) internal {\n if (account == address(0)) {\n revert ERC20InvalidSender(address(0));\n }\n _update(account, address(0), value);\n }\n\n /**\n * @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.\n *\n * This internal function is equivalent to `approve`, and can be used to\n * e.g. set automatic allowances for certain subsystems, etc.\n *\n * Emits an {Approval} event.\n *\n * Requirements:\n *\n * - `owner` cannot be the zero address.\n * - `spender` cannot be the zero address.\n *\n * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n */\n function _approve(address owner, address spender, uint256 value) internal {\n _approve(owner, spender, value, true);\n }\n\n /**\n * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n *\n * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n * `Approval` event during `transferFrom` operations.\n *\n * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n * true using the following override:\n *\n * ```solidity\n * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n * super._approve(owner, spender, value, true);\n * }\n * ```\n *\n * Requirements are the same as {_approve}.\n */\n function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n if (owner == address(0)) {\n revert ERC20InvalidApprover(address(0));\n }\n if (spender == address(0)) {\n revert ERC20InvalidSpender(address(0));\n }\n _allowances[owner][spender] = value;\n if (emitEvent) {\n emit Approval(owner, spender, value);\n }\n }\n\n /**\n * @dev Updates `owner`'s allowance for `spender` based on spent `value`.\n *\n * Does not update the allowance value in case of infinite allowance.\n * Revert if not enough allowance is available.\n *\n * Does not emit an {Approval} event.\n */\n function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n uint256 currentAllowance = allowance(owner, spender);\n if (currentAllowance < type(uint256).max) {\n if (currentAllowance < value) {\n revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n }\n unchecked {\n _approve(owner, spender, currentAllowance - value, false);\n }\n }\n }\n}\n"},"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20Permit} from \"./IERC20Permit.sol\";\nimport {ERC20} from \"../ERC20.sol\";\nimport {ECDSA} from \"../../../utils/cryptography/ECDSA.sol\";\nimport {EIP712} from \"../../../utils/cryptography/EIP712.sol\";\nimport {Nonces} from \"../../../utils/Nonces.sol\";\n\n/**\n * @dev Implementation of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n */\nabstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces {\n bytes32 private constant PERMIT_TYPEHASH =\n keccak256(\"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\");\n\n /**\n * @dev Permit deadline has expired.\n */\n error ERC2612ExpiredSignature(uint256 deadline);\n\n /**\n * @dev Mismatched signature.\n */\n error ERC2612InvalidSigner(address signer, address owner);\n\n /**\n * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `\"1\"`.\n *\n * It's a good idea to use the same `name` that is defined as the ERC-20 token name.\n */\n constructor(string memory name) EIP712(name, \"1\") {}\n\n /**\n * @inheritdoc IERC20Permit\n */\n function permit(\n address owner,\n address spender,\n uint256 value,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) public virtual {\n if (block.timestamp > deadline) {\n revert ERC2612ExpiredSignature(deadline);\n }\n\n bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));\n\n bytes32 hash = _hashTypedDataV4(structHash);\n\n address signer = ECDSA.recover(hash, v, r, s);\n if (signer != owner) {\n revert ERC2612InvalidSigner(signer, owner);\n }\n\n _approve(owner, spender, value);\n }\n\n /**\n * @inheritdoc IERC20Permit\n */\n function nonces(address owner) public view virtual override(IERC20Permit, Nonces) returns (uint256) {\n return super.nonces(owner);\n }\n\n /**\n * @inheritdoc IERC20Permit\n */\n // solhint-disable-next-line func-name-mixedcase\n function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {\n return _domainSeparatorV4();\n }\n}\n"},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n /**\n * @dev Returns the name of the token.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the symbol of the token.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the decimals places of the token.\n */\n function decimals() external view returns (uint8);\n}\n"},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n * doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n * token.safeTransferFrom(msg.sender, address(this), value);\n * ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n /**\n * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n * given ``owner``'s signed approval.\n *\n * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n * ordering also apply here.\n *\n * Emits an {Approval} event.\n *\n * Requirements:\n *\n * - `spender` cannot be the zero address.\n * - `deadline` must be a timestamp in the future.\n * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n * over the EIP712-formatted function arguments.\n * - the signature must use ``owner``'s current nonce (see {nonces}).\n *\n * For more information on the signature format, see the\n * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n * section].\n *\n * CAUTION: See Security Considerations above.\n */\n function permit(\n address owner,\n address spender,\n uint256 value,\n uint256 deadline,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) external;\n\n /**\n * @dev Returns the current nonce for `owner`. This value must be\n * included whenever a signature is generated for {permit}.\n *\n * Every successful call to {permit} increases ``owner``'s nonce by one. This\n * prevents a signature from being used multiple times.\n */\n function nonces(address owner) external view returns (uint256);\n\n /**\n * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n */\n // solhint-disable-next-line func-name-mixedcase\n function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n\n /**\n * @dev Returns the value of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the value of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address to, uint256 value) external returns (bool);\n\n /**\n * @dev Returns the remaining number of tokens that `spender` will be\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\n * zero by default.\n *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n * caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\n * that someone may use both the old and the new allowance by unfortunate\n * transaction ordering. One possible solution to mitigate this race\n * condition is to first reduce the spender's allowance to 0 and set the\n * desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 value) external returns (bool);\n\n /**\n * @dev Moves a `value` amount of tokens from `from` to `to` using the\n * allowance mechanism. `value` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/ERC721.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721} from \"./IERC721.sol\";\nimport {IERC721Metadata} from \"./extensions/IERC721Metadata.sol\";\nimport {ERC721Utils} from \"./utils/ERC721Utils.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {Strings} from \"../../utils/Strings.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\nimport {IERC721Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including\n * the Metadata extension, but not including the Enumerable extension, which is available separately as\n * {ERC721Enumerable}.\n */\nabstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {\n using Strings for uint256;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n mapping(uint256 tokenId => address) private _owners;\n\n mapping(address owner => uint256) private _balances;\n\n mapping(uint256 tokenId => address) private _tokenApprovals;\n\n mapping(address owner => mapping(address operator => 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 returns (uint256) {\n if (owner == address(0)) {\n revert ERC721InvalidOwner(address(0));\n }\n return _balances[owner];\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual returns (address) {\n return _requireOwned(tokenId);\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual returns (string memory) {\n _requireOwned(tokenId);\n\n string memory baseURI = _baseURI();\n return bytes(baseURI).length > 0 ? string.concat(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 {\n _approve(to, tokenId, _msgSender());\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual returns (address) {\n _requireOwned(tokenId);\n\n return _getApproved(tokenId);\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual {\n _setApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual {\n if (to == address(0)) {\n revert ERC721InvalidReceiver(address(0));\n }\n // Setting an \"auth\" arguments enables the `_isAuthorized` check which verifies that the token exists\n // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.\n address previousOwner = _update(to, tokenId, _msgSender());\n if (previousOwner != from) {\n revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n }\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {\n transferFrom(from, to, tokenId);\n ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n }\n\n /**\n * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n *\n * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\n * core ERC-721 logic MUST be matched with the use of {_increaseBalance} to keep balances\n * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\n * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.\n */\n function _ownerOf(uint256 tokenId) internal view virtual returns (address) {\n return _owners[tokenId];\n }\n\n /**\n * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.\n */\n function _getApproved(uint256 tokenId) internal view virtual returns (address) {\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\n * particular (ignoring whether it is owned by `owner`).\n *\n * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n * assumption.\n */\n function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {\n return\n spender != address(0) &&\n (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);\n }\n\n /**\n * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\n * Reverts if:\n * - `spender` does not have approval from `owner` for `tokenId`.\n * - `spender` does not have approval to manage all of `owner`'s assets.\n *\n * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n * assumption.\n */\n function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {\n if (!_isAuthorized(owner, spender, tokenId)) {\n if (owner == address(0)) {\n revert ERC721NonexistentToken(tokenId);\n } else {\n revert ERC721InsufficientApproval(spender, tokenId);\n }\n }\n }\n\n /**\n * @dev Unsafe write access to the balances, used by extensions that \"mint\" tokens using an {ownerOf} override.\n *\n * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\n * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\n *\n * WARNING: Increasing an account's balance using this function tends to be paired with an override of the\n * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\n * remain consistent with one another.\n */\n function _increaseBalance(address account, uint128 value) internal virtual {\n unchecked {\n _balances[account] += value;\n }\n }\n\n /**\n * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\n * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\n *\n * The `auth` argument is optional. If the value passed is non 0, then this function will check that\n * `auth` is either the owner of the token, or approved to operate on the token (by the owner).\n *\n * Emits a {Transfer} event.\n *\n * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.\n */\n function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {\n address from = _ownerOf(tokenId);\n\n // Perform (optional) operator check\n if (auth != address(0)) {\n _checkAuthorized(from, auth, tokenId);\n }\n\n // Execute the update\n if (from != address(0)) {\n // Clear approval. No need to re-authorize or emit the Approval event\n _approve(address(0), tokenId, address(0), false);\n\n unchecked {\n _balances[from] -= 1;\n }\n }\n\n if (to != address(0)) {\n unchecked {\n _balances[to] += 1;\n }\n }\n\n _owners[tokenId] = to;\n\n emit Transfer(from, to, tokenId);\n\n return from;\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 {\n if (to == address(0)) {\n revert ERC721InvalidReceiver(address(0));\n }\n address previousOwner = _update(to, tokenId, address(0));\n if (previousOwner != address(0)) {\n revert ERC721InvalidSender(address(0));\n }\n }\n\n /**\n * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\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 {\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(address to, uint256 tokenId, bytes memory data) internal virtual {\n _mint(to, tokenId);\n ERC721Utils.checkOnERC721Received(_msgSender(), address(0), to, tokenId, data);\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 {\n address previousOwner = _update(address(0), tokenId, address(0));\n if (previousOwner == address(0)) {\n revert ERC721NonexistentToken(tokenId);\n }\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(address from, address to, uint256 tokenId) internal {\n if (to == address(0)) {\n revert ERC721InvalidReceiver(address(0));\n }\n address previousOwner = _update(to, tokenId, address(0));\n if (previousOwner == address(0)) {\n revert ERC721NonexistentToken(tokenId);\n } else if (previousOwner != from) {\n revert ERC721IncorrectOwner(from, tokenId, previousOwner);\n }\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\n * are aware of the ERC-721 standard 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 like {safeTransferFrom} in the sense that it invokes\n * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `tokenId` token must exist and be owned by `from`.\n * - `to` cannot be the zero address.\n * - `from` cannot be the zero address.\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(address from, address to, uint256 tokenId) internal {\n _safeTransfer(from, to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {\n _transfer(from, to, tokenId);\n ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\n * either the owner of the token, or approved to operate on all tokens held by this owner.\n *\n * Emits an {Approval} event.\n *\n * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n */\n function _approve(address to, uint256 tokenId, address auth) internal {\n _approve(to, tokenId, auth, true);\n }\n\n /**\n * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\n * emitted in the context of transfers.\n */\n function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {\n // Avoid reading the owner unless necessary\n if (emitEvent || auth != address(0)) {\n address owner = _requireOwned(tokenId);\n\n // We do not use _isAuthorized because single-token approvals should not be able to call approve\n if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {\n revert ERC721InvalidApprover(auth);\n }\n\n if (emitEvent) {\n emit Approval(owner, to, tokenId);\n }\n }\n\n _tokenApprovals[tokenId] = to;\n }\n\n /**\n * @dev Approve `operator` to operate on all of `owner` tokens\n *\n * Requirements:\n * - operator can't be the address zero.\n *\n * Emits an {ApprovalForAll} event.\n */\n function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {\n if (operator == address(0)) {\n revert ERC721InvalidOperator(operator);\n }\n _operatorApprovals[owner][operator] = approved;\n emit ApprovalForAll(owner, operator, approved);\n }\n\n /**\n * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\n * Returns the owner.\n *\n * Overrides to ownership logic should be done to {_ownerOf}.\n */\n function _requireOwned(uint256 tokenId) internal view returns (address) {\n address owner = _ownerOf(tokenId);\n if (owner == address(0)) {\n revert ERC721NonexistentToken(tokenId);\n }\n return owner;\n }\n}\n"},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721} from \"../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 v5.1.0) (token/ERC721/IERC721.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-721 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\n * a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC-721 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\n * {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n * a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) 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 ERC-721\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(address from, address to, uint256 tokenId) 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 address zero.\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 v5.1.0) (token/ERC721/IERC721Receiver.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @title ERC-721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC-721 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\n * 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/token/ERC721/utils/ERC721Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC721/utils/ERC721Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC721Receiver} from \"../IERC721Receiver.sol\";\nimport {IERC721Errors} from \"../../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Library that provide common ERC-721 utility functions.\n *\n * See https://eips.ethereum.org/EIPS/eip-721[ERC-721].\n *\n * _Available since v5.1._\n */\nlibrary ERC721Utils {\n /**\n * @dev Performs an acceptance check for the provided `operator` by calling {IERC721Receiver-onERC721Received}\n * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n *\n * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n * Otherwise, the recipient must implement {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept\n * the transfer.\n */\n function checkOnERC721Received(\n address operator,\n address from,\n address to,\n uint256 tokenId,\n bytes memory data\n ) internal {\n if (to.code.length > 0) {\n try IERC721Receiver(to).onERC721Received(operator, from, tokenId, data) returns (bytes4 retval) {\n if (retval != IERC721Receiver.onERC721Received.selector) {\n // Token rejected\n revert IERC721Errors.ERC721InvalidReceiver(to);\n }\n } catch (bytes memory reason) {\n if (reason.length == 0) {\n // non-IERC721Receiver implementer\n revert IERC721Errors.ERC721InvalidReceiver(to);\n } else {\n assembly (\"memory-safe\") {\n revert(add(32, reason), mload(reason))\n }\n }\n }\n }\n }\n}\n"},"@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes calldata) {\n return msg.data;\n }\n\n function _contextSuffixLength() internal view virtual returns (uint256) {\n return 0;\n }\n}\n"},"@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/cryptography/ECDSA.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n *\n * These functions can be used to verify that a message was signed by the holder\n * of the private keys of a given address.\n */\nlibrary ECDSA {\n enum RecoverError {\n NoError,\n InvalidSignature,\n InvalidSignatureLength,\n InvalidSignatureS\n }\n\n /**\n * @dev The signature derives the `address(0)`.\n */\n error ECDSAInvalidSignature();\n\n /**\n * @dev The signature has an invalid length.\n */\n error ECDSAInvalidSignatureLength(uint256 length);\n\n /**\n * @dev The signature has an S value that is in the upper half order.\n */\n error ECDSAInvalidSignatureS(bytes32 s);\n\n /**\n * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\n * return address(0) without also returning an error description. Errors are documented using an enum (error type)\n * and a bytes32 providing additional information about the error.\n *\n * If no error is returned, then the address can be used for verification purposes.\n *\n * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n * this function rejects them by requiring the `s` value to be in the lower\n * half order, and the `v` value to be either 27 or 28.\n *\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n * verification to be secure: it is possible to craft signatures that\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n * this is by receiving a hash of the original message (which may otherwise\n * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n *\n * Documentation for signature generation:\n * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\n */\n function tryRecover(\n bytes32 hash,\n bytes memory signature\n ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n if (signature.length == 65) {\n bytes32 r;\n bytes32 s;\n uint8 v;\n // ecrecover takes the signature parameters, and the only way to get them\n // currently is to use assembly.\n assembly (\"memory-safe\") {\n r := mload(add(signature, 0x20))\n s := mload(add(signature, 0x40))\n v := byte(0, mload(add(signature, 0x60)))\n }\n return tryRecover(hash, v, r, s);\n } else {\n return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n }\n }\n\n /**\n * @dev Returns the address that signed a hashed message (`hash`) with\n * `signature`. This address can then be used for verification purposes.\n *\n * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n * this function rejects them by requiring the `s` value to be in the lower\n * half order, and the `v` value to be either 27 or 28.\n *\n * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n * verification to be secure: it is possible to craft signatures that\n * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n * this is by receiving a hash of the original message (which may otherwise\n * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n */\n function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\n (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);\n _throwError(error, errorArg);\n return recovered;\n }\n\n /**\n * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n *\n * See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]\n */\n function tryRecover(\n bytes32 hash,\n bytes32 r,\n bytes32 vs\n ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n unchecked {\n bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\n // We do not check for an overflow here since the shift operation results in 0 or 1.\n uint8 v = uint8((uint256(vs) >> 255) + 27);\n return tryRecover(hash, v, r, s);\n }\n }\n\n /**\n * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.\n */\n function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\n (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);\n _throwError(error, errorArg);\n return recovered;\n }\n\n /**\n * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n * `r` and `s` signature fields separately.\n */\n function tryRecover(\n bytes32 hash,\n uint8 v,\n bytes32 r,\n bytes32 s\n ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\n // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\n // the valid range for s in (301): 0 < s < secp256k1n รท 2 + 1, and for v in (302): v โ {27, 28}. Most\n // signatures from current libraries generate a unique signature with an s-value in the lower half order.\n //\n // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\n // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\n // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\n // these malleable signatures as well.\n if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\n return (address(0), RecoverError.InvalidSignatureS, s);\n }\n\n // If the signature is valid (and not malleable), return the signer address\n address signer = ecrecover(hash, v, r, s);\n if (signer == address(0)) {\n return (address(0), RecoverError.InvalidSignature, bytes32(0));\n }\n\n return (signer, RecoverError.NoError, bytes32(0));\n }\n\n /**\n * @dev Overload of {ECDSA-recover} that receives the `v`,\n * `r` and `s` signature fields separately.\n */\n function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\n (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);\n _throwError(error, errorArg);\n return recovered;\n }\n\n /**\n * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.\n */\n function _throwError(RecoverError error, bytes32 errorArg) private pure {\n if (error == RecoverError.NoError) {\n return; // no error: do nothing\n } else if (error == RecoverError.InvalidSignature) {\n revert ECDSAInvalidSignature();\n } else if (error == RecoverError.InvalidSignatureLength) {\n revert ECDSAInvalidSignatureLength(uint256(errorArg));\n } else if (error == RecoverError.InvalidSignatureS) {\n revert ECDSAInvalidSignatureS(errorArg);\n }\n }\n}\n"},"@openzeppelin/contracts/utils/cryptography/EIP712.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/cryptography/EIP712.sol)\n\npragma solidity ^0.8.20;\n\nimport {MessageHashUtils} from \"./MessageHashUtils.sol\";\nimport {ShortStrings, ShortString} from \"../ShortStrings.sol\";\nimport {IERC5267} from \"../../interfaces/IERC5267.sol\";\n\n/**\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP-712] is a standard for hashing and signing of typed structured data.\n *\n * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose\n * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract\n * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to\n * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.\n *\n * This contract implements the EIP-712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\n * ({_hashTypedDataV4}).\n *\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\n * the chain id to protect against replay attacks on an eventual fork of the chain.\n *\n * NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\n *\n * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\n * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the\n * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\n *\n * @custom:oz-upgrades-unsafe-allow state-variable-immutable\n */\nabstract contract EIP712 is IERC5267 {\n using ShortStrings for *;\n\n bytes32 private constant TYPE_HASH =\n keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\n\n // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\n // invalidate the cached domain separator if the chain id changes.\n bytes32 private immutable _cachedDomainSeparator;\n uint256 private immutable _cachedChainId;\n address private immutable _cachedThis;\n\n bytes32 private immutable _hashedName;\n bytes32 private immutable _hashedVersion;\n\n ShortString private immutable _name;\n ShortString private immutable _version;\n // slither-disable-next-line constable-states\n string private _nameFallback;\n // slither-disable-next-line constable-states\n string private _versionFallback;\n\n /**\n * @dev Initializes the domain separator and parameter caches.\n *\n * The meaning of `name` and `version` is specified in\n * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP-712]:\n *\n * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\n * - `version`: the current major version of the signing domain.\n *\n * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\n * contract upgrade].\n */\n constructor(string memory name, string memory version) {\n _name = name.toShortStringWithFallback(_nameFallback);\n _version = version.toShortStringWithFallback(_versionFallback);\n _hashedName = keccak256(bytes(name));\n _hashedVersion = keccak256(bytes(version));\n\n _cachedChainId = block.chainid;\n _cachedDomainSeparator = _buildDomainSeparator();\n _cachedThis = address(this);\n }\n\n /**\n * @dev Returns the domain separator for the current chain.\n */\n function _domainSeparatorV4() internal view returns (bytes32) {\n if (address(this) == _cachedThis && block.chainid == _cachedChainId) {\n return _cachedDomainSeparator;\n } else {\n return _buildDomainSeparator();\n }\n }\n\n function _buildDomainSeparator() private view returns (bytes32) {\n return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));\n }\n\n /**\n * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\n * function returns the hash of the fully encoded EIP712 message for this domain.\n *\n * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\n *\n * ```solidity\n * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\n * keccak256(\"Mail(address to,string contents)\"),\n * mailTo,\n * keccak256(bytes(mailContents))\n * )));\n * address signer = ECDSA.recover(digest, signature);\n * ```\n */\n function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\n return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);\n }\n\n /**\n * @inheritdoc IERC5267\n */\n function eip712Domain()\n public\n view\n virtual\n returns (\n bytes1 fields,\n string memory name,\n string memory version,\n uint256 chainId,\n address verifyingContract,\n bytes32 salt,\n uint256[] memory extensions\n )\n {\n return (\n hex\"0f\", // 01111\n _EIP712Name(),\n _EIP712Version(),\n block.chainid,\n address(this),\n bytes32(0),\n new uint256[](0)\n );\n }\n\n /**\n * @dev The name parameter for the EIP712 domain.\n *\n * NOTE: By default this function reads _name which is an immutable value.\n * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n */\n // solhint-disable-next-line func-name-mixedcase\n function _EIP712Name() internal view returns (string memory) {\n return _name.toStringWithFallback(_nameFallback);\n }\n\n /**\n * @dev The version parameter for the EIP712 domain.\n *\n * NOTE: By default this function reads _version which is an immutable value.\n * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n */\n // solhint-disable-next-line func-name-mixedcase\n function _EIP712Version() internal view returns (string memory) {\n return _version.toStringWithFallback(_versionFallback);\n }\n}\n"},"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/cryptography/MessageHashUtils.sol)\n\npragma solidity ^0.8.20;\n\nimport {Strings} from \"../Strings.sol\";\n\n/**\n * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.\n *\n * The library provides methods for generating a hash of a message that conforms to the\n * https://eips.ethereum.org/EIPS/eip-191[ERC-191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]\n * specifications.\n */\nlibrary MessageHashUtils {\n /**\n * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n * `0x45` (`personal_sign` messages).\n *\n * The digest is calculated by prefixing a bytes32 `messageHash` with\n * `\"\\x19Ethereum Signed Message:\\n32\"` and hashing the result. It corresponds with the\n * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n *\n * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with\n * keccak256, although any bytes32 value can be safely used because the final digest will\n * be re-hashed.\n *\n * See {ECDSA-recover}.\n */\n function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {\n assembly (\"memory-safe\") {\n mstore(0x00, \"\\x19Ethereum Signed Message:\\n32\") // 32 is the bytes-length of messageHash\n mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix\n digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)\n }\n }\n\n /**\n * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n * `0x45` (`personal_sign` messages).\n *\n * The digest is calculated by prefixing an arbitrary `message` with\n * `\"\\x19Ethereum Signed Message:\\n\" + len(message)` and hashing the result. It corresponds with the\n * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n *\n * See {ECDSA-recover}.\n */\n function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {\n return\n keccak256(bytes.concat(\"\\x19Ethereum Signed Message:\\n\", bytes(Strings.toString(message.length)), message));\n }\n\n /**\n * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n * `0x00` (data with intended validator).\n *\n * The digest is calculated by prefixing an arbitrary `data` with `\"\\x19\\x00\"` and the intended\n * `validator` address. Then hashing the result.\n *\n * See {ECDSA-recover}.\n */\n function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {\n return keccak256(abi.encodePacked(hex\"19_00\", validator, data));\n }\n\n /**\n * @dev Variant of {toDataWithIntendedValidatorHash-address-bytes} optimized for cases where `data` is a bytes32.\n */\n function toDataWithIntendedValidatorHash(\n address validator,\n bytes32 messageHash\n ) internal pure returns (bytes32 digest) {\n assembly (\"memory-safe\") {\n mstore(0x00, hex\"19_00\")\n mstore(0x02, shl(96, validator))\n mstore(0x16, messageHash)\n digest := keccak256(0x00, 0x36)\n }\n }\n\n /**\n * @dev Returns the keccak256 digest of an EIP-712 typed data (ERC-191 version `0x01`).\n *\n * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with\n * `\\x19\\x01` and hashing the result. It corresponds to the hash signed by the\n * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.\n *\n * See {ECDSA-recover}.\n */\n function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {\n assembly (\"memory-safe\") {\n let ptr := mload(0x40)\n mstore(ptr, hex\"19_01\")\n mstore(add(ptr, 0x02), domainSeparator)\n mstore(add(ptr, 0x22), structHash)\n digest := keccak256(ptr, 0x42)\n }\n }\n}\n"},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n /**\n * @dev See {IERC165-supportsInterface}.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n return interfaceId == type(IERC165).interfaceId;\n }\n}\n"},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n enum Rounding {\n Floor, // Toward negative infinity\n Ceil, // Toward positive infinity\n Trunc, // Toward zero\n Expand // Away from zero\n }\n\n /**\n * @dev Return the 512-bit addition of two uint256.\n *\n * The result is stored in two 256 variables such that sum = high * 2ยฒโตโถ + low.\n */\n function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n assembly (\"memory-safe\") {\n low := add(a, b)\n high := lt(low, a)\n }\n }\n\n /**\n * @dev Return the 512-bit multiplication of two uint256.\n *\n * The result is stored in two 256 variables such that product = high * 2ยฒโตโถ + low.\n */\n function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n // 512-bit multiply [high low] = x * y. Compute the product mod 2ยฒโตโถ and mod 2ยฒโตโถ - 1, then use\n // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n // variables such that product = high * 2ยฒโตโถ + low.\n assembly (\"memory-safe\") {\n let mm := mulmod(a, b, not(0))\n low := mul(a, b)\n high := sub(sub(mm, low), lt(mm, low))\n }\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, with a success flag (no overflow).\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n unchecked {\n uint256 c = a + b;\n success = c >= a;\n result = c * SafeCast.toUint(success);\n }\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, with a success flag (no overflow).\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n unchecked {\n uint256 c = a - b;\n success = c <= a;\n result = c * SafeCast.toUint(success);\n }\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with a success flag (no overflow).\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n unchecked {\n uint256 c = a * b;\n assembly (\"memory-safe\") {\n // Only true when the multiplication doesn't overflow\n // (c / a == b) || (a == 0)\n success := or(eq(div(c, a), b), iszero(a))\n }\n // equivalent to: success ? c : 0\n result = c * SafeCast.toUint(success);\n }\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n unchecked {\n success = b > 0;\n assembly (\"memory-safe\") {\n // The `DIV` opcode returns zero when the denominator is 0.\n result := div(a, b)\n }\n }\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n unchecked {\n success = b > 0;\n assembly (\"memory-safe\") {\n // The `MOD` opcode returns zero when the denominator is 0.\n result := mod(a, b)\n }\n }\n }\n\n /**\n * @dev Unsigned saturating addition, bounds to `2ยฒโตโถ - 1` instead of overflowing.\n */\n function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n (bool success, uint256 result) = tryAdd(a, b);\n return ternary(success, result, type(uint256).max);\n }\n\n /**\n * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n */\n function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n (, uint256 result) = trySub(a, b);\n return result;\n }\n\n /**\n * @dev Unsigned saturating multiplication, bounds to `2ยฒโตโถ - 1` instead of overflowing.\n */\n function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n (bool success, uint256 result) = tryMul(a, b);\n return ternary(success, result, type(uint256).max);\n }\n\n /**\n * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n *\n * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n * one branch when needed, making this function more expensive.\n */\n function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n unchecked {\n // branchless ternary works because:\n // b ^ (a ^ b) == a\n // b ^ 0 == b\n return b ^ ((a ^ b) * SafeCast.toUint(condition));\n }\n }\n\n /**\n * @dev Returns the largest of two numbers.\n */\n function max(uint256 a, uint256 b) internal pure returns (uint256) {\n return ternary(a > b, a, b);\n }\n\n /**\n * @dev Returns the smallest of two numbers.\n */\n function min(uint256 a, uint256 b) internal pure returns (uint256) {\n return ternary(a < b, a, b);\n }\n\n /**\n * @dev Returns the average of two numbers. The result is rounded towards\n * zero.\n */\n function average(uint256 a, uint256 b) internal pure returns (uint256) {\n // (a + b) / 2 can overflow.\n return (a & b) + (a ^ b) / 2;\n }\n\n /**\n * @dev Returns the ceiling of the division of two numbers.\n *\n * This differs from standard division with `/` in that it rounds towards infinity instead\n * of rounding towards zero.\n */\n function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n if (b == 0) {\n // Guarantee the same behavior as in a regular Solidity division.\n Panic.panic(Panic.DIVISION_BY_ZERO);\n }\n\n // The following calculation ensures accurate ceiling division without overflow.\n // Since a is non-zero, (a - 1) / b will not overflow.\n // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n // but the largest value we can obtain is type(uint256).max - 1, which happens\n // when a = type(uint256).max and b = 1.\n unchecked {\n return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n }\n }\n\n /**\n * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n * denominator == 0.\n *\n * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n * Uniswap Labs also under MIT license.\n */\n function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n unchecked {\n (uint256 high, uint256 low) = mul512(x, y);\n\n // Handle non-overflow cases, 256 by 256 division.\n if (high == 0) {\n // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n // The surrounding unchecked block does not change this fact.\n // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n return low / denominator;\n }\n\n // Make sure the result is less than 2ยฒโตโถ. Also prevents denominator == 0.\n if (denominator <= high) {\n Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n }\n\n ///////////////////////////////////////////////\n // 512 by 256 division.\n ///////////////////////////////////////////////\n\n // Make division exact by subtracting the remainder from [high low].\n uint256 remainder;\n assembly (\"memory-safe\") {\n // Compute remainder using mulmod.\n remainder := mulmod(x, y, denominator)\n\n // Subtract 256 bit number from 512 bit number.\n high := sub(high, gt(remainder, low))\n low := sub(low, remainder)\n }\n\n // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n uint256 twos = denominator & (0 - denominator);\n assembly (\"memory-safe\") {\n // Divide denominator by twos.\n denominator := div(denominator, twos)\n\n // Divide [high low] by twos.\n low := div(low, twos)\n\n // Flip twos such that it is 2ยฒโตโถ / twos. If twos is zero, then it becomes one.\n twos := add(div(sub(0, twos), twos), 1)\n }\n\n // Shift in bits from high into low.\n low |= high * twos;\n\n // Invert denominator mod 2ยฒโตโถ. Now that denominator is an odd number, it has an inverse modulo 2ยฒโตโถ such\n // that denominator * inv โก 1 mod 2ยฒโตโถ. Compute the inverse by starting with a seed that is correct for\n // four bits. That is, denominator * inv โก 1 mod 2โด.\n uint256 inverse = (3 * denominator) ^ 2;\n\n // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n // works in modular arithmetic, doubling the correct bits in each step.\n inverse *= 2 - denominator * inverse; // inverse mod 2โธ\n inverse *= 2 - denominator * inverse; // inverse mod 2ยนโถ\n inverse *= 2 - denominator * inverse; // inverse mod 2ยณยฒ\n inverse *= 2 - denominator * inverse; // inverse mod 2โถโด\n inverse *= 2 - denominator * inverse; // inverse mod 2ยนยฒโธ\n inverse *= 2 - denominator * inverse; // inverse mod 2ยฒโตโถ\n\n // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n // This will give us the correct result modulo 2ยฒโตโถ. Since the preconditions guarantee that the outcome is\n // less than 2ยฒโตโถ, this is the final result. We don't need to compute the high bits of the result and high\n // is no longer required.\n result = low * inverse;\n return result;\n }\n }\n\n /**\n * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n */\n function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n }\n\n /**\n * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n */\n function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n unchecked {\n (uint256 high, uint256 low) = mul512(x, y);\n if (high >= 1 << n) {\n Panic.panic(Panic.UNDER_OVERFLOW);\n }\n return (high << (256 - n)) | (low >> n);\n }\n }\n\n /**\n * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n */\n function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n }\n\n /**\n * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n *\n * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n *\n * If the input value is not inversible, 0 is returned.\n *\n * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n */\n function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n unchecked {\n if (n == 0) return 0;\n\n // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n // ax + ny = 1\n // ax = 1 + (-y)n\n // ax โก 1 (mod n) # x is the inverse of a modulo n\n\n // If the remainder is 0 the gcd is n right away.\n uint256 remainder = a % n;\n uint256 gcd = n;\n\n // Therefore the initial coefficients are:\n // ax + ny = gcd(a, n) = n\n // 0a + 1n = n\n int256 x = 0;\n int256 y = 1;\n\n while (remainder != 0) {\n uint256 quotient = gcd / remainder;\n\n (gcd, remainder) = (\n // The old remainder is the next gcd to try.\n remainder,\n // Compute the next remainder.\n // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n // where gcd is at most n (capped to type(uint256).max)\n gcd - remainder * quotient\n );\n\n (x, y) = (\n // Increment the coefficient of a.\n y,\n // Decrement the coefficient of n.\n // Can overflow, but the result is casted to uint256 so that the\n // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n x - y * int256(quotient)\n );\n }\n\n if (gcd != 1) return 0; // No inverse exists.\n return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n }\n }\n\n /**\n * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n *\n * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n * prime, then `a**(p-1) โก 1 mod p`. As a consequence, we have `a * a**(p-2) โก 1 mod p`, which means that\n * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n *\n * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n */\n function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n unchecked {\n return Math.modExp(a, p - 2, p);\n }\n }\n\n /**\n * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n *\n * Requirements:\n * - modulus can't be zero\n * - underlying staticcall to precompile must succeed\n *\n * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n * interpreted as 0.\n */\n function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n (bool success, uint256 result) = tryModExp(b, e, m);\n if (!success) {\n Panic.panic(Panic.DIVISION_BY_ZERO);\n }\n return result;\n }\n\n /**\n * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n * to operate modulo 0 or if the underlying precompile reverted.\n *\n * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n * of a revert, but the result may be incorrectly interpreted as 0.\n */\n function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n if (m == 0) return (false, 0);\n assembly (\"memory-safe\") {\n let ptr := mload(0x40)\n // | Offset | Content | Content (Hex) |\n // |-----------|------------|--------------------------------------------------------------------|\n // | 0x00:0x1f | size of b | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n // | 0x20:0x3f | size of e | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n // | 0x40:0x5f | size of m | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n mstore(ptr, 0x20)\n mstore(add(ptr, 0x20), 0x20)\n mstore(add(ptr, 0x40), 0x20)\n mstore(add(ptr, 0x60), b)\n mstore(add(ptr, 0x80), e)\n mstore(add(ptr, 0xa0), m)\n\n // Given the result < m, it's guaranteed to fit in 32 bytes,\n // so we can use the memory scratch space located at offset 0.\n success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n result := mload(0x00)\n }\n }\n\n /**\n * @dev Variant of {modExp} that supports inputs of arbitrary length.\n */\n function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n (bool success, bytes memory result) = tryModExp(b, e, m);\n if (!success) {\n Panic.panic(Panic.DIVISION_BY_ZERO);\n }\n return result;\n }\n\n /**\n * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n */\n function tryModExp(\n bytes memory b,\n bytes memory e,\n bytes memory m\n ) internal view returns (bool success, bytes memory result) {\n if (_zeroBytes(m)) return (false, new bytes(0));\n\n uint256 mLen = m.length;\n\n // Encode call args in result and move the free memory pointer\n result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n assembly (\"memory-safe\") {\n let dataPtr := add(result, 0x20)\n // Write result on top of args to avoid allocating extra memory.\n success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n // Overwrite the length.\n // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n mstore(result, mLen)\n // Set the memory pointer after the returned data.\n mstore(0x40, add(dataPtr, mLen))\n }\n }\n\n /**\n * @dev Returns whether the provided byte array is zero.\n */\n function _zeroBytes(bytes memory byteArray) private pure returns (bool) {\n for (uint256 i = 0; i < byteArray.length; ++i) {\n if (byteArray[i] != 0) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n * towards zero.\n *\n * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n * using integer operations.\n */\n function sqrt(uint256 a) internal pure returns (uint256) {\n unchecked {\n // Take care of easy edge cases when a == 0 or a == 1\n if (a <= 1) {\n return a;\n }\n\n // In this function, we use Newton's method to get a root of `f(x) := xยฒ - a`. It involves building a\n // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n // the current value as `ฮต_n = | x_n - sqrt(a) |`.\n //\n // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n // of the target. (i.e. `2**(e-1) โค sqrt(a) < 2**e`). We know that `e โค 128` because `(2ยนยฒโธ)ยฒ = 2ยฒโตโถ` is\n // bigger than any uint256.\n //\n // By noticing that\n // `2**(e-1) โค sqrt(a) < 2**e โ (2**(e-1))ยฒ โค a < (2**e)ยฒ โ 2**(2*e-2) โค a < 2**(2*e)`\n // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n // to the msb function.\n uint256 aa = a;\n uint256 xn = 1;\n\n if (aa >= (1 << 128)) {\n aa >>= 128;\n xn <<= 64;\n }\n if (aa >= (1 << 64)) {\n aa >>= 64;\n xn <<= 32;\n }\n if (aa >= (1 << 32)) {\n aa >>= 32;\n xn <<= 16;\n }\n if (aa >= (1 << 16)) {\n aa >>= 16;\n xn <<= 8;\n }\n if (aa >= (1 << 8)) {\n aa >>= 8;\n xn <<= 4;\n }\n if (aa >= (1 << 4)) {\n aa >>= 4;\n xn <<= 2;\n }\n if (aa >= (1 << 2)) {\n xn <<= 1;\n }\n\n // We now have x_n such that `x_n = 2**(e-1) โค sqrt(a) < 2**e = 2 * x_n`. This implies ฮต_n โค 2**(e-1).\n //\n // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ฮต_n โค 2**(e-2).\n // This is going to be our x_0 (and ฮต_0)\n xn = (3 * xn) >> 1; // ฮต_0 := | x_0 - sqrt(a) | โค 2**(e-2)\n\n // From here, Newton's method give us:\n // x_{n+1} = (x_n + a / x_n) / 2\n //\n // One should note that:\n // x_{n+1}ยฒ - a = ((x_n + a / x_n) / 2)ยฒ - a\n // = ((x_nยฒ + a) / (2 * x_n))ยฒ - a\n // = (x_nโด + 2 * a * x_nยฒ + aยฒ) / (4 * x_nยฒ) - a\n // = (x_nโด + 2 * a * x_nยฒ + aยฒ - 4 * a * x_nยฒ) / (4 * x_nยฒ)\n // = (x_nโด - 2 * a * x_nยฒ + aยฒ) / (4 * x_nยฒ)\n // = (x_nยฒ - a)ยฒ / (2 * x_n)ยฒ\n // = ((x_nยฒ - a) / (2 * x_n))ยฒ\n // โฅ 0\n // Which proves that for all n โฅ 1, sqrt(a) โค x_n\n //\n // This gives us the proof of quadratic convergence of the sequence:\n // ฮต_{n+1} = | x_{n+1} - sqrt(a) |\n // = | (x_n + a / x_n) / 2 - sqrt(a) |\n // = | (x_nยฒ + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n // = | (x_n - sqrt(a))ยฒ / (2 * x_n) |\n // = | ฮต_nยฒ / (2 * x_n) |\n // = ฮต_nยฒ / | (2 * x_n) |\n //\n // For the first iteration, we have a special case where x_0 is known:\n // ฮต_1 = ฮต_0ยฒ / | (2 * x_0) |\n // โค (2**(e-2))ยฒ / (2 * (2**(e-1) + 2**(e-2)))\n // โค 2**(2*e-4) / (3 * 2**(e-1))\n // โค 2**(e-3) / 3\n // โค 2**(e-3-log2(3))\n // โค 2**(e-4.5)\n //\n // For the following iterations, we use the fact that, 2**(e-1) โค sqrt(a) โค x_n:\n // ฮต_{n+1} = ฮต_nยฒ / | (2 * x_n) |\n // โค (2**(e-k))ยฒ / (2 * 2**(e-1))\n // โค 2**(2*e-2*k) / 2**e\n // โค 2**(e-2*k)\n xn = (xn + a / xn) >> 1; // ฮต_1 := | x_1 - sqrt(a) | โค 2**(e-4.5) -- special case, see above\n xn = (xn + a / xn) >> 1; // ฮต_2 := | x_2 - sqrt(a) | โค 2**(e-9) -- general case with k = 4.5\n xn = (xn + a / xn) >> 1; // ฮต_3 := | x_3 - sqrt(a) | โค 2**(e-18) -- general case with k = 9\n xn = (xn + a / xn) >> 1; // ฮต_4 := | x_4 - sqrt(a) | โค 2**(e-36) -- general case with k = 18\n xn = (xn + a / xn) >> 1; // ฮต_5 := | x_5 - sqrt(a) | โค 2**(e-72) -- general case with k = 36\n xn = (xn + a / xn) >> 1; // ฮต_6 := | x_6 - sqrt(a) | โค 2**(e-144) -- general case with k = 72\n\n // Because e โค 128 (as discussed during the first estimation phase), we know have reached a precision\n // ฮต_6 โค 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n // sqrt(a) or sqrt(a) + 1.\n return xn - SafeCast.toUint(xn > a / xn);\n }\n }\n\n /**\n * @dev Calculates sqrt(a), following the selected rounding direction.\n */\n function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n unchecked {\n uint256 result = sqrt(a);\n return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n }\n }\n\n /**\n * @dev Return the log in base 2 of a positive value rounded towards zero.\n * Returns 0 if given 0.\n */\n function log2(uint256 x) internal pure returns (uint256 r) {\n // If value has upper 128 bits set, log2 result is at least 128\n r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n // If upper 64 bits of 128-bit half set, add 64 to result\n r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n // If upper 32 bits of 64-bit half set, add 32 to result\n r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n // If upper 16 bits of 32-bit half set, add 16 to result\n r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n // If upper 8 bits of 16-bit half set, add 8 to result\n r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n // If upper 4 bits of 8-bit half set, add 4 to result\n r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n // Shifts value right by the current result and use it as an index into this lookup table:\n //\n // | x (4 bits) | index | table[index] = MSB position |\n // |------------|---------|-----------------------------|\n // | 0000 | 0 | table[0] = 0 |\n // | 0001 | 1 | table[1] = 0 |\n // | 0010 | 2 | table[2] = 1 |\n // | 0011 | 3 | table[3] = 1 |\n // | 0100 | 4 | table[4] = 2 |\n // | 0101 | 5 | table[5] = 2 |\n // | 0110 | 6 | table[6] = 2 |\n // | 0111 | 7 | table[7] = 2 |\n // | 1000 | 8 | table[8] = 3 |\n // | 1001 | 9 | table[9] = 3 |\n // | 1010 | 10 | table[10] = 3 |\n // | 1011 | 11 | table[11] = 3 |\n // | 1100 | 12 | table[12] = 3 |\n // | 1101 | 13 | table[13] = 3 |\n // | 1110 | 14 | table[14] = 3 |\n // | 1111 | 15 | table[15] = 3 |\n //\n // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the last 16 bytes.\n assembly (\"memory-safe\") {\n r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n }\n }\n\n /**\n * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n * Returns 0 if given 0.\n */\n function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n unchecked {\n uint256 result = log2(value);\n return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n }\n }\n\n /**\n * @dev Return the log in base 10 of a positive value rounded towards zero.\n * Returns 0 if given 0.\n */\n function log10(uint256 value) internal pure returns (uint256) {\n uint256 result = 0;\n unchecked {\n if (value >= 10 ** 64) {\n value /= 10 ** 64;\n result += 64;\n }\n if (value >= 10 ** 32) {\n value /= 10 ** 32;\n result += 32;\n }\n if (value >= 10 ** 16) {\n value /= 10 ** 16;\n result += 16;\n }\n if (value >= 10 ** 8) {\n value /= 10 ** 8;\n result += 8;\n }\n if (value >= 10 ** 4) {\n value /= 10 ** 4;\n result += 4;\n }\n if (value >= 10 ** 2) {\n value /= 10 ** 2;\n result += 2;\n }\n if (value >= 10 ** 1) {\n result += 1;\n }\n }\n return result;\n }\n\n /**\n * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n * Returns 0 if given 0.\n */\n function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n unchecked {\n uint256 result = log10(value);\n return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n }\n }\n\n /**\n * @dev Return the log in base 256 of a positive value rounded towards zero.\n * Returns 0 if given 0.\n *\n * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n */\n function log256(uint256 x) internal pure returns (uint256 r) {\n // If value has upper 128 bits set, log2 result is at least 128\n r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n // If upper 64 bits of 128-bit half set, add 64 to result\n r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n // If upper 32 bits of 64-bit half set, add 32 to result\n r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n // If upper 16 bits of 32-bit half set, add 16 to result\n r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\n }\n\n /**\n * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n * Returns 0 if given 0.\n */\n function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n unchecked {\n uint256 result = log256(value);\n return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n }\n }\n\n /**\n * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n */\n function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n return uint8(rounding) % 2 == 1;\n }\n}\n"},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n /**\n * @dev Value doesn't fit in an uint of `bits` size.\n */\n error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n /**\n * @dev An int value doesn't fit in an uint of `bits` size.\n */\n error SafeCastOverflowedIntToUint(int256 value);\n\n /**\n * @dev Value doesn't fit in an int of `bits` size.\n */\n error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n /**\n * @dev An uint value doesn't fit in an int of `bits` size.\n */\n error SafeCastOverflowedUintToInt(uint256 value);\n\n /**\n * @dev Returns the downcasted uint248 from uint256, reverting on\n * overflow (when the input is greater than largest uint248).\n *\n * Counterpart to Solidity's `uint248` operator.\n *\n * Requirements:\n *\n * - input must fit into 248 bits\n */\n function toUint248(uint256 value) internal pure returns (uint248) {\n if (value > type(uint248).max) {\n revert SafeCastOverflowedUintDowncast(248, value);\n }\n return uint248(value);\n }\n\n /**\n * @dev Returns the downcasted uint240 from uint256, reverting on\n * overflow (when the input is greater than largest uint240).\n *\n * Counterpart to Solidity's `uint240` operator.\n *\n * Requirements:\n *\n * - input must fit into 240 bits\n */\n function toUint240(uint256 value) internal pure returns (uint240) {\n if (value > type(uint240).max) {\n revert SafeCastOverflowedUintDowncast(240, value);\n }\n return uint240(value);\n }\n\n /**\n * @dev Returns the downcasted uint232 from uint256, reverting on\n * overflow (when the input is greater than largest uint232).\n *\n * Counterpart to Solidity's `uint232` operator.\n *\n * Requirements:\n *\n * - input must fit into 232 bits\n */\n function toUint232(uint256 value) internal pure returns (uint232) {\n if (value > type(uint232).max) {\n revert SafeCastOverflowedUintDowncast(232, value);\n }\n return uint232(value);\n }\n\n /**\n * @dev Returns the downcasted uint224 from uint256, reverting on\n * overflow (when the input is greater than largest uint224).\n *\n * Counterpart to Solidity's `uint224` operator.\n *\n * Requirements:\n *\n * - input must fit into 224 bits\n */\n function toUint224(uint256 value) internal pure returns (uint224) {\n if (value > type(uint224).max) {\n revert SafeCastOverflowedUintDowncast(224, value);\n }\n return uint224(value);\n }\n\n /**\n * @dev Returns the downcasted uint216 from uint256, reverting on\n * overflow (when the input is greater than largest uint216).\n *\n * Counterpart to Solidity's `uint216` operator.\n *\n * Requirements:\n *\n * - input must fit into 216 bits\n */\n function toUint216(uint256 value) internal pure returns (uint216) {\n if (value > type(uint216).max) {\n revert SafeCastOverflowedUintDowncast(216, value);\n }\n return uint216(value);\n }\n\n /**\n * @dev Returns the downcasted uint208 from uint256, reverting on\n * overflow (when the input is greater than largest uint208).\n *\n * Counterpart to Solidity's `uint208` operator.\n *\n * Requirements:\n *\n * - input must fit into 208 bits\n */\n function toUint208(uint256 value) internal pure returns (uint208) {\n if (value > type(uint208).max) {\n revert SafeCastOverflowedUintDowncast(208, value);\n }\n return uint208(value);\n }\n\n /**\n * @dev Returns the downcasted uint200 from uint256, reverting on\n * overflow (when the input is greater than largest uint200).\n *\n * Counterpart to Solidity's `uint200` operator.\n *\n * Requirements:\n *\n * - input must fit into 200 bits\n */\n function toUint200(uint256 value) internal pure returns (uint200) {\n if (value > type(uint200).max) {\n revert SafeCastOverflowedUintDowncast(200, value);\n }\n return uint200(value);\n }\n\n /**\n * @dev Returns the downcasted uint192 from uint256, reverting on\n * overflow (when the input is greater than largest uint192).\n *\n * Counterpart to Solidity's `uint192` operator.\n *\n * Requirements:\n *\n * - input must fit into 192 bits\n */\n function toUint192(uint256 value) internal pure returns (uint192) {\n if (value > type(uint192).max) {\n revert SafeCastOverflowedUintDowncast(192, value);\n }\n return uint192(value);\n }\n\n /**\n * @dev Returns the downcasted uint184 from uint256, reverting on\n * overflow (when the input is greater than largest uint184).\n *\n * Counterpart to Solidity's `uint184` operator.\n *\n * Requirements:\n *\n * - input must fit into 184 bits\n */\n function toUint184(uint256 value) internal pure returns (uint184) {\n if (value > type(uint184).max) {\n revert SafeCastOverflowedUintDowncast(184, value);\n }\n return uint184(value);\n }\n\n /**\n * @dev Returns the downcasted uint176 from uint256, reverting on\n * overflow (when the input is greater than largest uint176).\n *\n * Counterpart to Solidity's `uint176` operator.\n *\n * Requirements:\n *\n * - input must fit into 176 bits\n */\n function toUint176(uint256 value) internal pure returns (uint176) {\n if (value > type(uint176).max) {\n revert SafeCastOverflowedUintDowncast(176, value);\n }\n return uint176(value);\n }\n\n /**\n * @dev Returns the downcasted uint168 from uint256, reverting on\n * overflow (when the input is greater than largest uint168).\n *\n * Counterpart to Solidity's `uint168` operator.\n *\n * Requirements:\n *\n * - input must fit into 168 bits\n */\n function toUint168(uint256 value) internal pure returns (uint168) {\n if (value > type(uint168).max) {\n revert SafeCastOverflowedUintDowncast(168, value);\n }\n return uint168(value);\n }\n\n /**\n * @dev Returns the downcasted uint160 from uint256, reverting on\n * overflow (when the input is greater than largest uint160).\n *\n * Counterpart to Solidity's `uint160` operator.\n *\n * Requirements:\n *\n * - input must fit into 160 bits\n */\n function toUint160(uint256 value) internal pure returns (uint160) {\n if (value > type(uint160).max) {\n revert SafeCastOverflowedUintDowncast(160, value);\n }\n return uint160(value);\n }\n\n /**\n * @dev Returns the downcasted uint152 from uint256, reverting on\n * overflow (when the input is greater than largest uint152).\n *\n * Counterpart to Solidity's `uint152` operator.\n *\n * Requirements:\n *\n * - input must fit into 152 bits\n */\n function toUint152(uint256 value) internal pure returns (uint152) {\n if (value > type(uint152).max) {\n revert SafeCastOverflowedUintDowncast(152, value);\n }\n return uint152(value);\n }\n\n /**\n * @dev Returns the downcasted uint144 from uint256, reverting on\n * overflow (when the input is greater than largest uint144).\n *\n * Counterpart to Solidity's `uint144` operator.\n *\n * Requirements:\n *\n * - input must fit into 144 bits\n */\n function toUint144(uint256 value) internal pure returns (uint144) {\n if (value > type(uint144).max) {\n revert SafeCastOverflowedUintDowncast(144, value);\n }\n return uint144(value);\n }\n\n /**\n * @dev Returns the downcasted uint136 from uint256, reverting on\n * overflow (when the input is greater than largest uint136).\n *\n * Counterpart to Solidity's `uint136` operator.\n *\n * Requirements:\n *\n * - input must fit into 136 bits\n */\n function toUint136(uint256 value) internal pure returns (uint136) {\n if (value > type(uint136).max) {\n revert SafeCastOverflowedUintDowncast(136, value);\n }\n return uint136(value);\n }\n\n /**\n * @dev Returns the downcasted uint128 from uint256, reverting on\n * overflow (when the input is greater than largest uint128).\n *\n * Counterpart to Solidity's `uint128` operator.\n *\n * Requirements:\n *\n * - input must fit into 128 bits\n */\n function toUint128(uint256 value) internal pure returns (uint128) {\n if (value > type(uint128).max) {\n revert SafeCastOverflowedUintDowncast(128, value);\n }\n return uint128(value);\n }\n\n /**\n * @dev Returns the downcasted uint120 from uint256, reverting on\n * overflow (when the input is greater than largest uint120).\n *\n * Counterpart to Solidity's `uint120` operator.\n *\n * Requirements:\n *\n * - input must fit into 120 bits\n */\n function toUint120(uint256 value) internal pure returns (uint120) {\n if (value > type(uint120).max) {\n revert SafeCastOverflowedUintDowncast(120, value);\n }\n return uint120(value);\n }\n\n /**\n * @dev Returns the downcasted uint112 from uint256, reverting on\n * overflow (when the input is greater than largest uint112).\n *\n * Counterpart to Solidity's `uint112` operator.\n *\n * Requirements:\n *\n * - input must fit into 112 bits\n */\n function toUint112(uint256 value) internal pure returns (uint112) {\n if (value > type(uint112).max) {\n revert SafeCastOverflowedUintDowncast(112, value);\n }\n return uint112(value);\n }\n\n /**\n * @dev Returns the downcasted uint104 from uint256, reverting on\n * overflow (when the input is greater than largest uint104).\n *\n * Counterpart to Solidity's `uint104` operator.\n *\n * Requirements:\n *\n * - input must fit into 104 bits\n */\n function toUint104(uint256 value) internal pure returns (uint104) {\n if (value > type(uint104).max) {\n revert SafeCastOverflowedUintDowncast(104, value);\n }\n return uint104(value);\n }\n\n /**\n * @dev Returns the downcasted uint96 from uint256, reverting on\n * overflow (when the input is greater than largest uint96).\n *\n * Counterpart to Solidity's `uint96` operator.\n *\n * Requirements:\n *\n * - input must fit into 96 bits\n */\n function toUint96(uint256 value) internal pure returns (uint96) {\n if (value > type(uint96).max) {\n revert SafeCastOverflowedUintDowncast(96, value);\n }\n return uint96(value);\n }\n\n /**\n * @dev Returns the downcasted uint88 from uint256, reverting on\n * overflow (when the input is greater than largest uint88).\n *\n * Counterpart to Solidity's `uint88` operator.\n *\n * Requirements:\n *\n * - input must fit into 88 bits\n */\n function toUint88(uint256 value) internal pure returns (uint88) {\n if (value > type(uint88).max) {\n revert SafeCastOverflowedUintDowncast(88, value);\n }\n return uint88(value);\n }\n\n /**\n * @dev Returns the downcasted uint80 from uint256, reverting on\n * overflow (when the input is greater than largest uint80).\n *\n * Counterpart to Solidity's `uint80` operator.\n *\n * Requirements:\n *\n * - input must fit into 80 bits\n */\n function toUint80(uint256 value) internal pure returns (uint80) {\n if (value > type(uint80).max) {\n revert SafeCastOverflowedUintDowncast(80, value);\n }\n return uint80(value);\n }\n\n /**\n * @dev Returns the downcasted uint72 from uint256, reverting on\n * overflow (when the input is greater than largest uint72).\n *\n * Counterpart to Solidity's `uint72` operator.\n *\n * Requirements:\n *\n * - input must fit into 72 bits\n */\n function toUint72(uint256 value) internal pure returns (uint72) {\n if (value > type(uint72).max) {\n revert SafeCastOverflowedUintDowncast(72, value);\n }\n return uint72(value);\n }\n\n /**\n * @dev Returns the downcasted uint64 from uint256, reverting on\n * overflow (when the input is greater than largest uint64).\n *\n * Counterpart to Solidity's `uint64` operator.\n *\n * Requirements:\n *\n * - input must fit into 64 bits\n */\n function toUint64(uint256 value) internal pure returns (uint64) {\n if (value > type(uint64).max) {\n revert SafeCastOverflowedUintDowncast(64, value);\n }\n return uint64(value);\n }\n\n /**\n * @dev Returns the downcasted uint56 from uint256, reverting on\n * overflow (when the input is greater than largest uint56).\n *\n * Counterpart to Solidity's `uint56` operator.\n *\n * Requirements:\n *\n * - input must fit into 56 bits\n */\n function toUint56(uint256 value) internal pure returns (uint56) {\n if (value > type(uint56).max) {\n revert SafeCastOverflowedUintDowncast(56, value);\n }\n return uint56(value);\n }\n\n /**\n * @dev Returns the downcasted uint48 from uint256, reverting on\n * overflow (when the input is greater than largest uint48).\n *\n * Counterpart to Solidity's `uint48` operator.\n *\n * Requirements:\n *\n * - input must fit into 48 bits\n */\n function toUint48(uint256 value) internal pure returns (uint48) {\n if (value > type(uint48).max) {\n revert SafeCastOverflowedUintDowncast(48, value);\n }\n return uint48(value);\n }\n\n /**\n * @dev Returns the downcasted uint40 from uint256, reverting on\n * overflow (when the input is greater than largest uint40).\n *\n * Counterpart to Solidity's `uint40` operator.\n *\n * Requirements:\n *\n * - input must fit into 40 bits\n */\n function toUint40(uint256 value) internal pure returns (uint40) {\n if (value > type(uint40).max) {\n revert SafeCastOverflowedUintDowncast(40, value);\n }\n return uint40(value);\n }\n\n /**\n * @dev Returns the downcasted uint32 from uint256, reverting on\n * overflow (when the input is greater than largest uint32).\n *\n * Counterpart to Solidity's `uint32` operator.\n *\n * Requirements:\n *\n * - input must fit into 32 bits\n */\n function toUint32(uint256 value) internal pure returns (uint32) {\n if (value > type(uint32).max) {\n revert SafeCastOverflowedUintDowncast(32, value);\n }\n return uint32(value);\n }\n\n /**\n * @dev Returns the downcasted uint24 from uint256, reverting on\n * overflow (when the input is greater than largest uint24).\n *\n * Counterpart to Solidity's `uint24` operator.\n *\n * Requirements:\n *\n * - input must fit into 24 bits\n */\n function toUint24(uint256 value) internal pure returns (uint24) {\n if (value > type(uint24).max) {\n revert SafeCastOverflowedUintDowncast(24, value);\n }\n return uint24(value);\n }\n\n /**\n * @dev Returns the downcasted uint16 from uint256, reverting on\n * overflow (when the input is greater than largest uint16).\n *\n * Counterpart to Solidity's `uint16` operator.\n *\n * Requirements:\n *\n * - input must fit into 16 bits\n */\n function toUint16(uint256 value) internal pure returns (uint16) {\n if (value > type(uint16).max) {\n revert SafeCastOverflowedUintDowncast(16, value);\n }\n return uint16(value);\n }\n\n /**\n * @dev Returns the downcasted uint8 from uint256, reverting on\n * overflow (when the input is greater than largest uint8).\n *\n * Counterpart to Solidity's `uint8` operator.\n *\n * Requirements:\n *\n * - input must fit into 8 bits\n */\n function toUint8(uint256 value) internal pure returns (uint8) {\n if (value > type(uint8).max) {\n revert SafeCastOverflowedUintDowncast(8, value);\n }\n return uint8(value);\n }\n\n /**\n * @dev Converts a signed int256 into an unsigned uint256.\n *\n * Requirements:\n *\n * - input must be greater than or equal to 0.\n */\n function toUint256(int256 value) internal pure returns (uint256) {\n if (value < 0) {\n revert SafeCastOverflowedIntToUint(value);\n }\n return uint256(value);\n }\n\n /**\n * @dev Returns the downcasted int248 from int256, reverting on\n * overflow (when the input is less than smallest int248 or\n * greater than largest int248).\n *\n * Counterpart to Solidity's `int248` operator.\n *\n * Requirements:\n *\n * - input must fit into 248 bits\n */\n function toInt248(int256 value) internal pure returns (int248 downcasted) {\n downcasted = int248(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(248, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int240 from int256, reverting on\n * overflow (when the input is less than smallest int240 or\n * greater than largest int240).\n *\n * Counterpart to Solidity's `int240` operator.\n *\n * Requirements:\n *\n * - input must fit into 240 bits\n */\n function toInt240(int256 value) internal pure returns (int240 downcasted) {\n downcasted = int240(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(240, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int232 from int256, reverting on\n * overflow (when the input is less than smallest int232 or\n * greater than largest int232).\n *\n * Counterpart to Solidity's `int232` operator.\n *\n * Requirements:\n *\n * - input must fit into 232 bits\n */\n function toInt232(int256 value) internal pure returns (int232 downcasted) {\n downcasted = int232(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(232, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int224 from int256, reverting on\n * overflow (when the input is less than smallest int224 or\n * greater than largest int224).\n *\n * Counterpart to Solidity's `int224` operator.\n *\n * Requirements:\n *\n * - input must fit into 224 bits\n */\n function toInt224(int256 value) internal pure returns (int224 downcasted) {\n downcasted = int224(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(224, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int216 from int256, reverting on\n * overflow (when the input is less than smallest int216 or\n * greater than largest int216).\n *\n * Counterpart to Solidity's `int216` operator.\n *\n * Requirements:\n *\n * - input must fit into 216 bits\n */\n function toInt216(int256 value) internal pure returns (int216 downcasted) {\n downcasted = int216(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(216, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int208 from int256, reverting on\n * overflow (when the input is less than smallest int208 or\n * greater than largest int208).\n *\n * Counterpart to Solidity's `int208` operator.\n *\n * Requirements:\n *\n * - input must fit into 208 bits\n */\n function toInt208(int256 value) internal pure returns (int208 downcasted) {\n downcasted = int208(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(208, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int200 from int256, reverting on\n * overflow (when the input is less than smallest int200 or\n * greater than largest int200).\n *\n * Counterpart to Solidity's `int200` operator.\n *\n * Requirements:\n *\n * - input must fit into 200 bits\n */\n function toInt200(int256 value) internal pure returns (int200 downcasted) {\n downcasted = int200(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(200, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int192 from int256, reverting on\n * overflow (when the input is less than smallest int192 or\n * greater than largest int192).\n *\n * Counterpart to Solidity's `int192` operator.\n *\n * Requirements:\n *\n * - input must fit into 192 bits\n */\n function toInt192(int256 value) internal pure returns (int192 downcasted) {\n downcasted = int192(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(192, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int184 from int256, reverting on\n * overflow (when the input is less than smallest int184 or\n * greater than largest int184).\n *\n * Counterpart to Solidity's `int184` operator.\n *\n * Requirements:\n *\n * - input must fit into 184 bits\n */\n function toInt184(int256 value) internal pure returns (int184 downcasted) {\n downcasted = int184(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(184, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int176 from int256, reverting on\n * overflow (when the input is less than smallest int176 or\n * greater than largest int176).\n *\n * Counterpart to Solidity's `int176` operator.\n *\n * Requirements:\n *\n * - input must fit into 176 bits\n */\n function toInt176(int256 value) internal pure returns (int176 downcasted) {\n downcasted = int176(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(176, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int168 from int256, reverting on\n * overflow (when the input is less than smallest int168 or\n * greater than largest int168).\n *\n * Counterpart to Solidity's `int168` operator.\n *\n * Requirements:\n *\n * - input must fit into 168 bits\n */\n function toInt168(int256 value) internal pure returns (int168 downcasted) {\n downcasted = int168(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(168, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int160 from int256, reverting on\n * overflow (when the input is less than smallest int160 or\n * greater than largest int160).\n *\n * Counterpart to Solidity's `int160` operator.\n *\n * Requirements:\n *\n * - input must fit into 160 bits\n */\n function toInt160(int256 value) internal pure returns (int160 downcasted) {\n downcasted = int160(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(160, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int152 from int256, reverting on\n * overflow (when the input is less than smallest int152 or\n * greater than largest int152).\n *\n * Counterpart to Solidity's `int152` operator.\n *\n * Requirements:\n *\n * - input must fit into 152 bits\n */\n function toInt152(int256 value) internal pure returns (int152 downcasted) {\n downcasted = int152(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(152, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int144 from int256, reverting on\n * overflow (when the input is less than smallest int144 or\n * greater than largest int144).\n *\n * Counterpart to Solidity's `int144` operator.\n *\n * Requirements:\n *\n * - input must fit into 144 bits\n */\n function toInt144(int256 value) internal pure returns (int144 downcasted) {\n downcasted = int144(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(144, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int136 from int256, reverting on\n * overflow (when the input is less than smallest int136 or\n * greater than largest int136).\n *\n * Counterpart to Solidity's `int136` operator.\n *\n * Requirements:\n *\n * - input must fit into 136 bits\n */\n function toInt136(int256 value) internal pure returns (int136 downcasted) {\n downcasted = int136(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(136, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int128 from int256, reverting on\n * overflow (when the input is less than smallest int128 or\n * greater than largest int128).\n *\n * Counterpart to Solidity's `int128` operator.\n *\n * Requirements:\n *\n * - input must fit into 128 bits\n */\n function toInt128(int256 value) internal pure returns (int128 downcasted) {\n downcasted = int128(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(128, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int120 from int256, reverting on\n * overflow (when the input is less than smallest int120 or\n * greater than largest int120).\n *\n * Counterpart to Solidity's `int120` operator.\n *\n * Requirements:\n *\n * - input must fit into 120 bits\n */\n function toInt120(int256 value) internal pure returns (int120 downcasted) {\n downcasted = int120(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(120, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int112 from int256, reverting on\n * overflow (when the input is less than smallest int112 or\n * greater than largest int112).\n *\n * Counterpart to Solidity's `int112` operator.\n *\n * Requirements:\n *\n * - input must fit into 112 bits\n */\n function toInt112(int256 value) internal pure returns (int112 downcasted) {\n downcasted = int112(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(112, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int104 from int256, reverting on\n * overflow (when the input is less than smallest int104 or\n * greater than largest int104).\n *\n * Counterpart to Solidity's `int104` operator.\n *\n * Requirements:\n *\n * - input must fit into 104 bits\n */\n function toInt104(int256 value) internal pure returns (int104 downcasted) {\n downcasted = int104(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(104, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int96 from int256, reverting on\n * overflow (when the input is less than smallest int96 or\n * greater than largest int96).\n *\n * Counterpart to Solidity's `int96` operator.\n *\n * Requirements:\n *\n * - input must fit into 96 bits\n */\n function toInt96(int256 value) internal pure returns (int96 downcasted) {\n downcasted = int96(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(96, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int88 from int256, reverting on\n * overflow (when the input is less than smallest int88 or\n * greater than largest int88).\n *\n * Counterpart to Solidity's `int88` operator.\n *\n * Requirements:\n *\n * - input must fit into 88 bits\n */\n function toInt88(int256 value) internal pure returns (int88 downcasted) {\n downcasted = int88(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(88, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int80 from int256, reverting on\n * overflow (when the input is less than smallest int80 or\n * greater than largest int80).\n *\n * Counterpart to Solidity's `int80` operator.\n *\n * Requirements:\n *\n * - input must fit into 80 bits\n */\n function toInt80(int256 value) internal pure returns (int80 downcasted) {\n downcasted = int80(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(80, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int72 from int256, reverting on\n * overflow (when the input is less than smallest int72 or\n * greater than largest int72).\n *\n * Counterpart to Solidity's `int72` operator.\n *\n * Requirements:\n *\n * - input must fit into 72 bits\n */\n function toInt72(int256 value) internal pure returns (int72 downcasted) {\n downcasted = int72(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(72, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int64 from int256, reverting on\n * overflow (when the input is less than smallest int64 or\n * greater than largest int64).\n *\n * Counterpart to Solidity's `int64` operator.\n *\n * Requirements:\n *\n * - input must fit into 64 bits\n */\n function toInt64(int256 value) internal pure returns (int64 downcasted) {\n downcasted = int64(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(64, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int56 from int256, reverting on\n * overflow (when the input is less than smallest int56 or\n * greater than largest int56).\n *\n * Counterpart to Solidity's `int56` operator.\n *\n * Requirements:\n *\n * - input must fit into 56 bits\n */\n function toInt56(int256 value) internal pure returns (int56 downcasted) {\n downcasted = int56(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(56, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int48 from int256, reverting on\n * overflow (when the input is less than smallest int48 or\n * greater than largest int48).\n *\n * Counterpart to Solidity's `int48` operator.\n *\n * Requirements:\n *\n * - input must fit into 48 bits\n */\n function toInt48(int256 value) internal pure returns (int48 downcasted) {\n downcasted = int48(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(48, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int40 from int256, reverting on\n * overflow (when the input is less than smallest int40 or\n * greater than largest int40).\n *\n * Counterpart to Solidity's `int40` operator.\n *\n * Requirements:\n *\n * - input must fit into 40 bits\n */\n function toInt40(int256 value) internal pure returns (int40 downcasted) {\n downcasted = int40(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(40, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int32 from int256, reverting on\n * overflow (when the input is less than smallest int32 or\n * greater than largest int32).\n *\n * Counterpart to Solidity's `int32` operator.\n *\n * Requirements:\n *\n * - input must fit into 32 bits\n */\n function toInt32(int256 value) internal pure returns (int32 downcasted) {\n downcasted = int32(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(32, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int24 from int256, reverting on\n * overflow (when the input is less than smallest int24 or\n * greater than largest int24).\n *\n * Counterpart to Solidity's `int24` operator.\n *\n * Requirements:\n *\n * - input must fit into 24 bits\n */\n function toInt24(int256 value) internal pure returns (int24 downcasted) {\n downcasted = int24(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(24, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int16 from int256, reverting on\n * overflow (when the input is less than smallest int16 or\n * greater than largest int16).\n *\n * Counterpart to Solidity's `int16` operator.\n *\n * Requirements:\n *\n * - input must fit into 16 bits\n */\n function toInt16(int256 value) internal pure returns (int16 downcasted) {\n downcasted = int16(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(16, value);\n }\n }\n\n /**\n * @dev Returns the downcasted int8 from int256, reverting on\n * overflow (when the input is less than smallest int8 or\n * greater than largest int8).\n *\n * Counterpart to Solidity's `int8` operator.\n *\n * Requirements:\n *\n * - input must fit into 8 bits\n */\n function toInt8(int256 value) internal pure returns (int8 downcasted) {\n downcasted = int8(value);\n if (downcasted != value) {\n revert SafeCastOverflowedIntDowncast(8, value);\n }\n }\n\n /**\n * @dev Converts an unsigned uint256 into a signed int256.\n *\n * Requirements:\n *\n * - input must be less than or equal to maxInt256.\n */\n function toInt256(uint256 value) internal pure returns (int256) {\n // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n if (value > uint256(type(int256).max)) {\n revert SafeCastOverflowedUintToInt(value);\n }\n return int256(value);\n }\n\n /**\n * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n */\n function toUint(bool b) internal pure returns (uint256 u) {\n assembly (\"memory-safe\") {\n u := iszero(iszero(b))\n }\n }\n}\n"},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n /**\n * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n *\n * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n * one branch when needed, making this function more expensive.\n */\n function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {\n unchecked {\n // branchless ternary works because:\n // b ^ (a ^ b) == a\n // b ^ 0 == b\n return b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));\n }\n }\n\n /**\n * @dev Returns the largest of two signed numbers.\n */\n function max(int256 a, int256 b) internal pure returns (int256) {\n return ternary(a > b, a, b);\n }\n\n /**\n * @dev Returns the smallest of two signed numbers.\n */\n function min(int256 a, int256 b) internal pure returns (int256) {\n return ternary(a < b, a, b);\n }\n\n /**\n * @dev Returns the average of two signed numbers without overflow.\n * The result is rounded towards zero.\n */\n function average(int256 a, int256 b) internal pure returns (int256) {\n // Formula from the book \"Hacker's Delight\"\n int256 x = (a & b) + ((a ^ b) >> 1);\n return x + (int256(uint256(x) >> 255) & (a ^ b));\n }\n\n /**\n * @dev Returns the absolute unsigned value of a signed value.\n */\n function abs(int256 n) internal pure returns (uint256) {\n unchecked {\n // Formula from the \"Bit Twiddling Hacks\" by Sean Eron Anderson.\n // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift,\n // taking advantage of the most significant (or \"sign\" bit) in two's complement representation.\n // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result,\n // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative).\n int256 mask = n >> 255;\n\n // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it.\n return uint256((n + mask) ^ mask);\n }\n }\n}\n"},"@openzeppelin/contracts/utils/Nonces.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides tracking nonces for addresses. Nonces will only increment.\n */\nabstract contract Nonces {\n /**\n * @dev The nonce used for an `account` is not the expected current nonce.\n */\n error InvalidAccountNonce(address account, uint256 currentNonce);\n\n mapping(address account => uint256) private _nonces;\n\n /**\n * @dev Returns the next unused nonce for an address.\n */\n function nonces(address owner) public view virtual returns (uint256) {\n return _nonces[owner];\n }\n\n /**\n * @dev Consumes a nonce.\n *\n * Returns the current value and increments nonce.\n */\n function _useNonce(address owner) internal virtual returns (uint256) {\n // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be\n // decremented or reset. This guarantees that the nonce never overflows.\n unchecked {\n // It is important to do x++ and not ++x here.\n return _nonces[owner]++;\n }\n }\n\n /**\n * @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`.\n */\n function _useCheckedNonce(address owner, uint256 nonce) internal virtual {\n uint256 current = _useNonce(owner);\n if (nonce != current) {\n revert InvalidAccountNonce(owner, current);\n }\n }\n}\n"},"@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n * using Panic for uint256;\n *\n * // Use any of the declared internal constants\n * function foo() { Panic.GENERIC.panic(); }\n *\n * // Alternatively\n * function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n /// @dev generic / unspecified error\n uint256 internal constant GENERIC = 0x00;\n /// @dev used by the assert() builtin\n uint256 internal constant ASSERT = 0x01;\n /// @dev arithmetic underflow or overflow\n uint256 internal constant UNDER_OVERFLOW = 0x11;\n /// @dev division or modulo by zero\n uint256 internal constant DIVISION_BY_ZERO = 0x12;\n /// @dev enum conversion error\n uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n /// @dev invalid encoding in storage\n uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n /// @dev empty array pop\n uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n /// @dev array out of bounds access\n uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n /// @dev resource error (too large allocation or too large array)\n uint256 internal constant RESOURCE_ERROR = 0x41;\n /// @dev calling invalid internal function\n uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n /// @dev Reverts with a panic code. Recommended to use with\n /// the internal constants with predefined codes.\n function panic(uint256 code) internal pure {\n assembly (\"memory-safe\") {\n mstore(0x00, 0x4e487b71)\n mstore(0x20, code)\n revert(0x1c, 0x24)\n }\n }\n}\n"},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract ReentrancyGuard {\n // Booleans are more expensive than uint256 or any type that takes up a full\n // word because each write operation emits an extra SLOAD to first read the\n // slot's contents, replace the bits taken up by the boolean, and then write\n // back. This is the compiler's defense against contract upgrades and\n // pointer aliasing, and it cannot be disabled.\n\n // The values being non-zero value makes deployment a bit more expensive,\n // but in exchange the refund on every call to nonReentrant will be lower in\n // amount. Since refunds are capped to a percentage of the total\n // transaction's gas, it is best to keep them low in cases like this one, to\n // increase the likelihood of the full refund coming into effect.\n uint256 private constant NOT_ENTERED = 1;\n uint256 private constant ENTERED = 2;\n\n uint256 private _status;\n\n /**\n * @dev Unauthorized reentrant call.\n */\n error ReentrancyGuardReentrantCall();\n\n constructor() {\n _status = NOT_ENTERED;\n }\n\n /**\n * @dev Prevents a contract from calling itself, directly or indirectly.\n * Calling a `nonReentrant` function from another `nonReentrant`\n * function is not supported. It is possible to prevent this from happening\n * by making the `nonReentrant` function external, and making it call a\n * `private` function that does the actual work.\n */\n modifier nonReentrant() {\n _nonReentrantBefore();\n _;\n _nonReentrantAfter();\n }\n\n function _nonReentrantBefore() private {\n // On the first call to nonReentrant, _status will be NOT_ENTERED\n if (_status == ENTERED) {\n revert ReentrancyGuardReentrantCall();\n }\n\n // Any calls to nonReentrant after this point will fail\n _status = ENTERED;\n }\n\n function _nonReentrantAfter() private {\n // By storing the original value once again, a refund is triggered (see\n // https://eips.ethereum.org/EIPS/eip-2200)\n _status = NOT_ENTERED;\n }\n\n /**\n * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n * `nonReentrant` function in the call stack.\n */\n function _reentrancyGuardEntered() internal view returns (bool) {\n return _status == ENTERED;\n }\n}\n"},"@openzeppelin/contracts/utils/ShortStrings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/ShortStrings.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |\n// | length | 0x BB |\ntype ShortString is bytes32;\n\n/**\n * @dev This library provides functions to convert short memory strings\n * into a `ShortString` type that can be used as an immutable variable.\n *\n * Strings of arbitrary length can be optimized using this library if\n * they are short enough (up to 31 bytes) by packing them with their\n * length (1 byte) in a single EVM word (32 bytes). Additionally, a\n * fallback mechanism can be used for every other case.\n *\n * Usage example:\n *\n * ```solidity\n * contract Named {\n * using ShortStrings for *;\n *\n * ShortString private immutable _name;\n * string private _nameFallback;\n *\n * constructor(string memory contractName) {\n * _name = contractName.toShortStringWithFallback(_nameFallback);\n * }\n *\n * function name() external view returns (string memory) {\n * return _name.toStringWithFallback(_nameFallback);\n * }\n * }\n * ```\n */\nlibrary ShortStrings {\n // Used as an identifier for strings longer than 31 bytes.\n bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;\n\n error StringTooLong(string str);\n error InvalidShortString();\n\n /**\n * @dev Encode a string of at most 31 chars into a `ShortString`.\n *\n * This will trigger a `StringTooLong` error is the input string is too long.\n */\n function toShortString(string memory str) internal pure returns (ShortString) {\n bytes memory bstr = bytes(str);\n if (bstr.length > 31) {\n revert StringTooLong(str);\n }\n return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));\n }\n\n /**\n * @dev Decode a `ShortString` back to a \"normal\" string.\n */\n function toString(ShortString sstr) internal pure returns (string memory) {\n uint256 len = byteLength(sstr);\n // using `new string(len)` would work locally but is not memory safe.\n string memory str = new string(32);\n assembly (\"memory-safe\") {\n mstore(str, len)\n mstore(add(str, 0x20), sstr)\n }\n return str;\n }\n\n /**\n * @dev Return the length of a `ShortString`.\n */\n function byteLength(ShortString sstr) internal pure returns (uint256) {\n uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;\n if (result > 31) {\n revert InvalidShortString();\n }\n return result;\n }\n\n /**\n * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.\n */\n function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {\n if (bytes(value).length < 32) {\n return toShortString(value);\n } else {\n StorageSlot.getStringSlot(store).value = value;\n return ShortString.wrap(FALLBACK_SENTINEL);\n }\n }\n\n /**\n * @dev Decode a string that was encoded to `ShortString` or written to storage using {toShortStringWithFallback}.\n */\n function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {\n if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n return toString(value);\n } else {\n return store;\n }\n }\n\n /**\n * @dev Return the length of a string that was encoded to `ShortString` or written to storage using\n * {toShortStringWithFallback}.\n *\n * WARNING: This will return the \"byte length\" of the string. This may not reflect the actual length in terms of\n * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.\n */\n function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {\n if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n return byteLength(value);\n } else {\n return bytes(store).length;\n }\n }\n}\n"},"@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n * // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n * function _getImplementation() internal view returns (address) {\n * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n * }\n *\n * function _setImplementation(address newImplementation) internal {\n * require(newImplementation.code.length > 0);\n * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n * }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n struct AddressSlot {\n address value;\n }\n\n struct BooleanSlot {\n bool value;\n }\n\n struct Bytes32Slot {\n bytes32 value;\n }\n\n struct Uint256Slot {\n uint256 value;\n }\n\n struct Int256Slot {\n int256 value;\n }\n\n struct StringSlot {\n string value;\n }\n\n struct BytesSlot {\n bytes value;\n }\n\n /**\n * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n */\n function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n assembly (\"memory-safe\") {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n */\n function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n assembly (\"memory-safe\") {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n */\n function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n assembly (\"memory-safe\") {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n */\n function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n assembly (\"memory-safe\") {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n */\n function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n assembly (\"memory-safe\") {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns a `StringSlot` with member `value` located at `slot`.\n */\n function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n assembly (\"memory-safe\") {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n */\n function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n assembly (\"memory-safe\") {\n r.slot := store.slot\n }\n }\n\n /**\n * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n */\n function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n assembly (\"memory-safe\") {\n r.slot := slot\n }\n }\n\n /**\n * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n */\n function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n assembly (\"memory-safe\") {\n r.slot := store.slot\n }\n }\n}\n"},"@openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/Strings.sol)\n\npragma solidity ^0.8.20;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SafeCast} from \"./math/SafeCast.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n using SafeCast for *;\n\n bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n uint8 private constant ADDRESS_LENGTH = 20;\n uint256 private constant SPECIAL_CHARS_LOOKUP =\n (1 << 0x08) | // backspace\n (1 << 0x09) | // tab\n (1 << 0x0a) | // newline\n (1 << 0x0c) | // form feed\n (1 << 0x0d) | // carriage return\n (1 << 0x22) | // double quote\n (1 << 0x5c); // backslash\n\n /**\n * @dev The `value` string doesn't fit in the specified `length`.\n */\n error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n /**\n * @dev The string being parsed contains characters that are not in scope of the given base.\n */\n error StringsInvalidChar();\n\n /**\n * @dev The string being parsed is not a properly formatted address.\n */\n error StringsInvalidAddressFormat();\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 assembly (\"memory-safe\") {\n ptr := add(buffer, add(32, length))\n }\n while (true) {\n ptr--;\n assembly (\"memory-safe\") {\n mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n }\n value /= 10;\n if (value == 0) break;\n }\n return buffer;\n }\n }\n\n /**\n * @dev Converts a `int256` to its ASCII `string` decimal representation.\n */\n function toStringSigned(int256 value) internal pure returns (string memory) {\n return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\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 uint256 localValue = value;\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] = HEX_DIGITS[localValue & 0xf];\n localValue >>= 4;\n }\n if (localValue != 0) {\n revert StringsInsufficientHexLength(value, length);\n }\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\n * representation.\n */\n function toHexString(address addr) internal pure returns (string memory) {\n return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n }\n\n /**\n * @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal\n * representation, according to EIP-55.\n */\n function toChecksumHexString(address addr) internal pure returns (string memory) {\n bytes memory buffer = bytes(toHexString(addr));\n\n // hash the hex part of buffer (skip length + 2 bytes, length 40)\n uint256 hashValue;\n assembly (\"memory-safe\") {\n hashValue := shr(96, keccak256(add(buffer, 0x22), 40))\n }\n\n for (uint256 i = 41; i > 1; --i) {\n // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f)\n if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) {\n // case shift by xoring with 0x20\n buffer[i] ^= 0x20;\n }\n hashValue >>= 4;\n }\n return string(buffer);\n }\n\n /**\n * @dev Returns true if the two strings are equal.\n */\n function equal(string memory a, string memory b) internal pure returns (bool) {\n return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));\n }\n\n /**\n * @dev Parse a decimal string and returns the value as a `uint256`.\n *\n * Requirements:\n * - The string must be formatted as `[0-9]*`\n * - The result must fit into an `uint256` type\n */\n function parseUint(string memory input) internal pure returns (uint256) {\n return parseUint(input, 0, bytes(input).length);\n }\n\n /**\n * @dev Variant of {parseUint-string} that parses a substring of `input` located between position `begin` (included) and\n * `end` (excluded).\n *\n * Requirements:\n * - The substring must be formatted as `[0-9]*`\n * - The result must fit into an `uint256` type\n */\n function parseUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n (bool success, uint256 value) = tryParseUint(input, begin, end);\n if (!success) revert StringsInvalidChar();\n return value;\n }\n\n /**\n * @dev Variant of {parseUint-string} that returns false if the parsing fails because of an invalid character.\n *\n * NOTE: This function will revert if the result does not fit in a `uint256`.\n */\n function tryParseUint(string memory input) internal pure returns (bool success, uint256 value) {\n return _tryParseUintUncheckedBounds(input, 0, bytes(input).length);\n }\n\n /**\n * @dev Variant of {parseUint-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n * character.\n *\n * NOTE: This function will revert if the result does not fit in a `uint256`.\n */\n function tryParseUint(\n string memory input,\n uint256 begin,\n uint256 end\n ) internal pure returns (bool success, uint256 value) {\n if (end > bytes(input).length || begin > end) return (false, 0);\n return _tryParseUintUncheckedBounds(input, begin, end);\n }\n\n /**\n * @dev Implementation of {tryParseUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n */\n function _tryParseUintUncheckedBounds(\n string memory input,\n uint256 begin,\n uint256 end\n ) private pure returns (bool success, uint256 value) {\n bytes memory buffer = bytes(input);\n\n uint256 result = 0;\n for (uint256 i = begin; i < end; ++i) {\n uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n if (chr > 9) return (false, 0);\n result *= 10;\n result += chr;\n }\n return (true, result);\n }\n\n /**\n * @dev Parse a decimal string and returns the value as a `int256`.\n *\n * Requirements:\n * - The string must be formatted as `[-+]?[0-9]*`\n * - The result must fit in an `int256` type.\n */\n function parseInt(string memory input) internal pure returns (int256) {\n return parseInt(input, 0, bytes(input).length);\n }\n\n /**\n * @dev Variant of {parseInt-string} that parses a substring of `input` located between position `begin` (included) and\n * `end` (excluded).\n *\n * Requirements:\n * - The substring must be formatted as `[-+]?[0-9]*`\n * - The result must fit in an `int256` type.\n */\n function parseInt(string memory input, uint256 begin, uint256 end) internal pure returns (int256) {\n (bool success, int256 value) = tryParseInt(input, begin, end);\n if (!success) revert StringsInvalidChar();\n return value;\n }\n\n /**\n * @dev Variant of {parseInt-string} that returns false if the parsing fails because of an invalid character or if\n * the result does not fit in a `int256`.\n *\n * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n */\n function tryParseInt(string memory input) internal pure returns (bool success, int256 value) {\n return _tryParseIntUncheckedBounds(input, 0, bytes(input).length);\n }\n\n uint256 private constant ABS_MIN_INT256 = 2 ** 255;\n\n /**\n * @dev Variant of {parseInt-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n * character or if the result does not fit in a `int256`.\n *\n * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n */\n function tryParseInt(\n string memory input,\n uint256 begin,\n uint256 end\n ) internal pure returns (bool success, int256 value) {\n if (end > bytes(input).length || begin > end) return (false, 0);\n return _tryParseIntUncheckedBounds(input, begin, end);\n }\n\n /**\n * @dev Implementation of {tryParseInt-string-uint256-uint256} that does not check bounds. Caller should make sure that\n * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n */\n function _tryParseIntUncheckedBounds(\n string memory input,\n uint256 begin,\n uint256 end\n ) private pure returns (bool success, int256 value) {\n bytes memory buffer = bytes(input);\n\n // Check presence of a negative sign.\n bytes1 sign = begin == end ? bytes1(0) : bytes1(_unsafeReadBytesOffset(buffer, begin)); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n bool positiveSign = sign == bytes1(\"+\");\n bool negativeSign = sign == bytes1(\"-\");\n uint256 offset = (positiveSign || negativeSign).toUint();\n\n (bool absSuccess, uint256 absValue) = tryParseUint(input, begin + offset, end);\n\n if (absSuccess && absValue < ABS_MIN_INT256) {\n return (true, negativeSign ? -int256(absValue) : int256(absValue));\n } else if (absSuccess && negativeSign && absValue == ABS_MIN_INT256) {\n return (true, type(int256).min);\n } else return (false, 0);\n }\n\n /**\n * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as a `uint256`.\n *\n * Requirements:\n * - The string must be formatted as `(0x)?[0-9a-fA-F]*`\n * - The result must fit in an `uint256` type.\n */\n function parseHexUint(string memory input) internal pure returns (uint256) {\n return parseHexUint(input, 0, bytes(input).length);\n }\n\n /**\n * @dev Variant of {parseHexUint-string} that parses a substring of `input` located between position `begin` (included) and\n * `end` (excluded).\n *\n * Requirements:\n * - The substring must be formatted as `(0x)?[0-9a-fA-F]*`\n * - The result must fit in an `uint256` type.\n */\n function parseHexUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n (bool success, uint256 value) = tryParseHexUint(input, begin, end);\n if (!success) revert StringsInvalidChar();\n return value;\n }\n\n /**\n * @dev Variant of {parseHexUint-string} that returns false if the parsing fails because of an invalid character.\n *\n * NOTE: This function will revert if the result does not fit in a `uint256`.\n */\n function tryParseHexUint(string memory input) internal pure returns (bool success, uint256 value) {\n return _tryParseHexUintUncheckedBounds(input, 0, bytes(input).length);\n }\n\n /**\n * @dev Variant of {parseHexUint-string-uint256-uint256} that returns false if the parsing fails because of an\n * invalid character.\n *\n * NOTE: This function will revert if the result does not fit in a `uint256`.\n */\n function tryParseHexUint(\n string memory input,\n uint256 begin,\n uint256 end\n ) internal pure returns (bool success, uint256 value) {\n if (end > bytes(input).length || begin > end) return (false, 0);\n return _tryParseHexUintUncheckedBounds(input, begin, end);\n }\n\n /**\n * @dev Implementation of {tryParseHexUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n */\n function _tryParseHexUintUncheckedBounds(\n string memory input,\n uint256 begin,\n uint256 end\n ) private pure returns (bool success, uint256 value) {\n bytes memory buffer = bytes(input);\n\n // skip 0x prefix if present\n bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(buffer, begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n uint256 offset = hasPrefix.toUint() * 2;\n\n uint256 result = 0;\n for (uint256 i = begin + offset; i < end; ++i) {\n uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n if (chr > 15) return (false, 0);\n result *= 16;\n unchecked {\n // Multiplying by 16 is equivalent to a shift of 4 bits (with additional overflow check).\n // This guarantees that adding a value < 16 will not cause an overflow, hence the unchecked.\n result += chr;\n }\n }\n return (true, result);\n }\n\n /**\n * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as an `address`.\n *\n * Requirements:\n * - The string must be formatted as `(0x)?[0-9a-fA-F]{40}`\n */\n function parseAddress(string memory input) internal pure returns (address) {\n return parseAddress(input, 0, bytes(input).length);\n }\n\n /**\n * @dev Variant of {parseAddress-string} that parses a substring of `input` located between position `begin` (included) and\n * `end` (excluded).\n *\n * Requirements:\n * - The substring must be formatted as `(0x)?[0-9a-fA-F]{40}`\n */\n function parseAddress(string memory input, uint256 begin, uint256 end) internal pure returns (address) {\n (bool success, address value) = tryParseAddress(input, begin, end);\n if (!success) revert StringsInvalidAddressFormat();\n return value;\n }\n\n /**\n * @dev Variant of {parseAddress-string} that returns false if the parsing fails because the input is not a properly\n * formatted address. See {parseAddress-string} requirements.\n */\n function tryParseAddress(string memory input) internal pure returns (bool success, address value) {\n return tryParseAddress(input, 0, bytes(input).length);\n }\n\n /**\n * @dev Variant of {parseAddress-string-uint256-uint256} that returns false if the parsing fails because input is not a properly\n * formatted address. See {parseAddress-string-uint256-uint256} requirements.\n */\n function tryParseAddress(\n string memory input,\n uint256 begin,\n uint256 end\n ) internal pure returns (bool success, address value) {\n if (end > bytes(input).length || begin > end) return (false, address(0));\n\n bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(bytes(input), begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n uint256 expectedLength = 40 + hasPrefix.toUint() * 2;\n\n // check that input is the correct length\n if (end - begin == expectedLength) {\n // length guarantees that this does not overflow, and value is at most type(uint160).max\n (bool s, uint256 v) = _tryParseHexUintUncheckedBounds(input, begin, end);\n return (s, address(uint160(v)));\n } else {\n return (false, address(0));\n }\n }\n\n function _tryParseChr(bytes1 chr) private pure returns (uint8) {\n uint8 value = uint8(chr);\n\n // Try to parse `chr`:\n // - Case 1: [0-9]\n // - Case 2: [a-f]\n // - Case 3: [A-F]\n // - otherwise not supported\n unchecked {\n if (value > 47 && value < 58) value -= 48;\n else if (value > 96 && value < 103) value -= 87;\n else if (value > 64 && value < 71) value -= 55;\n else return type(uint8).max;\n }\n\n return value;\n }\n\n /**\n * @dev Escape special characters in JSON strings. This can be useful to prevent JSON injection in NFT metadata.\n *\n * WARNING: This function should only be used in double quoted JSON strings. Single quotes are not escaped.\n *\n * NOTE: This function escapes all unicode characters, and not just the ones in ranges defined in section 2.5 of\n * RFC-4627 (U+0000 to U+001F, U+0022 and U+005C). ECMAScript's `JSON.parse` does recover escaped unicode\n * characters that are not in this range, but other tooling may provide different results.\n */\n function escapeJSON(string memory input) internal pure returns (string memory) {\n bytes memory buffer = bytes(input);\n bytes memory output = new bytes(2 * buffer.length); // worst case scenario\n uint256 outputLength = 0;\n\n for (uint256 i; i < buffer.length; ++i) {\n bytes1 char = bytes1(_unsafeReadBytesOffset(buffer, i));\n if (((SPECIAL_CHARS_LOOKUP & (1 << uint8(char))) != 0)) {\n output[outputLength++] = \"\\\\\";\n if (char == 0x08) output[outputLength++] = \"b\";\n else if (char == 0x09) output[outputLength++] = \"t\";\n else if (char == 0x0a) output[outputLength++] = \"n\";\n else if (char == 0x0c) output[outputLength++] = \"f\";\n else if (char == 0x0d) output[outputLength++] = \"r\";\n else if (char == 0x5c) output[outputLength++] = \"\\\\\";\n else if (char == 0x22) {\n // solhint-disable-next-line quotes\n output[outputLength++] = '\"';\n }\n } else {\n output[outputLength++] = char;\n }\n }\n // write the actual length and deallocate unused memory\n assembly (\"memory-safe\") {\n mstore(output, outputLength)\n mstore(0x40, add(output, shl(5, shr(5, add(outputLength, 63)))))\n }\n\n return string(output);\n }\n\n /**\n * @dev Reads a bytes32 from a bytes array without bounds checking.\n *\n * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n * assembly block as such would prevent some optimizations.\n */\n function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n // This is not memory safe in the general case, but all calls to this private function are within bounds.\n assembly (\"memory-safe\") {\n value := mload(add(buffer, add(0x20, offset)))\n }\n }\n}\n"},"contracts/CyberValley.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nlibrary CyberValley {\n struct Multihash {\n bytes32 digest;\n uint8 hashFunction;\n uint8 size;\n }\n}\n"},"contracts/CyberValleyEventManager.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nimport \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"./CyberValleyEventTicket.sol\";\nimport \"./DateOverlapChecker.sol\";\nimport \"./CyberValley.sol\";\nimport \"./IDynamicRevenueSplitter.sol\";\nimport \"./IReferralRewards.sol\";\n\n// TODO: Pad layout after general work finish\ncontract CyberValleyEventManager is AccessControl, DateOverlapChecker {\n using CyberValley for CyberValley.Multihash;\n\n bytes32 public constant MASTER_ROLE = keccak256(\"MASTER_ROLE\");\n bytes32 public constant LOCAL_PROVIDER_ROLE = keccak256(\"LOCAL_PROVIDER_ROLE\");\n bytes32 public constant VERIFIED_SHAMAN_ROLE = keccak256(\"VERIFIED_SHAMAN_ROLE\");\n bytes32 public constant BACKEND_ROLE = keccak256(\"BACKEND_ROLE\");\n\n // LOCAL_PROVIDER_ROLE is the primary \"event manager\" role; MASTER_ROLE should be\n // able to act across all providers for operational recovery (e.g. close/cancel).\n modifier onlyLocalProviderOrMaster() {\n if (!hasRole(MASTER_ROLE, msg.sender)) {\n _checkRole(LOCAL_PROVIDER_ROLE);\n }\n _;\n }\n\n enum EventPlaceStatus {\n Submitted,\n Approved,\n Declined\n }\n\n struct EventPlace {\n address requester;\n address provider;\n uint16 maxTickets;\n uint16 minTickets;\n uint256 minPrice;\n uint8 daysBeforeCancel;\n uint8 minDays;\n bool available;\n EventPlaceStatus status;\n CyberValley.Multihash meta;\n uint256 eventDepositSize;\n }\n\n enum EventStatus {\n Submitted,\n Approved,\n Declined,\n Cancelled,\n Closed\n }\n\n // TODO: Add IPFS multihash\n struct TicketCategory {\n string name;\n uint256 eventId;\n uint16 discountPercentage;\n uint16 quota;\n bool hasQuota;\n uint16 sold;\n }\n\n // Input struct for creating categories during event submission\n struct CategoryInput {\n string name;\n uint16 discountPercentage;\n uint16 quota;\n bool hasQuota;\n }\n\n struct Event {\n address creator;\n uint256 eventPlaceId;\n uint256 ticketPrice;\n uint256 startDate;\n uint16 daysAmount;\n EventStatus status;\n address[] customers;\n CyberValley.Multihash meta;\n uint256 networth;\n uint256 totalCategoryQuota; // Gas-efficient tracking of category quotas\n }\n\n event NewEventPlaceRequest(\n uint256 id,\n address requester,\n uint16 maxTickets,\n uint16 minTickets,\n uint256 minPrice,\n uint8 daysBeforeCancel,\n uint8 minDays,\n bool available,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size\n );\n event EventPlaceUpdated(\n address provider,\n uint256 eventPlaceId,\n uint16 maxTickets,\n uint16 minTickets,\n uint256 minPrice,\n uint8 daysBeforeCancel,\n uint8 minDays,\n bool available,\n EventPlaceStatus status,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n uint256 eventDepositSize\n );\n event NewEventRequest(\n uint256 id,\n address creator,\n uint256 eventPlaceId,\n uint256 ticketPrice,\n uint256 startDate,\n uint16 daysAmount,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size\n );\n event EventStatusChanged(uint256 eventId, EventStatus status);\n event EventUpdated(\n uint256 id,\n uint256 eventPlaceId,\n uint256 ticketPrice,\n uint256 startDate,\n uint16 daysAmount,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size\n );\n event EventTicketVerified(uint256 tokenId);\n\n event TicketCategoryCreated(\n uint256 categoryId,\n uint256 indexed eventId,\n string name,\n uint16 discountPercentage,\n uint16 quota,\n bool hasQuota\n );\n event TicketCategoryUpdated(\n uint256 categoryId,\n uint256 indexed eventId,\n string name,\n uint16 discountPercentage,\n uint16 quota,\n bool hasQuota\n );\n event ReferralRewardsUpdated(address referralRewards);\n\n IERC20 public usdtTokenContract;\n CyberValleyEventTicket public eventTicketContract;\n\n address public master;\n address public revenueSplitter;\n IReferralRewards public referralRewards;\n\n EventPlace[] public eventPlaces;\n Event[] public events;\n TicketCategory[] public categories;\n mapping(uint256 => uint256[]) public categoryCounters;\n // NOTE: `ticketPrices` was removed because it was written but never read anywhere.\n\n modifier onlyExistingEvent(uint256 eventId) {\n require(eventId < events.length, \"Event with given id does not exist\");\n _;\n }\n\n /**\n * @notice Check if a place has any active events (submitted or approved status)\n * @param eventPlaceId The ID of the event place\n * @return true if there are active events at this place\n */\n function _hasActiveEvents(uint256 eventPlaceId) internal view returns (bool) {\n for (uint256 i = 0; i < events.length; i++) {\n if (events[i].eventPlaceId == eventPlaceId) {\n if (events[i].status == EventStatus.Submitted || events[i].status == EventStatus.Approved) {\n return true;\n }\n }\n }\n return false;\n }\n\n constructor(\n address _usdtTokenContract,\n address _eventTicketContract,\n address _master,\n uint256 _initialOffest\n ) DateOverlapChecker(_initialOffest) {\n usdtTokenContract = IERC20(_usdtTokenContract);\n eventTicketContract = CyberValleyEventTicket(_eventTicketContract);\n master = _master;\n\n _grantRole(DEFAULT_ADMIN_ROLE, _master);\n _grantRole(MASTER_ROLE, _master);\n _grantRole(LOCAL_PROVIDER_ROLE, _master);\n _setRoleAdmin(VERIFIED_SHAMAN_ROLE, BACKEND_ROLE);\n }\n\n function setReferralRewards(address _referralRewards) external onlyRole(MASTER_ROLE) {\n referralRewards = IReferralRewards(_referralRewards);\n emit ReferralRewardsUpdated(_referralRewards);\n }\n\n /**\n * @notice Grants local provider role and sets their bps share in RevenueSplitter\n * @param eoa The address to grant LOCAL_PROVIDER_ROLE to\n * @param bps The basis points (0-8500) this provider receives from each distribution.\n * Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before \n * profile recipients. Provider cannot add themselves to distribution profiles.\n */\n function grantLocalProvider(address eoa, uint256 bps) external onlyRole(MASTER_ROLE) {\n require(eoa != address(0), \"Local provider cannot be zero address\");\n require(revenueSplitter != address(0), \"Revenue splitter not set\");\n _grantRole(LOCAL_PROVIDER_ROLE, eoa);\n // Bps validation happens in RevenueSplitter. Provider gets bps automatically\n // and cannot add themselves to distribution profiles.\n IDynamicRevenueSplitter(revenueSplitter).grantProfileManager(eoa, bps);\n }\n\n function revokeLocalProvider(address eoa) external onlyRole(MASTER_ROLE) {\n // Transfer all EventPlaces owned by the LocalProvider to Master\n for (uint256 i = 0; i < eventPlaces.length; i++) {\n if (eventPlaces[i].provider == eoa) {\n eventPlaces[i].provider = master;\n\n // Emit EventPlaceUpdated event for the transfer\n emit EventPlaceUpdated(\n master,\n i,\n eventPlaces[i].maxTickets,\n eventPlaces[i].minTickets,\n eventPlaces[i].minPrice,\n eventPlaces[i].daysBeforeCancel,\n eventPlaces[i].minDays,\n eventPlaces[i].available,\n eventPlaces[i].status,\n eventPlaces[i].meta.digest,\n eventPlaces[i].meta.hashFunction,\n eventPlaces[i].meta.size,\n eventPlaces[i].eventDepositSize\n );\n }\n }\n\n // Transfer all profile ownership from revoked provider to master\n IDynamicRevenueSplitter(revenueSplitter).transferAllProfiles(eoa, master);\n\n _revokeRole(LOCAL_PROVIDER_ROLE, eoa);\n }\n\n function revokeVerifiedShaman(address eoa) external onlyRole(LOCAL_PROVIDER_ROLE) {\n _revokeRole(VERIFIED_SHAMAN_ROLE, eoa);\n }\n\n function setRevenueSplitter(address _splitter) external onlyRole(MASTER_ROLE) {\n require(_splitter != address(0), \"Splitter address cannot be zero\");\n revenueSplitter = _splitter;\n }\n\n function submitEventPlaceRequest(\n uint16 _maxTickets,\n uint16 _minTickets,\n uint256 _minPrice,\n uint8 _daysBeforeCancel,\n uint8 _minDays,\n bool _available,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n uint256 _eventDepositSize\n ) external {\n bool isLocalProvider = hasRole(LOCAL_PROVIDER_ROLE, msg.sender);\n\trequire(isLocalProvider || hasRole(VERIFIED_SHAMAN_ROLE, msg.sender), \"access denied\");\n\n // If local provider is creating, deposit must be > 0\n // If shaman is requesting, deposit can be 0 (will be set during approval)\n if (isLocalProvider) {\n require(_eventDepositSize > 0, \"Deposit must be greater than zero\");\n }\n\n eventPlaces.push(EventPlace({\n requester: msg.sender,\n provider: isLocalProvider ? msg.sender : address(0),\n maxTickets: _maxTickets,\n minTickets: _minTickets,\n minPrice: _minPrice,\n daysBeforeCancel: _daysBeforeCancel,\n minDays: _minDays,\n available: _available,\n status: isLocalProvider ? EventPlaceStatus.Approved : EventPlaceStatus.Submitted,\n meta: CyberValley.Multihash({\n digest: digest,\n hashFunction: hashFunction,\n size: size\n }),\n eventDepositSize: _eventDepositSize\n }));\n\n uint256 eventPlaceId = eventPlaces.length - 1;\n _validateEventPlace(eventPlaces[eventPlaceId]);\n\n if (isLocalProvider) {\n emit EventPlaceUpdated(\n msg.sender,\n eventPlaceId,\n _maxTickets,\n _minTickets,\n _minPrice,\n _daysBeforeCancel,\n _minDays,\n _available,\n EventPlaceStatus.Approved,\n digest,\n hashFunction,\n size,\n _eventDepositSize\n );\n } else {\n emit NewEventPlaceRequest(\n eventPlaceId,\n msg.sender,\n _maxTickets,\n _minTickets,\n _minPrice,\n _daysBeforeCancel,\n _minDays,\n _available,\n digest,\n hashFunction,\n size\n );\n }\n }\n\n function approveEventPlace(\n uint256 eventPlaceId,\n uint256 _eventDepositSize\n ) external onlyRole(LOCAL_PROVIDER_ROLE) {\n require(eventPlaceId < eventPlaces.length, \"EventPlace does not exist\");\n require(_eventDepositSize > 0, \"Deposit must be greater than zero\");\n EventPlace storage place = eventPlaces[eventPlaceId];\n require(\n place.status == EventPlaceStatus.Submitted,\n \"EventPlace status differs from submitted\"\n );\n place.status = EventPlaceStatus.Approved;\n place.provider = msg.sender;\n place.eventDepositSize = _eventDepositSize;\n emit EventPlaceUpdated(\n msg.sender,\n eventPlaceId,\n place.maxTickets,\n place.minTickets,\n place.minPrice,\n place.daysBeforeCancel,\n place.minDays,\n place.available,\n place.status,\n place.meta.digest,\n place.meta.hashFunction,\n place.meta.size,\n place.eventDepositSize\n );\n }\n\n function declineEventPlace(\n uint256 eventPlaceId\n ) external onlyRole(LOCAL_PROVIDER_ROLE) {\n require(eventPlaceId < eventPlaces.length, \"EventPlace does not exist\");\n EventPlace storage place = eventPlaces[eventPlaceId];\n require(\n place.status == EventPlaceStatus.Submitted,\n \"EventPlace status differs from submitted\"\n );\n place.status = EventPlaceStatus.Declined;\n // No event emitted for declined places\n }\n\n function updateEventPlace(\n uint256 eventPlaceId,\n uint16 _maxTickets,\n uint16 _minTickets,\n uint256 _minPrice,\n uint8 _daysBeforeCancel,\n uint8 _minDays,\n bool _available,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n uint256 _eventDepositSize\n ) external onlyRole(LOCAL_PROVIDER_ROLE) {\n require(eventPlaceId < eventPlaces.length, \"eventPlaceId should exist\");\n EventPlace storage place = eventPlaces[eventPlaceId];\n require(\n place.provider == msg.sender,\n \"Given event place belongs to another provider\"\n );\n require(\n place.status == EventPlaceStatus.Approved,\n \"EventPlace must be approved to be updated\"\n );\n\n // Only allow deposit change if there are no active events\n if (_eventDepositSize != place.eventDepositSize) {\n require(\n !_hasActiveEvents(eventPlaceId),\n \"Cannot change deposit while there are active events\"\n );\n require(_eventDepositSize > 0, \"Deposit must be greater than zero\");\n place.eventDepositSize = _eventDepositSize;\n }\n\n place.maxTickets = _maxTickets;\n place.minTickets = _minTickets;\n place.minPrice = _minPrice;\n place.daysBeforeCancel = _daysBeforeCancel;\n place.minDays = _minDays;\n place.available = _available;\n place.meta = CyberValley.Multihash({\n digest: digest,\n hashFunction: hashFunction,\n size: size\n });\n\n _validateEventPlace(place);\n emit EventPlaceUpdated(\n msg.sender,\n eventPlaceId,\n _maxTickets,\n _minTickets,\n _minPrice,\n _daysBeforeCancel,\n _minDays,\n _available,\n place.status,\n digest,\n hashFunction,\n size,\n place.eventDepositSize\n );\n }\n\n function _validateEventPlace(EventPlace memory eventPlace) internal pure {\n require(\n eventPlace.maxTickets >= eventPlace.minTickets,\n \"Max tickets must be greater or equal min tickets\"\n );\n require(\n eventPlace.maxTickets > 0 &&\n eventPlace.minTickets > 0 &&\n eventPlace.minPrice > 0 &&\n eventPlace.daysBeforeCancel > 0 &&\n eventPlace.minDays > 0,\n \"Values must be greater than zero\"\n );\n }\n\n function submitEventRequest(\n uint256 eventPlaceId,\n uint256 ticketPrice,\n uint256 startDate,\n uint16 daysAmount,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n CategoryInput[] calldata categoriesInput\n ) external {\n require(eventPlaceId < eventPlaces.length, \"EventPlace does not exist\");\n EventPlace storage place = eventPlaces[eventPlaceId];\n require(\n place.eventDepositSize > 0,\n \"EventPlace deposit must be set\"\n );\n require(\n usdtTokenContract.balanceOf(msg.sender) >= place.eventDepositSize,\n \"Not enough tokens\"\n );\n require(\n usdtTokenContract.allowance(msg.sender, address(this)) >=\n place.eventDepositSize,\n \"Required amount was not allowed\"\n );\n require(\n usdtTokenContract.transferFrom(\n msg.sender,\n address(this),\n place.eventDepositSize\n ),\n \"Event request payment failed\"\n );\n events.push(\n Event({\n creator: msg.sender,\n eventPlaceId: eventPlaceId,\n ticketPrice: ticketPrice,\n startDate: floorTimestampToDate(startDate),\n daysAmount: daysAmount,\n status: EventStatus.Submitted,\n customers: new address[](0),\n meta: CyberValley.Multihash({\n digest: digest,\n hashFunction: hashFunction,\n size: size\n }),\n networth: 0,\n totalCategoryQuota: 0\n })\n );\n uint256 eventId = events.length - 1;\n validateEvent(events[eventId]);\n\n // Create categories atomically with the event\n require(categoriesInput.length > 0, \"At least one category is required\");\n for (uint256 i = 0; i < categoriesInput.length; i++) {\n CategoryInput memory cat = categoriesInput[i];\n _createCategoryForEvent(\n eventId,\n cat.name,\n cat.discountPercentage,\n cat.quota,\n cat.hasQuota\n );\n }\n\n // Validate that categories are within boundaries\n Event storage newEvent = events[eventId];\n EventPlace storage eventPlace = eventPlaces[newEvent.eventPlaceId];\n bool hasUnlimited = _eventHasUnlimitedCategory(eventId);\n if (!hasUnlimited) {\n require(\n newEvent.totalCategoryQuota >= eventPlace.minTickets,\n \"Total tickets must be at least minTickets\"\n );\n require(\n newEvent.totalCategoryQuota <= eventPlace.maxTickets,\n \"Total tickets cannot exceed maxTickets\"\n );\n }\n\n emit NewEventRequest(\n eventId,\n msg.sender,\n eventPlaceId,\n ticketPrice,\n startDate,\n daysAmount,\n digest,\n hashFunction,\n size\n );\n }\n\n function approveEvent(\n uint256 eventId,\n uint256 distributionProfileId\n ) external onlyLocalProviderOrMaster onlyExistingEvent(eventId) {\n Event storage evt = events[eventId];\n ensureEventBelongsToProviderOrMaster(evt.eventPlaceId);\n require(\n evt.status == EventStatus.Submitted,\n \"Event status differs from submitted\"\n );\n require(\n categoryCounters[eventId].length > 0,\n \"Event must have at least one category\"\n );\n\n // Validate profile ownership - caller must own the profile\n require(\n IDynamicRevenueSplitter(revenueSplitter).isProfileOwner(\n distributionProfileId,\n msg.sender\n ),\n \"Caller must own the distribution profile\"\n );\n\n // Set event profile in revenue splitter\n IDynamicRevenueSplitter(revenueSplitter).setEventProfile(\n eventId,\n distributionProfileId\n );\n\n allocateDateRange(\n evt.eventPlaceId,\n evt.startDate,\n calcDaysAfter(evt.startDate, evt.daysAmount)\n );\n evt.status = EventStatus.Approved;\n emit EventStatusChanged(eventId, evt.status);\n }\n\n function declineEvent(\n uint256 eventId\n ) external onlyLocalProviderOrMaster onlyExistingEvent(eventId) {\n Event storage evt = events[eventId];\n ensureEventBelongsToProviderOrMaster(evt.eventPlaceId);\n require(\n evt.status == EventStatus.Submitted,\n \"Event status differs from submitted\"\n );\n EventPlace storage place = eventPlaces[evt.eventPlaceId];\n require(\n usdtTokenContract.transfer(evt.creator, place.eventDepositSize),\n \"Failed to refund event request\"\n );\n evt.status = EventStatus.Declined;\n freeDateRange(\n evt.eventPlaceId,\n evt.startDate,\n calcDaysAfter(evt.startDate, evt.daysAmount)\n );\n emit EventStatusChanged(eventId, evt.status);\n }\n\n function updateEvent(\n uint256 eventId,\n uint256 eventPlaceId,\n uint256 ticketPrice,\n uint256 startDate,\n uint16 daysAmount,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size\n ) external onlyRole(LOCAL_PROVIDER_ROLE) onlyExistingEvent(eventId) {\n Event storage evt = events[eventId];\n ensureEventBelongsToProvider(evt.eventPlaceId);\n \n // Capture old values BEFORE any mutations\n uint256 oldEventPlaceId = evt.eventPlaceId;\n uint256 oldStartDate = evt.startDate;\n uint256 oldDaysAmount = evt.daysAmount;\n \n bool realloc = oldEventPlaceId != eventPlaceId ||\n oldStartDate != startDate ||\n oldDaysAmount != daysAmount;\n \n evt.eventPlaceId = eventPlaceId;\n evt.ticketPrice = ticketPrice;\n evt.startDate = floorTimestampToDate(startDate);\n evt.daysAmount = daysAmount;\n evt.meta = CyberValley.Multihash({\n digest: digest,\n hashFunction: hashFunction,\n size: size\n });\n validateEvent(evt);\n if (realloc) {\n // Free the OLD date range from the OLD place\n freeDateRange(\n oldEventPlaceId,\n oldStartDate,\n calcDaysAfter(oldStartDate, oldDaysAmount)\n );\n // Allocate the NEW date range to the NEW place\n allocateDateRange(\n eventPlaceId,\n evt.startDate,\n calcDaysAfter(evt.startDate, evt.daysAmount)\n );\n }\n emit EventUpdated(\n eventId,\n eventPlaceId,\n ticketPrice,\n startDate,\n daysAmount,\n digest,\n hashFunction,\n size\n );\n }\n\n function validateEvent(Event storage evt) internal view {\n EventPlace storage place = eventPlaces[evt.eventPlaceId];\n require(evt.status <= EventStatus.Approved, \"Event is not available\");\n require(\n place.status == EventPlaceStatus.Approved,\n \"EventPlace must be approved\"\n );\n require(\n place.available,\n \"EventPlace is not available\"\n );\n require(\n place.minPrice <= evt.ticketPrice,\n \"Ticket price is less than allowed\"\n );\n require(\n place.minDays <= evt.daysAmount,\n \"Days amount is less than allowed\"\n );\n require(\n floorTimestampToDate(block.timestamp) +\n SECONDS_IN_DAY *\n (place.daysBeforeCancel) <=\n evt.startDate,\n \"Not enough time to avoid cancelling\"\n );\n // Saves from requests that will allocate a lot of buckets\n // in the `DateOverlapChecker`\n // Written when BUCKET_SIZE == 256\n require(\n evt.startDate - floorTimestampToDate(block.timestamp) <=\n SECONDS_IN_DAY * BUCKET_SIZE,\n \"Requested event is too far in the future\"\n );\n require(\n checkNoOverlap(\n evt.eventPlaceId,\n evt.startDate,\n calcDaysAfter(evt.startDate, evt.daysAmount)\n ),\n \"Requested event overlaps with existing\"\n );\n }\n\n function mintTicket(\n uint256 eventId,\n uint256 categoryId,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n address referrer\n ) external onlyExistingEvent(eventId) {\n _mintTicketInternal(eventId, categoryId, 1, digest, hashFunction, size, referrer);\n }\n\n function mintTickets(\n uint256 eventId,\n uint256 categoryId,\n uint256 amount,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n address referrer\n ) external onlyExistingEvent(eventId) {\n _mintTicketInternal(eventId, categoryId, amount, digest, hashFunction, size, referrer);\n }\n\n function _mintTicketInternal(\n uint256 eventId,\n uint256 categoryId,\n uint256 amount,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n address referrer\n ) internal onlyExistingEvent(eventId) {\n require(amount > 0, \"Amount must be greater than 0\");\n\n Event storage evt = events[eventId];\n require(evt.status == EventStatus.Approved, \"Event is not approved\");\n\n // Category is required\n require(categoryId < categories.length, \"Category does not exist\");\n TicketCategory storage category = categories[categoryId];\n require(category.eventId == eventId, \"Category does not belong to this event\");\n\n if (category.hasQuota) {\n require(category.sold + uint16(amount) <= category.quota, \"Category quota exceeded\");\n category.sold += uint16(amount);\n }\n uint256 unitPrice = applyDiscount(evt.ticketPrice, category.discountPercentage);\n uint256 totalPrice = unitPrice * amount;\n\n require(\n usdtTokenContract.transferFrom(\n msg.sender,\n address(this),\n totalPrice\n ),\n \"Failed to transfer tokens\"\n );\n\n // Referral payouts are taken out of event revenue (reduces `evt.networth`).\n uint256 referralPaid = 0;\n if (address(referralRewards) != address(0)) {\n address safeReferrer = referrer == msg.sender ? address(0) : referrer;\n\n (address[3] memory recipients, uint256[3] memory bonuses, uint256 paid) =\n referralRewards.processPurchase(msg.sender, safeReferrer, totalPrice);\n referralPaid = paid;\n\n for (uint256 i = 0; i < 3; i++) {\n if (recipients[i] != address(0) && bonuses[i] > 0) {\n require(\n usdtTokenContract.transfer(recipients[i], bonuses[i]),\n \"Failed to pay referral\"\n );\n }\n }\n }\n\n eventTicketContract.mintBatch(\n msg.sender,\n eventId,\n categoryId,\n amount,\n digest,\n hashFunction,\n size,\n referrer,\n // `pricePaid` is per-ticket. The indexer uses this to aggregate revenue.\n unitPrice\n );\n evt.customers.push(msg.sender);\n evt.networth += (totalPrice - referralPaid);\n }\n\n function applyDiscount(uint256 originalPrice, uint16 discountPercentage) internal pure returns (uint256) {\n if (discountPercentage == 0) {\n return originalPrice;\n }\n uint256 discount = (originalPrice * uint256(discountPercentage)) / 10000;\n return originalPrice - discount;\n }\n\n function closeEvent(\n uint256 eventId\n ) external onlyLocalProviderOrMaster onlyExistingEvent(eventId) {\n Event storage evt = events[eventId];\n ensureEventBelongsToProviderOrMaster(evt.eventPlaceId);\n require(\n evt.status == EventStatus.Approved,\n \"Only event in approved state can be closed\"\n );\n uint256 eventEndDate = calcDaysAfter(evt.startDate, evt.daysAmount);\n require(\n block.timestamp > eventEndDate,\n \"Event has not been finished yet\"\n );\n EventPlace storage place = eventPlaces[evt.eventPlaceId];\n // Return deposit to creator\n require(\n usdtTokenContract.transfer(evt.creator, place.eventDepositSize),\n \"Failed to return deposit to creator\"\n );\n // Distribute ticket revenue only if there is revenue\n if (evt.networth > 0) {\n distributeEventFunds(eventId, evt.networth);\n }\n evt.status = EventStatus.Closed;\n emit EventStatusChanged(eventId, evt.status);\n }\n\n function cancelEvent(\n uint256 eventId\n ) external onlyLocalProviderOrMaster onlyExistingEvent(eventId) {\n Event storage evt = events[eventId];\n ensureEventBelongsToProviderOrMaster(evt.eventPlaceId);\n require(\n evt.status == EventStatus.Approved,\n \"Only event in approved state can be cancelled\"\n );\n\n EventPlace storage place = eventPlaces[evt.eventPlaceId];\n \n // Deposit goes to shaman (event creator)\n if (place.eventDepositSize > 0) {\n require(\n usdtTokenContract.transfer(evt.creator, place.eventDepositSize),\n \"Failed to refund deposit to creator\"\n );\n }\n \n // Ticket revenue goes to local provider\n if (evt.networth > 0) {\n require(\n usdtTokenContract.transfer(place.provider, evt.networth),\n \"Failed to transfer ticket revenue to provider\"\n );\n }\n\n evt.networth = 0;\n evt.status = EventStatus.Cancelled;\n emit EventStatusChanged(eventId, evt.status);\n }\n\n // TODO: Publish event with funds distribution\n function distributeEventFunds(\n uint256 eventId,\n uint256 totalAmount\n ) internal {\n require(revenueSplitter != address(0), \"Revenue splitter not set\");\n usdtTokenContract.approve(revenueSplitter, totalAmount);\n IDynamicRevenueSplitter(revenueSplitter).distributeRevenue(totalAmount, eventId);\n }\n\n function floorTimestampToDate(\n uint256 timestamp\n ) internal pure returns (uint256) {\n return (timestamp / SECONDS_IN_DAY) * SECONDS_IN_DAY;\n }\n\n function calcDaysAfter(\n uint256 date,\n uint256 daysAmount\n ) internal pure returns (uint256) {\n return date + (daysAmount - 1) * SECONDS_IN_DAY;\n }\n\n function calcDaysBefore(\n uint256 date,\n uint256 daysAmount\n ) internal pure returns (uint256) {\n return date - (daysAmount - 1) * SECONDS_IN_DAY;\n }\n\n function _eventHasUnlimitedCategory(uint256 eventId) internal view returns (bool) {\n uint256[] storage eventCategories = categoryCounters[eventId];\n for (uint256 i = 0; i < eventCategories.length; i++) {\n if (!categories[eventCategories[i]].hasQuota) {\n return true;\n }\n }\n return false;\n }\n\n function ensureEventBelongsToProvider(uint256 eventPlaceId) internal view {\n require(\n eventPlaces[eventPlaceId].provider == msg.sender,\n \"Given event belongs to another provider\"\n );\n }\n\n function ensureEventBelongsToProviderOrMaster(uint256 eventPlaceId) internal view {\n if (hasRole(MASTER_ROLE, msg.sender)) {\n return;\n }\n ensureEventBelongsToProvider(eventPlaceId);\n }\n\n // Internal helper to create a category for an event\n function _createCategoryForEvent(\n uint256 eventId,\n string memory name,\n uint16 discountPercentage,\n uint16 quota,\n bool hasQuota\n ) internal {\n Event storage evt = events[eventId];\n require(evt.status == EventStatus.Submitted, \"Event must be in submitted state\");\n require(discountPercentage <= 10000, \"Discount too high\");\n\n // Gas-efficient quota validation using stored totalCategoryQuota\n if (hasQuota) {\n require(quota > 0, \"Quota must be greater than 0\");\n EventPlace storage place = eventPlaces[evt.eventPlaceId];\n require(quota <= place.maxTickets, \"Quota exceeds event capacity\");\n require(evt.totalCategoryQuota + quota <= place.maxTickets,\n \"Total category quotas exceed event capacity\");\n // Update stored total\n evt.totalCategoryQuota += quota;\n } else {\n require(\n !_eventHasUnlimitedCategory(eventId),\n \"Only one unlimited quota category allowed\"\n );\n }\n\n categories.push(TicketCategory({\n name: name,\n eventId: eventId,\n discountPercentage: discountPercentage,\n quota: quota,\n hasQuota: hasQuota,\n sold: 0\n }));\n\n uint256 categoryId = categories.length - 1;\n categoryCounters[eventId].push(categoryId);\n\n emit TicketCategoryCreated(\n categoryId,\n eventId,\n name,\n discountPercentage,\n quota,\n hasQuota\n );\n }\n\n function createCategory(\n uint256 eventId,\n string memory name,\n uint16 discountPercentage,\n uint16 quota,\n bool hasQuota\n ) external onlyRole(VERIFIED_SHAMAN_ROLE) {\n require(eventId < events.length, \"Event does not exist\");\n Event storage evt = events[eventId];\n // Only event creator can add categories (or local provider for any event)\n require(\n evt.creator == msg.sender || hasRole(LOCAL_PROVIDER_ROLE, msg.sender),\n \"Only event creator or local provider can add categories\"\n );\n _createCategoryForEvent(eventId, name, discountPercentage, quota, hasQuota);\n }\n\n function updateCategory(\n uint256 categoryId,\n string memory name,\n uint16 discountPercentage,\n uint16 quota,\n bool hasQuota\n ) external onlyRole(LOCAL_PROVIDER_ROLE) {\n require(categoryId < categories.length, \"Category does not exist\");\n require(discountPercentage <= 10000, \"Discount too high\");\n TicketCategory storage category = categories[categoryId];\n\n Event storage evt = events[category.eventId];\n EventPlace storage place = eventPlaces[evt.eventPlaceId];\n require(\n place.provider == msg.sender,\n \"Only the local provider of the event can update categories\"\n );\n require(evt.status == EventStatus.Submitted, \"Event must be in submitted state\");\n\n // Gas-efficient quota validation using stored totalCategoryQuota\n if (hasQuota) {\n require(quota > 0, \"Quota must be greater than 0\");\n require(quota >= category.sold, \"Quota cannot be less than tickets already sold\");\n require(quota <= place.maxTickets, \"Quota exceeds event capacity\");\n\n // Calculate new total: subtract old quota, add new quota\n uint256 newTotalQuota = evt.totalCategoryQuota;\n if (category.hasQuota) {\n newTotalQuota -= category.quota;\n }\n newTotalQuota += quota;\n require(newTotalQuota <= place.maxTickets,\n \"Total category quotas exceed event capacity\");\n\n // Update stored total\n evt.totalCategoryQuota = newTotalQuota;\n } else {\n require(category.hasQuota == false, \"Cannot change from limited to unlimited quota\");\n }\n\n category.name = name;\n category.discountPercentage = discountPercentage;\n category.quota = quota;\n category.hasQuota = hasQuota;\n\n emit TicketCategoryUpdated(\n categoryId,\n category.eventId,\n name,\n discountPercentage,\n quota,\n hasQuota\n );\n }\n\n function getCategory(uint256 categoryId) external view returns (\n string memory name,\n uint256 eventId,\n uint16 discountPercentage,\n uint16 quota,\n bool hasQuota,\n uint16 sold\n ) {\n require(categoryId < categories.length, \"Category does not exist\");\n TicketCategory storage category = categories[categoryId];\n return (category.name, category.eventId, category.discountPercentage, category.quota, category.hasQuota, category.sold);\n }\n\n function getCategoriesForEvent(uint256 eventId) external view returns (uint256[] memory) {\n return categoryCounters[eventId];\n }\n\n function getEventsCount() external view returns (uint256) {\n return events.length;\n }\n}\n"},"contracts/CyberValleyEventTicket.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nimport \"@openzeppelin/contracts/token/ERC721/ERC721.sol\";\nimport \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport \"./CyberValley.sol\";\n\n// TODO: Pad layout after general work finish\ncontract CyberValleyEventTicket is ERC721, AccessControl {\n using CyberValley for CyberValley.Multihash;\n\n bytes32 public constant MASTER_ROLE = keccak256(\"MASTER_ROLE\");\n bytes32 public constant STAFF_ROLE = keccak256(\"STAFF_ROLE\");\n bytes32 public constant EVENT_MANAGER_ROLE =\n keccak256(\"EVENT_MANAGER_ROLE\");\n\n uint256 private lastTokenId;\n mapping(uint256 => CyberValley.Multihash) public ticketsMeta;\n mapping(uint256 => bool) public isRedeemed;\n\n string public ipfsHost;\n address public eventManagerAddress;\n\n event TicketMinted(\n uint256 eventId,\n uint256 ticketId,\n uint256 categoryId,\n address owner,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n address referrer,\n uint256 pricePaid\n );\n\n event TicketRedeemed(uint256 ticketId);\n\n constructor(\n string memory name,\n string memory symbol,\n address _master,\n string memory _ipfsHost\n ) ERC721(name, symbol) {\n _grantRole(DEFAULT_ADMIN_ROLE, _master);\n _grantRole(MASTER_ROLE, _master);\n _grantRole(STAFF_ROLE, _master);\n ipfsHost = _ipfsHost;\n }\n\n modifier onlyEventManager() {\n require(\n hasRole(EVENT_MANAGER_ROLE, msg.sender),\n \"Must have event manager role\"\n );\n _;\n }\n\n modifier onlyMaster() {\n require(hasRole(MASTER_ROLE, msg.sender), \"Must have master role\");\n _;\n }\n\n modifier onlyStaff() {\n require(hasRole(STAFF_ROLE, msg.sender), \"Must have staff role\");\n _;\n }\n\n function setEventManagerAddress(address _eventManagerAddress) external onlyRole(DEFAULT_ADMIN_ROLE) {\n require(\n _eventManagerAddress != address(0),\n \"Event manager address cannot be zero\"\n );\n require(\n eventManagerAddress == address(0),\n \"Event manager was already saved\"\n );\n _grantRole(EVENT_MANAGER_ROLE, _eventManagerAddress);\n eventManagerAddress = _eventManagerAddress;\n }\n\n function setIpfsHost(string calldata host) public onlyMaster {\n ipfsHost = host;\n }\n\n function mint(\n address to,\n uint256 eventId,\n uint256 categoryId,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n address referrer,\n uint256 pricePaid\n ) external onlyEventManager {\n lastTokenId += 1;\n _mint(to, lastTokenId);\n ticketsMeta[lastTokenId] = CyberValley.Multihash(\n digest,\n hashFunction,\n size\n );\n emit TicketMinted(eventId, lastTokenId, categoryId, to, digest, hashFunction, size, referrer, pricePaid);\n }\n\n function mintBatch(\n address to,\n uint256 eventId,\n uint256 categoryId,\n uint256 amount,\n bytes32 digest,\n uint8 hashFunction,\n uint8 size,\n address referrer,\n uint256 pricePaid\n ) external onlyEventManager {\n for (uint256 i = 0; i < amount; i++) {\n lastTokenId += 1;\n _mint(to, lastTokenId);\n ticketsMeta[lastTokenId] = CyberValley.Multihash(\n digest,\n hashFunction,\n size\n );\n emit TicketMinted(eventId, lastTokenId, categoryId, to, digest, hashFunction, size, referrer, pricePaid);\n }\n }\n\n function ticketMeta(\n uint256 tokenId\n ) external view returns (bytes32 digest, uint8 hashFunction, uint8 size) {\n _requireOwned(tokenId);\n CyberValley.Multihash storage meta = ticketsMeta[tokenId];\n return (meta.digest, meta.hashFunction, meta.size);\n }\n\n function tokenURI(\n uint256 tokenId\n ) public view virtual override returns (string memory) {\n _requireOwned(tokenId);\n CyberValley.Multihash memory mh = ticketsMeta[tokenId];\n string memory cid = toCID(mh.digest, mh.hashFunction, mh.size);\n return string(abi.encodePacked(ipfsHost, \"/\", cid));\n }\n\n function transferFrom(\n address from,\n address to,\n uint256 tokenId\n ) public virtual override {\n require(from == address(0), \"Token transfer is disabled\");\n super.transferFrom(from, to, tokenId);\n }\n\n function redeemTicket(uint256 tokenId) external onlyStaff {\n require(!isRedeemed[tokenId], \"Token was redeemed already\");\n isRedeemed[tokenId] = true;\n emit TicketRedeemed(tokenId);\n }\n\n function supportsInterface(\n bytes4 interfaceId\n ) public view virtual override(ERC721, AccessControl) returns (bool) {\n return super.supportsInterface(interfaceId);\n }\n\n function toCID(\n bytes32 digest,\n uint8 hashFunction,\n uint8 size\n ) internal pure returns (string memory) {\n if (size == 0) return \"\"; // Return empty string for size 0\n\n bytes memory hashBytes = new bytes(32);\n for (uint j = 0; j < 32; j++) {\n hashBytes[j] = digest[j];\n }\n\n bytes memory multihashBytes = new bytes(2 + hashBytes.length);\n multihashBytes[0] = bytes1(hashFunction);\n multihashBytes[1] = bytes1(size);\n\n for (uint j = 0; j < hashBytes.length; j++) {\n multihashBytes[j + 2] = hashBytes[j];\n }\n\n return string(Base58.encode(multihashBytes));\n }\n}\n\n// Source: https://github.com/storyicon/base58-solidity/blob/master/contracts/Base58.sol\n// It's hard copied cause of requirement to deploy this library if it's imported\n// and i it's damn stupid for the given use case\nlibrary Base58 {\n bytes constant ALPHABET =\n \"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz\";\n\n function encode(bytes memory data_) internal pure returns (bytes memory) {\n unchecked {\n uint256 size = data_.length;\n uint256 zeroCount;\n while (zeroCount < size && data_[zeroCount] == 0) {\n zeroCount++;\n }\n size = zeroCount + ((size - zeroCount) * 8351) / 6115 + 1;\n bytes memory slot = new bytes(size);\n uint32 carry;\n int256 m;\n int256 high = int256(size) - 1;\n for (uint256 i = 0; i < data_.length; i++) {\n m = int256(size - 1);\n for (carry = uint8(data_[i]); m > high || carry != 0; m--) {\n carry = carry + 256 * uint8(slot[uint256(m)]);\n slot[uint256(m)] = bytes1(uint8(carry % 58));\n carry /= 58;\n }\n high = m;\n }\n uint256 n;\n for (n = zeroCount; n < size && slot[n] == 0; n++) {}\n size = slot.length - (n - zeroCount);\n bytes memory out = new bytes(size);\n for (uint256 i = 0; i < size; i++) {\n uint256 j = i + n - zeroCount;\n out[i] = ALPHABET[uint8(slot[j])];\n }\n return out;\n }\n }\n}\n"},"contracts/DateOverlapChecker.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nimport \"@openzeppelin/contracts/utils/math/Math.sol\";\n\ncontract DateOverlapChecker {\n uint256 initialOffest;\n mapping(uint256 => uint256[]) dateRanges;\n\n uint256 public constant SECONDS_IN_DAY = 86400;\n uint256 public constant BUCKET_SIZE = 256;\n\n constructor(uint256 _initialOffest) {\n initialOffest = _initialOffest;\n }\n\n function checkNoOverlap(\n uint256 id,\n uint256 startDate,\n uint256 endDate\n ) internal view validDateRange(startDate, endDate) returns (bool) {\n uint256[] storage buckets = dateRanges[id];\n // There are no any date ranges stored\n if (buckets.length == 0) {\n return true;\n }\n uint256 startBucketIdx = dateToBucketIdx(startDate);\n // There is no bucket for the given range\n if (startBucketIdx >= buckets.length) {\n return true;\n }\n uint256 endBucketIdx = dateToBucketIdx(endDate);\n uint256 startDaysWithBucketOffset = dateToBucketRelativeDays(\n startDate,\n startBucketIdx\n );\n uint256 endDaysWithBucketOffset = dateToBucketRelativeDays(\n endDate,\n endBucketIdx\n );\n\n // Easy way, date range inside of single bucket\n if (startBucketIdx == endBucketIdx) {\n return\n daysRangeToMask(\n startDaysWithBucketOffset,\n endDaysWithBucketOffset\n ) &\n buckets[startBucketIdx] ==\n 0;\n }\n\n // Got date range inside of two buckets\n uint256 startMask = daysRangeToMask(startDaysWithBucketOffset, 255);\n // There is no bucket for the second part\n if (endBucketIdx >= buckets.length) {\n return startMask & buckets[startBucketIdx] == 0;\n }\n uint256 endMask = daysRangeToMask(0, endDaysWithBucketOffset);\n return\n startMask & buckets[startBucketIdx] == 0 &&\n endMask & buckets[endBucketIdx] == 0;\n }\n\n function freeDateRange(\n uint256 id,\n uint256 startDate,\n uint256 endDate\n ) internal validDateRange(startDate, endDate) returns (bool) {\n uint256[] storage buckets = dateRanges[id];\n uint256 startBucketIdx = dateToBucketIdx(startDate);\n uint256 endBucketIdx = dateToBucketIdx(endDate);\n\n uint256 startDaysWithBucketOffset = dateToBucketRelativeDays(\n startDate,\n startBucketIdx\n );\n uint256 endDaysWithBucketOffset = dateToBucketRelativeDays(\n endDate,\n endBucketIdx\n );\n\n if (\n startBucketIdx >= buckets.length || endBucketIdx >= buckets.length\n ) {\n return true;\n }\n\n if (startBucketIdx == endBucketIdx) {\n buckets[startBucketIdx] &= ~daysRangeToMask(\n startDaysWithBucketOffset,\n endDaysWithBucketOffset\n );\n return true;\n }\n\n buckets[startBucketIdx] &= ~daysRangeToMask(\n startDaysWithBucketOffset,\n 255\n );\n buckets[endBucketIdx] &= ~daysRangeToMask(0, endDaysWithBucketOffset);\n return true;\n }\n\n function allocateDateRange(\n uint256 id,\n uint256 startDate,\n uint256 endDate\n ) internal validDateRange(startDate, endDate) returns (bool) {\n uint256[] storage buckets = dateRanges[id];\n uint256 startBucketIdx = dateToBucketIdx(startDate);\n uint256 endBucketIdx = dateToBucketIdx(endDate);\n\n uint256 startDaysWithBucketOffset = dateToBucketRelativeDays(\n startDate,\n startBucketIdx\n );\n uint256 endDaysWithBucketOffset = dateToBucketRelativeDays(\n endDate,\n endBucketIdx\n );\n\n createBucketsIfNeeded(buckets, startBucketIdx);\n\n if (startBucketIdx == endBucketIdx) {\n buckets[startBucketIdx] |= daysRangeToMask(\n startDaysWithBucketOffset,\n endDaysWithBucketOffset\n );\n return true;\n }\n createBucketsIfNeeded(buckets, endBucketIdx);\n\n buckets[startBucketIdx] |= daysRangeToMask(\n startDaysWithBucketOffset,\n 255\n );\n buckets[endBucketIdx] |= daysRangeToMask(0, endDaysWithBucketOffset);\n return true;\n }\n\n function dateToBucketIdx(uint256 date) internal view returns (uint256) {\n return (date - initialOffest) / SECONDS_IN_DAY / BUCKET_SIZE;\n }\n\n function dateToBucketRelativeDays(\n uint256 date,\n uint256 bucketIdx\n ) internal view returns (uint256) {\n return\n (date - initialOffest) / SECONDS_IN_DAY - bucketIdx * BUCKET_SIZE;\n }\n\n function daysRangeToMask(\n uint256 start,\n uint256 end\n ) internal pure returns (uint256) {\n return ((1 << (end - start + 1)) - 1) << start;\n }\n\n function createBucketsIfNeeded(\n uint256[] storage buckets,\n uint256 bucketIdx\n ) internal {\n for (\n uint256 idx = Math.max(buckets.length, 1) - 1;\n idx <= bucketIdx;\n idx++\n ) {\n buckets.push(0);\n }\n }\n\n modifier validDateRange(uint256 startDate, uint256 endDate) {\n require(\n startDate >= initialOffest,\n \"Start date should be after initial offset\"\n );\n require(\n endDate >= initialOffest,\n \"End date should be after initial offset\"\n );\n require(\n endDate - startDate < SECONDS_IN_DAY * BUCKET_SIZE,\n \"Date range cannot exceed 255 days\"\n );\n _;\n }\n}\n"},"contracts/DynamicRevenueSplitter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nimport \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"./IDynamicRevenueSplitter.sol\";\n\ncontract DynamicRevenueSplitter is IDynamicRevenueSplitter, AccessControl, ReentrancyGuard {\n bytes32 public constant ADMIN_ROLE = keccak256(\"ADMIN_ROLE\");\n bytes32 public constant PROFILE_MANAGER_ROLE = keccak256(\"PROFILE_MANAGER_ROLE\");\n\n error EventProfileNotSet(uint256 eventId);\n error ProfileInactive(uint256 profileId);\n error InvalidProfileShares();\n error UsdtTransferFromFailed();\n error UsdtTransferFailed();\n\n // Fixed recipients (immutable)\n address public immutable cyberiaDAO; // CyberiaDAO LLC - platform\n address public immutable cvePtPma; // CVE PT PMA - land owner\n IERC20 public immutable usdt;\n\n // Fixed shares (constants) - basis points where 10000 = 100%\n uint256 public constant CYBERIA_DAO_SHARE = 1000; // 10%\n uint256 public constant CVE_PT_PMA_SHARE = 500; // 5%\n uint256 public constant MAX_PROFILE_MANAGER_BPS = 8500; // 85% max for profile manager\n uint256 public constant BASIS_POINTS = 10000;\n\n struct RecipientShare {\n address recipient;\n uint16 bps;\n }\n\n struct Distribution {\n RecipientShare[] recipientShares;\n uint16 totalBps;\n address owner; // Owner of this profile\n bool isActive; // Soft delete capability\n }\n\n Distribution[] internal profiles;\n mapping(uint256 => uint256) public eventProfiles; // eventId => profileId\n mapping(address => uint256[]) public ownerProfiles; // owner => profileIds[]\n \n /**\n * @notice Basis points each profile manager receives from distributions.\n * Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before \n * profile recipients. Manager cannot add their own address to distribution profiles.\n */\n mapping(address => uint256) public profileManagerBps; // basis points for each manager\n \n address public eventManager;\n\n event DistributionProfileCreated(\n uint256 indexed profileId,\n address indexed owner,\n address[] recipients,\n uint256[] shares\n );\n event DistributionProfileUpdated(uint256 indexed profileId, address[] recipients, uint256[] shares);\n event EventProfileSet(uint256 indexed eventId, uint256 profileId);\n event RevenueDistributed(uint256 amount, uint256 indexed eventId);\n event ProfileOwnershipTransferred(\n uint256 indexed profileId,\n address indexed previousOwner,\n address indexed newOwner\n );\n event ProfileDeactivated(uint256 indexed profileId);\n \n /**\n * @notice Emitted when a profile manager is granted role with bps share\n * @param account The account granted PROFILE_MANAGER_ROLE\n * @param bps The basis points (0-8500) applied after fixed bps and before profile recipients\n */\n event ProfileManagerGranted(address indexed account, uint256 bps);\n\n constructor(\n address _usdt,\n address _cyberiaDAO,\n address _cvePtPma,\n address _admin\n ) {\n require(_usdt != address(0), \"USDT address cannot be zero\");\n require(_cyberiaDAO != address(0), \"CyberiaDAO address cannot be zero\");\n require(_cvePtPma != address(0), \"CVE PT PMA address cannot be zero\");\n require(_admin != address(0), \"Admin address cannot be zero\");\n\n usdt = IERC20(_usdt);\n cyberiaDAO = _cyberiaDAO;\n cvePtPma = _cvePtPma;\n\n _grantRole(DEFAULT_ADMIN_ROLE, _admin);\n _grantRole(ADMIN_ROLE, _admin);\n }\n\n function setEventManager(address _eventManager) external onlyRole(ADMIN_ROLE) {\n require(_eventManager != address(0), \"EventManager cannot be zero address\");\n eventManager = _eventManager;\n }\n\n modifier onlyAdminOrEventManager() {\n require(\n hasRole(ADMIN_ROLE, msg.sender) || msg.sender == eventManager,\n \"Caller must be admin or EventManager\"\n );\n _;\n }\n\n modifier onlyAdminOrProfileManager() {\n require(\n hasRole(ADMIN_ROLE, msg.sender) || hasRole(PROFILE_MANAGER_ROLE, msg.sender),\n \"Caller must have ADMIN_ROLE or PROFILE_MANAGER_ROLE\"\n );\n _;\n }\n\n modifier onlyProfileOwnerOrAdmin(uint256 profileId) {\n require(profileId > 0 && profileId <= profiles.length, \"Profile does not exist\");\n require(\n profiles[profileId - 1].owner == msg.sender || hasRole(ADMIN_ROLE, msg.sender),\n \"Caller must be profile owner or admin\"\n );\n _;\n }\n\n /**\n * @notice Grants PROFILE_MANAGER_ROLE to an account with specified bps share\n * @param account The address to grant the role to\n * @param bps The basis points (0-8500) this account receives from each distribution.\n * Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before \n * profile recipients. Account cannot add themselves to distribution profiles.\n */\n function grantProfileManager(address account, uint256 bps) external onlyAdminOrEventManager {\n require(account != address(0), \"Account cannot be zero address\");\n require(bps <= MAX_PROFILE_MANAGER_BPS, \"Bps must be <= 8500\");\n _grantRole(PROFILE_MANAGER_ROLE, account);\n profileManagerBps[account] = bps;\n emit ProfileManagerGranted(account, bps);\n }\n\n function createDistributionProfile(\n address[] calldata recipients,\n uint256[] calldata shares\n ) external onlyAdminOrProfileManager returns (uint256) {\n (address[] memory fullRecipients, uint16[] memory fullShares) =\n _buildDistribution(msg.sender, recipients, shares);\n \n uint256 profileId = profiles.length + 1;\n profiles.push();\n Distribution storage profile = profiles[profileId - 1];\n profile.owner = msg.sender;\n profile.isActive = true;\n _setRecipientShares(profile, fullRecipients, fullShares);\n ownerProfiles[msg.sender].push(profileId);\n\n emit DistributionProfileCreated(\n profileId,\n msg.sender,\n fullRecipients,\n _toUint256Array(fullShares)\n );\n return profileId;\n }\n\n function updateDistributionProfile(\n uint256 profileId,\n address[] calldata recipients,\n uint256[] calldata shares\n ) external onlyRole(ADMIN_ROLE) {\n Distribution storage profile = profiles[profileId - 1];\n (address[] memory fullRecipients, uint16[] memory fullShares) =\n _buildDistribution(profile.owner, recipients, shares);\n _setRecipientShares(profile, fullRecipients, fullShares);\n emit DistributionProfileUpdated(\n profileId,\n fullRecipients,\n _toUint256Array(fullShares)\n );\n }\n\n function setEventProfile(uint256 eventId, uint256 profileId) external override {\n require(\n hasRole(ADMIN_ROLE, msg.sender) || msg.sender == eventManager,\n \"Caller must be admin or EventManager\"\n );\n require(profileId > 0 && profileId <= profiles.length, \"Profile does not exist\");\n require(profiles[profileId - 1].isActive, \"Profile is not active\");\n eventProfiles[eventId] = profileId;\n emit EventProfileSet(eventId, profileId);\n }\n\n function distributeRevenue(uint256 amount, uint256 eventId) external override nonReentrant {\n require(amount > 0, \"Amount must be greater than zero\");\n uint256 profileId = eventProfiles[eventId];\n if (profileId == 0) {\n revert EventProfileNotSet(eventId);\n }\n if (profileId > profiles.length) {\n revert EventProfileNotSet(eventId);\n }\n\n Distribution storage profile = profiles[profileId - 1];\n if (!profile.isActive) {\n revert ProfileInactive(profileId);\n }\n\n // Pull funds from EventManager\n if (!usdt.transferFrom(msg.sender, address(this), amount)) {\n revert UsdtTransferFromFailed();\n }\n\n uint256 cyberiaDAOAmount = (amount * CYBERIA_DAO_SHARE) / BASIS_POINTS;\n uint256 cvePtPmaAmount = (amount * CVE_PT_PMA_SHARE) / BASIS_POINTS;\n\n if (cyberiaDAOAmount > 0) {\n _transferUsdt(cyberiaDAO, cyberiaDAOAmount);\n }\n if (cvePtPmaAmount > 0) {\n _transferUsdt(cvePtPma, cvePtPmaAmount);\n }\n\n _distributeProfileShares(amount, profile);\n\n // Clear the profile assignment to prevent re-distribution\n eventProfiles[eventId] = 0;\n\n emit RevenueDistributed(amount, eventId);\n }\n\n function _distributeProfileShares(uint256 amount, Distribution storage profile) internal {\n uint256 recipientsCount = profile.recipientShares.length;\n if (recipientsCount == 0) {\n revert InvalidProfileShares();\n }\n if (profile.totalBps == 0) {\n revert InvalidProfileShares();\n }\n\n uint256 profileAmount = (amount * profile.totalBps) / BASIS_POINTS;\n uint256 distributed = 0;\n for (uint256 i = 0; i < recipientsCount; i++) {\n uint256 shareAmount;\n RecipientShare storage recipientShare = profile.recipientShares[i];\n if (i == recipientsCount - 1) {\n // Last recipient gets the remainder to handle rounding\n shareAmount = profileAmount - distributed;\n } else {\n shareAmount = (amount * recipientShare.bps) / BASIS_POINTS;\n }\n\n if (shareAmount > 0) {\n _transferUsdt(recipientShare.recipient, shareAmount);\n distributed += shareAmount;\n }\n }\n }\n\n function isProfileOwner(uint256 profileId, address account) external view override returns (bool) {\n require(profileId > 0 && profileId <= profiles.length, \"Profile does not exist\");\n return profiles[profileId - 1].owner == account;\n }\n\n function transferProfileOwnership(uint256 profileId, address newOwner) external onlyRole(ADMIN_ROLE) {\n require(profileId > 0 && profileId <= profiles.length, \"Profile does not exist\");\n require(newOwner != address(0), \"New owner cannot be zero address\");\n\n Distribution storage profile = profiles[profileId - 1];\n address previousOwner = profile.owner;\n require(previousOwner != newOwner, \"New owner must be different\");\n\n // Remove profileId from previous owner's list\n uint256[] storage prevOwnerProfiles = ownerProfiles[previousOwner];\n for (uint256 i = 0; i < prevOwnerProfiles.length; i++) {\n if (prevOwnerProfiles[i] == profileId) {\n prevOwnerProfiles[i] = prevOwnerProfiles[prevOwnerProfiles.length - 1];\n prevOwnerProfiles.pop();\n break;\n }\n }\n\n // Add to new owner's list\n profile.owner = newOwner;\n ownerProfiles[newOwner].push(profileId);\n\n emit ProfileOwnershipTransferred(profileId, previousOwner, newOwner);\n }\n\n function transferAllProfiles(address from, address to) external override onlyRole(ADMIN_ROLE) {\n require(from != address(0), \"From address cannot be zero\");\n require(to != address(0), \"To address cannot be zero\");\n require(from != to, \"From and to must be different\");\n\n uint256[] storage fromProfiles = ownerProfiles[from];\n uint256[] storage toProfiles = ownerProfiles[to];\n\n for (uint256 i = 0; i < fromProfiles.length; i++) {\n uint256 profileId = fromProfiles[i];\n profiles[profileId - 1].owner = to;\n toProfiles.push(profileId);\n }\n\n // Clear from's list\n delete ownerProfiles[from];\n }\n\n function deactivateProfile(uint256 profileId) external onlyProfileOwnerOrAdmin(profileId) {\n profiles[profileId - 1].isActive = false;\n emit ProfileDeactivated(profileId);\n }\n\n function _buildDistribution(\n address owner,\n address[] calldata recipients,\n uint256[] calldata shares\n ) internal view returns (address[] memory fullRecipients, uint16[] memory fullShares) {\n require(recipients.length == shares.length, \"Arrays length mismatch\");\n\n uint256 ownerBps = profileManagerBps[owner];\n uint256 expectedInputSharesTotal = BASIS_POINTS - ownerBps - CYBERIA_DAO_SHARE - CVE_PT_PMA_SHARE;\n uint256 totalShares = 0;\n uint256 extraOwnerSlot = ownerBps > 0 ? 1 : 0;\n\n require(recipients.length + extraOwnerSlot > 0, \"Empty distribution\");\n\n fullRecipients = new address[](recipients.length + extraOwnerSlot);\n fullShares = new uint16[](shares.length + extraOwnerSlot);\n\n for (uint256 i = 0; i < shares.length; i++) {\n require(recipients[i] != address(0), \"Zero address recipient\");\n require(\n recipients[i] != owner,\n \"Profile owner is added automatically to distribution\"\n );\n\n for (uint256 j = i + 1; j < recipients.length; j++) {\n require(recipients[i] != recipients[j], \"Duplicate recipient\");\n }\n\n fullRecipients[i] = recipients[i];\n require(shares[i] <= BASIS_POINTS, \"Share exceeds bps\");\n fullShares[i] = uint16(shares[i]);\n totalShares += shares[i];\n }\n\n require(totalShares == expectedInputSharesTotal, \"Shares must sum to remaining bps\");\n\n if (ownerBps > 0) {\n uint256 ownerIndex = recipients.length;\n fullRecipients[ownerIndex] = owner;\n fullShares[ownerIndex] = uint16(ownerBps);\n totalShares += ownerBps;\n }\n\n if (totalShares != BASIS_POINTS - CYBERIA_DAO_SHARE - CVE_PT_PMA_SHARE) {\n revert InvalidProfileShares();\n }\n }\n\n function _setRecipientShares(\n Distribution storage profile,\n address[] memory recipients,\n uint16[] memory shares\n ) internal {\n delete profile.recipientShares;\n uint256 totalBps = 0;\n for (uint256 i = 0; i < recipients.length; i++) {\n profile.recipientShares.push(\n RecipientShare({recipient: recipients[i], bps: shares[i]})\n );\n totalBps += shares[i];\n }\n if (totalBps != BASIS_POINTS - CYBERIA_DAO_SHARE - CVE_PT_PMA_SHARE) {\n revert InvalidProfileShares();\n }\n profile.totalBps = uint16(totalBps);\n }\n\n function _toUint256Array(uint16[] memory values) internal pure returns (uint256[] memory) {\n uint256[] memory out = new uint256[](values.length);\n for (uint256 i = 0; i < values.length; i++) {\n out[i] = values[i];\n }\n return out;\n }\n\n function _transferUsdt(address to, uint256 amount) internal {\n if (!usdt.transfer(to, amount)) {\n revert UsdtTransferFailed();\n }\n }\n}\n"},"contracts/ENSRegistry.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.28;\n\ninterface IENS {\n event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner);\n event Transfer(bytes32 indexed node, address owner);\n event NewResolver(bytes32 indexed node, address resolver);\n event NewTTL(bytes32 indexed node, uint64 ttl);\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) external;\n function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) external;\n function setSubnodeOwner(bytes32 node, bytes32 label, address owner) external returns(bytes32);\n function setResolver(bytes32 node, address resolver) external;\n function setOwner(bytes32 node, address owner) external;\n function setApprovalForAll(address operator, bool approved) external;\n function owner(bytes32 node) external view returns (address);\n function resolver(bytes32 node) external view returns (address);\n function recordExists(bytes32 node) external view returns (bool);\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n}\n\ncontract ENSRegistry is IENS {\n struct Record {\n address owner;\n address resolver;\n uint64 ttl;\n }\n\n mapping(bytes32 => Record) records;\n mapping(address => mapping(address => bool)) operators;\n\n // Permits modifications only by the owner of the specified node.\n modifier authorised(bytes32 node) {\n address nodeOwner = records[node].owner;\n require(nodeOwner == msg.sender || operators[nodeOwner][msg.sender], \"Not authorised\");\n _;\n }\n\n constructor() {\n records[0x0].owner = msg.sender;\n }\n\n function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) external override authorised(node) {\n setOwner(node, owner);\n _setResolverAndTTL(node, resolver, ttl);\n }\n\n function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) external override authorised(node) {\n bytes32 subnode = setSubnodeOwner(node, label, owner);\n _setResolverAndTTL(subnode, resolver, ttl);\n }\n\n function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public override authorised(node) returns(bytes32) {\n bytes32 subnode = keccak256(abi.encodePacked(node, label));\n // Directly set owner without calling setOwner to avoid authorised check on subnode\n records[subnode].owner = owner;\n emit Transfer(subnode, owner);\n emit NewOwner(node, label, owner);\n return subnode;\n }\n\n function setOwner(bytes32 node, address owner) public override authorised(node) {\n emit Transfer(node, owner);\n records[node].owner = owner;\n }\n\n function setResolver(bytes32 node, address resolver) external override authorised(node) {\n emit NewResolver(node, resolver);\n records[node].resolver = resolver;\n }\n\n function setTTL(bytes32 node, uint64 ttl) external authorised(node) {\n emit NewTTL(node, ttl);\n records[node].ttl = ttl;\n }\n\n function setApprovalForAll(address operator, bool approved) external override {\n operators[msg.sender][operator] = approved;\n emit ApprovalForAll(msg.sender, operator, approved);\n }\n\n function owner(bytes32 node) external view override returns (address) {\n return records[node].owner;\n }\n\n function resolver(bytes32 node) external view override returns (address) {\n return records[node].resolver;\n }\n\n function ttl(bytes32 node) external view returns (uint64) {\n return records[node].ttl;\n }\n\n function recordExists(bytes32 node) external view override returns (bool) {\n return records[node].owner != address(0x0);\n }\n\n function isApprovedForAll(address owner, address operator) external view override returns (bool) {\n return operators[owner][operator];\n }\n\n function _setResolverAndTTL(bytes32 node, address resolver, uint64 ttl) internal {\n if(resolver != records[node].resolver) {\n records[node].resolver = resolver;\n emit NewResolver(node, resolver);\n }\n if(ttl != records[node].ttl) {\n records[node].ttl = ttl;\n emit NewTTL(node, ttl);\n }\n }\n}\n"},"contracts/IDynamicRevenueSplitter.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\ninterface IDynamicRevenueSplitter {\n function distributeRevenue(uint256 amount, uint256 eventId) external;\n function setEventProfile(uint256 eventId, uint256 profileId) external;\n function isProfileOwner(uint256 profileId, address account) external view returns (bool);\n function transferAllProfiles(address from, address to) external;\n function setEventManager(address _eventManager) external;\n \n /**\n * @notice Grants PROFILE_MANAGER_ROLE to an account with a specified bps share\n * @param account The address to grant the role to\n * @param bps The basis points (0-8500) this account receives from each distribution.\n * Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before \n * profile recipients. Account cannot add themselves to distribution profiles.\n */\n function grantProfileManager(address account, uint256 bps) external;\n}\n"},"contracts/IReferralRewards.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\ninterface IReferralRewards {\n /// @notice Process a purchase for `referee` with an optional `referrer` hint.\n /// @dev Must be called by the configured operator (EventManager).\n /// @return recipients Up to 3 upline addresses (level 1..3). Missing levels are zero-address.\n /// @return bonuses Per-level bonus amounts (aligned with `recipients`).\n /// @return totalPaid Sum of `bonuses`.\n function processPurchase(\n address referee,\n address referrer,\n uint256 amount\n )\n external\n returns (\n address[3] memory recipients,\n uint256[3] memory bonuses,\n uint256 totalPaid\n );\n}\n\n"},"contracts/mocks/SimpleERC20Xylose.sol":{"content":"// SPDX-License-Identifier: MIT\n// Compatible with OpenZeppelin Contracts ^5.0.0\npragma solidity 0.8.28;\n\nimport {ERC20} from \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport {ERC20Permit} from \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol\";\n\ncontract SimpleERC20Xylose is ERC20, ERC20Permit {\n constructor()\n ERC20(\"SimpleERC20Xylose\", \"SEX\")\n ERC20Permit(\"SimpleERC20Xylose\")\n {}\n\n // Mirror USDT behavior in dev: 6 decimals.\n function decimals() public pure override returns (uint8) {\n return 6;\n }\n\n function mint(uint256 amount) external {\n _mint(msg.sender, amount);\n }\n}\n"},"contracts/PublicResolver.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.28;\n\ninterface IENS {\n function owner(bytes32 node) external view returns (address);\n function resolver(bytes32 node) external view returns (address);\n}\n\ninterface IResolver {\n function setAddr(bytes32 node, address addr) external;\n function addr(bytes32 node) external view returns (address);\n function setName(bytes32 node, string calldata name) external;\n function name(bytes32 node) external view returns (string memory);\n}\n\ncontract PublicResolver is IResolver {\n IENS public ens;\n \n mapping(bytes32 => address) public addrs;\n mapping(bytes32 => string) public names;\n \n modifier authorised(bytes32 node) {\n require(msg.sender == ens.owner(node), \"Not authorised\");\n _;\n }\n \n constructor(IENS _ens) {\n ens = _ens;\n }\n \n function setAddr(bytes32 node, address addr) external override authorised(node) {\n addrs[node] = addr;\n }\n \n function addr(bytes32 node) external view override returns (address) {\n return addrs[node];\n }\n \n function setName(bytes32 node, string calldata name) external override authorised(node) {\n names[node] = name;\n }\n \n function name(bytes32 node) external view override returns (string memory) {\n return names[node];\n }\n}\n"},"contracts/ReferralRewards.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nimport \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\nimport \"./IReferralRewards.sol\";\n\n/// @notice Referral reward engine adapted from ThunderCore's referral library idea,\n/// but designed to be paid in an ERC20 token by the caller (EventManager).\n///\n/// Key points:\n/// - 3 levels maximum.\n/// - Bonus depends on (a) referral bonus %, (b) level split %, (c) upline referee-count rate.\n/// - \"Active\" gating: when enabled, only uplines active within `secondsUntilInactive` earn.\n/// - This contract does not transfer tokens; it returns computed payouts and updates state.\n/// The operator (EventManager) performs ERC20 transfers from its own balance.\ncontract ReferralRewards is AccessControl, IReferralRewards {\n bytes32 public constant OPERATOR_ROLE = keccak256(\"OPERATOR_ROLE\");\n\n struct RateStep {\n uint32 refereeCount; // minimum direct referees required\n uint32 rate; // [0..decimals] where decimals is typically 10000 (bps-style)\n }\n\n IERC20 public immutable rewardToken;\n uint32 public immutable decimals;\n\n uint32 public referralBonus; // [0..decimals]\n uint32 public secondsUntilInactive;\n bool public onlyRewardActiveReferrers;\n\n // levelRates[0] = level-1 share; [1] level-2; [2] level-3. Each [0..decimals].\n uint32[3] public levelRates;\n RateStep[] private _rateSteps;\n\n mapping(address => address) public referrerOf;\n mapping(address => uint32) public directRefereeCount;\n mapping(address => uint256) public lastActiveAt;\n\n event ReferrerSet(address indexed referee, address indexed referrer);\n event ActiveUpdated(address indexed user, uint256 timestamp);\n event ConfigUpdated(\n uint32 referralBonus,\n uint32 secondsUntilInactive,\n bool onlyRewardActiveReferrers,\n uint32 level1,\n uint32 level2,\n uint32 level3\n );\n\n error InvalidConfig();\n\n constructor(\n IERC20 _rewardToken,\n address admin,\n address operator,\n uint32 _decimals,\n uint32 _referralBonus,\n uint32 _secondsUntilInactive,\n bool _onlyRewardActiveReferrers,\n uint32[3] memory _levelRates,\n RateStep[] memory rateSteps\n ) {\n rewardToken = _rewardToken;\n _grantRole(DEFAULT_ADMIN_ROLE, admin);\n _grantRole(OPERATOR_ROLE, operator);\n\n if (_decimals == 0) revert InvalidConfig();\n decimals = _decimals;\n\n _setConfig(\n _referralBonus,\n _secondsUntilInactive,\n _onlyRewardActiveReferrers,\n _levelRates\n );\n\n _setRateSteps(rateSteps);\n }\n\n function setOperator(address operator) external onlyRole(DEFAULT_ADMIN_ROLE) {\n _grantRole(OPERATOR_ROLE, operator);\n }\n\n function setConfig(\n uint32 _referralBonus,\n uint32 _secondsUntilInactive,\n bool _onlyRewardActiveReferrers,\n uint32[3] memory _levelRates\n ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n _setConfig(\n _referralBonus,\n _secondsUntilInactive,\n _onlyRewardActiveReferrers,\n _levelRates\n );\n }\n\n function setRateSteps(\n RateStep[] calldata rateSteps\n ) external onlyRole(DEFAULT_ADMIN_ROLE) {\n _setRateSteps(rateSteps);\n }\n\n function rateStepsLength() external view returns (uint256) {\n return _rateSteps.length;\n }\n\n function rateStepAt(uint256 idx) external view returns (RateStep memory) {\n return _rateSteps[idx];\n }\n\n function isActive(address user) public view returns (bool) {\n uint256 ts = lastActiveAt[user];\n if (ts == 0) return false;\n // secondsUntilInactive == 0 means \"always active\"\n if (secondsUntilInactive == 0) return true;\n return block.timestamp <= ts + secondsUntilInactive;\n }\n\n function processPurchase(\n address referee,\n address referrer,\n uint256 amount\n )\n external\n override\n onlyRole(OPERATOR_ROLE)\n returns (\n address[3] memory recipients,\n uint256[3] memory bonuses,\n uint256 totalPaid\n )\n {\n // Mark the buyer active even if they have no referrer.\n lastActiveAt[referee] = block.timestamp;\n emit ActiveUpdated(referee, block.timestamp);\n\n // Bind referrer on first purchase if valid hint is provided.\n if (referrer != address(0)) {\n _trySetReferrer(referee, referrer);\n }\n\n if (amount == 0 || referralBonus == 0) {\n return (recipients, bonuses, 0);\n }\n\n uint256 referralBase = (amount * uint256(referralBonus)) / uint256(decimals);\n\n address current = referee;\n for (uint256 level = 0; level < 3; level++) {\n address upline = referrerOf[current];\n if (upline == address(0)) break;\n\n recipients[level] = upline;\n\n if (!onlyRewardActiveReferrers || isActive(upline)) {\n uint256 refereeRate = uint256(_refereeCountRate(upline));\n uint256 levelRate = uint256(levelRates[level]);\n\n uint256 bonus = referralBase;\n bonus = (bonus * refereeRate) / uint256(decimals);\n bonus = (bonus * levelRate) / uint256(decimals);\n\n bonuses[level] = bonus;\n totalPaid += bonus;\n }\n\n current = upline;\n }\n\n return (recipients, bonuses, totalPaid);\n }\n\n function _trySetReferrer(address referee, address referrer) internal {\n if (referee == address(0) || referrer == address(0)) return;\n if (referee == referrer) return;\n if (referrerOf[referee] != address(0)) return;\n\n // Prevent short cycles within the 3-level depth this system uses.\n address cur = referrer;\n for (uint256 i = 0; i < 3; i++) {\n if (cur == address(0)) break;\n if (cur == referee) return;\n cur = referrerOf[cur];\n }\n\n referrerOf[referee] = referrer;\n directRefereeCount[referrer] += 1;\n emit ReferrerSet(referee, referrer);\n }\n\n function _refereeCountRate(address user) internal view returns (uint32) {\n // Default: 100% (no reduction).\n if (_rateSteps.length == 0) return decimals;\n\n uint32 cnt = directRefereeCount[user];\n uint32 best = 0;\n\n // Steps must be sorted ascending by refereeCount.\n for (uint256 i = 0; i < _rateSteps.length; i++) {\n if (cnt < _rateSteps[i].refereeCount) break;\n best = _rateSteps[i].rate;\n }\n\n // If user has fewer referees than the first threshold, best will be 0.\n return best;\n }\n\n function _setConfig(\n uint32 _referralBonus,\n uint32 _secondsUntilInactive,\n bool _onlyRewardActiveReferrers,\n uint32[3] memory _levelRates\n ) internal {\n if (_referralBonus > decimals) revert InvalidConfig();\n\n // Require the level split to be <= 100%.\n uint256 sum = uint256(_levelRates[0]) +\n uint256(_levelRates[1]) +\n uint256(_levelRates[2]);\n if (sum > uint256(decimals)) revert InvalidConfig();\n\n referralBonus = _referralBonus;\n secondsUntilInactive = _secondsUntilInactive;\n onlyRewardActiveReferrers = _onlyRewardActiveReferrers;\n levelRates = _levelRates;\n\n emit ConfigUpdated(\n referralBonus,\n secondsUntilInactive,\n onlyRewardActiveReferrers,\n levelRates[0],\n levelRates[1],\n levelRates[2]\n );\n }\n\n function _setRateSteps(RateStep[] memory rateSteps) internal {\n delete _rateSteps;\n\n uint32 prev = 0;\n for (uint256 i = 0; i < rateSteps.length; i++) {\n if (rateSteps[i].rate > decimals) revert InvalidConfig();\n if (i > 0 && rateSteps[i].refereeCount <= prev) revert InvalidConfig();\n prev = rateSteps[i].refereeCount;\n _rateSteps.push(rateSteps[i]);\n }\n }\n}\n\n"},"contracts/ReverseRegistrar.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.28;\n\ninterface IENS {\n function setSubnodeOwner(bytes32 node, bytes32 label, address owner) external returns(bytes32);\n function owner(bytes32 node) external view returns (address);\n}\n\ninterface IResolver {\n function setName(bytes32 node, string calldata name) external;\n}\n\ncontract ReverseRegistrar {\n IENS public ens;\n IResolver public defaultResolver;\n bytes32 public constant ADDR_REVERSE_NODE = 0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2;\n \n constructor(IENS _ens, IResolver _resolver) {\n ens = _ens;\n defaultResolver = _resolver;\n }\n \n function setName(string calldata) external returns (bytes32) {\n bytes32 label = sha3HexAddress(msg.sender);\n bytes32 node = keccak256(abi.encodePacked(ADDR_REVERSE_NODE, label));\n \n // Claim the node for the caller\n IENS(ens).setSubnodeOwner(ADDR_REVERSE_NODE, label, msg.sender);\n \n return node;\n }\n \n function sha3HexAddress(address addr) private pure returns (bytes32 ret) {\n addr;\n ret;\n assembly {\n let lookup := 0x3031323334353637383961626364656600000000000000000000000000000000\n let i := 40\n \n for { } gt(i, 0) { } {\n i := sub(i, 1)\n mstore8(i, byte(and(addr, 0xf), lookup))\n addr := div(addr, 0x10)\n i := sub(i, 1)\n mstore8(i, byte(and(addr, 0xf), lookup))\n addr := div(addr, 0x10)\n }\n \n ret := keccak256(0, 40)\n }\n }\n}\n"}},"settings":{"optimizer":{"enabled":true,"runs":200},"viaIR":true,"evmVersion":"paris","outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}}}},"output":{"errors":[{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:44:38:\n |\n44 | function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) external override authorised(node) {\n | ^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:83:5:\n |\n83 | function owner(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3522,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3409}],"severity":"warning","sourceLocation":{"end":1846,"file":"contracts/ENSRegistry.sol","start":1833},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:44:53:\n |\n44 | function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) external override authorised(node) {\n | ^^^^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:87:5:\n |\n87 | function resolver(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3647,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3528}],"severity":"warning","sourceLocation":{"end":1864,"file":"contracts/ENSRegistry.sol","start":1848},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:44:71:\n |\n44 | function setRecord(bytes32 node, address owner, address resolver, uint64 ttl) external override authorised(node) {\n | ^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:91:5:\n |\n91 | function ttl(bytes32 node) external view returns (uint64) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3752,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3653}],"severity":"warning","sourceLocation":{"end":1876,"file":"contracts/ENSRegistry.sol","start":1866},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:49:60:\n |\n49 | function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) external override authorised(node) {\n | ^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:83:5:\n |\n83 | function owner(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3522,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3409}],"severity":"warning","sourceLocation":{"end":2074,"file":"contracts/ENSRegistry.sol","start":2061},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:49:75:\n |\n49 | function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) external override authorised(node) {\n | ^^^^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:87:5:\n |\n87 | function resolver(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3647,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3528}],"severity":"warning","sourceLocation":{"end":2092,"file":"contracts/ENSRegistry.sol","start":2076},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:49:93:\n |\n49 | function setSubnodeRecord(bytes32 node, bytes32 label, address owner, address resolver, uint64 ttl) external override authorised(node) {\n | ^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:91:5:\n |\n91 | function ttl(bytes32 node) external view returns (uint64) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3752,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3653}],"severity":"warning","sourceLocation":{"end":2104,"file":"contracts/ENSRegistry.sol","start":2094},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:54:59:\n |\n54 | function setSubnodeOwner(bytes32 node, bytes32 label, address owner) public override authorised(node) returns(bytes32) {\n | ^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:83:5:\n |\n83 | function owner(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3522,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3409}],"severity":"warning","sourceLocation":{"end":2336,"file":"contracts/ENSRegistry.sol","start":2323},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:63:37:\n |\n63 | function setOwner(bytes32 node, address owner) public override authorised(node) {\n | ^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:83:5:\n |\n83 | function owner(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3522,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3409}],"severity":"warning","sourceLocation":{"end":2752,"file":"contracts/ENSRegistry.sol","start":2739},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:68:40:\n |\n68 | function setResolver(bytes32 node, address resolver) external override authorised(node) {\n | ^^^^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:87:5:\n |\n87 | function resolver(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3647,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3528}],"severity":"warning","sourceLocation":{"end":2924,"file":"contracts/ENSRegistry.sol","start":2908},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:73:35:\n |\n73 | function setTTL(bytes32 node, uint64 ttl) external authorised(node) {\n | ^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:91:5:\n |\n91 | function ttl(bytes32 node) external view returns (uint64) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3752,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3653}],"severity":"warning","sourceLocation":{"end":3099,"file":"contracts/ENSRegistry.sol","start":3089},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:99:31:\n |\n99 | function isApprovedForAll(address owner, address operator) external view override returns (bool) {\n | ^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:83:5:\n |\n83 | function owner(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3522,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3409}],"severity":"warning","sourceLocation":{"end":3936,"file":"contracts/ENSRegistry.sol","start":3923},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:103:47:\n |\n103 | function _setResolverAndTTL(bytes32 node, address resolver, uint64 ttl) internal {\n | ^^^^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:87:5:\n |\n87 | function resolver(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3647,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3528}],"severity":"warning","sourceLocation":{"end":4108,"file":"contracts/ENSRegistry.sol","start":4092},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/ENSRegistry.sol:103:65:\n |\n103 | function _setResolverAndTTL(bytes32 node, address resolver, uint64 ttl) internal {\n | ^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/ENSRegistry.sol:91:5:\n |\n91 | function ttl(bytes32 node) external view returns (uint64) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":3752,"file":"contracts/ENSRegistry.sol","message":"The other declaration is here:","start":3653}],"severity":"warning","sourceLocation":{"end":4120,"file":"contracts/ENSRegistry.sol","start":4110},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/PublicResolver.sol:31:36:\n |\n31 | function setAddr(bytes32 node, address addr) external override authorised(node) {\n | ^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/PublicResolver.sol:35:5:\n |\n35 | function addr(bytes32 node) external view override returns (address) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":1082,"file":"contracts/PublicResolver.sol","message":"The other declaration is here:","start":978}],"severity":"warning","sourceLocation":{"end":896,"file":"contracts/PublicResolver.sol","start":884},"type":"Warning"},{"component":"general","errorCode":"8760","formattedMessage":"Warning: This declaration has the same name as another declaration.\n --> contracts/PublicResolver.sol:39:36:\n |\n39 | function setName(bytes32 node, string calldata name) external override authorised(node) {\n | ^^^^^^^^^^^^^^^^^^^^\nNote: The other declaration is here:\n --> contracts/PublicResolver.sol:43:5:\n |\n43 | function name(bytes32 node) external view override returns (string memory) {\n | ^ (Relevant source part starts here and spans across multiple lines).\n\n","message":"This declaration has the same name as another declaration.","secondarySourceLocations":[{"end":1335,"file":"contracts/PublicResolver.sol","message":"The other declaration is here:","start":1225}],"severity":"warning","sourceLocation":{"end":1143,"file":"contracts/PublicResolver.sol","start":1123},"type":"Warning"}],"sources":{"@openzeppelin/contracts/access/AccessControl.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/access/AccessControl.sol","exportedSymbols":{"AccessControl":[295],"Context":[2576],"ERC165":[5193],"IAccessControl":[378]},"id":296,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"108:24:0"},{"absolutePath":"@openzeppelin/contracts/access/IAccessControl.sol","file":"./IAccessControl.sol","id":3,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":296,"sourceUnit":379,"src":"134:52:0","symbolAliases":[{"foreign":{"id":2,"name":"IAccessControl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":378,"src":"142:14:0","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","file":"../utils/Context.sol","id":5,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":296,"sourceUnit":2577,"src":"187:45:0","symbolAliases":[{"foreign":{"id":4,"name":"Context","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2576,"src":"195:7:0","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/introspection/ERC165.sol","file":"../utils/introspection/ERC165.sol","id":7,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":296,"sourceUnit":5194,"src":"233:57:0","symbolAliases":[{"foreign":{"id":6,"name":"ERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5193,"src":"241:6:0","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":9,"name":"Context","nameLocations":["1988:7:0"],"nodeType":"IdentifierPath","referencedDeclaration":2576,"src":"1988:7:0"},"id":10,"nodeType":"InheritanceSpecifier","src":"1988:7:0"},{"baseName":{"id":11,"name":"IAccessControl","nameLocations":["1997:14:0"],"nodeType":"IdentifierPath","referencedDeclaration":378,"src":"1997:14:0"},"id":12,"nodeType":"InheritanceSpecifier","src":"1997:14:0"},{"baseName":{"id":13,"name":"ERC165","nameLocations":["2013:6:0"],"nodeType":"IdentifierPath","referencedDeclaration":5193,"src":"2013:6:0"},"id":14,"nodeType":"InheritanceSpecifier","src":"2013:6:0"}],"canonicalName":"AccessControl","contractDependencies":[],"contractKind":"contract","documentation":{"id":8,"nodeType":"StructuredDocumentation","src":"292:1660:0","text":" @dev Contract module that allows children to implement role-based access\n control mechanisms. This is a lightweight version that doesn't allow enumerating role\n members except through off-chain means by accessing the contract event logs. Some\n applications may benefit from on-chain enumerability, for those cases see\n {AccessControlEnumerable}.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```solidity\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```solidity\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n to enforce additional security measures for this role."},"fullyImplemented":true,"id":295,"linearizedBaseContracts":[295,5193,5205,378,2576],"name":"AccessControl","nameLocation":"1971:13:0","nodeType":"ContractDefinition","nodes":[{"canonicalName":"AccessControl.RoleData","id":21,"members":[{"constant":false,"id":18,"mutability":"mutable","name":"hasRole","nameLocation":"2085:7:0","nodeType":"VariableDeclaration","scope":21,"src":"2052:40:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"typeName":{"id":17,"keyName":"account","keyNameLocation":"2068:7:0","keyType":{"id":15,"name":"address","nodeType":"ElementaryTypeName","src":"2060:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"2052:32:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":16,"name":"bool","nodeType":"ElementaryTypeName","src":"2079:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}},"visibility":"internal"},{"constant":false,"id":20,"mutability":"mutable","name":"adminRole","nameLocation":"2110:9:0","nodeType":"VariableDeclaration","scope":21,"src":"2102:17:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":19,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2102:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"name":"RoleData","nameLocation":"2033:8:0","nodeType":"StructDefinition","scope":295,"src":"2026:100:0","visibility":"public"},{"constant":false,"id":26,"mutability":"mutable","name":"_roles","nameLocation":"2174:6:0","nodeType":"VariableDeclaration","scope":295,"src":"2132:48:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$","typeString":"type(address)"},"typeName":{"id":2077,"name":"address","nodeType":"ElementaryTypeName","src":"12283:7:9","typeDescriptions":{}}},"id":2080,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12283:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2074,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1919,"src":"12262:7:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData)"},"typeName":{"id":25,"keyName":"role","keyNameLocation":"2148:4:0","keyType":{"id":22,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2140:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"2132:33:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":24,"nodeType":"UserDefinedTypeName","pathNode":{"id":23,"name":"RoleData","nameLocations":["2156:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":21,"src":"2156:8:0"},"referencedDeclaration":21,"src":"2156:8:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage_ptr","typeString":"struct AccessControl.RoleData"}}},"visibility":"private"},{"constant":true,"functionSelector":"a217fddf","id":29,"mutability":"constant","name":"DEFAULT_ADMIN_ROLE","nameLocation":"2211:18:0","nodeType":"VariableDeclaration","scope":295,"src":"2187:49:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":27,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2187:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"30783030","id":28,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2232:4:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x00"},"visibility":"public"},{"body":{"id":39,"nodeType":"Block","src":"2454:44:0","statements":[{"expression":{"arguments":[{"id":35,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":32,"src":"2475:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":34,"name":"_checkRole","nodeType":"Identifier","overloadedDeclarations":[93,114],"referencedDeclaration":93,"src":"2464:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$__$","typeString":"function (bytes32) view"}},"id":36,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2464:16:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":37,"nodeType":"ExpressionStatement","src":"2464:16:0"},{"id":38,"nodeType":"PlaceholderStatement","src":"2490:1:0"}]},"documentation":{"id":30,"nodeType":"StructuredDocumentation","src":"2243:174:0","text":" @dev Modifier that checks that an account has a specific role. Reverts\n with an {AccessControlUnauthorizedAccount} error including the required role."},"id":40,"name":"onlyRole","nameLocation":"2431:8:0","nodeType":"ModifierDefinition","parameters":{"id":33,"nodeType":"ParameterList","parameters":[{"constant":false,"id":32,"mutability":"mutable","name":"role","nameLocation":"2448:4:0","nodeType":"VariableDeclaration","scope":40,"src":"2440:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":31,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2440:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2439:14:0"},"src":"2422:76:0","virtual":false,"visibility":"internal"},{"baseFunctions":[5192],"body":{"id":61,"nodeType":"Block","src":"2656:111:0","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":59,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":54,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":49,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":43,"src":"2673:11:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":51,"name":"IAccessControl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":378,"src":"2693:14:0","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IAccessControl_$378_$","typeString":"type(contract IAccessControl)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_13378_$","typeString":"type(contract IAccessControl)"}],"id":50,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"2688:4:0","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":52,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2688:20:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IAccessControl_$378","typeString":"type(contract IAccessControl)"}},"id":53,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2709:11:0","memberName":"interfaceId","nodeType":"MemberAccess","src":"2688:32:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"2673:47:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":57,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":43,"src":"2748:11:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":55,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"2724:5:0","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_AccessControl_$295_$","typeString":"type(contract super AccessControl)"}},"id":56,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2730:17:0","memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":5192,"src":"2724:23:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":58,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2724:36:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2673:87:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":48,"id":60,"nodeType":"Return","src":"2666:94:0"}]},"documentation":{"id":41,"nodeType":"StructuredDocumentation","src":"2504:56:0","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":62,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"2574:17:0","nodeType":"FunctionDefinition","overrides":{"id":45,"nodeType":"OverrideSpecifier","overrides":[],"src":"2632:8:0"},"parameters":{"id":44,"nodeType":"ParameterList","parameters":[{"constant":false,"id":43,"mutability":"mutable","name":"interfaceId","nameLocation":"2599:11:0","nodeType":"VariableDeclaration","scope":62,"src":"2592:18:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":42,"name":"bytes4","nodeType":"ElementaryTypeName","src":"2592:6:0","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"2591:20:0"},"returnParameters":{"id":48,"nodeType":"ParameterList","parameters":[{"constant":false,"id":47,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":62,"src":"2650:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":46,"name":"bool","nodeType":"ElementaryTypeName","src":"2650:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2649:6:0"},"scope":295,"src":"2565:202:0","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[345],"body":{"id":79,"nodeType":"Block","src":"2937:53:0","statements":[{"expression":{"baseExpression":{"expression":{"baseExpression":{"id":72,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"2954:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":74,"indexExpression":{"id":73,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":65,"src":"2961:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2954:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":75,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"2967:7:0","memberName":"hasRole","nodeType":"MemberAccess","referencedDeclaration":18,"src":"2954:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":77,"indexExpression":{"id":76,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":67,"src":"2975:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2954:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":71,"id":78,"nodeType":"Return","src":"2947:36:0"}]},"documentation":{"id":63,"nodeType":"StructuredDocumentation","src":"2773:76:0","text":" @dev Returns `true` if `account` has been granted `role`."},"functionSelector":"91d14854","id":80,"implemented":true,"kind":"function","modifiers":[],"name":"hasRole","nameLocation":"2863:7:0","nodeType":"FunctionDefinition","parameters":{"id":68,"nodeType":"ParameterList","parameters":[{"constant":false,"id":65,"mutability":"mutable","name":"role","nameLocation":"2879:4:0","nodeType":"VariableDeclaration","scope":80,"src":"2871:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":64,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2871:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":67,"mutability":"mutable","name":"account","nameLocation":"2893:7:0","nodeType":"VariableDeclaration","scope":80,"src":"2885:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":66,"name":"address","nodeType":"ElementaryTypeName","src":"2885:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2870:31:0"},"returnParameters":{"id":71,"nodeType":"ParameterList","parameters":[{"constant":false,"id":70,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":80,"src":"2931:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":69,"name":"bool","nodeType":"ElementaryTypeName","src":"2931:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2930:6:0"},"scope":295,"src":"2854:136:0","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":92,"nodeType":"Block","src":"3255:47:0","statements":[{"expression":{"arguments":[{"id":87,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":83,"src":"3276:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"arguments":[],"expression":{"argumentTypes":[],"id":88,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"3282:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":89,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3282:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":86,"name":"_checkRole","nodeType":"Identifier","overloadedDeclarations":[93,114],"referencedDeclaration":114,"src":"3265:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address) view"}},"id":90,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3265:30:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":91,"nodeType":"ExpressionStatement","src":"3265:30:0"}]},"documentation":{"id":81,"nodeType":"StructuredDocumentation","src":"2996:198:0","text":" @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier."},"id":93,"implemented":true,"kind":"function","modifiers":[],"name":"_checkRole","nameLocation":"3208:10:0","nodeType":"FunctionDefinition","parameters":{"id":84,"nodeType":"ParameterList","parameters":[{"constant":false,"id":83,"mutability":"mutable","name":"role","nameLocation":"3227:4:0","nodeType":"VariableDeclaration","scope":93,"src":"3219:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":82,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3219:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3218:14:0"},"returnParameters":{"id":85,"nodeType":"ParameterList","parameters":[],"src":"3255:0:0"},"scope":295,"src":"3199:103:0","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":113,"nodeType":"Block","src":"3505:124:0","statements":[{"condition":{"id":105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3519:23:0","subExpression":{"arguments":[{"id":102,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":96,"src":"3528:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":103,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98,"src":"3534:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":101,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"3520:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":104,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3520:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":112,"nodeType":"IfStatement","src":"3515:108:0","trueBody":{"id":111,"nodeType":"Block","src":"3544:79:0","statements":[{"errorCall":{"arguments":[{"id":107,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":98,"src":"3598:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":108,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":96,"src":"3607:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":106,"name":"AccessControlUnauthorizedAccount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":305,"src":"3565:32:0","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_bytes32_$returns$_t_error_$","typeString":"function (address,bytes32) pure returns (error)"}},"id":109,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3565:47:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":110,"nodeType":"RevertStatement","src":"3558:54:0"}]}}]},"documentation":{"id":94,"nodeType":"StructuredDocumentation","src":"3308:119:0","text":" @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n is missing `role`."},"id":114,"implemented":true,"kind":"function","modifiers":[],"name":"_checkRole","nameLocation":"3441:10:0","nodeType":"FunctionDefinition","parameters":{"id":99,"nodeType":"ParameterList","parameters":[{"constant":false,"id":96,"mutability":"mutable","name":"role","nameLocation":"3460:4:0","nodeType":"VariableDeclaration","scope":114,"src":"3452:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":95,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3452:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":98,"mutability":"mutable","name":"account","nameLocation":"3474:7:0","nodeType":"VariableDeclaration","scope":114,"src":"3466:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":97,"name":"address","nodeType":"ElementaryTypeName","src":"3466:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3451:31:0"},"returnParameters":{"id":100,"nodeType":"ParameterList","parameters":[],"src":"3505:0:0"},"scope":295,"src":"3432:197:0","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[353],"body":{"id":127,"nodeType":"Block","src":"3884:46:0","statements":[{"expression":{"expression":{"baseExpression":{"id":122,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"3901:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$dyn_storage_ptr","typeString":"address[]"}}},"id":14014,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12796:49:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":124,"indexExpression":{"id":123,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":117,"src":"3908:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3901:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":125,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3914:9:0","memberName":"adminRole","nodeType":"MemberAccess","referencedDeclaration":20,"src":"3901:22:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":121,"id":126,"nodeType":"Return","src":"3894:29:0"}]},"documentation":{"id":115,"nodeType":"StructuredDocumentation","src":"3635:170:0","text":" @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}."},"functionSelector":"248a9ca3","id":128,"implemented":true,"kind":"function","modifiers":[],"name":"getRoleAdmin","nameLocation":"3819:12:0","nodeType":"FunctionDefinition","parameters":{"id":118,"nodeType":"ParameterList","parameters":[{"constant":false,"id":117,"mutability":"mutable","name":"role","nameLocation":"3840:4:0","nodeType":"VariableDeclaration","scope":128,"src":"3832:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":116,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3832:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3831:14:0"},"returnParameters":{"id":121,"nodeType":"ParameterList","parameters":[{"constant":false,"id":120,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":128,"src":"3875:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":119,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3875:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3874:9:0"},"scope":295,"src":"3810:120:0","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[361],"body":{"id":146,"nodeType":"Block","src":"4320:42:0","statements":[{"expression":{"arguments":[{"id":142,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":131,"src":"4341:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":143,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":133,"src":"4347:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":141,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"4330:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":144,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4330:25:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":145,"nodeType":"ExpressionStatement","src":"4330:25:0"}]},"documentation":{"id":129,"nodeType":"StructuredDocumentation","src":"3936:285:0","text":" @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role.\n May emit a {RoleGranted} event."},"functionSelector":"2f2ff15d","id":147,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[{"id":137,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":131,"src":"4313:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":136,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":128,"src":"4300:12:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":138,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4300:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":139,"kind":"modifierInvocation","modifierName":{"id":135,"name":"onlyRole","nameLocations":["4291:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"4291:8:0"},"nodeType":"ModifierInvocation","src":"4291:28:0"}],"name":"grantRole","nameLocation":"4235:9:0","nodeType":"FunctionDefinition","parameters":{"id":134,"nodeType":"ParameterList","parameters":[{"constant":false,"id":131,"mutability":"mutable","name":"role","nameLocation":"4253:4:0","nodeType":"VariableDeclaration","scope":147,"src":"4245:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":130,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4245:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":133,"mutability":"mutable","name":"account","nameLocation":"4267:7:0","nodeType":"VariableDeclaration","scope":147,"src":"4259:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":132,"name":"address","nodeType":"ElementaryTypeName","src":"4259:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4244:31:0"},"returnParameters":{"id":140,"nodeType":"ParameterList","parameters":[],"src":"4320:0:0"},"scope":295,"src":"4226:136:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[369],"body":{"id":165,"nodeType":"Block","src":"4737:43:0","statements":[{"expression":{"arguments":[{"id":161,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":150,"src":"4759:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":162,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":152,"src":"4765:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":160,"name":"_revokeRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":294,"src":"4747:11:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":163,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4747:26:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":164,"nodeType":"ExpressionStatement","src":"4747:26:0"}]},"documentation":{"id":148,"nodeType":"StructuredDocumentation","src":"4368:269:0","text":" @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role.\n May emit a {RoleRevoked} event."},"functionSelector":"d547741f","id":166,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"arguments":[{"id":156,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":150,"src":"4730:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":155,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":128,"src":"4717:12:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":157,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4717:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":158,"kind":"modifierInvocation","modifierName":{"id":154,"name":"onlyRole","nameLocations":["4708:8:0"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"4708:8:0"},"nodeType":"ModifierInvocation","src":"4708:28:0"}],"name":"revokeRole","nameLocation":"4651:10:0","nodeType":"FunctionDefinition","parameters":{"id":153,"nodeType":"ParameterList","parameters":[{"constant":false,"id":150,"mutability":"mutable","name":"role","nameLocation":"4670:4:0","nodeType":"VariableDeclaration","scope":166,"src":"4662:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":149,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4662:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":152,"mutability":"mutable","name":"account","nameLocation":"4684:7:0","nodeType":"VariableDeclaration","scope":166,"src":"4676:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":151,"name":"address","nodeType":"ElementaryTypeName","src":"4676:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4661:31:0"},"returnParameters":{"id":159,"nodeType":"ParameterList","parameters":[],"src":"4737:0:0"},"scope":295,"src":"4642:138:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[377],"body":{"id":188,"nodeType":"Block","src":"5407:166:0","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":177,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":174,"name":"callerConfirmation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":171,"src":"5421:18:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":175,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"5443:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":176,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5443:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5421:34:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":182,"nodeType":"IfStatement","src":"5417:102:0","trueBody":{"id":181,"nodeType":"Block","src":"5457:62:0","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":178,"name":"AccessControlBadConfirmation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":308,"src":"5478:28:0","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":179,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5478:30:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":180,"nodeType":"RevertStatement","src":"5471:37:0"}]}},{"expression":{"arguments":[{"id":184,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":169,"src":"5541:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":185,"name":"callerConfirmation","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":171,"src":"5547:18:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":183,"name":"_revokeRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":294,"src":"5529:11:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":186,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5529:37:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":187,"nodeType":"ExpressionStatement","src":"5529:37:0"}]},"documentation":{"id":167,"nodeType":"StructuredDocumentation","src":"4786:537:0","text":" @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been revoked `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `callerConfirmation`.\n May emit a {RoleRevoked} event."},"functionSelector":"36568abe","id":189,"implemented":true,"kind":"function","modifiers":[],"name":"renounceRole","nameLocation":"5337:12:0","nodeType":"FunctionDefinition","parameters":{"id":172,"nodeType":"ParameterList","parameters":[{"constant":false,"id":169,"mutability":"mutable","name":"role","nameLocation":"5358:4:0","nodeType":"VariableDeclaration","scope":189,"src":"5350:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":168,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5350:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":171,"mutability":"mutable","name":"callerConfirmation","nameLocation":"5372:18:0","nodeType":"VariableDeclaration","scope":189,"src":"5364:26:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":170,"name":"address","nodeType":"ElementaryTypeName","src":"5364:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5349:42:0"},"returnParameters":{"id":173,"nodeType":"ParameterList","parameters":[],"src":"5407:0:0"},"scope":295,"src":"5328:245:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":216,"nodeType":"Block","src":"5771:174:0","statements":[{"assignments":[198],"declarations":[{"constant":false,"id":198,"mutability":"mutable","name":"previousAdminRole","nameLocation":"5789:17:0","nodeType":"VariableDeclaration","scope":216,"src":"5781:25:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":197,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5781:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":202,"initialValue":{"arguments":[{"id":200,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":192,"src":"5822:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":199,"name":"getRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":128,"src":"5809:12:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":201,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5809:18:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"5781:46:0"},{"expression":{"id":208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":203,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"5837:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":205,"indexExpression":{"id":204,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":192,"src":"5844:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5837:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":206,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"5850:9:0","memberName":"adminRole","nodeType":"MemberAccess","referencedDeclaration":20,"src":"5837:22:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":207,"name":"adminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":194,"src":"5862:9:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"5837:34:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":209,"nodeType":"ExpressionStatement","src":"5837:34:0"},{"eventCall":{"arguments":[{"id":211,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":192,"src":"5903:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":212,"name":"previousAdminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":198,"src":"5909:17:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":213,"name":"adminRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":194,"src":"5928:9:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":210,"name":"RoleAdminChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":317,"src":"5886:16:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$","typeString":"function (bytes32,bytes32,bytes32)"}},"id":214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5886:52:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":215,"nodeType":"EmitStatement","src":"5881:57:0"}]},"documentation":{"id":190,"nodeType":"StructuredDocumentation","src":"5579:114:0","text":" @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event."},"id":217,"implemented":true,"kind":"function","modifiers":[],"name":"_setRoleAdmin","nameLocation":"5707:13:0","nodeType":"FunctionDefinition","parameters":{"id":195,"nodeType":"ParameterList","parameters":[{"constant":false,"id":192,"mutability":"mutable","name":"role","nameLocation":"5729:4:0","nodeType":"VariableDeclaration","scope":217,"src":"5721:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":191,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5721:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":194,"mutability":"mutable","name":"adminRole","nameLocation":"5743:9:0","nodeType":"VariableDeclaration","scope":217,"src":"5735:17:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":193,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5735:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5720:33:0"},"returnParameters":{"id":196,"nodeType":"ParameterList","parameters":[],"src":"5771:0:0"},"scope":295,"src":"5698:247:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":255,"nodeType":"Block","src":"6262:233:0","statements":[{"condition":{"id":231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6276:23:0","subExpression":{"arguments":[{"id":228,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":220,"src":"6285:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":229,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":222,"src":"6291:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":227,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"6277:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":230,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6277:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":253,"nodeType":"Block","src":"6452:37:0","statements":[{"expression":{"hexValue":"66616c7365","id":251,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6473:5:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":226,"id":252,"nodeType":"Return","src":"6466:12:0"}]},"id":254,"nodeType":"IfStatement","src":"6272:217:0","trueBody":{"id":250,"nodeType":"Block","src":"6301:145:0","statements":[{"expression":{"id":239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":232,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"6315:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_RoleData_$21_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":234,"indexExpression":{"id":233,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":220,"src":"6322:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6315:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":235,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6328:7:0","memberName":"hasRole","nodeType":"MemberAccess","referencedDeclaration":18,"src":"6315:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":237,"indexExpression":{"id":236,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":222,"src":"6336:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6315:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":238,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6347:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"6315:36:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":240,"nodeType":"ExpressionStatement","src":"6315:36:0"},{"eventCall":{"arguments":[{"id":242,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":220,"src":"6382:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":243,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":222,"src":"6388:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":244,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"6397:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":245,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6397:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":241,"name":"RoleGranted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":326,"src":"6370:11:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$","typeString":"function (bytes32,address,address)"}},"id":246,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6370:40:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":247,"nodeType":"EmitStatement","src":"6365:45:0"},{"expression":{"hexValue":"74727565","id":248,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6431:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":226,"id":249,"nodeType":"Return","src":"6424:11:0"}]}}]},"documentation":{"id":218,"nodeType":"StructuredDocumentation","src":"5951:223:0","text":" @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n Internal function without access restriction.\n May emit a {RoleGranted} event."},"id":256,"implemented":true,"kind":"function","modifiers":[],"name":"_grantRole","nameLocation":"6188:10:0","nodeType":"FunctionDefinition","parameters":{"id":223,"nodeType":"ParameterList","parameters":[{"constant":false,"id":220,"mutability":"mutable","name":"role","nameLocation":"6207:4:0","nodeType":"VariableDeclaration","scope":256,"src":"6199:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":219,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6199:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":222,"mutability":"mutable","name":"account","nameLocation":"6221:7:0","nodeType":"VariableDeclaration","scope":256,"src":"6213:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":221,"name":"address","nodeType":"ElementaryTypeName","src":"6213:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6198:31:0"},"returnParameters":{"id":226,"nodeType":"ParameterList","parameters":[{"constant":false,"id":225,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":256,"src":"6256:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":224,"name":"bool","nodeType":"ElementaryTypeName","src":"6256:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6255:6:0"},"scope":295,"src":"6179:316:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":293,"nodeType":"Block","src":"6816:233:0","statements":[{"condition":{"arguments":[{"id":267,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":259,"src":"6838:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":268,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":261,"src":"6844:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":266,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"6830:7:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":269,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6830:22:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":291,"nodeType":"Block","src":"7006:37:0","statements":[{"expression":{"hexValue":"66616c7365","id":289,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"7027:5:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":265,"id":290,"nodeType":"Return","src":"7020:12:0"}]},"id":292,"nodeType":"IfStatement","src":"6826:217:0","trueBody":{"id":288,"nodeType":"Block","src":"6854:146:0","statements":[{"expression":{"id":277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":270,"name":"_roles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"6868:6:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_structMATH_PLACEHOLDER_7821_storage_$","typeString":"mapping(bytes32 => struct AccessControl.RoleData storage ref)"}},"id":272,"indexExpression":{"id":271,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":259,"src":"6875:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6868:12:0","typeDescriptions":{"typeIdentifier":"t_struct$_RoleData_$21_storage","typeString":"struct AccessControl.RoleData storage ref"}},"id":273,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6881:7:0","memberName":"hasRole","nodeType":"MemberAccess","referencedDeclaration":18,"src":"6868:20:0","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":275,"indexExpression":{"id":274,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":261,"src":"6889:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6868:29:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":276,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6900:5:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"6868:37:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":278,"nodeType":"ExpressionStatement","src":"6868:37:0"},{"eventCall":{"arguments":[{"id":280,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":259,"src":"6936:4:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":281,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":261,"src":"6942:7:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[],"expression":{"argumentTypes":[],"id":282,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"6951:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":283,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6951:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":279,"name":"RoleRevoked","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":335,"src":"6924:11:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$","typeString":"function (bytes32,address,address)"}},"id":284,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6924:40:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":285,"nodeType":"EmitStatement","src":"6919:45:0"},{"expression":{"hexValue":"74727565","id":286,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6985:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":265,"id":287,"nodeType":"Return","src":"6978:11:0"}]}}]},"documentation":{"id":257,"nodeType":"StructuredDocumentation","src":"6501:226:0","text":" @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.\n Internal function without access restriction.\n May emit a {RoleRevoked} event."},"id":294,"implemented":true,"kind":"function","modifiers":[],"name":"_revokeRole","nameLocation":"6741:11:0","nodeType":"FunctionDefinition","parameters":{"id":262,"nodeType":"ParameterList","parameters":[{"constant":false,"id":259,"mutability":"mutable","name":"role","nameLocation":"6761:4:0","nodeType":"VariableDeclaration","scope":294,"src":"6753:12:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":258,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6753:7:0","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":261,"mutability":"mutable","name":"account","nameLocation":"6775:7:0","nodeType":"VariableDeclaration","scope":294,"src":"6767:15:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":260,"name":"address","nodeType":"ElementaryTypeName","src":"6767:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6752:31:0"},"returnParameters":{"id":265,"nodeType":"ParameterList","parameters":[{"constant":false,"id":264,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":294,"src":"6810:4:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":263,"name":"bool","nodeType":"ElementaryTypeName","src":"6810:4:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6809:6:0"},"scope":295,"src":"6732:317:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":296,"src":"1953:5098:0","usedErrors":[305,308],"usedEvents":[317,326,335]}],"src":"108:6944:0"},"id":0},"@openzeppelin/contracts/access/IAccessControl.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/access/IAccessControl.sol","exportedSymbols":{"IAccessControl":[378]},"id":379,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":297,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"109:24:1"},{"abstract":false,"baseContracts":[],"canonicalName":"IAccessControl","contractDependencies":[],"contractKind":"interface","documentation":{"id":298,"nodeType":"StructuredDocumentation","src":"135:90:1","text":" @dev External interface of AccessControl declared to support ERC-165 detection."},"fullyImplemented":false,"id":378,"linearizedBaseContracts":[378],"name":"IAccessControl","nameLocation":"236:14:1","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":299,"nodeType":"StructuredDocumentation","src":"257:56:1","text":" @dev The `account` is missing a role."},"errorSelector":"e2517d3f","id":305,"name":"AccessControlUnauthorizedAccount","nameLocation":"324:32:1","nodeType":"ErrorDefinition","parameters":{"id":304,"nodeType":"ParameterList","parameters":[{"constant":false,"id":301,"mutability":"mutable","name":"account","nameLocation":"365:7:1","nodeType":"VariableDeclaration","scope":305,"src":"357:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":300,"name":"address","nodeType":"ElementaryTypeName","src":"357:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":303,"mutability":"mutable","name":"neededRole","nameLocation":"382:10:1","nodeType":"VariableDeclaration","scope":305,"src":"374:18:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":302,"name":"bytes32","nodeType":"ElementaryTypeName","src":"374:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"356:37:1"},"src":"318:76:1"},{"documentation":{"id":306,"nodeType":"StructuredDocumentation","src":"400:148:1","text":" @dev The caller of a function is not the expected one.\n NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."},"errorSelector":"6697b232","id":308,"name":"AccessControlBadConfirmation","nameLocation":"559:28:1","nodeType":"ErrorDefinition","parameters":{"id":307,"nodeType":"ParameterList","parameters":[],"src":"587:2:1"},"src":"553:37:1"},{"anonymous":false,"documentation":{"id":309,"nodeType":"StructuredDocumentation","src":"596:254:1","text":" @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted to signal this."},"eventSelector":"bd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff","id":317,"name":"RoleAdminChanged","nameLocation":"861:16:1","nodeType":"EventDefinition","parameters":{"id":316,"nodeType":"ParameterList","parameters":[{"constant":false,"id":311,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"894:4:1","nodeType":"VariableDeclaration","scope":317,"src":"878:20:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":310,"name":"bytes32","nodeType":"ElementaryTypeName","src":"878:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":313,"indexed":true,"mutability":"mutable","name":"previousAdminRole","nameLocation":"916:17:1","nodeType":"VariableDeclaration","scope":317,"src":"900:33:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":312,"name":"bytes32","nodeType":"ElementaryTypeName","src":"900:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":315,"indexed":true,"mutability":"mutable","name":"newAdminRole","nameLocation":"951:12:1","nodeType":"VariableDeclaration","scope":317,"src":"935:28:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":314,"name":"bytes32","nodeType":"ElementaryTypeName","src":"935:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"877:87:1"},"src":"855:110:1"},{"anonymous":false,"documentation":{"id":318,"nodeType":"StructuredDocumentation","src":"971:295:1","text":" @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).\n Expected in cases where the role was granted using the internal {AccessControl-_grantRole}."},"eventSelector":"2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d","id":326,"name":"RoleGranted","nameLocation":"1277:11:1","nodeType":"EventDefinition","parameters":{"id":325,"nodeType":"ParameterList","parameters":[{"constant":false,"id":320,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"1305:4:1","nodeType":"VariableDeclaration","scope":326,"src":"1289:20:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":319,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1289:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":322,"indexed":true,"mutability":"mutable","name":"account","nameLocation":"1327:7:1","nodeType":"VariableDeclaration","scope":326,"src":"1311:23:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":321,"name":"address","nodeType":"ElementaryTypeName","src":"1311:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":324,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"1352:6:1","nodeType":"VariableDeclaration","scope":326,"src":"1336:22:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":323,"name":"address","nodeType":"ElementaryTypeName","src":"1336:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1288:71:1"},"src":"1271:89:1"},{"anonymous":false,"documentation":{"id":327,"nodeType":"StructuredDocumentation","src":"1366:275:1","text":" @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)"},"eventSelector":"f6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b","id":335,"name":"RoleRevoked","nameLocation":"1652:11:1","nodeType":"EventDefinition","parameters":{"id":334,"nodeType":"ParameterList","parameters":[{"constant":false,"id":329,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"1680:4:1","nodeType":"VariableDeclaration","scope":335,"src":"1664:20:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":328,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1664:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":331,"indexed":true,"mutability":"mutable","name":"account","nameLocation":"1702:7:1","nodeType":"VariableDeclaration","scope":335,"src":"1686:23:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":330,"name":"address","nodeType":"ElementaryTypeName","src":"1686:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":333,"indexed":true,"mutability":"mutable","name":"sender","nameLocation":"1727:6:1","nodeType":"VariableDeclaration","scope":335,"src":"1711:22:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":332,"name":"address","nodeType":"ElementaryTypeName","src":"1711:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1663:71:1"},"src":"1646:89:1"},{"documentation":{"id":336,"nodeType":"StructuredDocumentation","src":"1741:76:1","text":" @dev Returns `true` if `account` has been granted `role`."},"functionSelector":"91d14854","id":345,"implemented":false,"kind":"function","modifiers":[],"name":"hasRole","nameLocation":"1831:7:1","nodeType":"FunctionDefinition","parameters":{"id":341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":338,"mutability":"mutable","name":"role","nameLocation":"1847:4:1","nodeType":"VariableDeclaration","scope":345,"src":"1839:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":337,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1839:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":340,"mutability":"mutable","name":"account","nameLocation":"1861:7:1","nodeType":"VariableDeclaration","scope":345,"src":"1853:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":339,"name":"address","nodeType":"ElementaryTypeName","src":"1853:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1838:31:1"},"returnParameters":{"id":344,"nodeType":"ParameterList","parameters":[{"constant":false,"id":343,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":345,"src":"1893:4:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":342,"name":"bool","nodeType":"ElementaryTypeName","src":"1893:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1892:6:1"},"scope":378,"src":"1822:77:1","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":346,"nodeType":"StructuredDocumentation","src":"1905:184:1","text":" @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {AccessControl-_setRoleAdmin}."},"functionSelector":"248a9ca3","id":353,"implemented":false,"kind":"function","modifiers":[],"name":"getRoleAdmin","nameLocation":"2103:12:1","nodeType":"FunctionDefinition","parameters":{"id":349,"nodeType":"ParameterList","parameters":[{"constant":false,"id":348,"mutability":"mutable","name":"role","nameLocation":"2124:4:1","nodeType":"VariableDeclaration","scope":353,"src":"2116:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":347,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2116:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2115:14:1"},"returnParameters":{"id":352,"nodeType":"ParameterList","parameters":[{"constant":false,"id":351,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":353,"src":"2153:7:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":350,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2153:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2152:9:1"},"scope":378,"src":"2094:68:1","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":354,"nodeType":"StructuredDocumentation","src":"2168:239:1","text":" @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role."},"functionSelector":"2f2ff15d","id":361,"implemented":false,"kind":"function","modifiers":[],"name":"grantRole","nameLocation":"2421:9:1","nodeType":"FunctionDefinition","parameters":{"id":359,"nodeType":"ParameterList","parameters":[{"constant":false,"id":356,"mutability":"mutable","name":"role","nameLocation":"2439:4:1","nodeType":"VariableDeclaration","scope":361,"src":"2431:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":355,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2431:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":358,"mutability":"mutable","name":"account","nameLocation":"2453:7:1","nodeType":"VariableDeclaration","scope":361,"src":"2445:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":357,"name":"address","nodeType":"ElementaryTypeName","src":"2445:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2430:31:1"},"returnParameters":{"id":360,"nodeType":"ParameterList","parameters":[],"src":"2470:0:1"},"scope":378,"src":"2412:59:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":362,"nodeType":"StructuredDocumentation","src":"2477:223:1","text":" @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role."},"functionSelector":"d547741f","id":369,"implemented":false,"kind":"function","modifiers":[],"name":"revokeRole","nameLocation":"2714:10:1","nodeType":"FunctionDefinition","parameters":{"id":367,"nodeType":"ParameterList","parameters":[{"constant":false,"id":364,"mutability":"mutable","name":"role","nameLocation":"2733:4:1","nodeType":"VariableDeclaration","scope":369,"src":"2725:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":363,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2725:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":366,"mutability":"mutable","name":"account","nameLocation":"2747:7:1","nodeType":"VariableDeclaration","scope":369,"src":"2739:15:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":365,"name":"address","nodeType":"ElementaryTypeName","src":"2739:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2724:31:1"},"returnParameters":{"id":368,"nodeType":"ParameterList","parameters":[],"src":"2764:0:1"},"scope":378,"src":"2705:60:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":370,"nodeType":"StructuredDocumentation","src":"2771:491:1","text":" @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `callerConfirmation`."},"functionSelector":"36568abe","id":377,"implemented":false,"kind":"function","modifiers":[],"name":"renounceRole","nameLocation":"3276:12:1","nodeType":"FunctionDefinition","parameters":{"id":375,"nodeType":"ParameterList","parameters":[{"constant":false,"id":372,"mutability":"mutable","name":"role","nameLocation":"3297:4:1","nodeType":"VariableDeclaration","scope":377,"src":"3289:12:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":371,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3289:7:1","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":374,"mutability":"mutable","name":"callerConfirmation","nameLocation":"3311:18:1","nodeType":"VariableDeclaration","scope":377,"src":"3303:26:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":373,"name":"address","nodeType":"ElementaryTypeName","src":"3303:7:1","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3288:42:1"},"returnParameters":{"id":376,"nodeType":"ParameterList","parameters":[],"src":"3339:0:1"},"scope":378,"src":"3267:73:1","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":379,"src":"226:3116:1","usedErrors":[305,308],"usedEvents":[317,326,335]}],"src":"109:3234:1"},"id":1},"@openzeppelin/contracts/interfaces/IERC5267.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/interfaces/IERC5267.sol","exportedSymbols":{"IERC5267":[403]},"id":404,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":380,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"107:24:2"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC5267","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":403,"linearizedBaseContracts":[403],"name":"IERC5267","nameLocation":"143:8:2","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":381,"nodeType":"StructuredDocumentation","src":"158:84:2","text":" @dev MAY be emitted to signal that the domain could have changed."},"eventSelector":"0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31","id":383,"name":"EIP712DomainChanged","nameLocation":"253:19:2","nodeType":"EventDefinition","parameters":{"id":382,"nodeType":"ParameterList","parameters":[],"src":"272:2:2"},"src":"247:28:2"},{"documentation":{"id":384,"nodeType":"StructuredDocumentation","src":"281:140:2","text":" @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\n signature."},"functionSelector":"84b0196e","id":402,"implemented":false,"kind":"function","modifiers":[],"name":"eip712Domain","nameLocation":"435:12:2","nodeType":"FunctionDefinition","parameters":{"id":385,"nodeType":"ParameterList","parameters":[],"src":"447:2:2"},"returnParameters":{"id":401,"nodeType":"ParameterList","parameters":[{"constant":false,"id":387,"mutability":"mutable","name":"fields","nameLocation":"517:6:2","nodeType":"VariableDeclaration","scope":402,"src":"510:13:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":386,"name":"bytes1","nodeType":"ElementaryTypeName","src":"510:6:2","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"visibility":"internal"},{"constant":false,"id":389,"mutability":"mutable","name":"name","nameLocation":"551:4:2","nodeType":"VariableDeclaration","scope":402,"src":"537:18:2","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":388,"name":"string","nodeType":"ElementaryTypeName","src":"537:6:2","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":391,"mutability":"mutable","name":"version","nameLocation":"583:7:2","nodeType":"VariableDeclaration","scope":402,"src":"569:21:2","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":390,"name":"string","nodeType":"ElementaryTypeName","src":"569:6:2","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":393,"mutability":"mutable","name":"chainId","nameLocation":"612:7:2","nodeType":"VariableDeclaration","scope":402,"src":"604:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":392,"name":"uint256","nodeType":"ElementaryTypeName","src":"604:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":395,"mutability":"mutable","name":"verifyingContract","nameLocation":"641:17:2","nodeType":"VariableDeclaration","scope":402,"src":"633:25:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":394,"name":"address","nodeType":"ElementaryTypeName","src":"633:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":397,"mutability":"mutable","name":"salt","nameLocation":"680:4:2","nodeType":"VariableDeclaration","scope":402,"src":"672:12:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":396,"name":"bytes32","nodeType":"ElementaryTypeName","src":"672:7:2","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":400,"mutability":"mutable","name":"extensions","nameLocation":"715:10:2","nodeType":"VariableDeclaration","scope":402,"src":"698:27:2","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":398,"name":"uint256","nodeType":"ElementaryTypeName","src":"698:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":399,"nodeType":"ArrayTypeName","src":"698:9:2","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"496:239:2"},"scope":403,"src":"426:310:2","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":404,"src":"133:605:2","usedErrors":[],"usedEvents":[383]}],"src":"107:632:2"},"id":2},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/interfaces/draft-IERC6093.sol","exportedSymbols":{"IERC1155Errors":[540],"IERC20Errors":[445],"IERC721Errors":[493]},"id":541,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":405,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"112:24:3"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC20Errors","contractDependencies":[],"contractKind":"interface","documentation":{"id":406,"nodeType":"StructuredDocumentation","src":"138:141:3","text":" @dev Standard ERC-20 Errors\n Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens."},"fullyImplemented":true,"id":445,"linearizedBaseContracts":[445],"name":"IERC20Errors","nameLocation":"290:12:3","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":407,"nodeType":"StructuredDocumentation","src":"309:309:3","text":" @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred.\n @param balance Current balance for the interacting account.\n @param needed Minimum amount required to perform a transfer."},"errorSelector":"e450d38c","id":415,"name":"ERC20InsufficientBalance","nameLocation":"629:24:3","nodeType":"ErrorDefinition","parameters":{"id":414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":409,"mutability":"mutable","name":"sender","nameLocation":"662:6:3","nodeType":"VariableDeclaration","scope":415,"src":"654:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":408,"name":"address","nodeType":"ElementaryTypeName","src":"654:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":411,"mutability":"mutable","name":"balance","nameLocation":"678:7:3","nodeType":"VariableDeclaration","scope":415,"src":"670:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":410,"name":"uint256","nodeType":"ElementaryTypeName","src":"670:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":413,"mutability":"mutable","name":"needed","nameLocation":"695:6:3","nodeType":"VariableDeclaration","scope":415,"src":"687:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":412,"name":"uint256","nodeType":"ElementaryTypeName","src":"687:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"653:49:3"},"src":"623:80:3"},{"documentation":{"id":416,"nodeType":"StructuredDocumentation","src":"709:152:3","text":" @dev Indicates a failure with the token `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred."},"errorSelector":"96c6fd1e","id":420,"name":"ERC20InvalidSender","nameLocation":"872:18:3","nodeType":"ErrorDefinition","parameters":{"id":419,"nodeType":"ParameterList","parameters":[{"constant":false,"id":418,"mutability":"mutable","name":"sender","nameLocation":"899:6:3","nodeType":"VariableDeclaration","scope":420,"src":"891:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":417,"name":"address","nodeType":"ElementaryTypeName","src":"891:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"890:16:3"},"src":"866:41:3"},{"documentation":{"id":421,"nodeType":"StructuredDocumentation","src":"913:159:3","text":" @dev Indicates a failure with the token `receiver`. Used in transfers.\n @param receiver Address to which tokens are being transferred."},"errorSelector":"ec442f05","id":425,"name":"ERC20InvalidReceiver","nameLocation":"1083:20:3","nodeType":"ErrorDefinition","parameters":{"id":424,"nodeType":"ParameterList","parameters":[{"constant":false,"id":423,"mutability":"mutable","name":"receiver","nameLocation":"1112:8:3","nodeType":"VariableDeclaration","scope":425,"src":"1104:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":422,"name":"address","nodeType":"ElementaryTypeName","src":"1104:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1103:18:3"},"src":"1077:45:3"},{"documentation":{"id":426,"nodeType":"StructuredDocumentation","src":"1128:345:3","text":" @dev Indicates a failure with the `spender`โs `allowance`. Used in transfers.\n @param spender Address that may be allowed to operate on tokens without being their owner.\n @param allowance Amount of tokens a `spender` is allowed to operate with.\n @param needed Minimum amount required to perform a transfer."},"errorSelector":"fb8f41b2","id":434,"name":"ERC20InsufficientAllowance","nameLocation":"1484:26:3","nodeType":"ErrorDefinition","parameters":{"id":433,"nodeType":"ParameterList","parameters":[{"constant":false,"id":428,"mutability":"mutable","name":"spender","nameLocation":"1519:7:3","nodeType":"VariableDeclaration","scope":434,"src":"1511:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":427,"name":"address","nodeType":"ElementaryTypeName","src":"1511:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":430,"mutability":"mutable","name":"allowance","nameLocation":"1536:9:3","nodeType":"VariableDeclaration","scope":434,"src":"1528:17:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":429,"name":"uint256","nodeType":"ElementaryTypeName","src":"1528:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":432,"mutability":"mutable","name":"needed","nameLocation":"1555:6:3","nodeType":"VariableDeclaration","scope":434,"src":"1547:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":431,"name":"uint256","nodeType":"ElementaryTypeName","src":"1547:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1510:52:3"},"src":"1478:85:3"},{"documentation":{"id":435,"nodeType":"StructuredDocumentation","src":"1569:174:3","text":" @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n @param approver Address initiating an approval operation."},"errorSelector":"e602df05","id":439,"name":"ERC20InvalidApprover","nameLocation":"1754:20:3","nodeType":"ErrorDefinition","parameters":{"id":438,"nodeType":"ParameterList","parameters":[{"constant":false,"id":437,"mutability":"mutable","name":"approver","nameLocation":"1783:8:3","nodeType":"VariableDeclaration","scope":439,"src":"1775:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":436,"name":"address","nodeType":"ElementaryTypeName","src":"1775:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1774:18:3"},"src":"1748:45:3"},{"documentation":{"id":440,"nodeType":"StructuredDocumentation","src":"1799:195:3","text":" @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n @param spender Address that may be allowed to operate on tokens without being their owner."},"errorSelector":"94280d62","id":444,"name":"ERC20InvalidSpender","nameLocation":"2005:19:3","nodeType":"ErrorDefinition","parameters":{"id":443,"nodeType":"ParameterList","parameters":[{"constant":false,"id":442,"mutability":"mutable","name":"spender","nameLocation":"2033:7:3","nodeType":"VariableDeclaration","scope":444,"src":"2025:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":441,"name":"address","nodeType":"ElementaryTypeName","src":"2025:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2024:17:3"},"src":"1999:43:3"}],"scope":541,"src":"280:1764:3","usedErrors":[415,420,425,434,439,444],"usedEvents":[]},{"abstract":false,"baseContracts":[],"canonicalName":"IERC721Errors","contractDependencies":[],"contractKind":"interface","documentation":{"id":446,"nodeType":"StructuredDocumentation","src":"2046:143:3","text":" @dev Standard ERC-721 Errors\n Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens."},"fullyImplemented":true,"id":493,"linearizedBaseContracts":[493],"name":"IERC721Errors","nameLocation":"2200:13:3","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":447,"nodeType":"StructuredDocumentation","src":"2220:219:3","text":" @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n Used in balance queries.\n @param owner Address of the current owner of a token."},"errorSelector":"89c62b64","id":451,"name":"ERC721InvalidOwner","nameLocation":"2450:18:3","nodeType":"ErrorDefinition","parameters":{"id":450,"nodeType":"ParameterList","parameters":[{"constant":false,"id":449,"mutability":"mutable","name":"owner","nameLocation":"2477:5:3","nodeType":"VariableDeclaration","scope":451,"src":"2469:13:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":448,"name":"address","nodeType":"ElementaryTypeName","src":"2469:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2468:15:3"},"src":"2444:40:3"},{"documentation":{"id":452,"nodeType":"StructuredDocumentation","src":"2490:132:3","text":" @dev Indicates a `tokenId` whose `owner` is the zero address.\n @param tokenId Identifier number of a token."},"errorSelector":"7e273289","id":456,"name":"ERC721NonexistentToken","nameLocation":"2633:22:3","nodeType":"ErrorDefinition","parameters":{"id":455,"nodeType":"ParameterList","parameters":[{"constant":false,"id":454,"mutability":"mutable","name":"tokenId","nameLocation":"2664:7:3","nodeType":"VariableDeclaration","scope":456,"src":"2656:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":453,"name":"uint256","nodeType":"ElementaryTypeName","src":"2656:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2655:17:3"},"src":"2627:46:3"},{"documentation":{"id":457,"nodeType":"StructuredDocumentation","src":"2679:289:3","text":" @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n @param sender Address whose tokens are being transferred.\n @param tokenId Identifier number of a token.\n @param owner Address of the current owner of a token."},"errorSelector":"64283d7b","id":465,"name":"ERC721IncorrectOwner","nameLocation":"2979:20:3","nodeType":"ErrorDefinition","parameters":{"id":464,"nodeType":"ParameterList","parameters":[{"constant":false,"id":459,"mutability":"mutable","name":"sender","nameLocation":"3008:6:3","nodeType":"VariableDeclaration","scope":465,"src":"3000:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":458,"name":"address","nodeType":"ElementaryTypeName","src":"3000:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":461,"mutability":"mutable","name":"tokenId","nameLocation":"3024:7:3","nodeType":"VariableDeclaration","scope":465,"src":"3016:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":460,"name":"uint256","nodeType":"ElementaryTypeName","src":"3016:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":463,"mutability":"mutable","name":"owner","nameLocation":"3041:5:3","nodeType":"VariableDeclaration","scope":465,"src":"3033:13:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":462,"name":"address","nodeType":"ElementaryTypeName","src":"3033:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2999:48:3"},"src":"2973:75:3"},{"documentation":{"id":466,"nodeType":"StructuredDocumentation","src":"3054:152:3","text":" @dev Indicates a failure with the token `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred."},"errorSelector":"73c6ac6e","id":470,"name":"ERC721InvalidSender","nameLocation":"3217:19:3","nodeType":"ErrorDefinition","parameters":{"id":469,"nodeType":"ParameterList","parameters":[{"constant":false,"id":468,"mutability":"mutable","name":"sender","nameLocation":"3245:6:3","nodeType":"VariableDeclaration","scope":470,"src":"3237:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":467,"name":"address","nodeType":"ElementaryTypeName","src":"3237:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3236:16:3"},"src":"3211:42:3"},{"documentation":{"id":471,"nodeType":"StructuredDocumentation","src":"3259:159:3","text":" @dev Indicates a failure with the token `receiver`. Used in transfers.\n @param receiver Address to which tokens are being transferred."},"errorSelector":"64a0ae92","id":475,"name":"ERC721InvalidReceiver","nameLocation":"3429:21:3","nodeType":"ErrorDefinition","parameters":{"id":474,"nodeType":"ParameterList","parameters":[{"constant":false,"id":473,"mutability":"mutable","name":"receiver","nameLocation":"3459:8:3","nodeType":"VariableDeclaration","scope":475,"src":"3451:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":472,"name":"address","nodeType":"ElementaryTypeName","src":"3451:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3450:18:3"},"src":"3423:46:3"},{"documentation":{"id":476,"nodeType":"StructuredDocumentation","src":"3475:247:3","text":" @dev Indicates a failure with the `operator`โs approval. Used in transfers.\n @param operator Address that may be allowed to operate on tokens without being their owner.\n @param tokenId Identifier number of a token."},"errorSelector":"177e802f","id":482,"name":"ERC721InsufficientApproval","nameLocation":"3733:26:3","nodeType":"ErrorDefinition","parameters":{"id":481,"nodeType":"ParameterList","parameters":[{"constant":false,"id":478,"mutability":"mutable","name":"operator","nameLocation":"3768:8:3","nodeType":"VariableDeclaration","scope":482,"src":"3760:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":477,"name":"address","nodeType":"ElementaryTypeName","src":"3760:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":480,"mutability":"mutable","name":"tokenId","nameLocation":"3786:7:3","nodeType":"VariableDeclaration","scope":482,"src":"3778:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":479,"name":"uint256","nodeType":"ElementaryTypeName","src":"3778:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3759:35:3"},"src":"3727:68:3"},{"documentation":{"id":483,"nodeType":"StructuredDocumentation","src":"3801:174:3","text":" @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n @param approver Address initiating an approval operation."},"errorSelector":"a9fbf51f","id":487,"name":"ERC721InvalidApprover","nameLocation":"3986:21:3","nodeType":"ErrorDefinition","parameters":{"id":486,"nodeType":"ParameterList","parameters":[{"constant":false,"id":485,"mutability":"mutable","name":"approver","nameLocation":"4016:8:3","nodeType":"VariableDeclaration","scope":487,"src":"4008:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":484,"name":"address","nodeType":"ElementaryTypeName","src":"4008:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4007:18:3"},"src":"3980:46:3"},{"documentation":{"id":488,"nodeType":"StructuredDocumentation","src":"4032:197:3","text":" @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n @param operator Address that may be allowed to operate on tokens without being their owner."},"errorSelector":"5b08ba18","id":492,"name":"ERC721InvalidOperator","nameLocation":"4240:21:3","nodeType":"ErrorDefinition","parameters":{"id":491,"nodeType":"ParameterList","parameters":[{"constant":false,"id":490,"mutability":"mutable","name":"operator","nameLocation":"4270:8:3","nodeType":"VariableDeclaration","scope":492,"src":"4262:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":489,"name":"address","nodeType":"ElementaryTypeName","src":"4262:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4261:18:3"},"src":"4234:46:3"}],"scope":541,"src":"2190:2092:3","usedErrors":[451,456,465,470,475,482,487,492],"usedEvents":[]},{"abstract":false,"baseContracts":[],"canonicalName":"IERC1155Errors","contractDependencies":[],"contractKind":"interface","documentation":{"id":494,"nodeType":"StructuredDocumentation","src":"4284:145:3","text":" @dev Standard ERC-1155 Errors\n Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens."},"fullyImplemented":true,"id":540,"linearizedBaseContracts":[540],"name":"IERC1155Errors","nameLocation":"4440:14:3","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":495,"nodeType":"StructuredDocumentation","src":"4461:361:3","text":" @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred.\n @param balance Current balance for the interacting account.\n @param needed Minimum amount required to perform a transfer.\n @param tokenId Identifier number of a token."},"errorSelector":"03dee4c5","id":505,"name":"ERC1155InsufficientBalance","nameLocation":"4833:26:3","nodeType":"ErrorDefinition","parameters":{"id":504,"nodeType":"ParameterList","parameters":[{"constant":false,"id":497,"mutability":"mutable","name":"sender","nameLocation":"4868:6:3","nodeType":"VariableDeclaration","scope":505,"src":"4860:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":496,"name":"address","nodeType":"ElementaryTypeName","src":"4860:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":499,"mutability":"mutable","name":"balance","nameLocation":"4884:7:3","nodeType":"VariableDeclaration","scope":505,"src":"4876:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":498,"name":"uint256","nodeType":"ElementaryTypeName","src":"4876:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":501,"mutability":"mutable","name":"needed","nameLocation":"4901:6:3","nodeType":"VariableDeclaration","scope":505,"src":"4893:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":500,"name":"uint256","nodeType":"ElementaryTypeName","src":"4893:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":503,"mutability":"mutable","name":"tokenId","nameLocation":"4917:7:3","nodeType":"VariableDeclaration","scope":505,"src":"4909:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":502,"name":"uint256","nodeType":"ElementaryTypeName","src":"4909:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4859:66:3"},"src":"4827:99:3"},{"documentation":{"id":506,"nodeType":"StructuredDocumentation","src":"4932:152:3","text":" @dev Indicates a failure with the token `sender`. Used in transfers.\n @param sender Address whose tokens are being transferred."},"errorSelector":"01a83514","id":510,"name":"ERC1155InvalidSender","nameLocation":"5095:20:3","nodeType":"ErrorDefinition","parameters":{"id":509,"nodeType":"ParameterList","parameters":[{"constant":false,"id":508,"mutability":"mutable","name":"sender","nameLocation":"5124:6:3","nodeType":"VariableDeclaration","scope":510,"src":"5116:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":507,"name":"address","nodeType":"ElementaryTypeName","src":"5116:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5115:16:3"},"src":"5089:43:3"},{"documentation":{"id":511,"nodeType":"StructuredDocumentation","src":"5138:159:3","text":" @dev Indicates a failure with the token `receiver`. Used in transfers.\n @param receiver Address to which tokens are being transferred."},"errorSelector":"57f447ce","id":515,"name":"ERC1155InvalidReceiver","nameLocation":"5308:22:3","nodeType":"ErrorDefinition","parameters":{"id":514,"nodeType":"ParameterList","parameters":[{"constant":false,"id":513,"mutability":"mutable","name":"receiver","nameLocation":"5339:8:3","nodeType":"VariableDeclaration","scope":515,"src":"5331:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":512,"name":"address","nodeType":"ElementaryTypeName","src":"5331:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5330:18:3"},"src":"5302:47:3"},{"documentation":{"id":516,"nodeType":"StructuredDocumentation","src":"5355:256:3","text":" @dev Indicates a failure with the `operator`โs approval. Used in transfers.\n @param operator Address that may be allowed to operate on tokens without being their owner.\n @param owner Address of the current owner of a token."},"errorSelector":"e237d922","id":522,"name":"ERC1155MissingApprovalForAll","nameLocation":"5622:28:3","nodeType":"ErrorDefinition","parameters":{"id":521,"nodeType":"ParameterList","parameters":[{"constant":false,"id":518,"mutability":"mutable","name":"operator","nameLocation":"5659:8:3","nodeType":"VariableDeclaration","scope":522,"src":"5651:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":517,"name":"address","nodeType":"ElementaryTypeName","src":"5651:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":520,"mutability":"mutable","name":"owner","nameLocation":"5677:5:3","nodeType":"VariableDeclaration","scope":522,"src":"5669:13:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":519,"name":"address","nodeType":"ElementaryTypeName","src":"5669:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5650:33:3"},"src":"5616:68:3"},{"documentation":{"id":523,"nodeType":"StructuredDocumentation","src":"5690:174:3","text":" @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n @param approver Address initiating an approval operation."},"errorSelector":"3e31884e","id":527,"name":"ERC1155InvalidApprover","nameLocation":"5875:22:3","nodeType":"ErrorDefinition","parameters":{"id":526,"nodeType":"ParameterList","parameters":[{"constant":false,"id":525,"mutability":"mutable","name":"approver","nameLocation":"5906:8:3","nodeType":"VariableDeclaration","scope":527,"src":"5898:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":524,"name":"address","nodeType":"ElementaryTypeName","src":"5898:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5897:18:3"},"src":"5869:47:3"},{"documentation":{"id":528,"nodeType":"StructuredDocumentation","src":"5922:197:3","text":" @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n @param operator Address that may be allowed to operate on tokens without being their owner."},"errorSelector":"ced3e100","id":532,"name":"ERC1155InvalidOperator","nameLocation":"6130:22:3","nodeType":"ErrorDefinition","parameters":{"id":531,"nodeType":"ParameterList","parameters":[{"constant":false,"id":530,"mutability":"mutable","name":"operator","nameLocation":"6161:8:3","nodeType":"VariableDeclaration","scope":532,"src":"6153:16:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":529,"name":"address","nodeType":"ElementaryTypeName","src":"6153:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6152:18:3"},"src":"6124:47:3"},{"documentation":{"id":533,"nodeType":"StructuredDocumentation","src":"6177:280:3","text":" @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n Used in batch transfers.\n @param idsLength Length of the array of token identifiers\n @param valuesLength Length of the array of token amounts"},"errorSelector":"5b059991","id":539,"name":"ERC1155InvalidArrayLength","nameLocation":"6468:25:3","nodeType":"ErrorDefinition","parameters":{"id":538,"nodeType":"ParameterList","parameters":[{"constant":false,"id":535,"mutability":"mutable","name":"idsLength","nameLocation":"6502:9:3","nodeType":"VariableDeclaration","scope":539,"src":"6494:17:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":534,"name":"uint256","nodeType":"ElementaryTypeName","src":"6494:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":537,"mutability":"mutable","name":"valuesLength","nameLocation":"6521:12:3","nodeType":"VariableDeclaration","scope":539,"src":"6513:20:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":536,"name":"uint256","nodeType":"ElementaryTypeName","src":"6513:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6493:41:3"},"src":"6462:73:3"}],"scope":541,"src":"4430:2107:3","usedErrors":[505,510,515,522,527,532,539],"usedEvents":[]}],"src":"112:6426:3"},"id":3},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/ERC20.sol","exportedSymbols":{"Context":[2576],"ERC20":[1055],"IERC20":[1133],"IERC20Errors":[445],"IERC20Metadata":[1313]},"id":1056,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":542,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"105:24:4"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"./IERC20.sol","id":544,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1056,"sourceUnit":1134,"src":"131:36:4","symbolAliases":[{"foreign":{"id":543,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1133,"src":"139:6:4","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","file":"./extensions/IERC20Metadata.sol","id":546,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1056,"sourceUnit":1314,"src":"168:63:4","symbolAliases":[{"foreign":{"id":545,"name":"IERC20Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1313,"src":"176:14:4","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","file":"../../utils/Context.sol","id":548,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1056,"sourceUnit":2577,"src":"232:48:4","symbolAliases":[{"foreign":{"id":547,"name":"Context","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2576,"src":"240:7:4","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/draft-IERC6093.sol","file":"../../interfaces/draft-IERC6093.sol","id":550,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1056,"sourceUnit":541,"src":"281:65:4","symbolAliases":[{"foreign":{"id":549,"name":"IERC20Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":445,"src":"289:12:4","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":552,"name":"Context","nameLocations":["1133:7:4"],"nodeType":"IdentifierPath","referencedDeclaration":2576,"src":"1133:7:4"},"id":553,"nodeType":"InheritanceSpecifier","src":"1133:7:4"},{"baseName":{"id":554,"name":"IERC20","nameLocations":["1142:6:4"],"nodeType":"IdentifierPath","referencedDeclaration":1133,"src":"1142:6:4"},"id":555,"nodeType":"InheritanceSpecifier","src":"1142:6:4"},{"baseName":{"id":556,"name":"IERC20Metadata","nameLocations":["1150:14:4"],"nodeType":"IdentifierPath","referencedDeclaration":1313,"src":"1150:14:4"},"id":557,"nodeType":"InheritanceSpecifier","src":"1150:14:4"},{"baseName":{"id":558,"name":"IERC20Errors","nameLocations":["1166:12:4"],"nodeType":"IdentifierPath","referencedDeclaration":445,"src":"1166:12:4"},"id":559,"nodeType":"InheritanceSpecifier","src":"1166:12:4"}],"canonicalName":"ERC20","contractDependencies":[],"contractKind":"contract","documentation":{"id":551,"nodeType":"StructuredDocumentation","src":"348:757:4","text":" @dev Implementation of the {IERC20} interface.\n This implementation is agnostic to the way tokens are created. This means\n that a supply mechanism has to be added in a derived contract using {_mint}.\n TIP: For a detailed writeup see our guide\n https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n to implement supply mechanisms].\n The default value of {decimals} is 18. To change this, you should override\n this function so it returns a different value.\n We have followed general OpenZeppelin Contracts guidelines: functions revert\n instead returning `false` on failure. This behavior is nonetheless\n conventional and does not conflict with the expectations of ERC-20\n applications."},"fullyImplemented":true,"id":1055,"linearizedBaseContracts":[1055,445,1313,1133,2576],"name":"ERC20","nameLocation":"1124:5:4","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":563,"mutability":"mutable","name":"_balances","nameLocation":"1229:9:4","nodeType":"VariableDeclaration","scope":1055,"src":"1185:53:4","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":562,"keyName":"account","keyNameLocation":"1201:7:4","keyType":{"id":560,"name":"address","nodeType":"ElementaryTypeName","src":"1193:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1185:35:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":561,"name":"uint256","nodeType":"ElementaryTypeName","src":"1212:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"private"},{"constant":false,"id":569,"mutability":"mutable","name":"_allowances","nameLocation":"1317:11:4","nodeType":"VariableDeclaration","scope":1055,"src":"1245:83:4","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"typeName":{"id":568,"keyName":"account","keyNameLocation":"1261:7:4","keyType":{"id":564,"name":"address","nodeType":"ElementaryTypeName","src":"1253:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1245:63:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":567,"keyName":"spender","keyNameLocation":"1288:7:4","keyType":{"id":565,"name":"address","nodeType":"ElementaryTypeName","src":"1280:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1272:35:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":566,"name":"uint256","nodeType":"ElementaryTypeName","src":"1299:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}}},"visibility":"private"},{"constant":false,"id":571,"mutability":"mutable","name":"_totalSupply","nameLocation":"1351:12:4","nodeType":"VariableDeclaration","scope":1055,"src":"1335:28:4","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":570,"name":"uint256","nodeType":"ElementaryTypeName","src":"1335:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"private"},{"constant":false,"id":573,"mutability":"mutable","name":"_name","nameLocation":"1385:5:4","nodeType":"VariableDeclaration","scope":1055,"src":"1370:20:4","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":572,"name":"string","nodeType":"ElementaryTypeName","src":"1370:6:4","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"constant":false,"id":575,"mutability":"mutable","name":"_symbol","nameLocation":"1411:7:4","nodeType":"VariableDeclaration","scope":1055,"src":"1396:22:4","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":574,"name":"string","nodeType":"ElementaryTypeName","src":"1396:6:4","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"body":{"id":591,"nodeType":"Block","src":"1638:57:4","statements":[{"expression":{"id":585,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":583,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":573,"src":"1648:5:4","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":584,"name":"name_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":578,"src":"1656:5:4","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1648:13:4","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":586,"nodeType":"ExpressionStatement","src":"1648:13:4"},{"expression":{"id":589,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":587,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":575,"src":"1671:7:4","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":588,"name":"symbol_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":580,"src":"1681:7:4","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1671:17:4","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":590,"nodeType":"ExpressionStatement","src":"1671:17:4"}]},"documentation":{"id":576,"nodeType":"StructuredDocumentation","src":"1425:152:4","text":" @dev Sets the values for {name} and {symbol}.\n Both values are immutable: they can only be set once during construction."},"id":592,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":581,"nodeType":"ParameterList","parameters":[{"constant":false,"id":578,"mutability":"mutable","name":"name_","nameLocation":"1608:5:4","nodeType":"VariableDeclaration","scope":592,"src":"1594:19:4","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":577,"name":"string","nodeType":"ElementaryTypeName","src":"1594:6:4","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":580,"mutability":"mutable","name":"symbol_","nameLocation":"1629:7:4","nodeType":"VariableDeclaration","scope":592,"src":"1615:21:4","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":579,"name":"string","nodeType":"ElementaryTypeName","src":"1615:6:4","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1593:44:4"},"returnParameters":{"id":582,"nodeType":"ParameterList","parameters":[],"src":"1638:0:4"},"scope":1055,"src":"1582:113:4","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[1300],"body":{"id":600,"nodeType":"Block","src":"1820:29:4","statements":[{"expression":{"id":598,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":573,"src":"1837:5:4","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":597,"id":599,"nodeType":"Return","src":"1830:12:4"}]},"documentation":{"id":593,"nodeType":"StructuredDocumentation","src":"1701:54:4","text":" @dev Returns the name of the token."},"functionSelector":"06fdde03","id":601,"implemented":true,"kind":"function","modifiers":[],"name":"name","nameLocation":"1769:4:4","nodeType":"FunctionDefinition","parameters":{"id":594,"nodeType":"ParameterList","parameters":[],"src":"1773:2:4"},"returnParameters":{"id":597,"nodeType":"ParameterList","parameters":[{"constant":false,"id":596,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":601,"src":"1805:13:4","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":595,"name":"string","nodeType":"ElementaryTypeName","src":"1805:6:4","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1804:15:4"},"scope":1055,"src":"1760:89:4","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1306],"body":{"id":609,"nodeType":"Block","src":"2024:31:4","statements":[{"expression":{"id":607,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":575,"src":"2041:7:4","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":606,"id":608,"nodeType":"Return","src":"2034:14:4"}]},"documentation":{"id":602,"nodeType":"StructuredDocumentation","src":"1855:102:4","text":" @dev Returns the symbol of the token, usually a shorter version of the\n name."},"functionSelector":"95d89b41","id":610,"implemented":true,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"1971:6:4","nodeType":"FunctionDefinition","parameters":{"id":603,"nodeType":"ParameterList","parameters":[],"src":"1977:2:4"},"returnParameters":{"id":606,"nodeType":"ParameterList","parameters":[{"constant":false,"id":605,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":610,"src":"2009:13:4","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":604,"name":"string","nodeType":"ElementaryTypeName","src":"2009:6:4","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2008:15:4"},"scope":1055,"src":"1962:93:4","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1312],"body":{"id":618,"nodeType":"Block","src":"2744:26:4","statements":[{"expression":{"hexValue":"3138","id":616,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2761:2:4","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"18"},"functionReturnParameters":615,"id":617,"nodeType":"Return","src":"2754:9:4"}]},"documentation":{"id":611,"nodeType":"StructuredDocumentation","src":"2061:622:4","text":" @dev Returns the number of decimals used to get its user representation.\n For example, if `decimals` equals `2`, a balance of `505` tokens should\n be displayed to a user as `5.05` (`505 / 10 ** 2`).\n Tokens usually opt for a value of 18, imitating the relationship between\n Ether and Wei. This is the default value returned by this function, unless\n it's overridden.\n NOTE: This information is only used for _display_ purposes: it in\n no way affects any of the arithmetic of the contract, including\n {IERC20-balanceOf} and {IERC20-transfer}."},"functionSelector":"313ce567","id":619,"implemented":true,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"2697:8:4","nodeType":"FunctionDefinition","parameters":{"id":612,"nodeType":"ParameterList","parameters":[],"src":"2705:2:4"},"returnParameters":{"id":615,"nodeType":"ParameterList","parameters":[{"constant":false,"id":614,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":619,"src":"2737:5:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":613,"name":"uint8","nodeType":"ElementaryTypeName","src":"2737:5:4","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"2736:7:4"},"scope":1055,"src":"2688:82:4","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1082],"body":{"id":627,"nodeType":"Block","src":"2891:36:4","statements":[{"expression":{"id":625,"name":"_totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":571,"src":"2908:12:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":624,"id":626,"nodeType":"Return","src":"2901:19:4"}]},"documentation":{"id":620,"nodeType":"StructuredDocumentation","src":"2776:49:4","text":" @dev See {IERC20-totalSupply}."},"functionSelector":"18160ddd","id":628,"implemented":true,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"2839:11:4","nodeType":"FunctionDefinition","parameters":{"id":621,"nodeType":"ParameterList","parameters":[],"src":"2850:2:4"},"returnParameters":{"id":624,"nodeType":"ParameterList","parameters":[{"constant":false,"id":623,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":628,"src":"2882:7:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":622,"name":"uint256","nodeType":"ElementaryTypeName","src":"2882:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2881:9:4"},"scope":1055,"src":"2830:97:4","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1090],"body":{"id":640,"nodeType":"Block","src":"3059:42:4","statements":[{"expression":{"baseExpression":{"id":636,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":563,"src":"3076:9:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":638,"indexExpression":{"id":637,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":631,"src":"3086:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3076:18:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":635,"id":639,"nodeType":"Return","src":"3069:25:4"}]},"documentation":{"id":629,"nodeType":"StructuredDocumentation","src":"2933:47:4","text":" @dev See {IERC20-balanceOf}."},"functionSelector":"70a08231","id":641,"implemented":true,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"2994:9:4","nodeType":"FunctionDefinition","parameters":{"id":632,"nodeType":"ParameterList","parameters":[{"constant":false,"id":631,"mutability":"mutable","name":"account","nameLocation":"3012:7:4","nodeType":"VariableDeclaration","scope":641,"src":"3004:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":630,"name":"address","nodeType":"ElementaryTypeName","src":"3004:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3003:17:4"},"returnParameters":{"id":635,"nodeType":"ParameterList","parameters":[{"constant":false,"id":634,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":641,"src":"3050:7:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":633,"name":"uint256","nodeType":"ElementaryTypeName","src":"3050:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3049:9:4"},"scope":1055,"src":"2985:116:4","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1100],"body":{"id":664,"nodeType":"Block","src":"3371:103:4","statements":[{"assignments":[652],"declarations":[{"constant":false,"id":652,"mutability":"mutable","name":"owner","nameLocation":"3389:5:4","nodeType":"VariableDeclaration","scope":664,"src":"3381:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":651,"name":"address","nodeType":"ElementaryTypeName","src":"3381:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":655,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":653,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"3397:10:4","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":654,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3397:12:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"3381:28:4"},{"expression":{"arguments":[{"id":657,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"3429:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":658,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":644,"src":"3436:2:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":659,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":646,"src":"3440:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":656,"name":"_transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":785,"src":"3419:9:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":660,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3419:27:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":661,"nodeType":"ExpressionStatement","src":"3419:27:4"},{"expression":{"hexValue":"74727565","id":662,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3463:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":650,"id":663,"nodeType":"Return","src":"3456:11:4"}]},"documentation":{"id":642,"nodeType":"StructuredDocumentation","src":"3107:184:4","text":" @dev See {IERC20-transfer}.\n Requirements:\n - `to` cannot be the zero address.\n - the caller must have a balance of at least `value`."},"functionSelector":"a9059cbb","id":665,"implemented":true,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"3305:8:4","nodeType":"FunctionDefinition","parameters":{"id":647,"nodeType":"ParameterList","parameters":[{"constant":false,"id":644,"mutability":"mutable","name":"to","nameLocation":"3322:2:4","nodeType":"VariableDeclaration","scope":665,"src":"3314:10:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":643,"name":"address","nodeType":"ElementaryTypeName","src":"3314:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":646,"mutability":"mutable","name":"value","nameLocation":"3334:5:4","nodeType":"VariableDeclaration","scope":665,"src":"3326:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":645,"name":"uint256","nodeType":"ElementaryTypeName","src":"3326:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3313:27:4"},"returnParameters":{"id":650,"nodeType":"ParameterList","parameters":[{"constant":false,"id":649,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":665,"src":"3365:4:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":648,"name":"bool","nodeType":"ElementaryTypeName","src":"3365:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3364:6:4"},"scope":1055,"src":"3296:178:4","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1110],"body":{"id":681,"nodeType":"Block","src":"3621:51:4","statements":[{"expression":{"baseExpression":{"baseExpression":{"id":675,"name":"_allowances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":569,"src":"3638:11:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":677,"indexExpression":{"id":676,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":668,"src":"3650:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3638:18:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":679,"indexExpression":{"id":678,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":670,"src":"3657:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3638:27:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":674,"id":680,"nodeType":"Return","src":"3631:34:4"}]},"documentation":{"id":666,"nodeType":"StructuredDocumentation","src":"3480:47:4","text":" @dev See {IERC20-allowance}."},"functionSelector":"dd62ed3e","id":682,"implemented":true,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"3541:9:4","nodeType":"FunctionDefinition","parameters":{"id":671,"nodeType":"ParameterList","parameters":[{"constant":false,"id":668,"mutability":"mutable","name":"owner","nameLocation":"3559:5:4","nodeType":"VariableDeclaration","scope":682,"src":"3551:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":667,"name":"address","nodeType":"ElementaryTypeName","src":"3551:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":670,"mutability":"mutable","name":"spender","nameLocation":"3574:7:4","nodeType":"VariableDeclaration","scope":682,"src":"3566:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":669,"name":"address","nodeType":"ElementaryTypeName","src":"3566:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3550:32:4"},"returnParameters":{"id":674,"nodeType":"ParameterList","parameters":[{"constant":false,"id":673,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":682,"src":"3612:7:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":672,"name":"uint256","nodeType":"ElementaryTypeName","src":"3612:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3611:9:4"},"scope":1055,"src":"3532:140:4","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1120],"body":{"id":705,"nodeType":"Block","src":"4058:107:4","statements":[{"assignments":[693],"declarations":[{"constant":false,"id":693,"mutability":"mutable","name":"owner","nameLocation":"4076:5:4","nodeType":"VariableDeclaration","scope":705,"src":"4068:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":692,"name":"address","nodeType":"ElementaryTypeName","src":"4068:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":696,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":694,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"4084:10:4","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":695,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4084:12:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4068:28:4"},{"expression":{"arguments":[{"id":698,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":693,"src":"4115:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":699,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":685,"src":"4122:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":700,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":687,"src":"4131:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":697,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[946,1006],"referencedDeclaration":946,"src":"4106:8:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":701,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4106:31:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":702,"nodeType":"ExpressionStatement","src":"4106:31:4"},{"expression":{"hexValue":"74727565","id":703,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4154:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":691,"id":704,"nodeType":"Return","src":"4147:11:4"}]},"documentation":{"id":683,"nodeType":"StructuredDocumentation","src":"3678:296:4","text":" @dev See {IERC20-approve}.\n NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n `transferFrom`. This is semantically equivalent to an infinite approval.\n Requirements:\n - `spender` cannot be the zero address."},"functionSelector":"095ea7b3","id":706,"implemented":true,"kind":"function","modifiers":[],"name":"approve","nameLocation":"3988:7:4","nodeType":"FunctionDefinition","parameters":{"id":688,"nodeType":"ParameterList","parameters":[{"constant":false,"id":685,"mutability":"mutable","name":"spender","nameLocation":"4004:7:4","nodeType":"VariableDeclaration","scope":706,"src":"3996:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":684,"name":"address","nodeType":"ElementaryTypeName","src":"3996:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":687,"mutability":"mutable","name":"value","nameLocation":"4021:5:4","nodeType":"VariableDeclaration","scope":706,"src":"4013:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":686,"name":"uint256","nodeType":"ElementaryTypeName","src":"4013:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3995:32:4"},"returnParameters":{"id":691,"nodeType":"ParameterList","parameters":[{"constant":false,"id":690,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":706,"src":"4052:4:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":689,"name":"bool","nodeType":"ElementaryTypeName","src":"4052:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4051:6:4"},"scope":1055,"src":"3979:186:4","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1132],"body":{"id":737,"nodeType":"Block","src":"4850:151:4","statements":[{"assignments":[719],"declarations":[{"constant":false,"id":719,"mutability":"mutable","name":"spender","nameLocation":"4868:7:4","nodeType":"VariableDeclaration","scope":737,"src":"4860:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":718,"name":"address","nodeType":"ElementaryTypeName","src":"4860:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":722,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":720,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"4878:10:4","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":721,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4878:12:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4860:30:4"},{"expression":{"arguments":[{"id":724,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":709,"src":"4916:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":725,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":719,"src":"4922:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":726,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":713,"src":"4931:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":723,"name":"_spendAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1054,"src":"4900:15:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":727,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4900:37:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":728,"nodeType":"ExpressionStatement","src":"4900:37:4"},{"expression":{"arguments":[{"id":730,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":709,"src":"4957:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":731,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":711,"src":"4963:2:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":732,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":713,"src":"4967:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":729,"name":"_transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":785,"src":"4947:9:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":733,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4947:26:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":734,"nodeType":"ExpressionStatement","src":"4947:26:4"},{"expression":{"hexValue":"74727565","id":735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4990:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":717,"id":736,"nodeType":"Return","src":"4983:11:4"}]},"documentation":{"id":707,"nodeType":"StructuredDocumentation","src":"4171:581:4","text":" @dev See {IERC20-transferFrom}.\n Skips emitting an {Approval} event indicating an allowance update. This is not\n required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n NOTE: Does not update the allowance if the current allowance\n is the maximum `uint256`.\n Requirements:\n - `from` and `to` cannot be the zero address.\n - `from` must have a balance of at least `value`.\n - the caller must have allowance for ``from``'s tokens of at least\n `value`."},"functionSelector":"23b872dd","id":738,"implemented":true,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"4766:12:4","nodeType":"FunctionDefinition","parameters":{"id":714,"nodeType":"ParameterList","parameters":[{"constant":false,"id":709,"mutability":"mutable","name":"from","nameLocation":"4787:4:4","nodeType":"VariableDeclaration","scope":738,"src":"4779:12:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":708,"name":"address","nodeType":"ElementaryTypeName","src":"4779:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":711,"mutability":"mutable","name":"to","nameLocation":"4801:2:4","nodeType":"VariableDeclaration","scope":738,"src":"4793:10:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":710,"name":"address","nodeType":"ElementaryTypeName","src":"4793:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":713,"mutability":"mutable","name":"value","nameLocation":"4813:5:4","nodeType":"VariableDeclaration","scope":738,"src":"4805:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":712,"name":"uint256","nodeType":"ElementaryTypeName","src":"4805:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4778:41:4"},"returnParameters":{"id":717,"nodeType":"ParameterList","parameters":[{"constant":false,"id":716,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":738,"src":"4844:4:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":715,"name":"bool","nodeType":"ElementaryTypeName","src":"4844:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4843:6:4"},"scope":1055,"src":"4757:244:4","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":784,"nodeType":"Block","src":"5443:231:4","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":753,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":748,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":741,"src":"5457:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":751,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5473:1:4","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":750,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5465:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":749,"name":"address","nodeType":"ElementaryTypeName","src":"5465:7:4","typeDescriptions":{}}},"id":752,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5465:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5457:18:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":762,"nodeType":"IfStatement","src":"5453:86:4","trueBody":{"id":761,"nodeType":"Block","src":"5477:62:4","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":757,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5525:1:4","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":756,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5517:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":755,"name":"address","nodeType":"ElementaryTypeName","src":"5517:7:4","typeDescriptions":{}}},"id":758,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5517:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":754,"name":"ERC20InvalidSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":420,"src":"5498:18:4","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":759,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5498:30:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":760,"nodeType":"RevertStatement","src":"5491:37:4"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":768,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":763,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":743,"src":"5552:2:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":766,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5566:1:4","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":765,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5558:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":764,"name":"address","nodeType":"ElementaryTypeName","src":"5558:7:4","typeDescriptions":{}}},"id":767,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5558:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5552:16:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":777,"nodeType":"IfStatement","src":"5548:86:4","trueBody":{"id":776,"nodeType":"Block","src":"5570:64:4","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":772,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5620:1:4","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":771,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5612:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":770,"name":"address","nodeType":"ElementaryTypeName","src":"5612:7:4","typeDescriptions":{}}},"id":773,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5612:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":769,"name":"ERC20InvalidReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":425,"src":"5591:20:4","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":774,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5591:32:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":775,"nodeType":"RevertStatement","src":"5584:39:4"}]}},{"expression":{"arguments":[{"id":779,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":741,"src":"5651:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":780,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":743,"src":"5657:2:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":781,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":745,"src":"5661:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":778,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":862,"src":"5643:7:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":782,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5643:24:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":783,"nodeType":"ExpressionStatement","src":"5643:24:4"}]},"documentation":{"id":739,"nodeType":"StructuredDocumentation","src":"5007:362:4","text":" @dev Moves a `value` amount of tokens from `from` to `to`.\n This internal function is equivalent to {transfer}, and can be used to\n e.g. implement automatic token fees, slashing mechanisms, etc.\n Emits a {Transfer} event.\n NOTE: This function is not virtual, {_update} should be overridden instead."},"id":785,"implemented":true,"kind":"function","modifiers":[],"name":"_transfer","nameLocation":"5383:9:4","nodeType":"FunctionDefinition","parameters":{"id":746,"nodeType":"ParameterList","parameters":[{"constant":false,"id":741,"mutability":"mutable","name":"from","nameLocation":"5401:4:4","nodeType":"VariableDeclaration","scope":785,"src":"5393:12:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":740,"name":"address","nodeType":"ElementaryTypeName","src":"5393:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":743,"mutability":"mutable","name":"to","nameLocation":"5415:2:4","nodeType":"VariableDeclaration","scope":785,"src":"5407:10:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":742,"name":"address","nodeType":"ElementaryTypeName","src":"5407:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":745,"mutability":"mutable","name":"value","nameLocation":"5427:5:4","nodeType":"VariableDeclaration","scope":785,"src":"5419:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":744,"name":"uint256","nodeType":"ElementaryTypeName","src":"5419:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5392:41:4"},"returnParameters":{"id":747,"nodeType":"ParameterList","parameters":[],"src":"5443:0:4"},"scope":1055,"src":"5374:300:4","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":861,"nodeType":"Block","src":"6064:1032:4","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":795,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":788,"src":"6078:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":798,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6094:1:4","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":797,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6086:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":796,"name":"address","nodeType":"ElementaryTypeName","src":"6086:7:4","typeDescriptions":{}}},"id":799,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6086:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6078:18:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":832,"nodeType":"Block","src":"6252:362:4","statements":[{"assignments":[807],"declarations":[{"constant":false,"id":807,"mutability":"mutable","name":"fromBalance","nameLocation":"6274:11:4","nodeType":"VariableDeclaration","scope":832,"src":"6266:19:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":806,"name":"uint256","nodeType":"ElementaryTypeName","src":"6266:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":811,"initialValue":{"baseExpression":{"id":808,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":563,"src":"6288:9:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":810,"indexExpression":{"id":809,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":788,"src":"6298:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6288:15:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6266:37:4"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":814,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":812,"name":"fromBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":807,"src":"6321:11:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":813,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":792,"src":"6335:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6321:19:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":822,"nodeType":"IfStatement","src":"6317:115:4","trueBody":{"id":821,"nodeType":"Block","src":"6342:90:4","statements":[{"errorCall":{"arguments":[{"id":816,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":788,"src":"6392:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":817,"name":"fromBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":807,"src":"6398:11:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":818,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":792,"src":"6411:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":815,"name":"ERC20InsufficientBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":415,"src":"6367:24:4","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (address,uint256,uint256) pure returns (error)"}},"id":819,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6367:50:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":820,"nodeType":"RevertStatement","src":"6360:57:4"}]}},{"id":831,"nodeType":"UncheckedBlock","src":"6445:159:4","statements":[{"expression":{"id":829,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":823,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":563,"src":"6552:9:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":825,"indexExpression":{"id":824,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":788,"src":"6562:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6552:15:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":828,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":826,"name":"fromBalance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":807,"src":"6570:11:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":827,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":792,"src":"6584:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6570:19:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6552:37:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":830,"nodeType":"ExpressionStatement","src":"6552:37:4"}]}]},"id":833,"nodeType":"IfStatement","src":"6074:540:4","trueBody":{"id":805,"nodeType":"Block","src":"6098:148:4","statements":[{"expression":{"id":803,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":801,"name":"_totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":571,"src":"6214:12:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":802,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":792,"src":"6230:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6214:21:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":804,"nodeType":"ExpressionStatement","src":"6214:21:4"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":839,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":834,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":790,"src":"6628:2:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":837,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6642:1:4","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":836,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6634:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":835,"name":"address","nodeType":"ElementaryTypeName","src":"6634:7:4","typeDescriptions":{}}},"id":838,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6634:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6628:16:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":853,"nodeType":"Block","src":"6843:206:4","statements":[{"id":852,"nodeType":"UncheckedBlock","src":"6857:182:4","statements":[{"expression":{"id":850,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":846,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":563,"src":"7002:9:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":848,"indexExpression":{"id":847,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":790,"src":"7012:2:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7002:13:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":849,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":792,"src":"7019:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7002:22:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":851,"nodeType":"ExpressionStatement","src":"7002:22:4"}]}]},"id":854,"nodeType":"IfStatement","src":"6624:425:4","trueBody":{"id":845,"nodeType":"Block","src":"6646:191:4","statements":[{"id":844,"nodeType":"UncheckedBlock","src":"6660:167:4","statements":[{"expression":{"id":842,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":840,"name":"_totalSupply","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":571,"src":"6791:12:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"id":841,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":792,"src":"6807:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6791:21:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":843,"nodeType":"ExpressionStatement","src":"6791:21:4"}]}]}},{"eventCall":{"arguments":[{"id":856,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":788,"src":"7073:4:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":857,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":790,"src":"7079:2:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":858,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":792,"src":"7083:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":855,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1067,"src":"7064:8:4","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":859,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7064:25:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":860,"nodeType":"EmitStatement","src":"7059:30:4"}]},"documentation":{"id":786,"nodeType":"StructuredDocumentation","src":"5680:304:4","text":" @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n this function.\n Emits a {Transfer} event."},"id":862,"implemented":true,"kind":"function","modifiers":[],"name":"_update","nameLocation":"5998:7:4","nodeType":"FunctionDefinition","parameters":{"id":793,"nodeType":"ParameterList","parameters":[{"constant":false,"id":788,"mutability":"mutable","name":"from","nameLocation":"6014:4:4","nodeType":"VariableDeclaration","scope":862,"src":"6006:12:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":787,"name":"address","nodeType":"ElementaryTypeName","src":"6006:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":790,"mutability":"mutable","name":"to","nameLocation":"6028:2:4","nodeType":"VariableDeclaration","scope":862,"src":"6020:10:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":789,"name":"address","nodeType":"ElementaryTypeName","src":"6020:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":792,"mutability":"mutable","name":"value","nameLocation":"6040:5:4","nodeType":"VariableDeclaration","scope":862,"src":"6032:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":791,"name":"uint256","nodeType":"ElementaryTypeName","src":"6032:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6005:41:4"},"returnParameters":{"id":794,"nodeType":"ParameterList","parameters":[],"src":"6064:0:4"},"scope":1055,"src":"5989:1107:4","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":894,"nodeType":"Block","src":"7495:152:4","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":870,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":865,"src":"7509:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":873,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7528:1:4","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":872,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7520:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":871,"name":"address","nodeType":"ElementaryTypeName","src":"7520:7:4","typeDescriptions":{}}},"id":874,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7520:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7509:21:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":884,"nodeType":"IfStatement","src":"7505:91:4","trueBody":{"id":883,"nodeType":"Block","src":"7532:64:4","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":879,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7582:1:4","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":878,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7574:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":877,"name":"address","nodeType":"ElementaryTypeName","src":"7574:7:4","typeDescriptions":{}}},"id":880,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7574:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":876,"name":"ERC20InvalidReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":425,"src":"7553:20:4","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":881,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7553:32:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":882,"nodeType":"RevertStatement","src":"7546:39:4"}]}},{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":888,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7621:1:4","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":887,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7613:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":886,"name":"address","nodeType":"ElementaryTypeName","src":"7613:7:4","typeDescriptions":{}}},"id":889,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7613:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":890,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":865,"src":"7625:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":891,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":867,"src":"7634:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":885,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":862,"src":"7605:7:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":892,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7605:35:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":893,"nodeType":"ExpressionStatement","src":"7605:35:4"}]},"documentation":{"id":863,"nodeType":"StructuredDocumentation","src":"7102:332:4","text":" @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n Relies on the `_update` mechanism\n Emits a {Transfer} event with `from` set to the zero address.\n NOTE: This function is not virtual, {_update} should be overridden instead."},"id":895,"implemented":true,"kind":"function","modifiers":[],"name":"_mint","nameLocation":"7448:5:4","nodeType":"FunctionDefinition","parameters":{"id":868,"nodeType":"ParameterList","parameters":[{"constant":false,"id":865,"mutability":"mutable","name":"account","nameLocation":"7462:7:4","nodeType":"VariableDeclaration","scope":895,"src":"7454:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":864,"name":"address","nodeType":"ElementaryTypeName","src":"7454:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":867,"mutability":"mutable","name":"value","nameLocation":"7479:5:4","nodeType":"VariableDeclaration","scope":895,"src":"7471:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":866,"name":"uint256","nodeType":"ElementaryTypeName","src":"7471:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7453:32:4"},"returnParameters":{"id":869,"nodeType":"ParameterList","parameters":[],"src":"7495:0:4"},"scope":1055,"src":"7439:208:4","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":927,"nodeType":"Block","src":"8021:150:4","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":908,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":903,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":898,"src":"8035:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":906,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8054:1:4","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":905,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8046:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":904,"name":"address","nodeType":"ElementaryTypeName","src":"8046:7:4","typeDescriptions":{}}},"id":907,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8046:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8035:21:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":917,"nodeType":"IfStatement","src":"8031:89:4","trueBody":{"id":916,"nodeType":"Block","src":"8058:62:4","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":912,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8106:1:4","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":911,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8098:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":910,"name":"address","nodeType":"ElementaryTypeName","src":"8098:7:4","typeDescriptions":{}}},"id":913,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8098:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":909,"name":"ERC20InvalidSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":420,"src":"8079:18:4","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":914,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8079:30:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":915,"nodeType":"RevertStatement","src":"8072:37:4"}]}},{"expression":{"arguments":[{"id":919,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":898,"src":"8137:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":922,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8154:1:4","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":921,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8146:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":920,"name":"address","nodeType":"ElementaryTypeName","src":"8146:7:4","typeDescriptions":{}}},"id":923,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8146:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":924,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":900,"src":"8158:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":918,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":862,"src":"8129:7:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":925,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8129:35:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":926,"nodeType":"ExpressionStatement","src":"8129:35:4"}]},"documentation":{"id":896,"nodeType":"StructuredDocumentation","src":"7653:307:4","text":" @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n Relies on the `_update` mechanism.\n Emits a {Transfer} event with `to` set to the zero address.\n NOTE: This function is not virtual, {_update} should be overridden instead"},"id":928,"implemented":true,"kind":"function","modifiers":[],"name":"_burn","nameLocation":"7974:5:4","nodeType":"FunctionDefinition","parameters":{"id":901,"nodeType":"ParameterList","parameters":[{"constant":false,"id":898,"mutability":"mutable","name":"account","nameLocation":"7988:7:4","nodeType":"VariableDeclaration","scope":928,"src":"7980:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":897,"name":"address","nodeType":"ElementaryTypeName","src":"7980:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":900,"mutability":"mutable","name":"value","nameLocation":"8005:5:4","nodeType":"VariableDeclaration","scope":928,"src":"7997:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":899,"name":"uint256","nodeType":"ElementaryTypeName","src":"7997:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7979:32:4"},"returnParameters":{"id":902,"nodeType":"ParameterList","parameters":[],"src":"8021:0:4"},"scope":1055,"src":"7965:206:4","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":945,"nodeType":"Block","src":"8781:54:4","statements":[{"expression":{"arguments":[{"id":939,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":931,"src":"8800:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":940,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":933,"src":"8807:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":941,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":935,"src":"8816:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"74727565","id":942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"8823:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":938,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[946,1006],"referencedDeclaration":1006,"src":"8791:8:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$","typeString":"function (address,address,uint256,bool)"}},"id":943,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8791:37:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":944,"nodeType":"ExpressionStatement","src":"8791:37:4"}]},"documentation":{"id":929,"nodeType":"StructuredDocumentation","src":"8177:525:4","text":" @dev Sets `value` as the allowance of `spender` over the `owner`'s tokens.\n This internal function is equivalent to `approve`, and can be used to\n e.g. set automatic allowances for certain subsystems, etc.\n Emits an {Approval} event.\n Requirements:\n - `owner` cannot be the zero address.\n - `spender` cannot be the zero address.\n Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument."},"id":946,"implemented":true,"kind":"function","modifiers":[],"name":"_approve","nameLocation":"8716:8:4","nodeType":"FunctionDefinition","parameters":{"id":936,"nodeType":"ParameterList","parameters":[{"constant":false,"id":931,"mutability":"mutable","name":"owner","nameLocation":"8733:5:4","nodeType":"VariableDeclaration","scope":946,"src":"8725:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":930,"name":"address","nodeType":"ElementaryTypeName","src":"8725:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":933,"mutability":"mutable","name":"spender","nameLocation":"8748:7:4","nodeType":"VariableDeclaration","scope":946,"src":"8740:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":932,"name":"address","nodeType":"ElementaryTypeName","src":"8740:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":935,"mutability":"mutable","name":"value","nameLocation":"8765:5:4","nodeType":"VariableDeclaration","scope":946,"src":"8757:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":934,"name":"uint256","nodeType":"ElementaryTypeName","src":"8757:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8724:47:4"},"returnParameters":{"id":937,"nodeType":"ParameterList","parameters":[],"src":"8781:0:4"},"scope":1055,"src":"8707:128:4","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1005,"nodeType":"Block","src":"9780:334:4","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":963,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":958,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":949,"src":"9794:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":961,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9811:1:4","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":960,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9803:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":959,"name":"address","nodeType":"ElementaryTypeName","src":"9803:7:4","typeDescriptions":{}}},"id":962,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9803:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9794:19:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":972,"nodeType":"IfStatement","src":"9790:89:4","trueBody":{"id":971,"nodeType":"Block","src":"9815:64:4","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":967,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9865:1:4","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":966,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9857:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":965,"name":"address","nodeType":"ElementaryTypeName","src":"9857:7:4","typeDescriptions":{}}},"id":968,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9857:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":964,"name":"ERC20InvalidApprover","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":439,"src":"9836:20:4","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":969,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9836:32:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":970,"nodeType":"RevertStatement","src":"9829:39:4"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":978,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":973,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":951,"src":"9892:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":976,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9911:1:4","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":975,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9903:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":974,"name":"address","nodeType":"ElementaryTypeName","src":"9903:7:4","typeDescriptions":{}}},"id":977,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9903:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9892:21:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":987,"nodeType":"IfStatement","src":"9888:90:4","trueBody":{"id":986,"nodeType":"Block","src":"9915:63:4","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":982,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9964:1:4","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":981,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9956:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":980,"name":"address","nodeType":"ElementaryTypeName","src":"9956:7:4","typeDescriptions":{}}},"id":983,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9956:10:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":979,"name":"ERC20InvalidSpender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":444,"src":"9936:19:4","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":984,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9936:31:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":985,"nodeType":"RevertStatement","src":"9929:38:4"}]}},{"expression":{"id":994,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":988,"name":"_allowances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":569,"src":"9987:11:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$","typeString":"mapping(address => mapping(address => uint256))"}},"id":991,"indexExpression":{"id":989,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":949,"src":"9999:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"9987:18:4","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":992,"indexExpression":{"id":990,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":951,"src":"10006:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9987:27:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":993,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":953,"src":"10017:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9987:35:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":995,"nodeType":"ExpressionStatement","src":"9987:35:4"},{"condition":{"id":996,"name":"emitEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":955,"src":"10036:9:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1004,"nodeType":"IfStatement","src":"10032:76:4","trueBody":{"id":1003,"nodeType":"Block","src":"10047:61:4","statements":[{"eventCall":{"arguments":[{"id":998,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":949,"src":"10075:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":999,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":951,"src":"10082:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1000,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":953,"src":"10091:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":997,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1076,"src":"10066:8:4","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1001,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10066:31:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1002,"nodeType":"EmitStatement","src":"10061:36:4"}]}}]},"documentation":{"id":947,"nodeType":"StructuredDocumentation","src":"8841:836:4","text":" @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n `Approval` event during `transferFrom` operations.\n Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n true using the following override:\n ```solidity\n function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n super._approve(owner, spender, value, true);\n }\n ```\n Requirements are the same as {_approve}."},"id":1006,"implemented":true,"kind":"function","modifiers":[],"name":"_approve","nameLocation":"9691:8:4","nodeType":"FunctionDefinition","parameters":{"id":956,"nodeType":"ParameterList","parameters":[{"constant":false,"id":949,"mutability":"mutable","name":"owner","nameLocation":"9708:5:4","nodeType":"VariableDeclaration","scope":1006,"src":"9700:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":948,"name":"address","nodeType":"ElementaryTypeName","src":"9700:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":951,"mutability":"mutable","name":"spender","nameLocation":"9723:7:4","nodeType":"VariableDeclaration","scope":1006,"src":"9715:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":950,"name":"address","nodeType":"ElementaryTypeName","src":"9715:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":953,"mutability":"mutable","name":"value","nameLocation":"9740:5:4","nodeType":"VariableDeclaration","scope":1006,"src":"9732:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":952,"name":"uint256","nodeType":"ElementaryTypeName","src":"9732:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":955,"mutability":"mutable","name":"emitEvent","nameLocation":"9752:9:4","nodeType":"VariableDeclaration","scope":1006,"src":"9747:14:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":954,"name":"bool","nodeType":"ElementaryTypeName","src":"9747:4:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"9699:63:4"},"returnParameters":{"id":957,"nodeType":"ParameterList","parameters":[],"src":"9780:0:4"},"scope":1055,"src":"9682:432:4","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1053,"nodeType":"Block","src":"10485:387:4","statements":[{"assignments":[1017],"declarations":[{"constant":false,"id":1017,"mutability":"mutable","name":"currentAllowance","nameLocation":"10503:16:4","nodeType":"VariableDeclaration","scope":1053,"src":"10495:24:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1016,"name":"uint256","nodeType":"ElementaryTypeName","src":"10495:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1022,"initialValue":{"arguments":[{"id":1019,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1009,"src":"10532:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1020,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1011,"src":"10539:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1018,"name":"allowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":682,"src":"10522:9:4","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$returns$_t_uint256_$","typeString":"function (address,address) view returns (uint256)"}},"id":1021,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10522:25:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"10495:52:4"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1023,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1017,"src":"10561:16:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"arguments":[{"id":1026,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10585:7:4","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1025,"name":"uint256","nodeType":"ElementaryTypeName","src":"10585:7:4","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":1024,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"10580:4:4","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":1027,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10580:13:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":1028,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10594:3:4","memberName":"max","nodeType":"MemberAccess","src":"10580:17:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10561:36:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1052,"nodeType":"IfStatement","src":"10557:309:4","trueBody":{"id":1051,"nodeType":"Block","src":"10599:267:4","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1032,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1030,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1017,"src":"10617:16:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":1031,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1013,"src":"10636:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10617:24:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1040,"nodeType":"IfStatement","src":"10613:130:4","trueBody":{"id":1039,"nodeType":"Block","src":"10643:100:4","statements":[{"errorCall":{"arguments":[{"id":1034,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1011,"src":"10695:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1035,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1017,"src":"10704:16:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1036,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1013,"src":"10722:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1033,"name":"ERC20InsufficientAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":434,"src":"10668:26:4","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (address,uint256,uint256) pure returns (error)"}},"id":1037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10668:60:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1038,"nodeType":"RevertStatement","src":"10661:67:4"}]}},{"id":1050,"nodeType":"UncheckedBlock","src":"10756:100:4","statements":[{"expression":{"arguments":[{"id":1042,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1009,"src":"10793:5:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1043,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1011,"src":"10800:7:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1046,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1044,"name":"currentAllowance","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1017,"src":"10809:16:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":1045,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1013,"src":"10828:5:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10809:24:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"66616c7365","id":1047,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"10835:5:4","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1041,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[946,1006],"referencedDeclaration":1006,"src":"10784:8:4","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bool_$returns$__$","typeString":"function (address,address,uint256,bool)"}},"id":1048,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10784:57:4","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1049,"nodeType":"ExpressionStatement","src":"10784:57:4"}]}]}}]},"documentation":{"id":1007,"nodeType":"StructuredDocumentation","src":"10120:271:4","text":" @dev Updates `owner`'s allowance for `spender` based on spent `value`.\n Does not update the allowance value in case of infinite allowance.\n Revert if not enough allowance is available.\n Does not emit an {Approval} event."},"id":1054,"implemented":true,"kind":"function","modifiers":[],"name":"_spendAllowance","nameLocation":"10405:15:4","nodeType":"FunctionDefinition","parameters":{"id":1014,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1009,"mutability":"mutable","name":"owner","nameLocation":"10429:5:4","nodeType":"VariableDeclaration","scope":1054,"src":"10421:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1008,"name":"address","nodeType":"ElementaryTypeName","src":"10421:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1011,"mutability":"mutable","name":"spender","nameLocation":"10444:7:4","nodeType":"VariableDeclaration","scope":1054,"src":"10436:15:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1010,"name":"address","nodeType":"ElementaryTypeName","src":"10436:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1013,"mutability":"mutable","name":"value","nameLocation":"10461:5:4","nodeType":"VariableDeclaration","scope":1054,"src":"10453:13:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1012,"name":"uint256","nodeType":"ElementaryTypeName","src":"10453:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10420:47:4"},"returnParameters":{"id":1015,"nodeType":"ParameterList","parameters":[],"src":"10485:0:4"},"scope":1055,"src":"10396:476:4","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":1056,"src":"1106:9768:4","usedErrors":[415,420,425,434,439,444],"usedEvents":[1067,1076]}],"src":"105:10770:4"},"id":4},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","exportedSymbols":{"IERC20":[1133]},"id":1134,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1057,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"106:24:5"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC20","contractDependencies":[],"contractKind":"interface","documentation":{"id":1058,"nodeType":"StructuredDocumentation","src":"132:71:5","text":" @dev Interface of the ERC-20 standard as defined in the ERC."},"fullyImplemented":false,"id":1133,"linearizedBaseContracts":[1133],"name":"IERC20","nameLocation":"214:6:5","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":1059,"nodeType":"StructuredDocumentation","src":"227:158:5","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":1067,"name":"Transfer","nameLocation":"396:8:5","nodeType":"EventDefinition","parameters":{"id":1066,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1061,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"421:4:5","nodeType":"VariableDeclaration","scope":1067,"src":"405:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1060,"name":"address","nodeType":"ElementaryTypeName","src":"405:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1063,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"443:2:5","nodeType":"VariableDeclaration","scope":1067,"src":"427:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1062,"name":"address","nodeType":"ElementaryTypeName","src":"427:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1065,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"455:5:5","nodeType":"VariableDeclaration","scope":1067,"src":"447:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1064,"name":"uint256","nodeType":"ElementaryTypeName","src":"447:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"404:57:5"},"src":"390:72:5"},{"anonymous":false,"documentation":{"id":1068,"nodeType":"StructuredDocumentation","src":"468:148:5","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":1076,"name":"Approval","nameLocation":"627:8:5","nodeType":"EventDefinition","parameters":{"id":1075,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1070,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"652:5:5","nodeType":"VariableDeclaration","scope":1076,"src":"636:21:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1069,"name":"address","nodeType":"ElementaryTypeName","src":"636:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1072,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"675:7:5","nodeType":"VariableDeclaration","scope":1076,"src":"659:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1071,"name":"address","nodeType":"ElementaryTypeName","src":"659:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1074,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"692:5:5","nodeType":"VariableDeclaration","scope":1076,"src":"684:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1073,"name":"uint256","nodeType":"ElementaryTypeName","src":"684:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"635:63:5"},"src":"621:78:5"},{"documentation":{"id":1077,"nodeType":"StructuredDocumentation","src":"705:65:5","text":" @dev Returns the value of tokens in existence."},"functionSelector":"18160ddd","id":1082,"implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"784:11:5","nodeType":"FunctionDefinition","parameters":{"id":1078,"nodeType":"ParameterList","parameters":[],"src":"795:2:5"},"returnParameters":{"id":1081,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1080,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1082,"src":"821:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1079,"name":"uint256","nodeType":"ElementaryTypeName","src":"821:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"820:9:5"},"scope":1133,"src":"775:55:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1083,"nodeType":"StructuredDocumentation","src":"836:71:5","text":" @dev Returns the value of tokens owned by `account`."},"functionSelector":"70a08231","id":1090,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"921:9:5","nodeType":"FunctionDefinition","parameters":{"id":1086,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1085,"mutability":"mutable","name":"account","nameLocation":"939:7:5","nodeType":"VariableDeclaration","scope":1090,"src":"931:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1084,"name":"address","nodeType":"ElementaryTypeName","src":"931:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"930:17:5"},"returnParameters":{"id":1089,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1088,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1090,"src":"971:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1087,"name":"uint256","nodeType":"ElementaryTypeName","src":"971:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"970:9:5"},"scope":1133,"src":"912:68:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1091,"nodeType":"StructuredDocumentation","src":"986:213:5","text":" @dev Moves a `value` amount of tokens from the caller's account to `to`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event."},"functionSelector":"a9059cbb","id":1100,"implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"1213:8:5","nodeType":"FunctionDefinition","parameters":{"id":1096,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1093,"mutability":"mutable","name":"to","nameLocation":"1230:2:5","nodeType":"VariableDeclaration","scope":1100,"src":"1222:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1092,"name":"address","nodeType":"ElementaryTypeName","src":"1222:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1095,"mutability":"mutable","name":"value","nameLocation":"1242:5:5","nodeType":"VariableDeclaration","scope":1100,"src":"1234:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1094,"name":"uint256","nodeType":"ElementaryTypeName","src":"1234:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1221:27:5"},"returnParameters":{"id":1099,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1098,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1100,"src":"1267:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1097,"name":"bool","nodeType":"ElementaryTypeName","src":"1267:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1266:6:5"},"scope":1133,"src":"1204:69:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1101,"nodeType":"StructuredDocumentation","src":"1279:264:5","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":1110,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"1557:9:5","nodeType":"FunctionDefinition","parameters":{"id":1106,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1103,"mutability":"mutable","name":"owner","nameLocation":"1575:5:5","nodeType":"VariableDeclaration","scope":1110,"src":"1567:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1102,"name":"address","nodeType":"ElementaryTypeName","src":"1567:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1105,"mutability":"mutable","name":"spender","nameLocation":"1590:7:5","nodeType":"VariableDeclaration","scope":1110,"src":"1582:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1104,"name":"address","nodeType":"ElementaryTypeName","src":"1582:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1566:32:5"},"returnParameters":{"id":1109,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1108,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1110,"src":"1622:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1107,"name":"uint256","nodeType":"ElementaryTypeName","src":"1622:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1621:9:5"},"scope":1133,"src":"1548:83:5","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1111,"nodeType":"StructuredDocumentation","src":"1637:667:5","text":" @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event."},"functionSelector":"095ea7b3","id":1120,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2318:7:5","nodeType":"FunctionDefinition","parameters":{"id":1116,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1113,"mutability":"mutable","name":"spender","nameLocation":"2334:7:5","nodeType":"VariableDeclaration","scope":1120,"src":"2326:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1112,"name":"address","nodeType":"ElementaryTypeName","src":"2326:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1115,"mutability":"mutable","name":"value","nameLocation":"2351:5:5","nodeType":"VariableDeclaration","scope":1120,"src":"2343:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1114,"name":"uint256","nodeType":"ElementaryTypeName","src":"2343:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2325:32:5"},"returnParameters":{"id":1119,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1118,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1120,"src":"2376:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1117,"name":"bool","nodeType":"ElementaryTypeName","src":"2376:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2375:6:5"},"scope":1133,"src":"2309:73:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1121,"nodeType":"StructuredDocumentation","src":"2388:297:5","text":" @dev Moves a `value` amount of tokens from `from` to `to` using the\n allowance mechanism. `value` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event."},"functionSelector":"23b872dd","id":1132,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"2699:12:5","nodeType":"FunctionDefinition","parameters":{"id":1128,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1123,"mutability":"mutable","name":"from","nameLocation":"2720:4:5","nodeType":"VariableDeclaration","scope":1132,"src":"2712:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1122,"name":"address","nodeType":"ElementaryTypeName","src":"2712:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1125,"mutability":"mutable","name":"to","nameLocation":"2734:2:5","nodeType":"VariableDeclaration","scope":1132,"src":"2726:10:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1124,"name":"address","nodeType":"ElementaryTypeName","src":"2726:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1127,"mutability":"mutable","name":"value","nameLocation":"2746:5:5","nodeType":"VariableDeclaration","scope":1132,"src":"2738:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1126,"name":"uint256","nodeType":"ElementaryTypeName","src":"2738:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2711:41:5"},"returnParameters":{"id":1131,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1130,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1132,"src":"2771:4:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1129,"name":"bool","nodeType":"ElementaryTypeName","src":"2771:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2770:6:5"},"scope":1133,"src":"2690:87:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1134,"src":"204:2575:5","usedErrors":[],"usedEvents":[1067,1076]}],"src":"106:2674:5"},"id":5},"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol","exportedSymbols":{"ECDSA":[4856],"EIP712":[5083],"ERC20":[1055],"ERC20Permit":[1287],"IERC20Permit":[1349],"Nonces":[2644]},"id":1288,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1135,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"122:24:6"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol","file":"./IERC20Permit.sol","id":1137,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1288,"sourceUnit":1350,"src":"148:48:6","symbolAliases":[{"foreign":{"id":1136,"name":"IERC20Permit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1349,"src":"156:12:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/ERC20.sol","file":"../ERC20.sol","id":1139,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1288,"sourceUnit":1056,"src":"197:35:6","symbolAliases":[{"foreign":{"id":1138,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1055,"src":"205:5:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/cryptography/ECDSA.sol","file":"../../../utils/cryptography/ECDSA.sol","id":1141,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1288,"sourceUnit":4857,"src":"233:60:6","symbolAliases":[{"foreign":{"id":1140,"name":"ECDSA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4856,"src":"241:5:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/cryptography/EIP712.sol","file":"../../../utils/cryptography/EIP712.sol","id":1143,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1288,"sourceUnit":5084,"src":"294:62:6","symbolAliases":[{"foreign":{"id":1142,"name":"EIP712","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5083,"src":"302:6:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Nonces.sol","file":"../../../utils/Nonces.sol","id":1145,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1288,"sourceUnit":2645,"src":"357:49:6","symbolAliases":[{"foreign":{"id":1144,"name":"Nonces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2644,"src":"365:6:6","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":1147,"name":"ERC20","nameLocations":["931:5:6"],"nodeType":"IdentifierPath","referencedDeclaration":1055,"src":"931:5:6"},"id":1148,"nodeType":"InheritanceSpecifier","src":"931:5:6"},{"baseName":{"id":1149,"name":"IERC20Permit","nameLocations":["938:12:6"],"nodeType":"IdentifierPath","referencedDeclaration":1349,"src":"938:12:6"},"id":1150,"nodeType":"InheritanceSpecifier","src":"938:12:6"},{"baseName":{"id":1151,"name":"EIP712","nameLocations":["952:6:6"],"nodeType":"IdentifierPath","referencedDeclaration":5083,"src":"952:6:6"},"id":1152,"nodeType":"InheritanceSpecifier","src":"952:6:6"},{"baseName":{"id":1153,"name":"Nonces","nameLocations":["960:6:6"],"nodeType":"IdentifierPath","referencedDeclaration":2644,"src":"960:6:6"},"id":1154,"nodeType":"InheritanceSpecifier","src":"960:6:6"}],"canonicalName":"ERC20Permit","contractDependencies":[],"contractKind":"contract","documentation":{"id":1146,"nodeType":"StructuredDocumentation","src":"408:489:6","text":" @dev Implementation of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in\n https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].\n Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by\n presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't\n need to send a transaction, and thus is not required to hold Ether at all."},"fullyImplemented":true,"id":1287,"linearizedBaseContracts":[1287,2644,5083,403,1349,1055,445,1313,1133,2576],"name":"ERC20Permit","nameLocation":"916:11:6","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":1159,"mutability":"constant","name":"PERMIT_TYPEHASH","nameLocation":"998:15:6","nodeType":"VariableDeclaration","scope":1287,"src":"973:146:6","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1155,"name":"bytes32","nodeType":"ElementaryTypeName","src":"973:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"5065726d69742861646472657373206f776e65722c61646472657373207370656e6465722c75696e743235362076616c75652c75696e74323536206e6f6e63652c75696e7432353620646561646c696e6529","id":1157,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1034:84:6","typeDescriptions":{"typeIdentifier":"t_stringliteral_6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9","typeString":"literal_string \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\""},"value":"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9","typeString":"literal_string \"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)\""}],"id":1156,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"1024:9:6","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":1158,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1024:95:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"documentation":{"id":1160,"nodeType":"StructuredDocumentation","src":"1126:52:6","text":" @dev Permit deadline has expired."},"errorSelector":"62791302","id":1164,"name":"ERC2612ExpiredSignature","nameLocation":"1189:23:6","nodeType":"ErrorDefinition","parameters":{"id":1163,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1162,"mutability":"mutable","name":"deadline","nameLocation":"1221:8:6","nodeType":"VariableDeclaration","scope":1164,"src":"1213:16:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1161,"name":"uint256","nodeType":"ElementaryTypeName","src":"1213:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1212:18:6"},"src":"1183:48:6"},{"documentation":{"id":1165,"nodeType":"StructuredDocumentation","src":"1237:45:6","text":" @dev Mismatched signature."},"errorSelector":"4b800e46","id":1171,"name":"ERC2612InvalidSigner","nameLocation":"1293:20:6","nodeType":"ErrorDefinition","parameters":{"id":1170,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1167,"mutability":"mutable","name":"signer","nameLocation":"1322:6:6","nodeType":"VariableDeclaration","scope":1171,"src":"1314:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1166,"name":"address","nodeType":"ElementaryTypeName","src":"1314:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1169,"mutability":"mutable","name":"owner","nameLocation":"1338:5:6","nodeType":"VariableDeclaration","scope":1171,"src":"1330:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1168,"name":"address","nodeType":"ElementaryTypeName","src":"1330:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1313:31:6"},"src":"1287:58:6"},{"body":{"id":1181,"nodeType":"Block","src":"1627:2:6","statements":[]},"documentation":{"id":1172,"nodeType":"StructuredDocumentation","src":"1351:221:6","text":" @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `\"1\"`.\n It's a good idea to use the same `name` that is defined as the ERC-20 token name."},"id":1182,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":1177,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1174,"src":"1616:4:6","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"31","id":1178,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1622:3:6","typeDescriptions":{"typeIdentifier":"t_stringliteral_c89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6","typeString":"literal_string \"1\""},"value":"1"}],"id":1179,"kind":"baseConstructorSpecifier","modifierName":{"id":1176,"name":"EIP712","nameLocations":["1609:6:6"],"nodeType":"IdentifierPath","referencedDeclaration":5083,"src":"1609:6:6"},"nodeType":"ModifierInvocation","src":"1609:17:6"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":1175,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1174,"mutability":"mutable","name":"name","nameLocation":"1603:4:6","nodeType":"VariableDeclaration","scope":1182,"src":"1589:18:6","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1173,"name":"string","nodeType":"ElementaryTypeName","src":"1589:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1588:20:6"},"returnParameters":{"id":1180,"nodeType":"ParameterList","parameters":[],"src":"1627:0:6"},"scope":1287,"src":"1577:52:6","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[1334],"body":{"id":1258,"nodeType":"Block","src":"1872:483:6","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":1200,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"1886:5:6","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":1201,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1892:9:6","memberName":"timestamp","nodeType":"MemberAccess","src":"1886:15:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":1202,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1191,"src":"1904:8:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1886:26:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1209,"nodeType":"IfStatement","src":"1882:97:6","trueBody":{"id":1208,"nodeType":"Block","src":"1914:65:6","statements":[{"errorCall":{"arguments":[{"id":1205,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1191,"src":"1959:8:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1204,"name":"ERC2612ExpiredSignature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1164,"src":"1935:23:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":1206,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1935:33:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1207,"nodeType":"RevertStatement","src":"1928:40:6"}]}},{"assignments":[1211],"declarations":[{"constant":false,"id":1211,"mutability":"mutable","name":"structHash","nameLocation":"1997:10:6","nodeType":"VariableDeclaration","scope":1258,"src":"1989:18:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1210,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1989:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":1225,"initialValue":{"arguments":[{"arguments":[{"id":1215,"name":"PERMIT_TYPEHASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1159,"src":"2031:15:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":1216,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1185,"src":"2048:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1217,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1187,"src":"2055:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1218,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1189,"src":"2064:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":1220,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1185,"src":"2081:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1219,"name":"_useNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2618,"src":"2071:9:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$_t_uint256_$","typeString":"function (address) returns (uint256)"}},"id":1221,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2071:16:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1222,"name":"deadline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1191,"src":"2089:8:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1213,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2020:3:6","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":1214,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2024:6:6","memberName":"encode","nodeType":"MemberAccess","src":"2020:10:6","typeDescriptions":{"typeIdentifier":"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":1223,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2020:78:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":1212,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"2010:9:6","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":1224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2010:89:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"1989:110:6"},{"assignments":[1227],"declarations":[{"constant":false,"id":1227,"mutability":"mutable","name":"hash","nameLocation":"2118:4:6","nodeType":"VariableDeclaration","scope":1258,"src":"2110:12:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1226,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2110:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":1231,"initialValue":{"arguments":[{"id":1229,"name":"structHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1211,"src":"2142:10:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":1228,"name":"_hashTypedDataV4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5016,"src":"2125:16:6","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32) view returns (bytes32)"}},"id":1230,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2125:28:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"2110:43:6"},{"assignments":[1233],"declarations":[{"constant":false,"id":1233,"mutability":"mutable","name":"signer","nameLocation":"2172:6:6","nodeType":"VariableDeclaration","scope":1258,"src":"2164:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1232,"name":"address","nodeType":"ElementaryTypeName","src":"2164:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":1241,"initialValue":{"arguments":[{"id":1236,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1227,"src":"2195:4:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":1237,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1193,"src":"2201:1:6","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":1238,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1195,"src":"2204:1:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":1239,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1197,"src":"2207:1:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":1234,"name":"ECDSA","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4856,"src":"2181:5:6","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_2194856_$","typeString":"type(library ECDSA)"}},"id":1235,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2187:7:6","memberName":"recover","nodeType":"MemberAccess","referencedDeclaration":4806,"src":"2181:13:6","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$","typeString":"function (bytes32,uint8,bytes32,bytes32) pure returns (address)"}},"id":1240,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2181:28:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"2164:45:6"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1244,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1242,"name":"signer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1233,"src":"2223:6:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1243,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1185,"src":"2233:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2223:15:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1251,"nodeType":"IfStatement","src":"2219:88:6","trueBody":{"id":1250,"nodeType":"Block","src":"2240:67:6","statements":[{"errorCall":{"arguments":[{"id":1246,"name":"signer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1233,"src":"2282:6:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1247,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1185,"src":"2290:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1245,"name":"ERC2612InvalidSigner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1171,"src":"2261:20:6","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_address_$returns$_t_error_$","typeString":"function (address,address) pure returns (error)"}},"id":1248,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2261:35:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1249,"nodeType":"RevertStatement","src":"2254:42:6"}]}},{"expression":{"arguments":[{"id":1253,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1185,"src":"2326:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1254,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1187,"src":"2333:7:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1255,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1189,"src":"2342:5:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1252,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[946,1006],"referencedDeclaration":946,"src":"2317:8:6","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1256,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2317:31:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1257,"nodeType":"ExpressionStatement","src":"2317:31:6"}]},"documentation":{"id":1183,"nodeType":"StructuredDocumentation","src":"1635:43:6","text":" @inheritdoc IERC20Permit"},"functionSelector":"d505accf","id":1259,"implemented":true,"kind":"function","modifiers":[],"name":"permit","nameLocation":"1692:6:6","nodeType":"FunctionDefinition","parameters":{"id":1198,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1185,"mutability":"mutable","name":"owner","nameLocation":"1716:5:6","nodeType":"VariableDeclaration","scope":1259,"src":"1708:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1184,"name":"address","nodeType":"ElementaryTypeName","src":"1708:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1187,"mutability":"mutable","name":"spender","nameLocation":"1739:7:6","nodeType":"VariableDeclaration","scope":1259,"src":"1731:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1186,"name":"address","nodeType":"ElementaryTypeName","src":"1731:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1189,"mutability":"mutable","name":"value","nameLocation":"1764:5:6","nodeType":"VariableDeclaration","scope":1259,"src":"1756:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1188,"name":"uint256","nodeType":"ElementaryTypeName","src":"1756:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1191,"mutability":"mutable","name":"deadline","nameLocation":"1787:8:6","nodeType":"VariableDeclaration","scope":1259,"src":"1779:16:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1190,"name":"uint256","nodeType":"ElementaryTypeName","src":"1779:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1193,"mutability":"mutable","name":"v","nameLocation":"1811:1:6","nodeType":"VariableDeclaration","scope":1259,"src":"1805:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1192,"name":"uint8","nodeType":"ElementaryTypeName","src":"1805:5:6","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":1195,"mutability":"mutable","name":"r","nameLocation":"1830:1:6","nodeType":"VariableDeclaration","scope":1259,"src":"1822:9:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1194,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1822:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":1197,"mutability":"mutable","name":"s","nameLocation":"1849:1:6","nodeType":"VariableDeclaration","scope":1259,"src":"1841:9:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1196,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1841:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1698:158:6"},"returnParameters":{"id":1199,"nodeType":"ParameterList","parameters":[],"src":"1872:0:6"},"scope":1287,"src":"1683:672:6","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[1342,2603],"body":{"id":1275,"nodeType":"Block","src":"2509:43:6","statements":[{"expression":{"arguments":[{"id":1272,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1262,"src":"2539:5:6","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":1270,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"2526:5:6","typeDescriptions":{"typeIdentifier":"t_type$_t_superMATH_PLACEHOLDER_2311287_$","typeString":"type(contract super ERC20Permit)"}},"id":1271,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2532:6:6","memberName":"nonces","nodeType":"MemberAccess","referencedDeclaration":2603,"src":"2526:12:6","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":1273,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2526:19:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1269,"id":1274,"nodeType":"Return","src":"2519:26:6"}]},"documentation":{"id":1260,"nodeType":"StructuredDocumentation","src":"2361:43:6","text":" @inheritdoc IERC20Permit"},"functionSelector":"7ecebe00","id":1276,"implemented":true,"kind":"function","modifiers":[],"name":"nonces","nameLocation":"2418:6:6","nodeType":"FunctionDefinition","overrides":{"id":1266,"nodeType":"OverrideSpecifier","overrides":[{"id":1264,"name":"IERC20Permit","nameLocations":["2469:12:6"],"nodeType":"IdentifierPath","referencedDeclaration":1349,"src":"2469:12:6"},{"id":1265,"name":"Nonces","nameLocations":["2483:6:6"],"nodeType":"IdentifierPath","referencedDeclaration":2644,"src":"2483:6:6"}],"src":"2460:30:6"},"parameters":{"id":1263,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1262,"mutability":"mutable","name":"owner","nameLocation":"2433:5:6","nodeType":"VariableDeclaration","scope":1276,"src":"2425:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1261,"name":"address","nodeType":"ElementaryTypeName","src":"2425:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2424:15:6"},"returnParameters":{"id":1269,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1268,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1276,"src":"2500:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1267,"name":"uint256","nodeType":"ElementaryTypeName","src":"2500:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2499:9:6"},"scope":1287,"src":"2409:143:6","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1348],"body":{"id":1285,"nodeType":"Block","src":"2727:44:6","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":1282,"name":"_domainSeparatorV4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4979,"src":"2744:18:6","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":1283,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2744:20:6","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":1281,"id":1284,"nodeType":"Return","src":"2737:27:6"}]},"documentation":{"id":1277,"nodeType":"StructuredDocumentation","src":"2558:43:6","text":" @inheritdoc IERC20Permit"},"functionSelector":"3644e515","id":1286,"implemented":true,"kind":"function","modifiers":[],"name":"DOMAIN_SEPARATOR","nameLocation":"2668:16:6","nodeType":"FunctionDefinition","parameters":{"id":1278,"nodeType":"ParameterList","parameters":[],"src":"2684:2:6"},"returnParameters":{"id":1281,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1280,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1286,"src":"2718:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1279,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2718:7:6","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2717:9:6"},"scope":1287,"src":"2659:112:6","stateMutability":"view","virtual":true,"visibility":"external"}],"scope":1288,"src":"898:1875:6","usedErrors":[415,420,425,434,439,444,1164,1171,2586,2779,2781,4519,4524,4529],"usedEvents":[383,1067,1076]}],"src":"122:2652:6"},"id":6},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol","exportedSymbols":{"IERC20":[1133],"IERC20Metadata":[1313]},"id":1314,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1289,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"125:24:7"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"../IERC20.sol","id":1291,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1314,"sourceUnit":1134,"src":"151:37:7","symbolAliases":[{"foreign":{"id":1290,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1133,"src":"159:6:7","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1293,"name":"IERC20","nameLocations":["306:6:7"],"nodeType":"IdentifierPath","referencedDeclaration":1133,"src":"306:6:7"},"id":1294,"nodeType":"InheritanceSpecifier","src":"306:6:7"}],"canonicalName":"IERC20Metadata","contractDependencies":[],"contractKind":"interface","documentation":{"id":1292,"nodeType":"StructuredDocumentation","src":"190:87:7","text":" @dev Interface for the optional metadata functions from the ERC-20 standard."},"fullyImplemented":false,"id":1313,"linearizedBaseContracts":[1313,1133],"name":"IERC20Metadata","nameLocation":"288:14:7","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1295,"nodeType":"StructuredDocumentation","src":"319:54:7","text":" @dev Returns the name of the token."},"functionSelector":"06fdde03","id":1300,"implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"387:4:7","nodeType":"FunctionDefinition","parameters":{"id":1296,"nodeType":"ParameterList","parameters":[],"src":"391:2:7"},"returnParameters":{"id":1299,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1298,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1300,"src":"417:13:7","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1297,"name":"string","nodeType":"ElementaryTypeName","src":"417:6:7","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"416:15:7"},"scope":1313,"src":"378:54:7","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1301,"nodeType":"StructuredDocumentation","src":"438:56:7","text":" @dev Returns the symbol of the token."},"functionSelector":"95d89b41","id":1306,"implemented":false,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"508:6:7","nodeType":"FunctionDefinition","parameters":{"id":1302,"nodeType":"ParameterList","parameters":[],"src":"514:2:7"},"returnParameters":{"id":1305,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1304,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1306,"src":"540:13:7","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1303,"name":"string","nodeType":"ElementaryTypeName","src":"540:6:7","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"539:15:7"},"scope":1313,"src":"499:56:7","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1307,"nodeType":"StructuredDocumentation","src":"561:65:7","text":" @dev Returns the decimals places of the token."},"functionSelector":"313ce567","id":1312,"implemented":false,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"640:8:7","nodeType":"FunctionDefinition","parameters":{"id":1308,"nodeType":"ParameterList","parameters":[],"src":"648:2:7"},"returnParameters":{"id":1311,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1310,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1312,"src":"674:5:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1309,"name":"uint8","nodeType":"ElementaryTypeName","src":"674:5:7","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"673:7:7"},"scope":1313,"src":"631:50:7","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1314,"src":"278:405:7","usedErrors":[],"usedEvents":[1067,1076]}],"src":"125:559:7"},"id":7},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol","exportedSymbols":{"IERC20Permit":[1349]},"id":1350,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1315,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"123:24:8"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC20Permit","contractDependencies":[],"contractKind":"interface","documentation":{"id":1316,"nodeType":"StructuredDocumentation","src":"149:1965:8","text":" @dev Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in\n https://eips.ethereum.org/EIPS/eip-2612[ERC-2612].\n Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by\n presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n need to send a transaction, and thus is not required to hold Ether at all.\n ==== Security Considerations\n There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n considered as an intention to spend the allowance in any specific way. The second is that because permits have\n built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n generally recommended is:\n ```solidity\n function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n doThing(..., value);\n }\n function doThing(..., uint256 value) public {\n token.safeTransferFrom(msg.sender, address(this), value);\n ...\n }\n ```\n Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n {SafeERC20-safeTransferFrom}).\n Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n contracts should have entry points that don't rely on permit."},"fullyImplemented":false,"id":1349,"linearizedBaseContracts":[1349],"name":"IERC20Permit","nameLocation":"2125:12:8","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1317,"nodeType":"StructuredDocumentation","src":"2144:850:8","text":" @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n given ``owner``'s signed approval.\n IMPORTANT: The same issues {IERC20-approve} has related to transaction\n ordering also apply here.\n Emits an {Approval} event.\n Requirements:\n - `spender` cannot be the zero address.\n - `deadline` must be a timestamp in the future.\n - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n over the EIP712-formatted function arguments.\n - the signature must use ``owner``'s current nonce (see {nonces}).\n For more information on the signature format, see the\n https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n section].\n CAUTION: See Security Considerations above."},"functionSelector":"d505accf","id":1334,"implemented":false,"kind":"function","modifiers":[],"name":"permit","nameLocation":"3008:6:8","nodeType":"FunctionDefinition","parameters":{"id":1332,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1319,"mutability":"mutable","name":"owner","nameLocation":"3032:5:8","nodeType":"VariableDeclaration","scope":1334,"src":"3024:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1318,"name":"address","nodeType":"ElementaryTypeName","src":"3024:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1321,"mutability":"mutable","name":"spender","nameLocation":"3055:7:8","nodeType":"VariableDeclaration","scope":1334,"src":"3047:15:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1320,"name":"address","nodeType":"ElementaryTypeName","src":"3047:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1323,"mutability":"mutable","name":"value","nameLocation":"3080:5:8","nodeType":"VariableDeclaration","scope":1334,"src":"3072:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1322,"name":"uint256","nodeType":"ElementaryTypeName","src":"3072:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1325,"mutability":"mutable","name":"deadline","nameLocation":"3103:8:8","nodeType":"VariableDeclaration","scope":1334,"src":"3095:16:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1324,"name":"uint256","nodeType":"ElementaryTypeName","src":"3095:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1327,"mutability":"mutable","name":"v","nameLocation":"3127:1:8","nodeType":"VariableDeclaration","scope":1334,"src":"3121:7:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1326,"name":"uint8","nodeType":"ElementaryTypeName","src":"3121:5:8","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":1329,"mutability":"mutable","name":"r","nameLocation":"3146:1:8","nodeType":"VariableDeclaration","scope":1334,"src":"3138:9:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1328,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3138:7:8","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":1331,"mutability":"mutable","name":"s","nameLocation":"3165:1:8","nodeType":"VariableDeclaration","scope":1334,"src":"3157:9:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1330,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3157:7:8","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3014:158:8"},"returnParameters":{"id":1333,"nodeType":"ParameterList","parameters":[],"src":"3181:0:8"},"scope":1349,"src":"2999:183:8","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1335,"nodeType":"StructuredDocumentation","src":"3188:294:8","text":" @dev Returns the current nonce for `owner`. This value must be\n included whenever a signature is generated for {permit}.\n Every successful call to {permit} increases ``owner``'s nonce by one. This\n prevents a signature from being used multiple times."},"functionSelector":"7ecebe00","id":1342,"implemented":false,"kind":"function","modifiers":[],"name":"nonces","nameLocation":"3496:6:8","nodeType":"FunctionDefinition","parameters":{"id":1338,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1337,"mutability":"mutable","name":"owner","nameLocation":"3511:5:8","nodeType":"VariableDeclaration","scope":1342,"src":"3503:13:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1336,"name":"address","nodeType":"ElementaryTypeName","src":"3503:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3502:15:8"},"returnParameters":{"id":1341,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1340,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1342,"src":"3541:7:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1339,"name":"uint256","nodeType":"ElementaryTypeName","src":"3541:7:8","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3540:9:8"},"scope":1349,"src":"3487:63:8","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1343,"nodeType":"StructuredDocumentation","src":"3556:128:8","text":" @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}."},"functionSelector":"3644e515","id":1348,"implemented":false,"kind":"function","modifiers":[],"name":"DOMAIN_SEPARATOR","nameLocation":"3751:16:8","nodeType":"FunctionDefinition","parameters":{"id":1344,"nodeType":"ParameterList","parameters":[],"src":"3767:2:8"},"returnParameters":{"id":1347,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1346,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1348,"src":"3793:7:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":1345,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3793:7:8","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3792:9:8"},"scope":1349,"src":"3742:60:8","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1350,"src":"2115:1689:8","usedErrors":[],"usedEvents":[]}],"src":"123:3682:8"},"id":8},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/ERC721.sol","exportedSymbols":{"Context":[2576],"ERC165":[5193],"ERC721":[2306],"ERC721Utils":[2546],"IERC165":[5205],"IERC721":[2423],"IERC721Errors":[493],"IERC721Metadata":[2469],"Strings":[4508]},"id":2307,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1351,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"107:24:9"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","file":"./IERC721.sol","id":1353,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2307,"sourceUnit":2424,"src":"133:38:9","symbolAliases":[{"foreign":{"id":1352,"name":"IERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2423,"src":"141:7:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol","file":"./extensions/IERC721Metadata.sol","id":1355,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2307,"sourceUnit":2470,"src":"172:65:9","symbolAliases":[{"foreign":{"id":1354,"name":"IERC721Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2469,"src":"180:15:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol","file":"./utils/ERC721Utils.sol","id":1357,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2307,"sourceUnit":2547,"src":"238:52:9","symbolAliases":[{"foreign":{"id":1356,"name":"ERC721Utils","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2546,"src":"246:11:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","file":"../../utils/Context.sol","id":1359,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2307,"sourceUnit":2577,"src":"291:48:9","symbolAliases":[{"foreign":{"id":1358,"name":"Context","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2576,"src":"299:7:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/Strings.sol","file":"../../utils/Strings.sol","id":1361,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2307,"sourceUnit":4509,"src":"340:48:9","symbolAliases":[{"foreign":{"id":1360,"name":"Strings","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4508,"src":"348:7:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/introspection/ERC165.sol","file":"../../utils/introspection/ERC165.sol","id":1364,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2307,"sourceUnit":5194,"src":"389:69:9","symbolAliases":[{"foreign":{"id":1362,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5205,"src":"397:7:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":1363,"name":"ERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5193,"src":"406:6:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/draft-IERC6093.sol","file":"../../interfaces/draft-IERC6093.sol","id":1366,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2307,"sourceUnit":541,"src":"459:66:9","symbolAliases":[{"foreign":{"id":1365,"name":"IERC721Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":493,"src":"467:13:9","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":1368,"name":"Context","nameLocations":["803:7:9"],"nodeType":"IdentifierPath","referencedDeclaration":2576,"src":"803:7:9"},"id":1369,"nodeType":"InheritanceSpecifier","src":"803:7:9"},{"baseName":{"id":1370,"name":"ERC165","nameLocations":["812:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":5193,"src":"812:6:9"},"id":1371,"nodeType":"InheritanceSpecifier","src":"812:6:9"},{"baseName":{"id":1372,"name":"IERC721","nameLocations":["820:7:9"],"nodeType":"IdentifierPath","referencedDeclaration":2423,"src":"820:7:9"},"id":1373,"nodeType":"InheritanceSpecifier","src":"820:7:9"},{"baseName":{"id":1374,"name":"IERC721Metadata","nameLocations":["829:15:9"],"nodeType":"IdentifierPath","referencedDeclaration":2469,"src":"829:15:9"},"id":1375,"nodeType":"InheritanceSpecifier","src":"829:15:9"},{"baseName":{"id":1376,"name":"IERC721Errors","nameLocations":["846:13:9"],"nodeType":"IdentifierPath","referencedDeclaration":493,"src":"846:13:9"},"id":1377,"nodeType":"InheritanceSpecifier","src":"846:13:9"}],"canonicalName":"ERC721","contractDependencies":[],"contractKind":"contract","documentation":{"id":1367,"nodeType":"StructuredDocumentation","src":"527:247:9","text":" @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] 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":2306,"linearizedBaseContracts":[2306,493,2469,2423,5193,5205,2576],"name":"ERC721","nameLocation":"793:6:9","nodeType":"ContractDefinition","nodes":[{"global":false,"id":1380,"libraryName":{"id":1378,"name":"Strings","nameLocations":["872:7:9"],"nodeType":"IdentifierPath","referencedDeclaration":4508,"src":"872:7:9"},"nodeType":"UsingForDirective","src":"866:26:9","typeName":{"id":1379,"name":"uint256","nodeType":"ElementaryTypeName","src":"884:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},{"constant":false,"id":1382,"mutability":"mutable","name":"_name","nameLocation":"931:5:9","nodeType":"VariableDeclaration","scope":2306,"src":"916:20:9","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":1381,"name":"string","nodeType":"ElementaryTypeName","src":"916:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"constant":false,"id":1384,"mutability":"mutable","name":"_symbol","nameLocation":"978:7:9","nodeType":"VariableDeclaration","scope":2306,"src":"963:22:9","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":1383,"name":"string","nodeType":"ElementaryTypeName","src":"963:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"constant":false,"id":1388,"mutability":"mutable","name":"_owners","nameLocation":"1036:7:9","nodeType":"VariableDeclaration","scope":2306,"src":"992:51:9","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"typeName":{"id":1387,"keyName":"tokenId","keyNameLocation":"1008:7:9","keyType":{"id":1385,"name":"uint256","nodeType":"ElementaryTypeName","src":"1000:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"992:35:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1386,"name":"address","nodeType":"ElementaryTypeName","src":"1019:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},"visibility":"private"},{"constant":false,"id":1392,"mutability":"mutable","name":"_balances","nameLocation":"1092:9:9","nodeType":"VariableDeclaration","scope":2306,"src":"1050:51:9","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":1391,"keyName":"owner","keyNameLocation":"1066:5:9","keyType":{"id":1389,"name":"address","nodeType":"ElementaryTypeName","src":"1058:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1050:33:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1390,"name":"uint256","nodeType":"ElementaryTypeName","src":"1075:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"private"},{"constant":false,"id":1396,"mutability":"mutable","name":"_tokenApprovals","nameLocation":"1152:15:9","nodeType":"VariableDeclaration","scope":2306,"src":"1108:59:9","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"typeName":{"id":1395,"keyName":"tokenId","keyNameLocation":"1124:7:9","keyType":{"id":1393,"name":"uint256","nodeType":"ElementaryTypeName","src":"1116:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"1108:35:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1394,"name":"address","nodeType":"ElementaryTypeName","src":"1135:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},"visibility":"private"},{"constant":false,"id":1402,"mutability":"mutable","name":"_operatorApprovals","nameLocation":"1242:18:9","nodeType":"VariableDeclaration","scope":2306,"src":"1174:86:9","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"typeName":{"id":1401,"keyName":"owner","keyNameLocation":"1190:5:9","keyType":{"id":1397,"name":"address","nodeType":"ElementaryTypeName","src":"1182:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1174:59:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1400,"keyName":"operator","keyNameLocation":"1215:8:9","keyType":{"id":1398,"name":"address","nodeType":"ElementaryTypeName","src":"1207:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1199:33:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":1399,"name":"bool","nodeType":"ElementaryTypeName","src":"1227:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}}},"visibility":"private"},{"body":{"id":1418,"nodeType":"Block","src":"1436:57:9","statements":[{"expression":{"id":1412,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1410,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1382,"src":"1446:5:9","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1411,"name":"name_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1405,"src":"1454:5:9","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1446:13:9","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":1413,"nodeType":"ExpressionStatement","src":"1446:13:9"},{"expression":{"id":1416,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1414,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1384,"src":"1469:7:9","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1415,"name":"symbol_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1407,"src":"1479:7:9","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1469:17:9","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":1417,"nodeType":"ExpressionStatement","src":"1469:17:9"}]},"documentation":{"id":1403,"nodeType":"StructuredDocumentation","src":"1267:108:9","text":" @dev Initializes the contract by setting a `name` and a `symbol` to the token collection."},"id":1419,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":1408,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1405,"mutability":"mutable","name":"name_","nameLocation":"1406:5:9","nodeType":"VariableDeclaration","scope":1419,"src":"1392:19:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1404,"name":"string","nodeType":"ElementaryTypeName","src":"1392:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":1407,"mutability":"mutable","name":"symbol_","nameLocation":"1427:7:9","nodeType":"VariableDeclaration","scope":1419,"src":"1413:21:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1406,"name":"string","nodeType":"ElementaryTypeName","src":"1413:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1391:44:9"},"returnParameters":{"id":1409,"nodeType":"ParameterList","parameters":[],"src":"1436:0:9"},"scope":2306,"src":"1380:113:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[5192,5204],"body":{"id":1449,"nodeType":"Block","src":"1668:192:9","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1447,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":1435,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1430,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1422,"src":"1697:11:9","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":1432,"name":"IERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2423,"src":"1717:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC721_$2423_$","typeString":"type(contract IERC721)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_2552423_$","typeString":"type(contract IERC721)"}],"id":1431,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1712:4:9","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":1433,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1712:13:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IERC721_$2423","typeString":"type(contract IERC721)"}},"id":1434,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1726:11:9","memberName":"interfaceId","nodeType":"MemberAccess","src":"1712:25:9","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1697:40:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":1441,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1436,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1422,"src":"1753:11:9","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":1438,"name":"IERC721Metadata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2469,"src":"1773:15:9","typeDescriptions":{"typeIdentifier":"t_typeMATH_PLACEHOLDER_259_IERC721Metadata_$2469_MATH_PLACEHOLDER_260_t_contractMATH_PLACEHOLDER_2612469_MATH_PLACEHOLDER_262__MATH_PLACEHOLDER_263__MATH_PLACEHOLDER_264_IERC721Metadata_$2469","typeString":"type(contract IERC721Metadata)"}},"id":1440,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1790:11:9","memberName":"interfaceId","nodeType":"MemberAccess","src":"1768:33:9","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1753:48:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1697:104:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":1445,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1422,"src":"1841:11:9","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":1443,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"1817:5:9","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_ERC721_$2306_$","typeString":"type(contract super ERC721)"}},"id":1444,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1823:17:9","memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":5192,"src":"1817:23:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":1446,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1817:36:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1697:156:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1429,"id":1448,"nodeType":"Return","src":"1678:175:9"}]},"documentation":{"id":1420,"nodeType":"StructuredDocumentation","src":"1499:56:9","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":1450,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"1569:17:9","nodeType":"FunctionDefinition","overrides":{"id":1426,"nodeType":"OverrideSpecifier","overrides":[{"id":1424,"name":"ERC165","nameLocations":["1636:6:9"],"nodeType":"IdentifierPath","referencedDeclaration":5193,"src":"1636:6:9"},{"id":1425,"name":"IERC165","nameLocations":["1644:7:9"],"nodeType":"IdentifierPath","referencedDeclaration":5205,"src":"1644:7:9"}],"src":"1627:25:9"},"parameters":{"id":1423,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1422,"mutability":"mutable","name":"interfaceId","nameLocation":"1594:11:9","nodeType":"VariableDeclaration","scope":1450,"src":"1587:18:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":1421,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1587:6:9","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1586:20:9"},"returnParameters":{"id":1429,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1428,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1450,"src":"1662:4:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1427,"name":"bool","nodeType":"ElementaryTypeName","src":"1662:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1661:6:9"},"scope":2306,"src":"1560:300:9","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2348],"body":{"id":1477,"nodeType":"Block","src":"1991:136:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1458,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1453,"src":"2005:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1461,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2022:1:9","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":1460,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2014:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1459,"name":"address","nodeType":"ElementaryTypeName","src":"2014:7:9","typeDescriptions":{}}},"id":1462,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2014:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2005:19:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1472,"nodeType":"IfStatement","src":"2001:87:9","trueBody":{"id":1471,"nodeType":"Block","src":"2026:62:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":1467,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2074:1:9","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":1466,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2066:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1465,"name":"address","nodeType":"ElementaryTypeName","src":"2066:7:9","typeDescriptions":{}}},"id":1468,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2066:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1464,"name":"ERC721InvalidOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":451,"src":"2047:18:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1469,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2047:30:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1470,"nodeType":"RevertStatement","src":"2040:37:9"}]}},{"expression":{"baseExpression":{"id":1473,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1392,"src":"2104:9:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1475,"indexExpression":{"id":1474,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1453,"src":"2114:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2104:16:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1457,"id":1476,"nodeType":"Return","src":"2097:23:9"}]},"documentation":{"id":1451,"nodeType":"StructuredDocumentation","src":"1866:48:9","text":" @dev See {IERC721-balanceOf}."},"functionSelector":"70a08231","id":1478,"implemented":true,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"1928:9:9","nodeType":"FunctionDefinition","parameters":{"id":1454,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1453,"mutability":"mutable","name":"owner","nameLocation":"1946:5:9","nodeType":"VariableDeclaration","scope":1478,"src":"1938:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1452,"name":"address","nodeType":"ElementaryTypeName","src":"1938:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1937:15:9"},"returnParameters":{"id":1457,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1456,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1478,"src":"1982:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1455,"name":"uint256","nodeType":"ElementaryTypeName","src":"1982:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1981:9:9"},"scope":2306,"src":"1919:208:9","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2356],"body":{"id":1490,"nodeType":"Block","src":"2256:46:9","statements":[{"expression":{"arguments":[{"id":1487,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1481,"src":"2287:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1486,"name":"_requireOwned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2305,"src":"2273:13:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1488,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2273:22:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":1485,"id":1489,"nodeType":"Return","src":"2266:29:9"}]},"documentation":{"id":1479,"nodeType":"StructuredDocumentation","src":"2133:46:9","text":" @dev See {IERC721-ownerOf}."},"functionSelector":"6352211e","id":1491,"implemented":true,"kind":"function","modifiers":[],"name":"ownerOf","nameLocation":"2193:7:9","nodeType":"FunctionDefinition","parameters":{"id":1482,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1481,"mutability":"mutable","name":"tokenId","nameLocation":"2209:7:9","nodeType":"VariableDeclaration","scope":1491,"src":"2201:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1480,"name":"uint256","nodeType":"ElementaryTypeName","src":"2201:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2200:17:9"},"returnParameters":{"id":1485,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1484,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1491,"src":"2247:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1483,"name":"address","nodeType":"ElementaryTypeName","src":"2247:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2246:9:9"},"scope":2306,"src":"2184:118:9","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2454],"body":{"id":1499,"nodeType":"Block","src":"2424:29:9","statements":[{"expression":{"id":1497,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1382,"src":"2441:5:9","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":1496,"id":1498,"nodeType":"Return","src":"2434:12:9"}]},"documentation":{"id":1492,"nodeType":"StructuredDocumentation","src":"2308:51:9","text":" @dev See {IERC721Metadata-name}."},"functionSelector":"06fdde03","id":1500,"implemented":true,"kind":"function","modifiers":[],"name":"name","nameLocation":"2373:4:9","nodeType":"FunctionDefinition","parameters":{"id":1493,"nodeType":"ParameterList","parameters":[],"src":"2377:2:9"},"returnParameters":{"id":1496,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1495,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1500,"src":"2409:13:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1494,"name":"string","nodeType":"ElementaryTypeName","src":"2409:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2408:15:9"},"scope":2306,"src":"2364:89:9","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2460],"body":{"id":1508,"nodeType":"Block","src":"2579:31:9","statements":[{"expression":{"id":1506,"name":"_symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1384,"src":"2596:7:9","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":1505,"id":1507,"nodeType":"Return","src":"2589:14:9"}]},"documentation":{"id":1501,"nodeType":"StructuredDocumentation","src":"2459:53:9","text":" @dev See {IERC721Metadata-symbol}."},"functionSelector":"95d89b41","id":1509,"implemented":true,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"2526:6:9","nodeType":"FunctionDefinition","parameters":{"id":1502,"nodeType":"ParameterList","parameters":[],"src":"2532:2:9"},"returnParameters":{"id":1505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1504,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1509,"src":"2564:13:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1503,"name":"string","nodeType":"ElementaryTypeName","src":"2564:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2563:15:9"},"scope":2306,"src":"2517:93:9","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2468],"body":{"id":1544,"nodeType":"Block","src":"2755:176:9","statements":[{"expression":{"arguments":[{"id":1518,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1512,"src":"2779:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1517,"name":"_requireOwned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2305,"src":"2765:13:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1519,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2765:22:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1520,"nodeType":"ExpressionStatement","src":"2765:22:9"},{"assignments":[1522],"declarations":[{"constant":false,"id":1522,"mutability":"mutable","name":"baseURI","nameLocation":"2812:7:9","nodeType":"VariableDeclaration","scope":1544,"src":"2798:21:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1521,"name":"string","nodeType":"ElementaryTypeName","src":"2798:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"id":1525,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"id":1523,"name":"_baseURI","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1554,"src":"2822:8:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_string_memory_ptr_$","typeString":"function () view returns (string memory)"}},"id":1524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2822:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"VariableDeclarationStatement","src":"2798:34:9"},{"expression":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1532,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":1528,"name":"baseURI","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1522,"src":"2855:7:9","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":1527,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2849:5:9","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":1526,"name":"bytes","nodeType":"ElementaryTypeName","src":"2849:5:9","typeDescriptions":{}}},"id":1529,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2849:14:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":1530,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2864:6:9","memberName":"length","nodeType":"MemberAccess","src":"2849:21:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":1531,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2873:1:9","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2849:25:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"hexValue":"","id":1541,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2922:2:9","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""},"id":1542,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"2849:75:9","trueExpression":{"arguments":[{"id":1536,"name":"baseURI","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1522,"src":"2891:7:9","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":1537,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1512,"src":"2900:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2908:8:9","memberName":"toString","nodeType":"MemberAccess","referencedDeclaration":3220,"src":"2900:16:9","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$attached_to$_t_uint256_$","typeString":"function (uint256) pure returns (string memory)"}},"id":1539,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2900:18:9","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":1534,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2877:6:9","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":1533,"name":"string","nodeType":"ElementaryTypeName","src":"2877:6:9","typeDescriptions":{}}},"id":1535,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2884:6:9","memberName":"concat","nodeType":"MemberAccess","src":"2877:13:9","typeDescriptions":{"typeIdentifier":"t_function_stringconcat_pure$__$returns$_t_string_memory_ptr_$","typeString":"function () pure returns (string memory)"}},"id":1540,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2877:42:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":1516,"id":1543,"nodeType":"Return","src":"2842:82:9"}]},"documentation":{"id":1510,"nodeType":"StructuredDocumentation","src":"2616:55:9","text":" @dev See {IERC721Metadata-tokenURI}."},"functionSelector":"c87b56dd","id":1545,"implemented":true,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"2685:8:9","nodeType":"FunctionDefinition","parameters":{"id":1513,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1512,"mutability":"mutable","name":"tokenId","nameLocation":"2702:7:9","nodeType":"VariableDeclaration","scope":1545,"src":"2694:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1511,"name":"uint256","nodeType":"ElementaryTypeName","src":"2694:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2693:17:9"},"returnParameters":{"id":1516,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1515,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1545,"src":"2740:13:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1514,"name":"string","nodeType":"ElementaryTypeName","src":"2740:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2739:15:9"},"scope":2306,"src":"2676:255:9","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":1553,"nodeType":"Block","src":"3239:26:9","statements":[{"expression":{"hexValue":"","id":1551,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3256:2:9","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""},"functionReturnParameters":1550,"id":1552,"nodeType":"Return","src":"3249:9:9"}]},"documentation":{"id":1546,"nodeType":"StructuredDocumentation","src":"2937:231:9","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":1554,"implemented":true,"kind":"function","modifiers":[],"name":"_baseURI","nameLocation":"3182:8:9","nodeType":"FunctionDefinition","parameters":{"id":1547,"nodeType":"ParameterList","parameters":[],"src":"3190:2:9"},"returnParameters":{"id":1550,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1549,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1554,"src":"3224:13:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1548,"name":"string","nodeType":"ElementaryTypeName","src":"3224:6:9","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3223:15:9"},"scope":2306,"src":"3173:92:9","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[2396],"body":{"id":1569,"nodeType":"Block","src":"3383:52:9","statements":[{"expression":{"arguments":[{"id":1563,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1557,"src":"3402:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1564,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1559,"src":"3406:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[],"expression":{"argumentTypes":[],"id":1565,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"3415:10:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":1566,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3415:12:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1562,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[2173,2239],"referencedDeclaration":2173,"src":"3393:8:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$__$","typeString":"function (address,uint256,address)"}},"id":1567,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3393:35:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1568,"nodeType":"ExpressionStatement","src":"3393:35:9"}]},"documentation":{"id":1555,"nodeType":"StructuredDocumentation","src":"3271:46:9","text":" @dev See {IERC721-approve}."},"functionSelector":"095ea7b3","id":1570,"implemented":true,"kind":"function","modifiers":[],"name":"approve","nameLocation":"3331:7:9","nodeType":"FunctionDefinition","parameters":{"id":1560,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1557,"mutability":"mutable","name":"to","nameLocation":"3347:2:9","nodeType":"VariableDeclaration","scope":1570,"src":"3339:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1556,"name":"address","nodeType":"ElementaryTypeName","src":"3339:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1559,"mutability":"mutable","name":"tokenId","nameLocation":"3359:7:9","nodeType":"VariableDeclaration","scope":1570,"src":"3351:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1558,"name":"uint256","nodeType":"ElementaryTypeName","src":"3351:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3338:29:9"},"returnParameters":{"id":1561,"nodeType":"ParameterList","parameters":[],"src":"3383:0:9"},"scope":2306,"src":"3322:113:9","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[2412],"body":{"id":1586,"nodeType":"Block","src":"3572:78:9","statements":[{"expression":{"arguments":[{"id":1579,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1573,"src":"3596:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1578,"name":"_requireOwned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2305,"src":"3582:13:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1580,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3582:22:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1581,"nodeType":"ExpressionStatement","src":"3582:22:9"},{"expression":{"arguments":[{"id":1583,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1573,"src":"3635:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1582,"name":"_getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1740,"src":"3622:12:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1584,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3622:21:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":1577,"id":1585,"nodeType":"Return","src":"3615:28:9"}]},"documentation":{"id":1571,"nodeType":"StructuredDocumentation","src":"3441:50:9","text":" @dev See {IERC721-getApproved}."},"functionSelector":"081812fc","id":1587,"implemented":true,"kind":"function","modifiers":[],"name":"getApproved","nameLocation":"3505:11:9","nodeType":"FunctionDefinition","parameters":{"id":1574,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1573,"mutability":"mutable","name":"tokenId","nameLocation":"3525:7:9","nodeType":"VariableDeclaration","scope":1587,"src":"3517:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1572,"name":"uint256","nodeType":"ElementaryTypeName","src":"3517:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3516:17:9"},"returnParameters":{"id":1577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1576,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1587,"src":"3563:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1575,"name":"address","nodeType":"ElementaryTypeName","src":"3563:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3562:9:9"},"scope":2306,"src":"3496:154:9","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2404],"body":{"id":1602,"nodeType":"Block","src":"3792:69:9","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":1596,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"3821:10:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":1597,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3821:12:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1598,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1590,"src":"3835:8:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1599,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1592,"src":"3845:8:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1595,"name":"_setApprovalForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2276,"src":"3802:18:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":1600,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3802:52:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1601,"nodeType":"ExpressionStatement","src":"3802:52:9"}]},"documentation":{"id":1588,"nodeType":"StructuredDocumentation","src":"3656:56:9","text":" @dev See {IERC721-setApprovalForAll}."},"functionSelector":"a22cb465","id":1603,"implemented":true,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"3726:17:9","nodeType":"FunctionDefinition","parameters":{"id":1593,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1590,"mutability":"mutable","name":"operator","nameLocation":"3752:8:9","nodeType":"VariableDeclaration","scope":1603,"src":"3744:16:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1589,"name":"address","nodeType":"ElementaryTypeName","src":"3744:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1592,"mutability":"mutable","name":"approved","nameLocation":"3767:8:9","nodeType":"VariableDeclaration","scope":1603,"src":"3762:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1591,"name":"bool","nodeType":"ElementaryTypeName","src":"3762:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3743:33:9"},"returnParameters":{"id":1594,"nodeType":"ParameterList","parameters":[],"src":"3792:0:9"},"scope":2306,"src":"3717:144:9","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[2422],"body":{"id":1619,"nodeType":"Block","src":"4021:59:9","statements":[{"expression":{"baseExpression":{"baseExpression":{"id":1613,"name":"_operatorApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1402,"src":"4038:18:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":1615,"indexExpression":{"id":1614,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1606,"src":"4057:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4038:25:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":1617,"indexExpression":{"id":1616,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1608,"src":"4064:8:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4038:35:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1612,"id":1618,"nodeType":"Return","src":"4031:42:9"}]},"documentation":{"id":1604,"nodeType":"StructuredDocumentation","src":"3867:55:9","text":" @dev See {IERC721-isApprovedForAll}."},"functionSelector":"e985e9c5","id":1620,"implemented":true,"kind":"function","modifiers":[],"name":"isApprovedForAll","nameLocation":"3936:16:9","nodeType":"FunctionDefinition","parameters":{"id":1609,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1606,"mutability":"mutable","name":"owner","nameLocation":"3961:5:9","nodeType":"VariableDeclaration","scope":1620,"src":"3953:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1605,"name":"address","nodeType":"ElementaryTypeName","src":"3953:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1608,"mutability":"mutable","name":"operator","nameLocation":"3976:8:9","nodeType":"VariableDeclaration","scope":1620,"src":"3968:16:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1607,"name":"address","nodeType":"ElementaryTypeName","src":"3968:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3952:33:9"},"returnParameters":{"id":1612,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1611,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1620,"src":"4015:4:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1610,"name":"bool","nodeType":"ElementaryTypeName","src":"4015:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4014:6:9"},"scope":2306,"src":"3927:153:9","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[2388],"body":{"id":1665,"nodeType":"Block","src":"4222:498:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1635,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1630,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1625,"src":"4236:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1633,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4250:1:9","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":1632,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4242:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1631,"name":"address","nodeType":"ElementaryTypeName","src":"4242:7:9","typeDescriptions":{}}},"id":1634,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4242:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4236:16:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1644,"nodeType":"IfStatement","src":"4232:87:9","trueBody":{"id":1643,"nodeType":"Block","src":"4254:65:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":1639,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4305:1:9","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":1638,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4297:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1637,"name":"address","nodeType":"ElementaryTypeName","src":"4297:7:9","typeDescriptions":{}}},"id":1640,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4297:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1636,"name":"ERC721InvalidReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":475,"src":"4275:21:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1641,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4275:33:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1642,"nodeType":"RevertStatement","src":"4268:40:9"}]}},{"assignments":[1646],"declarations":[{"constant":false,"id":1646,"mutability":"mutable","name":"previousOwner","nameLocation":"4545:13:9","nodeType":"VariableDeclaration","scope":1665,"src":"4537:21:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1645,"name":"address","nodeType":"ElementaryTypeName","src":"4537:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":1653,"initialValue":{"arguments":[{"id":1648,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1625,"src":"4569:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1649,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1627,"src":"4573:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[],"expression":{"argumentTypes":[],"id":1650,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"4582:10:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":1651,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4582:12:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1647,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1919,"src":"4561:7:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_address_$","typeString":"function (address,uint256,address) returns (address)"}},"id":1652,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4561:34:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4537:58:9"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1654,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1646,"src":"4609:13:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1655,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1623,"src":"4626:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4609:21:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1664,"nodeType":"IfStatement","src":"4605:109:9","trueBody":{"id":1663,"nodeType":"Block","src":"4632:82:9","statements":[{"errorCall":{"arguments":[{"id":1658,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1623,"src":"4674:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1659,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1627,"src":"4680:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1660,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1646,"src":"4689:13:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1657,"name":"ERC721IncorrectOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":465,"src":"4653:20:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$_t_address_$returns$_t_error_$","typeString":"function (address,uint256,address) pure returns (error)"}},"id":1661,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4653:50:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1662,"nodeType":"RevertStatement","src":"4646:57:9"}]}}]},"documentation":{"id":1621,"nodeType":"StructuredDocumentation","src":"4086:51:9","text":" @dev See {IERC721-transferFrom}."},"functionSelector":"23b872dd","id":1666,"implemented":true,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"4151:12:9","nodeType":"FunctionDefinition","parameters":{"id":1628,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1623,"mutability":"mutable","name":"from","nameLocation":"4172:4:9","nodeType":"VariableDeclaration","scope":1666,"src":"4164:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1622,"name":"address","nodeType":"ElementaryTypeName","src":"4164:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1625,"mutability":"mutable","name":"to","nameLocation":"4186:2:9","nodeType":"VariableDeclaration","scope":1666,"src":"4178:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1624,"name":"address","nodeType":"ElementaryTypeName","src":"4178:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1627,"mutability":"mutable","name":"tokenId","nameLocation":"4198:7:9","nodeType":"VariableDeclaration","scope":1666,"src":"4190:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1626,"name":"uint256","nodeType":"ElementaryTypeName","src":"4190:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4163:43:9"},"returnParameters":{"id":1629,"nodeType":"ParameterList","parameters":[],"src":"4222:0:9"},"scope":2306,"src":"4142:578:9","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"baseFunctions":[2378],"body":{"id":1683,"nodeType":"Block","src":"4862:56:9","statements":[{"expression":{"arguments":[{"id":1677,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1669,"src":"4889:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1678,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1671,"src":"4895:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1679,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1673,"src":"4899:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"","id":1680,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4908:2:9","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":1676,"name":"safeTransferFrom","nodeType":"Identifier","overloadedDeclarations":[1684,1714],"referencedDeclaration":1714,"src":"4872:16:9","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":1681,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4872:39:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1682,"nodeType":"ExpressionStatement","src":"4872:39:9"}]},"documentation":{"id":1667,"nodeType":"StructuredDocumentation","src":"4726:55:9","text":" @dev See {IERC721-safeTransferFrom}."},"functionSelector":"42842e0e","id":1684,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"4795:16:9","nodeType":"FunctionDefinition","parameters":{"id":1674,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1669,"mutability":"mutable","name":"from","nameLocation":"4820:4:9","nodeType":"VariableDeclaration","scope":1684,"src":"4812:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1668,"name":"address","nodeType":"ElementaryTypeName","src":"4812:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1671,"mutability":"mutable","name":"to","nameLocation":"4834:2:9","nodeType":"VariableDeclaration","scope":1684,"src":"4826:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1670,"name":"address","nodeType":"ElementaryTypeName","src":"4826:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1673,"mutability":"mutable","name":"tokenId","nameLocation":"4846:7:9","nodeType":"VariableDeclaration","scope":1684,"src":"4838:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1672,"name":"uint256","nodeType":"ElementaryTypeName","src":"4838:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4811:43:9"},"returnParameters":{"id":1675,"nodeType":"ParameterList","parameters":[],"src":"4862:0:9"},"scope":2306,"src":"4786:132:9","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[2368],"body":{"id":1713,"nodeType":"Block","src":"5087:130:9","statements":[{"expression":{"arguments":[{"id":1697,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1687,"src":"5110:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1698,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1689,"src":"5116:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1699,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1691,"src":"5120:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1696,"name":"transferFrom","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1666,"src":"5097:12:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1700,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5097:31:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1701,"nodeType":"ExpressionStatement","src":"5097:31:9"},{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":1705,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"5172:10:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":1706,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5172:12:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1707,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1687,"src":"5186:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1708,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1689,"src":"5192:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1709,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1691,"src":"5196:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1710,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1693,"src":"5205:4:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":1702,"name":"ERC721Utils","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2546,"src":"5138:11:9","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721Utils_$2546_$","typeString":"type(library ERC721Utils)"}},"id":1704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5150:21:9","memberName":"checkOnERC721Received","nodeType":"MemberAccess","referencedDeclaration":2545,"src":"5138:33:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,address,address,uint256,bytes memory)"}},"id":1711,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5138:72:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1712,"nodeType":"ExpressionStatement","src":"5138:72:9"}]},"documentation":{"id":1685,"nodeType":"StructuredDocumentation","src":"4924:55:9","text":" @dev See {IERC721-safeTransferFrom}."},"functionSelector":"b88d4fde","id":1714,"implemented":true,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"4993:16:9","nodeType":"FunctionDefinition","parameters":{"id":1694,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1687,"mutability":"mutable","name":"from","nameLocation":"5018:4:9","nodeType":"VariableDeclaration","scope":1714,"src":"5010:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1686,"name":"address","nodeType":"ElementaryTypeName","src":"5010:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1689,"mutability":"mutable","name":"to","nameLocation":"5032:2:9","nodeType":"VariableDeclaration","scope":1714,"src":"5024:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1688,"name":"address","nodeType":"ElementaryTypeName","src":"5024:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1691,"mutability":"mutable","name":"tokenId","nameLocation":"5044:7:9","nodeType":"VariableDeclaration","scope":1714,"src":"5036:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1690,"name":"uint256","nodeType":"ElementaryTypeName","src":"5036:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1693,"mutability":"mutable","name":"data","nameLocation":"5066:4:9","nodeType":"VariableDeclaration","scope":1714,"src":"5053:17:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1692,"name":"bytes","nodeType":"ElementaryTypeName","src":"5053:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5009:62:9"},"returnParameters":{"id":1695,"nodeType":"ParameterList","parameters":[],"src":"5087:0:9"},"scope":2306,"src":"4984:233:9","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":1726,"nodeType":"Block","src":"5807:40:9","statements":[{"expression":{"baseExpression":{"id":1722,"name":"_owners","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1388,"src":"5824:7:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1724,"indexExpression":{"id":1723,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1717,"src":"5832:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5824:16:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":1721,"id":1725,"nodeType":"Return","src":"5817:23:9"}]},"documentation":{"id":1715,"nodeType":"StructuredDocumentation","src":"5223:504:9","text":" @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist\n IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the\n core ERC-721 logic MUST be matched with the use of {_increaseBalance} to keep balances\n consistent with ownership. The invariant to preserve is that for any address `a` the value returned by\n `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`."},"id":1727,"implemented":true,"kind":"function","modifiers":[],"name":"_ownerOf","nameLocation":"5741:8:9","nodeType":"FunctionDefinition","parameters":{"id":1718,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1717,"mutability":"mutable","name":"tokenId","nameLocation":"5758:7:9","nodeType":"VariableDeclaration","scope":1727,"src":"5750:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1716,"name":"uint256","nodeType":"ElementaryTypeName","src":"5750:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5749:17:9"},"returnParameters":{"id":1721,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1720,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1727,"src":"5798:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1719,"name":"address","nodeType":"ElementaryTypeName","src":"5798:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5797:9:9"},"scope":2306,"src":"5732:115:9","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1739,"nodeType":"Block","src":"6042:48:9","statements":[{"expression":{"baseExpression":{"id":1735,"name":"_tokenApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1396,"src":"6059:15:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1737,"indexExpression":{"id":1736,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1730,"src":"6075:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6059:24:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":1734,"id":1738,"nodeType":"Return","src":"6052:31:9"}]},"documentation":{"id":1728,"nodeType":"StructuredDocumentation","src":"5853:105:9","text":" @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted."},"id":1740,"implemented":true,"kind":"function","modifiers":[],"name":"_getApproved","nameLocation":"5972:12:9","nodeType":"FunctionDefinition","parameters":{"id":1731,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1730,"mutability":"mutable","name":"tokenId","nameLocation":"5993:7:9","nodeType":"VariableDeclaration","scope":1740,"src":"5985:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1729,"name":"uint256","nodeType":"ElementaryTypeName","src":"5985:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5984:17:9"},"returnParameters":{"id":1734,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1733,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1740,"src":"6033:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1732,"name":"address","nodeType":"ElementaryTypeName","src":"6033:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6032:9:9"},"scope":2306,"src":"5963:127:9","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1775,"nodeType":"Block","src":"6510:163:9","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1773,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1757,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1752,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1745,"src":"6539:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1755,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6558:1:9","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":1754,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6550:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1753,"name":"address","nodeType":"ElementaryTypeName","src":"6550:7:9","typeDescriptions":{}}},"id":1756,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6550:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6539:21:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1771,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1760,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1758,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1743,"src":"6577:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":1759,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1745,"src":"6586:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6577:16:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":1762,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1743,"src":"6614:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1763,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1745,"src":"6621:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1761,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1620,"src":"6597:16:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$","typeString":"function (address,address) view returns (bool)"}},"id":1764,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6597:32:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6577:52:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1770,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":1767,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1747,"src":"6646:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1766,"name":"_getApproved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1740,"src":"6633:12:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1768,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6633:21:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":1769,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1745,"src":"6658:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6633:32:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6577:88:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":1772,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6576:90:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6539:127:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":1751,"id":1774,"nodeType":"Return","src":"6520:146:9"}]},"documentation":{"id":1741,"nodeType":"StructuredDocumentation","src":"6096:300:9","text":" @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in\n particular (ignoring whether it is owned by `owner`).\n WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n assumption."},"id":1776,"implemented":true,"kind":"function","modifiers":[],"name":"_isAuthorized","nameLocation":"6410:13:9","nodeType":"FunctionDefinition","parameters":{"id":1748,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1743,"mutability":"mutable","name":"owner","nameLocation":"6432:5:9","nodeType":"VariableDeclaration","scope":1776,"src":"6424:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1742,"name":"address","nodeType":"ElementaryTypeName","src":"6424:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1745,"mutability":"mutable","name":"spender","nameLocation":"6447:7:9","nodeType":"VariableDeclaration","scope":1776,"src":"6439:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1744,"name":"address","nodeType":"ElementaryTypeName","src":"6439:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1747,"mutability":"mutable","name":"tokenId","nameLocation":"6464:7:9","nodeType":"VariableDeclaration","scope":1776,"src":"6456:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1746,"name":"uint256","nodeType":"ElementaryTypeName","src":"6456:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6423:49:9"},"returnParameters":{"id":1751,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1750,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1776,"src":"6504:4:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1749,"name":"bool","nodeType":"ElementaryTypeName","src":"6504:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"6503:6:9"},"scope":2306,"src":"6401:272:9","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1812,"nodeType":"Block","src":"7202:271:9","statements":[{"condition":{"id":1791,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"7216:39:9","subExpression":{"arguments":[{"id":1787,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1779,"src":"7231:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1788,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1781,"src":"7238:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1789,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1783,"src":"7247:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1786,"name":"_isAuthorized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1776,"src":"7217:13:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,address,uint256) view returns (bool)"}},"id":1790,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7217:38:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1811,"nodeType":"IfStatement","src":"7212:255:9","trueBody":{"id":1810,"nodeType":"Block","src":"7257:210:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1797,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1792,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1779,"src":"7275:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1795,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7292:1:9","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":1794,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7284:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1793,"name":"address","nodeType":"ElementaryTypeName","src":"7284:7:9","typeDescriptions":{}}},"id":1796,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7284:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7275:19:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1808,"nodeType":"Block","src":"7373:84:9","statements":[{"errorCall":{"arguments":[{"id":1804,"name":"spender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1781,"src":"7425:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1805,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1783,"src":"7434:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1803,"name":"ERC721InsufficientApproval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":482,"src":"7398:26:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$returns$_t_error_$","typeString":"function (address,uint256) pure returns (error)"}},"id":1806,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7398:44:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1807,"nodeType":"RevertStatement","src":"7391:51:9"}]},"id":1809,"nodeType":"IfStatement","src":"7271:186:9","trueBody":{"id":1802,"nodeType":"Block","src":"7296:71:9","statements":[{"errorCall":{"arguments":[{"id":1799,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1783,"src":"7344:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1798,"name":"ERC721NonexistentToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":456,"src":"7321:22:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":1800,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7321:31:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1801,"nodeType":"RevertStatement","src":"7314:38:9"}]}}]}}]},"documentation":{"id":1777,"nodeType":"StructuredDocumentation","src":"6679:421:9","text":" @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.\n Reverts if:\n - `spender` does not have approval from `owner` for `tokenId`.\n - `spender` does not have approval to manage all of `owner`'s assets.\n WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this\n assumption."},"id":1813,"implemented":true,"kind":"function","modifiers":[],"name":"_checkAuthorized","nameLocation":"7114:16:9","nodeType":"FunctionDefinition","parameters":{"id":1784,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1779,"mutability":"mutable","name":"owner","nameLocation":"7139:5:9","nodeType":"VariableDeclaration","scope":1813,"src":"7131:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1778,"name":"address","nodeType":"ElementaryTypeName","src":"7131:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1781,"mutability":"mutable","name":"spender","nameLocation":"7154:7:9","nodeType":"VariableDeclaration","scope":1813,"src":"7146:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1780,"name":"address","nodeType":"ElementaryTypeName","src":"7146:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1783,"mutability":"mutable","name":"tokenId","nameLocation":"7171:7:9","nodeType":"VariableDeclaration","scope":1813,"src":"7163:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1782,"name":"uint256","nodeType":"ElementaryTypeName","src":"7163:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7130:49:9"},"returnParameters":{"id":1785,"nodeType":"ParameterList","parameters":[],"src":"7202:0:9"},"scope":2306,"src":"7105:368:9","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":1828,"nodeType":"Block","src":"8190:78:9","statements":[{"id":1827,"nodeType":"UncheckedBlock","src":"8200:62:9","statements":[{"expression":{"id":1825,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1821,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1392,"src":"8224:9:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1823,"indexExpression":{"id":1822,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1816,"src":"8234:7:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8224:18:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":1824,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1818,"src":"8246:5:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"8224:27:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1826,"nodeType":"ExpressionStatement","src":"8224:27:9"}]}]},"documentation":{"id":1814,"nodeType":"StructuredDocumentation","src":"7479:631:9","text":" @dev Unsafe write access to the balances, used by extensions that \"mint\" tokens using an {ownerOf} override.\n NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that\n a uint256 would ever overflow from increments when these increments are bounded to uint128 values.\n WARNING: Increasing an account's balance using this function tends to be paired with an override of the\n {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership\n remain consistent with one another."},"id":1829,"implemented":true,"kind":"function","modifiers":[],"name":"_increaseBalance","nameLocation":"8124:16:9","nodeType":"FunctionDefinition","parameters":{"id":1819,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1816,"mutability":"mutable","name":"account","nameLocation":"8149:7:9","nodeType":"VariableDeclaration","scope":1829,"src":"8141:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1815,"name":"address","nodeType":"ElementaryTypeName","src":"8141:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1818,"mutability":"mutable","name":"value","nameLocation":"8166:5:9","nodeType":"VariableDeclaration","scope":1829,"src":"8158:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":1817,"name":"uint128","nodeType":"ElementaryTypeName","src":"8158:7:9","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"8140:32:9"},"returnParameters":{"id":1820,"nodeType":"ParameterList","parameters":[],"src":"8190:0:9"},"scope":2306,"src":"8115:153:9","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1918,"nodeType":"Block","src":"8956:700:9","statements":[{"assignments":[1842],"declarations":[{"constant":false,"id":1842,"mutability":"mutable","name":"from","nameLocation":"8974:4:9","nodeType":"VariableDeclaration","scope":1918,"src":"8966:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1841,"name":"address","nodeType":"ElementaryTypeName","src":"8966:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":1846,"initialValue":{"arguments":[{"id":1844,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1834,"src":"8990:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1843,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1727,"src":"8981:8:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":1845,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8981:17:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"8966:32:9"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1852,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1847,"name":"auth","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1836,"src":"9058:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1850,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9074:1:9","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":1849,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9066:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1848,"name":"address","nodeType":"ElementaryTypeName","src":"9066:7:9","typeDescriptions":{}}},"id":1851,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9066:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9058:18:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1860,"nodeType":"IfStatement","src":"9054:86:9","trueBody":{"id":1859,"nodeType":"Block","src":"9078:62:9","statements":[{"expression":{"arguments":[{"id":1854,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1842,"src":"9109:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1855,"name":"auth","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1836,"src":"9115:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1856,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1834,"src":"9121:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1853,"name":"_checkAuthorized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1813,"src":"9092:16:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256) view"}},"id":1857,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9092:37:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1858,"nodeType":"ExpressionStatement","src":"9092:37:9"}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1866,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1861,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1842,"src":"9184:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1864,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9200:1:9","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":1863,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9192:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1862,"name":"address","nodeType":"ElementaryTypeName","src":"9192:7:9","typeDescriptions":{}}},"id":1865,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9192:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9184:18:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1888,"nodeType":"IfStatement","src":"9180:256:9","trueBody":{"id":1887,"nodeType":"Block","src":"9204:232:9","statements":[{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":1870,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9317:1:9","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":1869,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9309:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1868,"name":"address","nodeType":"ElementaryTypeName","src":"9309:7:9","typeDescriptions":{}}},"id":1871,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9309:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1872,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1834,"src":"9321:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"hexValue":"30","id":1875,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9338:1:9","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":1874,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9330:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1873,"name":"address","nodeType":"ElementaryTypeName","src":"9330:7:9","typeDescriptions":{}}},"id":1876,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9330:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"66616c7365","id":1877,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"9342:5:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1867,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[2173,2239],"referencedDeclaration":2239,"src":"9300:8:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,uint256,address,bool)"}},"id":1878,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9300:48:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1879,"nodeType":"ExpressionStatement","src":"9300:48:9"},{"id":1886,"nodeType":"UncheckedBlock","src":"9363:63:9","statements":[{"expression":{"id":1884,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1880,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1392,"src":"9391:9:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1882,"indexExpression":{"id":1881,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1842,"src":"9401:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9391:15:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"hexValue":"31","id":1883,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9410:1:9","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"9391:20:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1885,"nodeType":"ExpressionStatement","src":"9391:20:9"}]}]}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1894,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1889,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1832,"src":"9450:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1892,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9464:1:9","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":1891,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9456:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1890,"name":"address","nodeType":"ElementaryTypeName","src":"9456:7:9","typeDescriptions":{}}},"id":1893,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9456:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9450:16:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1903,"nodeType":"IfStatement","src":"9446:107:9","trueBody":{"id":1902,"nodeType":"Block","src":"9468:85:9","statements":[{"id":1901,"nodeType":"UncheckedBlock","src":"9482:61:9","statements":[{"expression":{"id":1899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1895,"name":"_balances","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1392,"src":"9510:9:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":1897,"indexExpression":{"id":1896,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1832,"src":"9520:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9510:13:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":1898,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9527:1:9","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"9510:18:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1900,"nodeType":"ExpressionStatement","src":"9510:18:9"}]}]}},{"expression":{"id":1908,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":1904,"name":"_owners","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1388,"src":"9563:7:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":1906,"indexExpression":{"id":1905,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1834,"src":"9571:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"9563:16:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1907,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1832,"src":"9582:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9563:21:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1909,"nodeType":"ExpressionStatement","src":"9563:21:9"},{"eventCall":{"arguments":[{"id":1911,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1842,"src":"9609:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1912,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1832,"src":"9615:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1913,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1834,"src":"9619:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1910,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2322,"src":"9600:8:9","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1914,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9600:27:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1915,"nodeType":"EmitStatement","src":"9595:32:9"},{"expression":{"id":1916,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1842,"src":"9645:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":1840,"id":1917,"nodeType":"Return","src":"9638:11:9"}]},"documentation":{"id":1830,"nodeType":"StructuredDocumentation","src":"8274:582:9","text":" @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner\n (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.\n The `auth` argument is optional. If the value passed is non 0, then this function will check that\n `auth` is either the owner of the token, or approved to operate on the token (by the owner).\n Emits a {Transfer} event.\n NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}."},"id":1919,"implemented":true,"kind":"function","modifiers":[],"name":"_update","nameLocation":"8870:7:9","nodeType":"FunctionDefinition","parameters":{"id":1837,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1832,"mutability":"mutable","name":"to","nameLocation":"8886:2:9","nodeType":"VariableDeclaration","scope":1919,"src":"8878:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1831,"name":"address","nodeType":"ElementaryTypeName","src":"8878:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1834,"mutability":"mutable","name":"tokenId","nameLocation":"8898:7:9","nodeType":"VariableDeclaration","scope":1919,"src":"8890:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1833,"name":"uint256","nodeType":"ElementaryTypeName","src":"8890:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1836,"mutability":"mutable","name":"auth","nameLocation":"8915:4:9","nodeType":"VariableDeclaration","scope":1919,"src":"8907:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1835,"name":"address","nodeType":"ElementaryTypeName","src":"8907:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8877:43:9"},"returnParameters":{"id":1840,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1839,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1919,"src":"8947:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1838,"name":"address","nodeType":"ElementaryTypeName","src":"8947:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8946:9:9"},"scope":2306,"src":"8861:795:9","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":1968,"nodeType":"Block","src":"10031:274:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1932,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1927,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1922,"src":"10045:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1930,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10059:1:9","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":1929,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10051:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1928,"name":"address","nodeType":"ElementaryTypeName","src":"10051:7:9","typeDescriptions":{}}},"id":1931,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10051:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"10045:16:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1941,"nodeType":"IfStatement","src":"10041:87:9","trueBody":{"id":1940,"nodeType":"Block","src":"10063:65:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":1936,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10114:1:9","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":1935,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10106:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1934,"name":"address","nodeType":"ElementaryTypeName","src":"10106:7:9","typeDescriptions":{}}},"id":1937,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10106:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1933,"name":"ERC721InvalidReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":475,"src":"10084:21:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10084:33:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1939,"nodeType":"RevertStatement","src":"10077:40:9"}]}},{"assignments":[1943],"declarations":[{"constant":false,"id":1943,"mutability":"mutable","name":"previousOwner","nameLocation":"10145:13:9","nodeType":"VariableDeclaration","scope":1968,"src":"10137:21:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1942,"name":"address","nodeType":"ElementaryTypeName","src":"10137:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":1952,"initialValue":{"arguments":[{"id":1945,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1922,"src":"10169:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1946,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1924,"src":"10173:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"hexValue":"30","id":1949,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10190:1:9","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":1948,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10182:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1947,"name":"address","nodeType":"ElementaryTypeName","src":"10182:7:9","typeDescriptions":{}}},"id":1950,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10182:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":1944,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1919,"src":"10161:7:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_address_$","typeString":"function (address,uint256,address) returns (address)"}},"id":1951,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10161:32:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"10137:56:9"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1953,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1943,"src":"10207:13:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1956,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10232:1:9","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":1955,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10224:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1954,"name":"address","nodeType":"ElementaryTypeName","src":"10224:7:9","typeDescriptions":{}}},"id":1957,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10224:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"10207:27:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1967,"nodeType":"IfStatement","src":"10203:96:9","trueBody":{"id":1966,"nodeType":"Block","src":"10236:63:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":1962,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10285:1:9","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":1961,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10277:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1960,"name":"address","nodeType":"ElementaryTypeName","src":"10277:7:9","typeDescriptions":{}}},"id":1963,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10277:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1959,"name":"ERC721InvalidSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":470,"src":"10257:19:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":1964,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10257:31:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":1965,"nodeType":"RevertStatement","src":"10250:38:9"}]}}]},"documentation":{"id":1920,"nodeType":"StructuredDocumentation","src":"9662:311:9","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":1969,"implemented":true,"kind":"function","modifiers":[],"name":"_mint","nameLocation":"9987:5:9","nodeType":"FunctionDefinition","parameters":{"id":1925,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1922,"mutability":"mutable","name":"to","nameLocation":"10001:2:9","nodeType":"VariableDeclaration","scope":1969,"src":"9993:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1921,"name":"address","nodeType":"ElementaryTypeName","src":"9993:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1924,"mutability":"mutable","name":"tokenId","nameLocation":"10013:7:9","nodeType":"VariableDeclaration","scope":1969,"src":"10005:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1923,"name":"uint256","nodeType":"ElementaryTypeName","src":"10005:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9992:29:9"},"returnParameters":{"id":1926,"nodeType":"ParameterList","parameters":[],"src":"10031:0:9"},"scope":2306,"src":"9978:327:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":1983,"nodeType":"Block","src":"10713:43:9","statements":[{"expression":{"arguments":[{"id":1978,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1972,"src":"10733:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1979,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1974,"src":"10737:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"","id":1980,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"10746:2:9","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":1977,"name":"_safeMint","nodeType":"Identifier","overloadedDeclarations":[1984,2014],"referencedDeclaration":2014,"src":"10723:9:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,uint256,bytes memory)"}},"id":1981,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10723:26:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1982,"nodeType":"ExpressionStatement","src":"10723:26:9"}]},"documentation":{"id":1970,"nodeType":"StructuredDocumentation","src":"10311:340:9","text":" @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.\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":1984,"implemented":true,"kind":"function","modifiers":[],"name":"_safeMint","nameLocation":"10665:9:9","nodeType":"FunctionDefinition","parameters":{"id":1975,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1972,"mutability":"mutable","name":"to","nameLocation":"10683:2:9","nodeType":"VariableDeclaration","scope":1984,"src":"10675:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1971,"name":"address","nodeType":"ElementaryTypeName","src":"10675:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1974,"mutability":"mutable","name":"tokenId","nameLocation":"10695:7:9","nodeType":"VariableDeclaration","scope":1984,"src":"10687:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1973,"name":"uint256","nodeType":"ElementaryTypeName","src":"10687:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10674:29:9"},"returnParameters":{"id":1976,"nodeType":"ParameterList","parameters":[],"src":"10713:0:9"},"scope":2306,"src":"10656:100:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2013,"nodeType":"Block","src":"11061:123:9","statements":[{"expression":{"arguments":[{"id":1995,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1987,"src":"11077:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1996,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1989,"src":"11081:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1994,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1969,"src":"11071:5:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":1997,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11071:18:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1998,"nodeType":"ExpressionStatement","src":"11071:18:9"},{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":2002,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"11133:10:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":2003,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11133:12:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":2006,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11155:1:9","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":2005,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11147:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2004,"name":"address","nodeType":"ElementaryTypeName","src":"11147:7:9","typeDescriptions":{}}},"id":2007,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11147:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2008,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1987,"src":"11159:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2009,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1989,"src":"11163:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2010,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1991,"src":"11172:4:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":1999,"name":"ERC721Utils","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2546,"src":"11099:11:9","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_4022546_$","typeString":"type(library ERC721Utils)"}},"id":2001,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11111:21:9","memberName":"checkOnERC721Received","nodeType":"MemberAccess","referencedDeclaration":2545,"src":"11099:33:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,address,address,uint256,bytes memory)"}},"id":2011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11099:78:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2012,"nodeType":"ExpressionStatement","src":"11099:78:9"}]},"documentation":{"id":1985,"nodeType":"StructuredDocumentation","src":"10762:210:9","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":2014,"implemented":true,"kind":"function","modifiers":[],"name":"_safeMint","nameLocation":"10986:9:9","nodeType":"FunctionDefinition","parameters":{"id":1992,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1987,"mutability":"mutable","name":"to","nameLocation":"11004:2:9","nodeType":"VariableDeclaration","scope":2014,"src":"10996:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1986,"name":"address","nodeType":"ElementaryTypeName","src":"10996:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1989,"mutability":"mutable","name":"tokenId","nameLocation":"11016:7:9","nodeType":"VariableDeclaration","scope":2014,"src":"11008:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1988,"name":"uint256","nodeType":"ElementaryTypeName","src":"11008:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1991,"mutability":"mutable","name":"data","nameLocation":"11038:4:9","nodeType":"VariableDeclaration","scope":2014,"src":"11025:17:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":1990,"name":"bytes","nodeType":"ElementaryTypeName","src":"11025:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"10995:48:9"},"returnParameters":{"id":1993,"nodeType":"ParameterList","parameters":[],"src":"11061:0:9"},"scope":2306,"src":"10977:207:9","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":2046,"nodeType":"Block","src":"11551:186:9","statements":[{"assignments":[2021],"declarations":[{"constant":false,"id":2021,"mutability":"mutable","name":"previousOwner","nameLocation":"11569:13:9","nodeType":"VariableDeclaration","scope":2046,"src":"11561:21:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2020,"name":"address","nodeType":"ElementaryTypeName","src":"11561:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":2033,"initialValue":{"arguments":[{"arguments":[{"hexValue":"30","id":2025,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11601:1:9","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":2024,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11593:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2023,"name":"address","nodeType":"ElementaryTypeName","src":"11593:7:9","typeDescriptions":{}}},"id":2026,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11593:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2027,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2017,"src":"11605:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"hexValue":"30","id":2030,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11622:1:9","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":2029,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11614:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2028,"name":"address","nodeType":"ElementaryTypeName","src":"11614:7:9","typeDescriptions":{}}},"id":2031,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11614:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2022,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1919,"src":"11585:7:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_address_$","typeString":"function (address,uint256,address) returns (address)"}},"id":2032,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11585:40:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"11561:64:9"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2039,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2034,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2021,"src":"11639:13:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":2037,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11664:1:9","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":2036,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11656:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2035,"name":"address","nodeType":"ElementaryTypeName","src":"11656:7:9","typeDescriptions":{}}},"id":2038,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11656:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11639:27:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2045,"nodeType":"IfStatement","src":"11635:96:9","trueBody":{"id":2044,"nodeType":"Block","src":"11668:63:9","statements":[{"errorCall":{"arguments":[{"id":2041,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2017,"src":"11712:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2040,"name":"ERC721NonexistentToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":456,"src":"11689:22:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":2042,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11689:31:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2043,"nodeType":"RevertStatement","src":"11682:38:9"}]}}]},"documentation":{"id":2015,"nodeType":"StructuredDocumentation","src":"11190:315:9","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":2047,"implemented":true,"kind":"function","modifiers":[],"name":"_burn","nameLocation":"11519:5:9","nodeType":"FunctionDefinition","parameters":{"id":2018,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2017,"mutability":"mutable","name":"tokenId","nameLocation":"11533:7:9","nodeType":"VariableDeclaration","scope":2047,"src":"11525:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2016,"name":"uint256","nodeType":"ElementaryTypeName","src":"11525:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11524:17:9"},"returnParameters":{"id":2019,"nodeType":"ParameterList","parameters":[],"src":"11551:0:9"},"scope":2306,"src":"11510:227:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2106,"nodeType":"Block","src":"12132:389:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2062,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2057,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2052,"src":"12146:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":2060,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12160:1:9","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":2059,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12152:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2058,"name":"address","nodeType":"ElementaryTypeName","src":"12152:7:9","typeDescriptions":{}}},"id":2061,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12152:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"12146:16:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2071,"nodeType":"IfStatement","src":"12142:87:9","trueBody":{"id":2070,"nodeType":"Block","src":"12164:65:9","statements":[{"errorCall":{"arguments":[{"arguments":[{"hexValue":"30","id":2066,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12215:1:9","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":2065,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12207:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2064,"name":"address","nodeType":"ElementaryTypeName","src":"12207:7:9","typeDescriptions":{}}},"id":2067,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12207:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2063,"name":"ERC721InvalidReceiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":475,"src":"12185:21:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":2068,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12185:33:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2069,"nodeType":"RevertStatement","src":"12178:40:9"}]}},{"assignments":[2073],"declarations":[{"constant":false,"id":2073,"mutability":"mutable","name":"previousOwner","nameLocation":"12246:13:9","nodeType":"VariableDeclaration","scope":2106,"src":"12238:21:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2072,"name":"address","nodeType":"ElementaryTypeName","src":"12238:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":2082,"initialValue":{"arguments":[{"id":2075,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2052,"src":"12270:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2076,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2054,"src":"12274:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"hexValue":"30","id":2079,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12291:1:9","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":2078,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12283:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2077,"name":"address","nodeType":"ElementaryTypeName","src":"12283:7:9","typeDescriptions":{}}},"id":2080,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12283:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2074,"name":"_update","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1919,"src":"12262:7:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$returns$_t_address_$","typeString":"function (address,uint256,address) returns (address)"}},"id":2081,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12262:32:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"12238:56:9"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2088,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2083,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2073,"src":"12308:13:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":2086,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12333:1:9","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":2085,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12325:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2084,"name":"address","nodeType":"ElementaryTypeName","src":"12325:7:9","typeDescriptions":{}}},"id":2087,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12325:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"12308:27:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2096,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2094,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2073,"src":"12410:13:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":2095,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2050,"src":"12427:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"12410:21:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2104,"nodeType":"IfStatement","src":"12406:109:9","trueBody":{"id":2103,"nodeType":"Block","src":"12433:82:9","statements":[{"errorCall":{"arguments":[{"id":2098,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2050,"src":"12475:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2099,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2054,"src":"12481:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2100,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2073,"src":"12490:13:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2097,"name":"ERC721IncorrectOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":465,"src":"12454:20:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$_t_address_$returns$_t_error_$","typeString":"function (address,uint256,address) pure returns (error)"}},"id":2101,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12454:50:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2102,"nodeType":"RevertStatement","src":"12447:57:9"}]}},"id":2105,"nodeType":"IfStatement","src":"12304:211:9","trueBody":{"id":2093,"nodeType":"Block","src":"12337:63:9","statements":[{"errorCall":{"arguments":[{"id":2090,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2054,"src":"12381:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2089,"name":"ERC721NonexistentToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":456,"src":"12358:22:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":2091,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12358:31:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2092,"nodeType":"RevertStatement","src":"12351:38:9"}]}}]},"documentation":{"id":2048,"nodeType":"StructuredDocumentation","src":"11743:313:9","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":2107,"implemented":true,"kind":"function","modifiers":[],"name":"_transfer","nameLocation":"12070:9:9","nodeType":"FunctionDefinition","parameters":{"id":2055,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2050,"mutability":"mutable","name":"from","nameLocation":"12088:4:9","nodeType":"VariableDeclaration","scope":2107,"src":"12080:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2049,"name":"address","nodeType":"ElementaryTypeName","src":"12080:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2052,"mutability":"mutable","name":"to","nameLocation":"12102:2:9","nodeType":"VariableDeclaration","scope":2107,"src":"12094:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2051,"name":"address","nodeType":"ElementaryTypeName","src":"12094:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2054,"mutability":"mutable","name":"tokenId","nameLocation":"12114:7:9","nodeType":"VariableDeclaration","scope":2107,"src":"12106:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2053,"name":"uint256","nodeType":"ElementaryTypeName","src":"12106:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12079:43:9"},"returnParameters":{"id":2056,"nodeType":"ParameterList","parameters":[],"src":"12132:0:9"},"scope":2306,"src":"12061:460:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2124,"nodeType":"Block","src":"13530:53:9","statements":[{"expression":{"arguments":[{"id":2118,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2110,"src":"13554:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2119,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2112,"src":"13560:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2120,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2114,"src":"13564:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"","id":2121,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13573:2:9","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":2117,"name":"_safeTransfer","nodeType":"Identifier","overloadedDeclarations":[2125,2155],"referencedDeclaration":2155,"src":"13540:13:9","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":2122,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13540:36:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2123,"nodeType":"ExpressionStatement","src":"13540:36:9"}]},"documentation":{"id":2108,"nodeType":"StructuredDocumentation","src":"12527:923:9","text":" @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients\n are aware of the ERC-721 standard 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 like {safeTransferFrom} in the sense that it invokes\n {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `tokenId` token must exist and be owned by `from`.\n - `to` cannot be the zero address.\n - `from` cannot be the zero address.\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":2125,"implemented":true,"kind":"function","modifiers":[],"name":"_safeTransfer","nameLocation":"13464:13:9","nodeType":"FunctionDefinition","parameters":{"id":2115,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2110,"mutability":"mutable","name":"from","nameLocation":"13486:4:9","nodeType":"VariableDeclaration","scope":2125,"src":"13478:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2109,"name":"address","nodeType":"ElementaryTypeName","src":"13478:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2112,"mutability":"mutable","name":"to","nameLocation":"13500:2:9","nodeType":"VariableDeclaration","scope":2125,"src":"13492:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2111,"name":"address","nodeType":"ElementaryTypeName","src":"13492:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2114,"mutability":"mutable","name":"tokenId","nameLocation":"13512:7:9","nodeType":"VariableDeclaration","scope":2125,"src":"13504:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2113,"name":"uint256","nodeType":"ElementaryTypeName","src":"13504:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13477:43:9"},"returnParameters":{"id":2116,"nodeType":"ParameterList","parameters":[],"src":"13530:0:9"},"scope":2306,"src":"13455:128:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2154,"nodeType":"Block","src":"13922:127:9","statements":[{"expression":{"arguments":[{"id":2138,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2128,"src":"13942:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2139,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2130,"src":"13948:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2140,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2132,"src":"13952:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2137,"name":"_transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2107,"src":"13932:9:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":2141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13932:28:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2142,"nodeType":"ExpressionStatement","src":"13932:28:9"},{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":2146,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2558,"src":"14004:10:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":2147,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14004:12:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2148,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2128,"src":"14018:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2149,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2130,"src":"14024:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2150,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2132,"src":"14028:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2151,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2134,"src":"14037:4:9","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":2143,"name":"ERC721Utils","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2546,"src":"13970:11:9","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_ERC721Utils_$2546_$","typeString":"type(library ERC721Utils)"}},"id":2145,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13982:21:9","memberName":"checkOnERC721Received","nodeType":"MemberAccess","referencedDeclaration":2545,"src":"13970:33:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$","typeString":"function (address,address,address,uint256,bytes memory)"}},"id":2152,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13970:72:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2153,"nodeType":"ExpressionStatement","src":"13970:72:9"}]},"documentation":{"id":2126,"nodeType":"StructuredDocumentation","src":"13589:226:9","text":" @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients."},"id":2155,"implemented":true,"kind":"function","modifiers":[],"name":"_safeTransfer","nameLocation":"13829:13:9","nodeType":"FunctionDefinition","parameters":{"id":2135,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2128,"mutability":"mutable","name":"from","nameLocation":"13851:4:9","nodeType":"VariableDeclaration","scope":2155,"src":"13843:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2127,"name":"address","nodeType":"ElementaryTypeName","src":"13843:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2130,"mutability":"mutable","name":"to","nameLocation":"13865:2:9","nodeType":"VariableDeclaration","scope":2155,"src":"13857:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2129,"name":"address","nodeType":"ElementaryTypeName","src":"13857:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2132,"mutability":"mutable","name":"tokenId","nameLocation":"13877:7:9","nodeType":"VariableDeclaration","scope":2155,"src":"13869:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2131,"name":"uint256","nodeType":"ElementaryTypeName","src":"13869:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2134,"mutability":"mutable","name":"data","nameLocation":"13899:4:9","nodeType":"VariableDeclaration","scope":2155,"src":"13886:17:9","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2133,"name":"bytes","nodeType":"ElementaryTypeName","src":"13886:5:9","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"13842:62:9"},"returnParameters":{"id":2136,"nodeType":"ParameterList","parameters":[],"src":"13922:0:9"},"scope":2306,"src":"13820:229:9","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":2172,"nodeType":"Block","src":"14562:50:9","statements":[{"expression":{"arguments":[{"id":2166,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2158,"src":"14581:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2167,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2160,"src":"14585:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2168,"name":"auth","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2162,"src":"14594:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"hexValue":"74727565","id":2169,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"14600:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2165,"name":"_approve","nodeType":"Identifier","overloadedDeclarations":[2173,2239],"referencedDeclaration":2239,"src":"14572:8:9","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,uint256,address,bool)"}},"id":2170,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14572:33:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2171,"nodeType":"ExpressionStatement","src":"14572:33:9"}]},"documentation":{"id":2156,"nodeType":"StructuredDocumentation","src":"14055:432:9","text":" @dev Approve `to` to operate on `tokenId`\n The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is\n either the owner of the token, or approved to operate on all tokens held by this owner.\n Emits an {Approval} event.\n Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument."},"id":2173,"implemented":true,"kind":"function","modifiers":[],"name":"_approve","nameLocation":"14501:8:9","nodeType":"FunctionDefinition","parameters":{"id":2163,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2158,"mutability":"mutable","name":"to","nameLocation":"14518:2:9","nodeType":"VariableDeclaration","scope":2173,"src":"14510:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2157,"name":"address","nodeType":"ElementaryTypeName","src":"14510:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2160,"mutability":"mutable","name":"tokenId","nameLocation":"14530:7:9","nodeType":"VariableDeclaration","scope":2173,"src":"14522:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2159,"name":"uint256","nodeType":"ElementaryTypeName","src":"14522:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2162,"mutability":"mutable","name":"auth","nameLocation":"14547:4:9","nodeType":"VariableDeclaration","scope":2173,"src":"14539:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2161,"name":"address","nodeType":"ElementaryTypeName","src":"14539:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"14509:43:9"},"returnParameters":{"id":2164,"nodeType":"ParameterList","parameters":[],"src":"14562:0:9"},"scope":2306,"src":"14492:120:9","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2238,"nodeType":"Block","src":"14888:568:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":2192,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2185,"name":"emitEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2182,"src":"14954:9:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2191,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2186,"name":"auth","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2180,"src":"14967:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":2189,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14983:1:9","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":2188,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14975:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2187,"name":"address","nodeType":"ElementaryTypeName","src":"14975:7:9","typeDescriptions":{}}},"id":2190,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14975:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"14967:18:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"14954:31:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2231,"nodeType":"IfStatement","src":"14950:460:9","trueBody":{"id":2230,"nodeType":"Block","src":"14987:423:9","statements":[{"assignments":[2194],"declarations":[{"constant":false,"id":2194,"mutability":"mutable","name":"owner","nameLocation":"15009:5:9","nodeType":"VariableDeclaration","scope":2230,"src":"15001:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2193,"name":"address","nodeType":"ElementaryTypeName","src":"15001:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":2198,"initialValue":{"arguments":[{"id":2196,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2178,"src":"15031:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2195,"name":"_requireOwned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2305,"src":"15017:13:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":2197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15017:22:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"15001:38:9"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":2214,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":2208,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2204,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2199,"name":"auth","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2180,"src":"15167:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":2202,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15183:1:9","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":2201,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15175:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2200,"name":"address","nodeType":"ElementaryTypeName","src":"15175:7:9","typeDescriptions":{}}},"id":2203,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15175:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"15167:18:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2207,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2205,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2194,"src":"15189:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":2206,"name":"auth","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2180,"src":"15198:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"15189:13:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15167:35:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"id":2213,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"15206:30:9","subExpression":{"arguments":[{"id":2210,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2194,"src":"15224:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2211,"name":"auth","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2180,"src":"15231:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":2209,"name":"isApprovedForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1620,"src":"15207:16:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$","typeString":"function (address,address) view returns (bool)"}},"id":2212,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15207:29:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15167:69:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2220,"nodeType":"IfStatement","src":"15163:142:9","trueBody":{"id":2219,"nodeType":"Block","src":"15238:67:9","statements":[{"errorCall":{"arguments":[{"id":2216,"name":"auth","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2180,"src":"15285:4:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2215,"name":"ERC721InvalidApprover","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":487,"src":"15263:21:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":2217,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15263:27:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2218,"nodeType":"RevertStatement","src":"15256:34:9"}]}},{"condition":{"id":2221,"name":"emitEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2182,"src":"15323:9:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2229,"nodeType":"IfStatement","src":"15319:81:9","trueBody":{"id":2228,"nodeType":"Block","src":"15334:66:9","statements":[{"eventCall":{"arguments":[{"id":2223,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2194,"src":"15366:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2224,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2176,"src":"15373:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2225,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2178,"src":"15377:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2222,"name":"Approval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2331,"src":"15357:8:9","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":2226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15357:28:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2227,"nodeType":"EmitStatement","src":"15352:33:9"}]}}]}},{"expression":{"id":2236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":2232,"name":"_tokenApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1396,"src":"15420:15:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_address_$","typeString":"mapping(uint256 => address)"}},"id":2234,"indexExpression":{"id":2233,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2178,"src":"15436:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15420:24:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2235,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2176,"src":"15447:2:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"15420:29:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2237,"nodeType":"ExpressionStatement","src":"15420:29:9"}]},"documentation":{"id":2174,"nodeType":"StructuredDocumentation","src":"14618:171:9","text":" @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not\n emitted in the context of transfers."},"id":2239,"implemented":true,"kind":"function","modifiers":[],"name":"_approve","nameLocation":"14803:8:9","nodeType":"FunctionDefinition","parameters":{"id":2183,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2176,"mutability":"mutable","name":"to","nameLocation":"14820:2:9","nodeType":"VariableDeclaration","scope":2239,"src":"14812:10:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2175,"name":"address","nodeType":"ElementaryTypeName","src":"14812:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2178,"mutability":"mutable","name":"tokenId","nameLocation":"14832:7:9","nodeType":"VariableDeclaration","scope":2239,"src":"14824:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2177,"name":"uint256","nodeType":"ElementaryTypeName","src":"14824:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2180,"mutability":"mutable","name":"auth","nameLocation":"14849:4:9","nodeType":"VariableDeclaration","scope":2239,"src":"14841:12:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2179,"name":"address","nodeType":"ElementaryTypeName","src":"14841:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2182,"mutability":"mutable","name":"emitEvent","nameLocation":"14860:9:9","nodeType":"VariableDeclaration","scope":2239,"src":"14855:14:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2181,"name":"bool","nodeType":"ElementaryTypeName","src":"14855:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"14811:59:9"},"returnParameters":{"id":2184,"nodeType":"ParameterList","parameters":[],"src":"14888:0:9"},"scope":2306,"src":"14794:662:9","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":2275,"nodeType":"Block","src":"15758:219:9","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2254,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2249,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2244,"src":"15772:8:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":2252,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15792:1:9","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":2251,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15784:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2250,"name":"address","nodeType":"ElementaryTypeName","src":"15784:7:9","typeDescriptions":{}}},"id":2253,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15784:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"15772:22:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2260,"nodeType":"IfStatement","src":"15768:91:9","trueBody":{"id":2259,"nodeType":"Block","src":"15796:63:9","statements":[{"errorCall":{"arguments":[{"id":2256,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2244,"src":"15839:8:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2255,"name":"ERC721InvalidOperator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":492,"src":"15817:21:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":2257,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15817:31:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2258,"nodeType":"RevertStatement","src":"15810:38:9"}]}},{"expression":{"id":2267,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":2261,"name":"_operatorApprovals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1402,"src":"15868:18:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":2264,"indexExpression":{"id":2262,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2242,"src":"15887:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"15868:25:9","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":2265,"indexExpression":{"id":2263,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2244,"src":"15894:8:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"15868:35:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2266,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2246,"src":"15906:8:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15868:46:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2268,"nodeType":"ExpressionStatement","src":"15868:46:9"},{"eventCall":{"arguments":[{"id":2270,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2242,"src":"15944:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2271,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2244,"src":"15951:8:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2272,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2246,"src":"15961:8:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":2269,"name":"ApprovalForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2340,"src":"15929:14:9","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":2273,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15929:41:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2274,"nodeType":"EmitStatement","src":"15924:46:9"}]},"documentation":{"id":2240,"nodeType":"StructuredDocumentation","src":"15462:198:9","text":" @dev Approve `operator` to operate on all of `owner` tokens\n Requirements:\n - operator can't be the address zero.\n Emits an {ApprovalForAll} event."},"id":2276,"implemented":true,"kind":"function","modifiers":[],"name":"_setApprovalForAll","nameLocation":"15674:18:9","nodeType":"FunctionDefinition","parameters":{"id":2247,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2242,"mutability":"mutable","name":"owner","nameLocation":"15701:5:9","nodeType":"VariableDeclaration","scope":2276,"src":"15693:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2241,"name":"address","nodeType":"ElementaryTypeName","src":"15693:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2244,"mutability":"mutable","name":"operator","nameLocation":"15716:8:9","nodeType":"VariableDeclaration","scope":2276,"src":"15708:16:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2243,"name":"address","nodeType":"ElementaryTypeName","src":"15708:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2246,"mutability":"mutable","name":"approved","nameLocation":"15731:8:9","nodeType":"VariableDeclaration","scope":2276,"src":"15726:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2245,"name":"bool","nodeType":"ElementaryTypeName","src":"15726:4:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"15692:48:9"},"returnParameters":{"id":2248,"nodeType":"ParameterList","parameters":[],"src":"15758:0:9"},"scope":2306,"src":"15665:312:9","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":2304,"nodeType":"Block","src":"16284:169:9","statements":[{"assignments":[2285],"declarations":[{"constant":false,"id":2285,"mutability":"mutable","name":"owner","nameLocation":"16302:5:9","nodeType":"VariableDeclaration","scope":2304,"src":"16294:13:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2284,"name":"address","nodeType":"ElementaryTypeName","src":"16294:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":2289,"initialValue":{"arguments":[{"id":2287,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2279,"src":"16319:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2286,"name":"_ownerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1727,"src":"16310:8:9","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":2288,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16310:17:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"16294:33:9"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":2295,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2290,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2285,"src":"16341:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":2293,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16358:1:9","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":2292,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16350:7:9","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":2291,"name":"address","nodeType":"ElementaryTypeName","src":"16350:7:9","typeDescriptions":{}}},"id":2294,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16350:10:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"16341:19:9","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2301,"nodeType":"IfStatement","src":"16337:88:9","trueBody":{"id":2300,"nodeType":"Block","src":"16362:63:9","statements":[{"errorCall":{"arguments":[{"id":2297,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2279,"src":"16406:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2296,"name":"ERC721NonexistentToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":456,"src":"16383:22:9","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":2298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16383:31:9","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2299,"nodeType":"RevertStatement","src":"16376:38:9"}]}},{"expression":{"id":2302,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2285,"src":"16441:5:9","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":2283,"id":2303,"nodeType":"Return","src":"16434:12:9"}]},"documentation":{"id":2277,"nodeType":"StructuredDocumentation","src":"15983:224:9","text":" @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).\n Returns the owner.\n Overrides to ownership logic should be done to {_ownerOf}."},"id":2305,"implemented":true,"kind":"function","modifiers":[],"name":"_requireOwned","nameLocation":"16221:13:9","nodeType":"FunctionDefinition","parameters":{"id":2280,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2279,"mutability":"mutable","name":"tokenId","nameLocation":"16243:7:9","nodeType":"VariableDeclaration","scope":2305,"src":"16235:15:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2278,"name":"uint256","nodeType":"ElementaryTypeName","src":"16235:7:9","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16234:17:9"},"returnParameters":{"id":2283,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2282,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2305,"src":"16275:7:9","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2281,"name":"address","nodeType":"ElementaryTypeName","src":"16275:7:9","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"16274:9:9"},"scope":2306,"src":"16212:241:9","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":2307,"src":"775:15680:9","usedErrors":[451,456,465,470,475,482,487,492],"usedEvents":[2322,2331,2340]}],"src":"107:16349:9"},"id":9},"@openzeppelin/contracts/token/ERC721/IERC721.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","exportedSymbols":{"IERC165":[5205],"IERC721":[2423]},"id":2424,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2308,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"108:24:10"},{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","file":"../../utils/introspection/IERC165.sol","id":2310,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2424,"sourceUnit":5206,"src":"134:62:10","symbolAliases":[{"foreign":{"id":2309,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5205,"src":"142:7:10","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":2312,"name":"IERC165","nameLocations":["288:7:10"],"nodeType":"IdentifierPath","referencedDeclaration":5205,"src":"288:7:10"},"id":2313,"nodeType":"InheritanceSpecifier","src":"288:7:10"}],"canonicalName":"IERC721","contractDependencies":[],"contractKind":"interface","documentation":{"id":2311,"nodeType":"StructuredDocumentation","src":"198:68:10","text":" @dev Required interface of an ERC-721 compliant contract."},"fullyImplemented":false,"id":2423,"linearizedBaseContracts":[2423,5205],"name":"IERC721","nameLocation":"277:7:10","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":2314,"nodeType":"StructuredDocumentation","src":"302:88:10","text":" @dev Emitted when `tokenId` token is transferred from `from` to `to`."},"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":2322,"name":"Transfer","nameLocation":"401:8:10","nodeType":"EventDefinition","parameters":{"id":2321,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2316,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"426:4:10","nodeType":"VariableDeclaration","scope":2322,"src":"410:20:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2315,"name":"address","nodeType":"ElementaryTypeName","src":"410:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2318,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"448:2:10","nodeType":"VariableDeclaration","scope":2322,"src":"432:18:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2317,"name":"address","nodeType":"ElementaryTypeName","src":"432:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2320,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"468:7:10","nodeType":"VariableDeclaration","scope":2322,"src":"452:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2319,"name":"uint256","nodeType":"ElementaryTypeName","src":"452:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"409:67:10"},"src":"395:82:10"},{"anonymous":false,"documentation":{"id":2323,"nodeType":"StructuredDocumentation","src":"483:94:10","text":" @dev Emitted when `owner` enables `approved` to manage the `tokenId` token."},"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":2331,"name":"Approval","nameLocation":"588:8:10","nodeType":"EventDefinition","parameters":{"id":2330,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2325,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"613:5:10","nodeType":"VariableDeclaration","scope":2331,"src":"597:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2324,"name":"address","nodeType":"ElementaryTypeName","src":"597:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2327,"indexed":true,"mutability":"mutable","name":"approved","nameLocation":"636:8:10","nodeType":"VariableDeclaration","scope":2331,"src":"620:24:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2326,"name":"address","nodeType":"ElementaryTypeName","src":"620:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2329,"indexed":true,"mutability":"mutable","name":"tokenId","nameLocation":"662:7:10","nodeType":"VariableDeclaration","scope":2331,"src":"646:23:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2328,"name":"uint256","nodeType":"ElementaryTypeName","src":"646:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"596:74:10"},"src":"582:89:10"},{"anonymous":false,"documentation":{"id":2332,"nodeType":"StructuredDocumentation","src":"677:117:10","text":" @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets."},"eventSelector":"17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31","id":2340,"name":"ApprovalForAll","nameLocation":"805:14:10","nodeType":"EventDefinition","parameters":{"id":2339,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2334,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"836:5:10","nodeType":"VariableDeclaration","scope":2340,"src":"820:21:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2333,"name":"address","nodeType":"ElementaryTypeName","src":"820:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2336,"indexed":true,"mutability":"mutable","name":"operator","nameLocation":"859:8:10","nodeType":"VariableDeclaration","scope":2340,"src":"843:24:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2335,"name":"address","nodeType":"ElementaryTypeName","src":"843:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2338,"indexed":false,"mutability":"mutable","name":"approved","nameLocation":"874:8:10","nodeType":"VariableDeclaration","scope":2340,"src":"869:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2337,"name":"bool","nodeType":"ElementaryTypeName","src":"869:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"819:64:10"},"src":"799:85:10"},{"documentation":{"id":2341,"nodeType":"StructuredDocumentation","src":"890:76:10","text":" @dev Returns the number of tokens in ``owner``'s account."},"functionSelector":"70a08231","id":2348,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"980:9:10","nodeType":"FunctionDefinition","parameters":{"id":2344,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2343,"mutability":"mutable","name":"owner","nameLocation":"998:5:10","nodeType":"VariableDeclaration","scope":2348,"src":"990:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2342,"name":"address","nodeType":"ElementaryTypeName","src":"990:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"989:15:10"},"returnParameters":{"id":2347,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2346,"mutability":"mutable","name":"balance","nameLocation":"1036:7:10","nodeType":"VariableDeclaration","scope":2348,"src":"1028:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2345,"name":"uint256","nodeType":"ElementaryTypeName","src":"1028:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1027:17:10"},"scope":2423,"src":"971:74:10","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2349,"nodeType":"StructuredDocumentation","src":"1051:131:10","text":" @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist."},"functionSelector":"6352211e","id":2356,"implemented":false,"kind":"function","modifiers":[],"name":"ownerOf","nameLocation":"1196:7:10","nodeType":"FunctionDefinition","parameters":{"id":2352,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2351,"mutability":"mutable","name":"tokenId","nameLocation":"1212:7:10","nodeType":"VariableDeclaration","scope":2356,"src":"1204:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2350,"name":"uint256","nodeType":"ElementaryTypeName","src":"1204:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1203:17:10"},"returnParameters":{"id":2355,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2354,"mutability":"mutable","name":"owner","nameLocation":"1252:5:10","nodeType":"VariableDeclaration","scope":2356,"src":"1244:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2353,"name":"address","nodeType":"ElementaryTypeName","src":"1244:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1243:15:10"},"scope":2423,"src":"1187:72:10","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2357,"nodeType":"StructuredDocumentation","src":"1265:565:10","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\n a safe transfer.\n Emits a {Transfer} event."},"functionSelector":"b88d4fde","id":2368,"implemented":false,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"1844:16:10","nodeType":"FunctionDefinition","parameters":{"id":2366,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2359,"mutability":"mutable","name":"from","nameLocation":"1869:4:10","nodeType":"VariableDeclaration","scope":2368,"src":"1861:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2358,"name":"address","nodeType":"ElementaryTypeName","src":"1861:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2361,"mutability":"mutable","name":"to","nameLocation":"1883:2:10","nodeType":"VariableDeclaration","scope":2368,"src":"1875:10:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2360,"name":"address","nodeType":"ElementaryTypeName","src":"1875:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2363,"mutability":"mutable","name":"tokenId","nameLocation":"1895:7:10","nodeType":"VariableDeclaration","scope":2368,"src":"1887:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2362,"name":"uint256","nodeType":"ElementaryTypeName","src":"1887:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2365,"mutability":"mutable","name":"data","nameLocation":"1919:4:10","nodeType":"VariableDeclaration","scope":2368,"src":"1904:19:10","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2364,"name":"bytes","nodeType":"ElementaryTypeName","src":"1904:5:10","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1860:64:10"},"returnParameters":{"id":2367,"nodeType":"ParameterList","parameters":[],"src":"1933:0:10"},"scope":2423,"src":"1835:99:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2369,"nodeType":"StructuredDocumentation","src":"1940:706:10","text":" @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC-721 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\n {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon\n a safe transfer.\n Emits a {Transfer} event."},"functionSelector":"42842e0e","id":2378,"implemented":false,"kind":"function","modifiers":[],"name":"safeTransferFrom","nameLocation":"2660:16:10","nodeType":"FunctionDefinition","parameters":{"id":2376,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2371,"mutability":"mutable","name":"from","nameLocation":"2685:4:10","nodeType":"VariableDeclaration","scope":2378,"src":"2677:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2370,"name":"address","nodeType":"ElementaryTypeName","src":"2677:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2373,"mutability":"mutable","name":"to","nameLocation":"2699:2:10","nodeType":"VariableDeclaration","scope":2378,"src":"2691:10:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2372,"name":"address","nodeType":"ElementaryTypeName","src":"2691:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2375,"mutability":"mutable","name":"tokenId","nameLocation":"2711:7:10","nodeType":"VariableDeclaration","scope":2378,"src":"2703:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2374,"name":"uint256","nodeType":"ElementaryTypeName","src":"2703:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2676:43:10"},"returnParameters":{"id":2377,"nodeType":"ParameterList","parameters":[],"src":"2728:0:10"},"scope":2423,"src":"2651:78:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2379,"nodeType":"StructuredDocumentation","src":"2735:733:10","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 ERC-721\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":2388,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"3482:12:10","nodeType":"FunctionDefinition","parameters":{"id":2386,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2381,"mutability":"mutable","name":"from","nameLocation":"3503:4:10","nodeType":"VariableDeclaration","scope":2388,"src":"3495:12:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2380,"name":"address","nodeType":"ElementaryTypeName","src":"3495:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2383,"mutability":"mutable","name":"to","nameLocation":"3517:2:10","nodeType":"VariableDeclaration","scope":2388,"src":"3509:10:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2382,"name":"address","nodeType":"ElementaryTypeName","src":"3509:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2385,"mutability":"mutable","name":"tokenId","nameLocation":"3529:7:10","nodeType":"VariableDeclaration","scope":2388,"src":"3521:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2384,"name":"uint256","nodeType":"ElementaryTypeName","src":"3521:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3494:43:10"},"returnParameters":{"id":2387,"nodeType":"ParameterList","parameters":[],"src":"3546:0:10"},"scope":2423,"src":"3473:74:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2389,"nodeType":"StructuredDocumentation","src":"3553:452:10","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":2396,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"4019:7:10","nodeType":"FunctionDefinition","parameters":{"id":2394,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2391,"mutability":"mutable","name":"to","nameLocation":"4035:2:10","nodeType":"VariableDeclaration","scope":2396,"src":"4027:10:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2390,"name":"address","nodeType":"ElementaryTypeName","src":"4027:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2393,"mutability":"mutable","name":"tokenId","nameLocation":"4047:7:10","nodeType":"VariableDeclaration","scope":2396,"src":"4039:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2392,"name":"uint256","nodeType":"ElementaryTypeName","src":"4039:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4026:29:10"},"returnParameters":{"id":2395,"nodeType":"ParameterList","parameters":[],"src":"4064:0:10"},"scope":2423,"src":"4010:55:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2397,"nodeType":"StructuredDocumentation","src":"4071:315:10","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 address zero.\n Emits an {ApprovalForAll} event."},"functionSelector":"a22cb465","id":2404,"implemented":false,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"4400:17:10","nodeType":"FunctionDefinition","parameters":{"id":2402,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2399,"mutability":"mutable","name":"operator","nameLocation":"4426:8:10","nodeType":"VariableDeclaration","scope":2404,"src":"4418:16:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2398,"name":"address","nodeType":"ElementaryTypeName","src":"4418:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2401,"mutability":"mutable","name":"approved","nameLocation":"4441:8:10","nodeType":"VariableDeclaration","scope":2404,"src":"4436:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2400,"name":"bool","nodeType":"ElementaryTypeName","src":"4436:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4417:33:10"},"returnParameters":{"id":2403,"nodeType":"ParameterList","parameters":[],"src":"4459:0:10"},"scope":2423,"src":"4391:69:10","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":2405,"nodeType":"StructuredDocumentation","src":"4466:139:10","text":" @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist."},"functionSelector":"081812fc","id":2412,"implemented":false,"kind":"function","modifiers":[],"name":"getApproved","nameLocation":"4619:11:10","nodeType":"FunctionDefinition","parameters":{"id":2408,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2407,"mutability":"mutable","name":"tokenId","nameLocation":"4639:7:10","nodeType":"VariableDeclaration","scope":2412,"src":"4631:15:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2406,"name":"uint256","nodeType":"ElementaryTypeName","src":"4631:7:10","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4630:17:10"},"returnParameters":{"id":2411,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2410,"mutability":"mutable","name":"operator","nameLocation":"4679:8:10","nodeType":"VariableDeclaration","scope":2412,"src":"4671:16:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2409,"name":"address","nodeType":"ElementaryTypeName","src":"4671:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4670:18:10"},"scope":2423,"src":"4610:79:10","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2413,"nodeType":"StructuredDocumentation","src":"4695:138:10","text":" @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}"},"functionSelector":"e985e9c5","id":2422,"implemented":false,"kind":"function","modifiers":[],"name":"isApprovedForAll","nameLocation":"4847:16:10","nodeType":"FunctionDefinition","parameters":{"id":2418,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2415,"mutability":"mutable","name":"owner","nameLocation":"4872:5:10","nodeType":"VariableDeclaration","scope":2422,"src":"4864:13:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2414,"name":"address","nodeType":"ElementaryTypeName","src":"4864:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2417,"mutability":"mutable","name":"operator","nameLocation":"4887:8:10","nodeType":"VariableDeclaration","scope":2422,"src":"4879:16:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2416,"name":"address","nodeType":"ElementaryTypeName","src":"4879:7:10","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4863:33:10"},"returnParameters":{"id":2421,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2420,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2422,"src":"4920:4:10","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2419,"name":"bool","nodeType":"ElementaryTypeName","src":"4920:4:10","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4919:6:10"},"scope":2423,"src":"4838:88:10","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":2424,"src":"267:4661:10","usedErrors":[],"usedEvents":[2322,2331,2340]}],"src":"108:4821:10"},"id":10},"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol","exportedSymbols":{"IERC721Receiver":[2441]},"id":2442,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2425,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"116:24:11"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC721Receiver","contractDependencies":[],"contractKind":"interface","documentation":{"id":2426,"nodeType":"StructuredDocumentation","src":"142:154:11","text":" @title ERC-721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC-721 asset contracts."},"fullyImplemented":false,"id":2441,"linearizedBaseContracts":[2441],"name":"IERC721Receiver","nameLocation":"307:15:11","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2427,"nodeType":"StructuredDocumentation","src":"329:500:11","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\n reverted.\n The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`."},"functionSelector":"150b7a02","id":2440,"implemented":false,"kind":"function","modifiers":[],"name":"onERC721Received","nameLocation":"843:16:11","nodeType":"FunctionDefinition","parameters":{"id":2436,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2429,"mutability":"mutable","name":"operator","nameLocation":"877:8:11","nodeType":"VariableDeclaration","scope":2440,"src":"869:16:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2428,"name":"address","nodeType":"ElementaryTypeName","src":"869:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2431,"mutability":"mutable","name":"from","nameLocation":"903:4:11","nodeType":"VariableDeclaration","scope":2440,"src":"895:12:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2430,"name":"address","nodeType":"ElementaryTypeName","src":"895:7:11","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2433,"mutability":"mutable","name":"tokenId","nameLocation":"925:7:11","nodeType":"VariableDeclaration","scope":2440,"src":"917:15:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2432,"name":"uint256","nodeType":"ElementaryTypeName","src":"917:7:11","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2435,"mutability":"mutable","name":"data","nameLocation":"957:4:11","nodeType":"VariableDeclaration","scope":2440,"src":"942:19:11","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2434,"name":"bytes","nodeType":"ElementaryTypeName","src":"942:5:11","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"859:108:11"},"returnParameters":{"id":2439,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2438,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2440,"src":"986:6:11","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2437,"name":"bytes4","nodeType":"ElementaryTypeName","src":"986:6:11","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"985:8:11"},"scope":2441,"src":"834:160:11","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":2442,"src":"297:699:11","usedErrors":[],"usedEvents":[]}],"src":"116:881:11"},"id":11},"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol","exportedSymbols":{"IERC721":[2423],"IERC721Metadata":[2469]},"id":2470,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2443,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"127:24:12"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721.sol","file":"../IERC721.sol","id":2445,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2470,"sourceUnit":2424,"src":"153:39:12","symbolAliases":[{"foreign":{"id":2444,"name":"IERC721","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2423,"src":"161:7:12","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":2447,"name":"IERC721","nameLocations":["357:7:12"],"nodeType":"IdentifierPath","referencedDeclaration":2423,"src":"357:7:12"},"id":2448,"nodeType":"InheritanceSpecifier","src":"357:7:12"}],"canonicalName":"IERC721Metadata","contractDependencies":[],"contractKind":"interface","documentation":{"id":2446,"nodeType":"StructuredDocumentation","src":"194:133:12","text":" @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721"},"fullyImplemented":false,"id":2469,"linearizedBaseContracts":[2469,2423,5205],"name":"IERC721Metadata","nameLocation":"338:15:12","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2449,"nodeType":"StructuredDocumentation","src":"371:58:12","text":" @dev Returns the token collection name."},"functionSelector":"06fdde03","id":2454,"implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"443:4:12","nodeType":"FunctionDefinition","parameters":{"id":2450,"nodeType":"ParameterList","parameters":[],"src":"447:2:12"},"returnParameters":{"id":2453,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2452,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2454,"src":"473:13:12","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2451,"name":"string","nodeType":"ElementaryTypeName","src":"473:6:12","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"472:15:12"},"scope":2469,"src":"434:54:12","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2455,"nodeType":"StructuredDocumentation","src":"494:60:12","text":" @dev Returns the token collection symbol."},"functionSelector":"95d89b41","id":2460,"implemented":false,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"568:6:12","nodeType":"FunctionDefinition","parameters":{"id":2456,"nodeType":"ParameterList","parameters":[],"src":"574:2:12"},"returnParameters":{"id":2459,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2458,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2460,"src":"600:13:12","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2457,"name":"string","nodeType":"ElementaryTypeName","src":"600:6:12","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"599:15:12"},"scope":2469,"src":"559:56:12","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":2461,"nodeType":"StructuredDocumentation","src":"621:90:12","text":" @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token."},"functionSelector":"c87b56dd","id":2468,"implemented":false,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"725:8:12","nodeType":"FunctionDefinition","parameters":{"id":2464,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2463,"mutability":"mutable","name":"tokenId","nameLocation":"742:7:12","nodeType":"VariableDeclaration","scope":2468,"src":"734:15:12","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2462,"name":"uint256","nodeType":"ElementaryTypeName","src":"734:7:12","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"733:17:12"},"returnParameters":{"id":2467,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2466,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2468,"src":"774:13:12","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2465,"name":"string","nodeType":"ElementaryTypeName","src":"774:6:12","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"773:15:12"},"scope":2469,"src":"716:73:12","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":2470,"src":"328:463:12","usedErrors":[],"usedEvents":[2322,2331,2340]}],"src":"127:665:12"},"id":12},"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol","exportedSymbols":{"ERC721Utils":[2546],"IERC721Errors":[493],"IERC721Receiver":[2441]},"id":2547,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2471,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"118:24:13"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol","file":"../IERC721Receiver.sol","id":2473,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2547,"sourceUnit":2442,"src":"144:55:13","symbolAliases":[{"foreign":{"id":2472,"name":"IERC721Receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2441,"src":"152:15:13","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/draft-IERC6093.sol","file":"../../../interfaces/draft-IERC6093.sol","id":2475,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2547,"sourceUnit":541,"src":"200:69:13","symbolAliases":[{"foreign":{"id":2474,"name":"IERC721Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":493,"src":"208:13:13","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"ERC721Utils","contractDependencies":[],"contractKind":"library","documentation":{"id":2476,"nodeType":"StructuredDocumentation","src":"271:159:13","text":" @dev Library that provide common ERC-721 utility functions.\n See https://eips.ethereum.org/EIPS/eip-721[ERC-721].\n _Available since v5.1._"},"fullyImplemented":true,"id":2546,"linearizedBaseContracts":[2546],"name":"ERC721Utils","nameLocation":"439:11:13","nodeType":"ContractDefinition","nodes":[{"body":{"id":2544,"nodeType":"Block","src":"1159:758:13","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":2490,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2483,"src":"1173:2:13","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":2491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1176:4:13","memberName":"code","nodeType":"MemberAccess","src":"1173:7:13","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2492,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1181:6:13","memberName":"length","nodeType":"MemberAccess","src":"1173:14:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":2493,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1190:1:13","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1173:18:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2543,"nodeType":"IfStatement","src":"1169:742:13","trueBody":{"id":2542,"nodeType":"Block","src":"1193:718:13","statements":[{"clauses":[{"block":{"id":2520,"nodeType":"Block","src":"1303:214:13","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":2511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2507,"name":"retval","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2505,"src":"1325:6:13","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"expression":{"id":2508,"name":"IERC721Receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2441,"src":"1335:15:13","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_4832441_$","typeString":"type(contract IERC721Receiver)"}},"id":2509,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1351:16:13","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":2440,"src":"1335:32:13","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":2510,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1368:8:13","memberName":"selector","nodeType":"MemberAccess","src":"1335:41:13","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"1325:51:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2519,"nodeType":"IfStatement","src":"1321:182:13","trueBody":{"id":2518,"nodeType":"Block","src":"1378:125:13","statements":[{"errorCall":{"arguments":[{"id":2515,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2483,"src":"1481:2:13","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":2512,"name":"IERC721Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":493,"src":"1445:13:13","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC721Errors_$493_$","typeString":"type(contract IERC721Errors)"}},"id":2514,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1459:21:13","memberName":"ERC721InvalidReceiver","nodeType":"MemberAccess","referencedDeclaration":475,"src":"1445:35:13","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":2516,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1445:39:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2517,"nodeType":"RevertStatement","src":"1438:46:13"}]}}]},"errorName":"","id":2521,"nodeType":"TryCatchClause","parameters":{"id":2506,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2505,"mutability":"mutable","name":"retval","nameLocation":"1295:6:13","nodeType":"VariableDeclaration","scope":2521,"src":"1288:13:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":2504,"name":"bytes4","nodeType":"ElementaryTypeName","src":"1288:6:13","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"1287:15:13"},"src":"1279:238:13"},{"block":{"id":2539,"nodeType":"Block","src":"1546:355:13","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2528,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2525,"name":"reason","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2523,"src":"1568:6:13","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1575:6:13","memberName":"length","nodeType":"MemberAccess","src":"1568:13:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":2527,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1585:1:13","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1568:18:13","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2537,"nodeType":"Block","src":"1736:151:13","statements":[{"AST":{"nativeSrc":"1783:86:13","nodeType":"YulBlock","src":"1783:86:13","statements":[{"expression":{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"1820:2:13","nodeType":"YulLiteral","src":"1820:2:13","type":"","value":"32"},{"name":"reason","nativeSrc":"1824:6:13","nodeType":"YulIdentifier","src":"1824:6:13"}],"functionName":{"name":"add","nativeSrc":"1816:3:13","nodeType":"YulIdentifier","src":"1816:3:13"},"nativeSrc":"1816:15:13","nodeType":"YulFunctionCall","src":"1816:15:13"},{"arguments":[{"name":"reason","nativeSrc":"1839:6:13","nodeType":"YulIdentifier","src":"1839:6:13"}],"functionName":{"name":"mload","nativeSrc":"1833:5:13","nodeType":"YulIdentifier","src":"1833:5:13"},"nativeSrc":"1833:13:13","nodeType":"YulFunctionCall","src":"1833:13:13"}],"functionName":{"name":"revert","nativeSrc":"1809:6:13","nodeType":"YulIdentifier","src":"1809:6:13"},"nativeSrc":"1809:38:13","nodeType":"YulFunctionCall","src":"1809:38:13"},"nativeSrc":"1809:38:13","nodeType":"YulExpressionStatement","src":"1809:38:13"}]},"evmVersion":"paris","externalReferences":[{"declaration":2523,"isOffset":false,"isSlot":false,"src":"1824:6:13","valueSize":1},{"declaration":2523,"isOffset":false,"isSlot":false,"src":"1839:6:13","valueSize":1}],"flags":["memory-safe"],"id":2536,"nodeType":"InlineAssembly","src":"1758:111:13"}]},"id":2538,"nodeType":"IfStatement","src":"1564:323:13","trueBody":{"id":2535,"nodeType":"Block","src":"1588:142:13","statements":[{"errorCall":{"arguments":[{"id":2532,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2483,"src":"1708:2:13","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":2529,"name":"IERC721Errors","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":493,"src":"1672:13:13","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_492493_$","typeString":"type(contract IERC721Errors)"}},"id":2531,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1686:21:13","memberName":"ERC721InvalidReceiver","nodeType":"MemberAccess","referencedDeclaration":475,"src":"1672:35:13","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$returns$_t_error_$","typeString":"function (address) pure returns (error)"}},"id":2533,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1672:39:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2534,"nodeType":"RevertStatement","src":"1665:46:13"}]}}]},"errorName":"","id":2540,"nodeType":"TryCatchClause","parameters":{"id":2524,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2523,"mutability":"mutable","name":"reason","nameLocation":"1538:6:13","nodeType":"VariableDeclaration","scope":2540,"src":"1525:19:13","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2522,"name":"bytes","nodeType":"ElementaryTypeName","src":"1525:5:13","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1524:21:13"},"src":"1518:383:13"}],"externalCall":{"arguments":[{"id":2499,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2479,"src":"1248:8:13","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2500,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2481,"src":"1258:4:13","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2501,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2485,"src":"1264:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":2502,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2487,"src":"1273:4:13","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":2496,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2483,"src":"1227:2:13","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2495,"name":"IERC721Receiver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2441,"src":"1211:15:13","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_4962441_$","typeString":"type(contract IERC721Receiver)"}},"id":2497,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1211:19:13","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC721Receiver_$2441","typeString":"contract IERC721Receiver"}},"id":2498,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1231:16:13","memberName":"onERC721Received","nodeType":"MemberAccess","referencedDeclaration":2440,"src":"1211:36:13","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":2503,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1211:67:13","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"id":2541,"nodeType":"TryStatement","src":"1207:694:13"}]}}]},"documentation":{"id":2477,"nodeType":"StructuredDocumentation","src":"457:531:13","text":" @dev Performs an acceptance check for the provided `operator` by calling {IERC721Receiver-onERC721Received}\n on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).\n The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).\n Otherwise, the recipient must implement {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept\n the transfer."},"id":2545,"implemented":true,"kind":"function","modifiers":[],"name":"checkOnERC721Received","nameLocation":"1002:21:13","nodeType":"FunctionDefinition","parameters":{"id":2488,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2479,"mutability":"mutable","name":"operator","nameLocation":"1041:8:13","nodeType":"VariableDeclaration","scope":2545,"src":"1033:16:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2478,"name":"address","nodeType":"ElementaryTypeName","src":"1033:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2481,"mutability":"mutable","name":"from","nameLocation":"1067:4:13","nodeType":"VariableDeclaration","scope":2545,"src":"1059:12:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2480,"name":"address","nodeType":"ElementaryTypeName","src":"1059:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2483,"mutability":"mutable","name":"to","nameLocation":"1089:2:13","nodeType":"VariableDeclaration","scope":2545,"src":"1081:10:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2482,"name":"address","nodeType":"ElementaryTypeName","src":"1081:7:13","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2485,"mutability":"mutable","name":"tokenId","nameLocation":"1109:7:13","nodeType":"VariableDeclaration","scope":2545,"src":"1101:15:13","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2484,"name":"uint256","nodeType":"ElementaryTypeName","src":"1101:7:13","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":2487,"mutability":"mutable","name":"data","nameLocation":"1139:4:13","nodeType":"VariableDeclaration","scope":2545,"src":"1126:17:13","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2486,"name":"bytes","nodeType":"ElementaryTypeName","src":"1126:5:13","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1023:126:13"},"returnParameters":{"id":2489,"nodeType":"ParameterList","parameters":[],"src":"1159:0:13"},"scope":2546,"src":"993:924:13","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":2547,"src":"431:1488:13","usedErrors":[],"usedEvents":[]}],"src":"118:1802:13"},"id":13},"@openzeppelin/contracts/utils/Context.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Context.sol","exportedSymbols":{"Context":[2576]},"id":2577,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2548,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"101:24:14"},{"abstract":true,"baseContracts":[],"canonicalName":"Context","contractDependencies":[],"contractKind":"contract","documentation":{"id":2549,"nodeType":"StructuredDocumentation","src":"127:496:14","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":2576,"linearizedBaseContracts":[2576],"name":"Context","nameLocation":"642:7:14","nodeType":"ContractDefinition","nodes":[{"body":{"id":2557,"nodeType":"Block","src":"718:34:14","statements":[{"expression":{"expression":{"id":2554,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"735:3:14","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2555,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"739:6:14","memberName":"sender","nodeType":"MemberAccess","src":"735:10:14","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":2553,"id":2556,"nodeType":"Return","src":"728:17:14"}]},"id":2558,"implemented":true,"kind":"function","modifiers":[],"name":"_msgSender","nameLocation":"665:10:14","nodeType":"FunctionDefinition","parameters":{"id":2550,"nodeType":"ParameterList","parameters":[],"src":"675:2:14"},"returnParameters":{"id":2553,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2552,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2558,"src":"709:7:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2551,"name":"address","nodeType":"ElementaryTypeName","src":"709:7:14","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"708:9:14"},"scope":2576,"src":"656:96:14","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":2566,"nodeType":"Block","src":"825:32:14","statements":[{"expression":{"expression":{"id":2563,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"842:3:14","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":2564,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"846:4:14","memberName":"data","nodeType":"MemberAccess","src":"842:8:14","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"functionReturnParameters":2562,"id":2565,"nodeType":"Return","src":"835:15:14"}]},"id":2567,"implemented":true,"kind":"function","modifiers":[],"name":"_msgData","nameLocation":"767:8:14","nodeType":"FunctionDefinition","parameters":{"id":2559,"nodeType":"ParameterList","parameters":[],"src":"775:2:14"},"returnParameters":{"id":2562,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2561,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2567,"src":"809:14:14","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":2560,"name":"bytes","nodeType":"ElementaryTypeName","src":"809:5:14","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"808:16:14"},"scope":2576,"src":"758:99:14","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":2574,"nodeType":"Block","src":"935:25:14","statements":[{"expression":{"hexValue":"30","id":2572,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"952:1:14","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":2571,"id":2573,"nodeType":"Return","src":"945:8:14"}]},"id":2575,"implemented":true,"kind":"function","modifiers":[],"name":"_contextSuffixLength","nameLocation":"872:20:14","nodeType":"FunctionDefinition","parameters":{"id":2568,"nodeType":"ParameterList","parameters":[],"src":"892:2:14"},"returnParameters":{"id":2571,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2570,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2575,"src":"926:7:14","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2569,"name":"uint256","nodeType":"ElementaryTypeName","src":"926:7:14","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"925:9:14"},"scope":2576,"src":"863:97:14","stateMutability":"view","virtual":true,"visibility":"internal"}],"scope":2577,"src":"624:338:14","usedErrors":[],"usedEvents":[]}],"src":"101:862:14"},"id":14},"@openzeppelin/contracts/utils/Nonces.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Nonces.sol","exportedSymbols":{"Nonces":[2644]},"id":2645,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2578,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"99:24:15"},{"abstract":true,"baseContracts":[],"canonicalName":"Nonces","contractDependencies":[],"contractKind":"contract","documentation":{"id":2579,"nodeType":"StructuredDocumentation","src":"125:83:15","text":" @dev Provides tracking nonces for addresses. Nonces will only increment."},"fullyImplemented":true,"id":2644,"linearizedBaseContracts":[2644],"name":"Nonces","nameLocation":"227:6:15","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":2580,"nodeType":"StructuredDocumentation","src":"240:90:15","text":" @dev The nonce used for an `account` is not the expected current nonce."},"errorSelector":"752d88c0","id":2586,"name":"InvalidAccountNonce","nameLocation":"341:19:15","nodeType":"ErrorDefinition","parameters":{"id":2585,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2582,"mutability":"mutable","name":"account","nameLocation":"369:7:15","nodeType":"VariableDeclaration","scope":2586,"src":"361:15:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2581,"name":"address","nodeType":"ElementaryTypeName","src":"361:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2584,"mutability":"mutable","name":"currentNonce","nameLocation":"386:12:15","nodeType":"VariableDeclaration","scope":2586,"src":"378:20:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2583,"name":"uint256","nodeType":"ElementaryTypeName","src":"378:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"360:39:15"},"src":"335:65:15"},{"constant":false,"id":2590,"mutability":"mutable","name":"_nonces","nameLocation":"450:7:15","nodeType":"VariableDeclaration","scope":2644,"src":"406:51:15","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":2589,"keyName":"account","keyNameLocation":"422:7:15","keyType":{"id":2587,"name":"address","nodeType":"ElementaryTypeName","src":"414:7:15","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"406:35:15","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":2588,"name":"uint256","nodeType":"ElementaryTypeName","src":"433:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"private"},{"body":{"id":2602,"nodeType":"Block","src":"607:38:15","statements":[{"expression":{"baseExpression":{"id":2598,"name":"_nonces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2590,"src":"624:7:15","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":2600,"indexExpression":{"id":2599,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2593,"src":"632:5:15","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"624:14:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2597,"id":2601,"nodeType":"Return","src":"617:21:15"}]},"documentation":{"id":2591,"nodeType":"StructuredDocumentation","src":"464:69:15","text":" @dev Returns the next unused nonce for an address."},"functionSelector":"7ecebe00","id":2603,"implemented":true,"kind":"function","modifiers":[],"name":"nonces","nameLocation":"547:6:15","nodeType":"FunctionDefinition","parameters":{"id":2594,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2593,"mutability":"mutable","name":"owner","nameLocation":"562:5:15","nodeType":"VariableDeclaration","scope":2603,"src":"554:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2592,"name":"address","nodeType":"ElementaryTypeName","src":"554:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"553:15:15"},"returnParameters":{"id":2597,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2596,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2603,"src":"598:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2595,"name":"uint256","nodeType":"ElementaryTypeName","src":"598:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"597:9:15"},"scope":2644,"src":"538:107:15","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":2617,"nodeType":"Block","src":"828:326:15","statements":[{"id":2616,"nodeType":"UncheckedBlock","src":"1031:117:15","statements":[{"expression":{"id":2614,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"1121:16:15","subExpression":{"baseExpression":{"id":2611,"name":"_nonces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2590,"src":"1121:7:15","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":2613,"indexExpression":{"id":2612,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2606,"src":"1129:5:15","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1121:14:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2610,"id":2615,"nodeType":"Return","src":"1114:23:15"}]}]},"documentation":{"id":2604,"nodeType":"StructuredDocumentation","src":"651:103:15","text":" @dev Consumes a nonce.\n Returns the current value and increments nonce."},"id":2618,"implemented":true,"kind":"function","modifiers":[],"name":"_useNonce","nameLocation":"768:9:15","nodeType":"FunctionDefinition","parameters":{"id":2607,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2606,"mutability":"mutable","name":"owner","nameLocation":"786:5:15","nodeType":"VariableDeclaration","scope":2618,"src":"778:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2605,"name":"address","nodeType":"ElementaryTypeName","src":"778:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"777:15:15"},"returnParameters":{"id":2610,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2609,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2618,"src":"819:7:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2608,"name":"uint256","nodeType":"ElementaryTypeName","src":"819:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"818:9:15"},"scope":2644,"src":"759:395:15","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":2642,"nodeType":"Block","src":"1338:149:15","statements":[{"assignments":[2627],"declarations":[{"constant":false,"id":2627,"mutability":"mutable","name":"current","nameLocation":"1356:7:15","nodeType":"VariableDeclaration","scope":2642,"src":"1348:15:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2626,"name":"uint256","nodeType":"ElementaryTypeName","src":"1348:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2631,"initialValue":{"arguments":[{"id":2629,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2621,"src":"1376:5:15","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":2628,"name":"_useNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2618,"src":"1366:9:15","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$_t_uint256_$","typeString":"function (address) returns (uint256)"}},"id":2630,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1366:16:15","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1348:34:15"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2634,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2632,"name":"nonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2623,"src":"1396:5:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":2633,"name":"current","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2627,"src":"1405:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1396:16:15","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2641,"nodeType":"IfStatement","src":"1392:89:15","trueBody":{"id":2640,"nodeType":"Block","src":"1414:67:15","statements":[{"errorCall":{"arguments":[{"id":2636,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2621,"src":"1455:5:15","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":2637,"name":"current","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2627,"src":"1462:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2635,"name":"InvalidAccountNonce","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2586,"src":"1435:19:15","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_address_$_t_uint256_$returns$_t_error_$","typeString":"function (address,uint256) pure returns (error)"}},"id":2638,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1435:35:15","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2639,"nodeType":"RevertStatement","src":"1428:42:15"}]}}]},"documentation":{"id":2619,"nodeType":"StructuredDocumentation","src":"1160:100:15","text":" @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`."},"id":2643,"implemented":true,"kind":"function","modifiers":[],"name":"_useCheckedNonce","nameLocation":"1274:16:15","nodeType":"FunctionDefinition","parameters":{"id":2624,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2621,"mutability":"mutable","name":"owner","nameLocation":"1299:5:15","nodeType":"VariableDeclaration","scope":2643,"src":"1291:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2620,"name":"address","nodeType":"ElementaryTypeName","src":"1291:7:15","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":2623,"mutability":"mutable","name":"nonce","nameLocation":"1314:5:15","nodeType":"VariableDeclaration","scope":2643,"src":"1306:13:15","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2622,"name":"uint256","nodeType":"ElementaryTypeName","src":"1306:7:15","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1290:30:15"},"returnParameters":{"id":2625,"nodeType":"ParameterList","parameters":[],"src":"1338:0:15"},"scope":2644,"src":"1265:222:15","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":2645,"src":"209:1280:15","usedErrors":[2586],"usedEvents":[]}],"src":"99:1391:15"},"id":15},"@openzeppelin/contracts/utils/Panic.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Panic.sol","exportedSymbols":{"Panic":[2696]},"id":2697,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2646,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"99:24:16"},{"abstract":false,"baseContracts":[],"canonicalName":"Panic","contractDependencies":[],"contractKind":"library","documentation":{"id":2647,"nodeType":"StructuredDocumentation","src":"125:489:16","text":" @dev Helper library for emitting standardized panic codes.\n ```solidity\n contract Example {\n using Panic for uint256;\n // Use any of the declared internal constants\n function foo() { Panic.GENERIC.panic(); }\n // Alternatively\n function foo() { Panic.panic(Panic.GENERIC); }\n }\n ```\n Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n _Available since v5.1._"},"fullyImplemented":true,"id":2696,"linearizedBaseContracts":[2696],"name":"Panic","nameLocation":"665:5:16","nodeType":"ContractDefinition","nodes":[{"constant":true,"documentation":{"id":2648,"nodeType":"StructuredDocumentation","src":"677:36:16","text":"@dev generic / unspecified error"},"id":2651,"mutability":"constant","name":"GENERIC","nameLocation":"744:7:16","nodeType":"VariableDeclaration","scope":2696,"src":"718:40:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2649,"name":"uint256","nodeType":"ElementaryTypeName","src":"718:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783030","id":2650,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"754:4:16","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x00"},"visibility":"internal"},{"constant":true,"documentation":{"id":2652,"nodeType":"StructuredDocumentation","src":"764:37:16","text":"@dev used by the assert() builtin"},"id":2655,"mutability":"constant","name":"ASSERT","nameLocation":"832:6:16","nodeType":"VariableDeclaration","scope":2696,"src":"806:39:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2653,"name":"uint256","nodeType":"ElementaryTypeName","src":"806:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783031","id":2654,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"841:4:16","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"0x01"},"visibility":"internal"},{"constant":true,"documentation":{"id":2656,"nodeType":"StructuredDocumentation","src":"851:41:16","text":"@dev arithmetic underflow or overflow"},"id":2659,"mutability":"constant","name":"UNDER_OVERFLOW","nameLocation":"923:14:16","nodeType":"VariableDeclaration","scope":2696,"src":"897:47:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2657,"name":"uint256","nodeType":"ElementaryTypeName","src":"897:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783131","id":2658,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"940:4:16","typeDescriptions":{"typeIdentifier":"t_rational_17_by_1","typeString":"int_const 17"},"value":"0x11"},"visibility":"internal"},{"constant":true,"documentation":{"id":2660,"nodeType":"StructuredDocumentation","src":"950:35:16","text":"@dev division or modulo by zero"},"id":2663,"mutability":"constant","name":"DIVISION_BY_ZERO","nameLocation":"1016:16:16","nodeType":"VariableDeclaration","scope":2696,"src":"990:49:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2661,"name":"uint256","nodeType":"ElementaryTypeName","src":"990:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783132","id":2662,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1035:4:16","typeDescriptions":{"typeIdentifier":"t_rational_18_by_1","typeString":"int_const 18"},"value":"0x12"},"visibility":"internal"},{"constant":true,"documentation":{"id":2664,"nodeType":"StructuredDocumentation","src":"1045:30:16","text":"@dev enum conversion error"},"id":2667,"mutability":"constant","name":"ENUM_CONVERSION_ERROR","nameLocation":"1106:21:16","nodeType":"VariableDeclaration","scope":2696,"src":"1080:54:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2665,"name":"uint256","nodeType":"ElementaryTypeName","src":"1080:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783231","id":2666,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1130:4:16","typeDescriptions":{"typeIdentifier":"t_rational_33_by_1","typeString":"int_const 33"},"value":"0x21"},"visibility":"internal"},{"constant":true,"documentation":{"id":2668,"nodeType":"StructuredDocumentation","src":"1140:36:16","text":"@dev invalid encoding in storage"},"id":2671,"mutability":"constant","name":"STORAGE_ENCODING_ERROR","nameLocation":"1207:22:16","nodeType":"VariableDeclaration","scope":2696,"src":"1181:55:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2669,"name":"uint256","nodeType":"ElementaryTypeName","src":"1181:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783232","id":2670,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1232:4:16","typeDescriptions":{"typeIdentifier":"t_rational_34_by_1","typeString":"int_const 34"},"value":"0x22"},"visibility":"internal"},{"constant":true,"documentation":{"id":2672,"nodeType":"StructuredDocumentation","src":"1242:24:16","text":"@dev empty array pop"},"id":2675,"mutability":"constant","name":"EMPTY_ARRAY_POP","nameLocation":"1297:15:16","nodeType":"VariableDeclaration","scope":2696,"src":"1271:48:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2673,"name":"uint256","nodeType":"ElementaryTypeName","src":"1271:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783331","id":2674,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1315:4:16","typeDescriptions":{"typeIdentifier":"t_rational_49_by_1","typeString":"int_const 49"},"value":"0x31"},"visibility":"internal"},{"constant":true,"documentation":{"id":2676,"nodeType":"StructuredDocumentation","src":"1325:35:16","text":"@dev array out of bounds access"},"id":2679,"mutability":"constant","name":"ARRAY_OUT_OF_BOUNDS","nameLocation":"1391:19:16","nodeType":"VariableDeclaration","scope":2696,"src":"1365:52:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2677,"name":"uint256","nodeType":"ElementaryTypeName","src":"1365:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783332","id":2678,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1413:4:16","typeDescriptions":{"typeIdentifier":"t_rational_50_by_1","typeString":"int_const 50"},"value":"0x32"},"visibility":"internal"},{"constant":true,"documentation":{"id":2680,"nodeType":"StructuredDocumentation","src":"1423:65:16","text":"@dev resource error (too large allocation or too large array)"},"id":2683,"mutability":"constant","name":"RESOURCE_ERROR","nameLocation":"1519:14:16","nodeType":"VariableDeclaration","scope":2696,"src":"1493:47:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2681,"name":"uint256","nodeType":"ElementaryTypeName","src":"1493:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783431","id":2682,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1536:4:16","typeDescriptions":{"typeIdentifier":"t_rational_65_by_1","typeString":"int_const 65"},"value":"0x41"},"visibility":"internal"},{"constant":true,"documentation":{"id":2684,"nodeType":"StructuredDocumentation","src":"1546:42:16","text":"@dev calling invalid internal function"},"id":2687,"mutability":"constant","name":"INVALID_INTERNAL_FUNCTION","nameLocation":"1619:25:16","nodeType":"VariableDeclaration","scope":2696,"src":"1593:58:16","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2685,"name":"uint256","nodeType":"ElementaryTypeName","src":"1593:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30783531","id":2686,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1647:4:16","typeDescriptions":{"typeIdentifier":"t_rational_81_by_1","typeString":"int_const 81"},"value":"0x51"},"visibility":"internal"},{"body":{"id":2694,"nodeType":"Block","src":"1819:151:16","statements":[{"AST":{"nativeSrc":"1854:110:16","nodeType":"YulBlock","src":"1854:110:16","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1875:4:16","nodeType":"YulLiteral","src":"1875:4:16","type":"","value":"0x00"},{"kind":"number","nativeSrc":"1881:10:16","nodeType":"YulLiteral","src":"1881:10:16","type":"","value":"0x4e487b71"}],"functionName":{"name":"mstore","nativeSrc":"1868:6:16","nodeType":"YulIdentifier","src":"1868:6:16"},"nativeSrc":"1868:24:16","nodeType":"YulFunctionCall","src":"1868:24:16"},"nativeSrc":"1868:24:16","nodeType":"YulExpressionStatement","src":"1868:24:16"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1912:4:16","nodeType":"YulLiteral","src":"1912:4:16","type":"","value":"0x20"},{"name":"code","nativeSrc":"1918:4:16","nodeType":"YulIdentifier","src":"1918:4:16"}],"functionName":{"name":"mstore","nativeSrc":"1905:6:16","nodeType":"YulIdentifier","src":"1905:6:16"},"nativeSrc":"1905:18:16","nodeType":"YulFunctionCall","src":"1905:18:16"},"nativeSrc":"1905:18:16","nodeType":"YulExpressionStatement","src":"1905:18:16"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1943:4:16","nodeType":"YulLiteral","src":"1943:4:16","type":"","value":"0x1c"},{"kind":"number","nativeSrc":"1949:4:16","nodeType":"YulLiteral","src":"1949:4:16","type":"","value":"0x24"}],"functionName":{"name":"revert","nativeSrc":"1936:6:16","nodeType":"YulIdentifier","src":"1936:6:16"},"nativeSrc":"1936:18:16","nodeType":"YulFunctionCall","src":"1936:18:16"},"nativeSrc":"1936:18:16","nodeType":"YulExpressionStatement","src":"1936:18:16"}]},"evmVersion":"paris","externalReferences":[{"declaration":2690,"isOffset":false,"isSlot":false,"src":"1918:4:16","valueSize":1}],"flags":["memory-safe"],"id":2693,"nodeType":"InlineAssembly","src":"1829:135:16"}]},"documentation":{"id":2688,"nodeType":"StructuredDocumentation","src":"1658:113:16","text":"@dev Reverts with a panic code. Recommended to use with\n the internal constants with predefined codes."},"id":2695,"implemented":true,"kind":"function","modifiers":[],"name":"panic","nameLocation":"1785:5:16","nodeType":"FunctionDefinition","parameters":{"id":2691,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2690,"mutability":"mutable","name":"code","nameLocation":"1799:4:16","nodeType":"VariableDeclaration","scope":2695,"src":"1791:12:16","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2689,"name":"uint256","nodeType":"ElementaryTypeName","src":"1791:7:16","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1790:14:16"},"returnParameters":{"id":2692,"nodeType":"ParameterList","parameters":[],"src":"1819:0:16"},"scope":2696,"src":"1776:194:16","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":2697,"src":"657:1315:16","usedErrors":[],"usedEvents":[]}],"src":"99:1874:16"},"id":16},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/ReentrancyGuard.sol","exportedSymbols":{"ReentrancyGuard":[2765]},"id":2766,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2698,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"109:24:17"},{"abstract":true,"baseContracts":[],"canonicalName":"ReentrancyGuard","contractDependencies":[],"contractKind":"contract","documentation":{"id":2699,"nodeType":"StructuredDocumentation","src":"135:894:17","text":" @dev Contract module that helps prevent reentrant calls to a function.\n Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n available, which can be applied to functions to make sure there are no nested\n (reentrant) calls to them.\n Note that because there is a single `nonReentrant` guard, functions marked as\n `nonReentrant` may not call one another. This can be worked around by making\n those functions `private`, and then adding `external` `nonReentrant` entry\n points to them.\n TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,\n consider using {ReentrancyGuardTransient} instead.\n TIP: If you would like to learn more about reentrancy and alternative ways\n to protect against it, check out our blog post\n https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]."},"fullyImplemented":true,"id":2765,"linearizedBaseContracts":[2765],"name":"ReentrancyGuard","nameLocation":"1048:15:17","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":2702,"mutability":"constant","name":"NOT_ENTERED","nameLocation":"1843:11:17","nodeType":"VariableDeclaration","scope":2765,"src":"1818:40:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2700,"name":"uint256","nodeType":"ElementaryTypeName","src":"1818:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31","id":2701,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1857:1:17","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"visibility":"private"},{"constant":true,"id":2705,"mutability":"constant","name":"ENTERED","nameLocation":"1889:7:17","nodeType":"VariableDeclaration","scope":2765,"src":"1864:36:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2703,"name":"uint256","nodeType":"ElementaryTypeName","src":"1864:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"32","id":2704,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1899:1:17","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"visibility":"private"},{"constant":false,"id":2707,"mutability":"mutable","name":"_status","nameLocation":"1923:7:17","nodeType":"VariableDeclaration","scope":2765,"src":"1907:23:17","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2706,"name":"uint256","nodeType":"ElementaryTypeName","src":"1907:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"private"},{"documentation":{"id":2708,"nodeType":"StructuredDocumentation","src":"1937:52:17","text":" @dev Unauthorized reentrant call."},"errorSelector":"3ee5aeb5","id":2710,"name":"ReentrancyGuardReentrantCall","nameLocation":"2000:28:17","nodeType":"ErrorDefinition","parameters":{"id":2709,"nodeType":"ParameterList","parameters":[],"src":"2028:2:17"},"src":"1994:37:17"},{"body":{"id":2717,"nodeType":"Block","src":"2051:38:17","statements":[{"expression":{"id":2715,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2713,"name":"_status","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2707,"src":"2061:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2714,"name":"NOT_ENTERED","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2702,"src":"2071:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2061:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2716,"nodeType":"ExpressionStatement","src":"2061:21:17"}]},"id":2718,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":2711,"nodeType":"ParameterList","parameters":[],"src":"2048:2:17"},"returnParameters":{"id":2712,"nodeType":"ParameterList","parameters":[],"src":"2051:0:17"},"scope":2765,"src":"2037:52:17","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2728,"nodeType":"Block","src":"2490:79:17","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":2721,"name":"_nonReentrantBefore","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2745,"src":"2500:19:17","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":2722,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2500:21:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2723,"nodeType":"ExpressionStatement","src":"2500:21:17"},{"id":2724,"nodeType":"PlaceholderStatement","src":"2531:1:17"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":2725,"name":"_nonReentrantAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2753,"src":"2542:18:17","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":2726,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2542:20:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":2727,"nodeType":"ExpressionStatement","src":"2542:20:17"}]},"documentation":{"id":2719,"nodeType":"StructuredDocumentation","src":"2095:366:17","text":" @dev Prevents a contract from calling itself, directly or indirectly.\n Calling a `nonReentrant` function from another `nonReentrant`\n function is not supported. It is possible to prevent this from happening\n by making the `nonReentrant` function external, and making it call a\n `private` function that does the actual work."},"id":2729,"name":"nonReentrant","nameLocation":"2475:12:17","nodeType":"ModifierDefinition","parameters":{"id":2720,"nodeType":"ParameterList","parameters":[],"src":"2487:2:17"},"src":"2466:103:17","virtual":false,"visibility":"internal"},{"body":{"id":2744,"nodeType":"Block","src":"2614:268:17","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2734,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2732,"name":"_status","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2707,"src":"2702:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":2733,"name":"ENTERED","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2705,"src":"2713:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2702:18:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2739,"nodeType":"IfStatement","src":"2698:86:17","trueBody":{"id":2738,"nodeType":"Block","src":"2722:62:17","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":2735,"name":"ReentrancyGuardReentrantCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2710,"src":"2743:28:17","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2736,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2743:30:17","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2737,"nodeType":"RevertStatement","src":"2736:37:17"}]}},{"expression":{"id":2742,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2740,"name":"_status","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2707,"src":"2858:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2741,"name":"ENTERED","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2705,"src":"2868:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2858:17:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2743,"nodeType":"ExpressionStatement","src":"2858:17:17"}]},"id":2745,"implemented":true,"kind":"function","modifiers":[],"name":"_nonReentrantBefore","nameLocation":"2584:19:17","nodeType":"FunctionDefinition","parameters":{"id":2730,"nodeType":"ParameterList","parameters":[],"src":"2603:2:17"},"returnParameters":{"id":2731,"nodeType":"ParameterList","parameters":[],"src":"2614:0:17"},"scope":2765,"src":"2575:307:17","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":2752,"nodeType":"Block","src":"2926:170:17","statements":[{"expression":{"id":2750,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":2748,"name":"_status","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2707,"src":"3068:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2749,"name":"NOT_ENTERED","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2702,"src":"3078:11:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3068:21:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":2751,"nodeType":"ExpressionStatement","src":"3068:21:17"}]},"id":2753,"implemented":true,"kind":"function","modifiers":[],"name":"_nonReentrantAfter","nameLocation":"2897:18:17","nodeType":"FunctionDefinition","parameters":{"id":2746,"nodeType":"ParameterList","parameters":[],"src":"2915:2:17"},"returnParameters":{"id":2747,"nodeType":"ParameterList","parameters":[],"src":"2926:0:17"},"scope":2765,"src":"2888:208:17","stateMutability":"nonpayable","virtual":false,"visibility":"private"},{"body":{"id":2763,"nodeType":"Block","src":"3339:42:17","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2761,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2759,"name":"_status","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2707,"src":"3356:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":2760,"name":"ENTERED","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2705,"src":"3367:7:17","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3356:18:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":2758,"id":2762,"nodeType":"Return","src":"3349:25:17"}]},"documentation":{"id":2754,"nodeType":"StructuredDocumentation","src":"3102:168:17","text":" @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n `nonReentrant` function in the call stack."},"id":2764,"implemented":true,"kind":"function","modifiers":[],"name":"_reentrancyGuardEntered","nameLocation":"3284:23:17","nodeType":"FunctionDefinition","parameters":{"id":2755,"nodeType":"ParameterList","parameters":[],"src":"3307:2:17"},"returnParameters":{"id":2758,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2757,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2764,"src":"3333:4:17","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2756,"name":"bool","nodeType":"ElementaryTypeName","src":"3333:4:17","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3332:6:17"},"scope":2765,"src":"3275:106:17","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":2766,"src":"1030:2353:17","usedErrors":[2710],"usedEvents":[]}],"src":"109:3275:17"},"id":17},"@openzeppelin/contracts/utils/ShortStrings.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/ShortStrings.sol","exportedSymbols":{"ShortString":[2771],"ShortStrings":[2982],"StorageSlot":[3106]},"id":2983,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2767,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"106:24:18"},{"absolutePath":"@openzeppelin/contracts/utils/StorageSlot.sol","file":"./StorageSlot.sol","id":2769,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":2983,"sourceUnit":3107,"src":"132:46:18","symbolAliases":[{"foreign":{"id":2768,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3106,"src":"140:11:18","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"canonicalName":"ShortString","id":2771,"name":"ShortString","nameLocation":"353:11:18","nodeType":"UserDefinedValueTypeDefinition","src":"348:28:18","underlyingType":{"id":2770,"name":"bytes32","nodeType":"ElementaryTypeName","src":"368:7:18","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}},{"abstract":false,"baseContracts":[],"canonicalName":"ShortStrings","contractDependencies":[],"contractKind":"library","documentation":{"id":2772,"nodeType":"StructuredDocumentation","src":"378:876:18","text":" @dev This library provides functions to convert short memory strings\n into a `ShortString` type that can be used as an immutable variable.\n Strings of arbitrary length can be optimized using this library if\n they are short enough (up to 31 bytes) by packing them with their\n length (1 byte) in a single EVM word (32 bytes). Additionally, a\n fallback mechanism can be used for every other case.\n Usage example:\n ```solidity\n contract Named {\n using ShortStrings for *;\n ShortString private immutable _name;\n string private _nameFallback;\n constructor(string memory contractName) {\n _name = contractName.toShortStringWithFallback(_nameFallback);\n }\n function name() external view returns (string memory) {\n return _name.toStringWithFallback(_nameFallback);\n }\n }\n ```"},"fullyImplemented":true,"id":2982,"linearizedBaseContracts":[2982],"name":"ShortStrings","nameLocation":"1263:12:18","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":2775,"mutability":"constant","name":"FALLBACK_SENTINEL","nameLocation":"1370:17:18","nodeType":"VariableDeclaration","scope":2982,"src":"1345:111:18","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":2773,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1345:7:18","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307830303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030304646","id":2774,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1390:66:18","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"0x00000000000000000000000000000000000000000000000000000000000000FF"},"visibility":"private"},{"errorSelector":"305a27a9","id":2779,"name":"StringTooLong","nameLocation":"1469:13:18","nodeType":"ErrorDefinition","parameters":{"id":2778,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2777,"mutability":"mutable","name":"str","nameLocation":"1490:3:18","nodeType":"VariableDeclaration","scope":2779,"src":"1483:10:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2776,"name":"string","nodeType":"ElementaryTypeName","src":"1483:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1482:12:18"},"src":"1463:32:18"},{"errorSelector":"b3512b0c","id":2781,"name":"InvalidShortString","nameLocation":"1506:18:18","nodeType":"ErrorDefinition","parameters":{"id":2780,"nodeType":"ParameterList","parameters":[],"src":"1524:2:18"},"src":"1500:27:18"},{"body":{"id":2824,"nodeType":"Block","src":"1786:208:18","statements":[{"assignments":[2791],"declarations":[{"constant":false,"id":2791,"mutability":"mutable","name":"bstr","nameLocation":"1809:4:18","nodeType":"VariableDeclaration","scope":2824,"src":"1796:17:18","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":2790,"name":"bytes","nodeType":"ElementaryTypeName","src":"1796:5:18","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":2796,"initialValue":{"arguments":[{"id":2794,"name":"str","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2784,"src":"1822:3:18","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2793,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1816:5:18","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":2792,"name":"bytes","nodeType":"ElementaryTypeName","src":"1816:5:18","typeDescriptions":{}}},"id":2795,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1816:10:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"1796:30:18"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":2797,"name":"bstr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2791,"src":"1840:4:18","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2798,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1845:6:18","memberName":"length","nodeType":"MemberAccess","src":"1840:11:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"3331","id":2799,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1854:2:18","typeDescriptions":{"typeIdentifier":"t_rational_31_by_1","typeString":"int_const 31"},"value":"31"},"src":"1840:16:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2806,"nodeType":"IfStatement","src":"1836:72:18","trueBody":{"id":2805,"nodeType":"Block","src":"1858:50:18","statements":[{"errorCall":{"arguments":[{"id":2802,"name":"str","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2784,"src":"1893:3:18","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2801,"name":"StringTooLong","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2779,"src":"1879:13:18","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_string_memory_ptr_$returns$_t_error_$","typeString":"function (string memory) pure returns (error)"}},"id":2803,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1879:18:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2804,"nodeType":"RevertStatement","src":"1872:25:18"}]}},{"expression":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2820,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"id":2815,"name":"bstr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2791,"src":"1965:4:18","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":2814,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1957:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":2813,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1957:7:18","typeDescriptions":{}}},"id":2816,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1957:13:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":2812,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1949:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2811,"name":"uint256","nodeType":"ElementaryTypeName","src":"1949:7:18","typeDescriptions":{}}},"id":2817,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1949:22:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"expression":{"id":2818,"name":"bstr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2791,"src":"1974:4:18","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2819,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1979:6:18","memberName":"length","nodeType":"MemberAccess","src":"1974:11:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1949:36:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":2810,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1941:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":2809,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1941:7:18","typeDescriptions":{}}},"id":2821,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1941:45:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":2807,"name":"ShortString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2771,"src":"1924:11:18","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ShortString_$2771_$","typeString":"type(ShortString)"}},"id":2808,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1936:4:18","memberName":"wrap","nodeType":"MemberAccess","src":"1924:16:18","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueTypeMATH_PLACEHOLDER_5292771_$","typeString":"function (bytes32) pure returns (ShortString)"}},"id":2822,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1924:63:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"}},"functionReturnParameters":2789,"id":2823,"nodeType":"Return","src":"1917:70:18"}]},"documentation":{"id":2782,"nodeType":"StructuredDocumentation","src":"1533:170:18","text":" @dev Encode a string of at most 31 chars into a `ShortString`.\n This will trigger a `StringTooLong` error is the input string is too long."},"id":2825,"implemented":true,"kind":"function","modifiers":[],"name":"toShortString","nameLocation":"1717:13:18","nodeType":"FunctionDefinition","parameters":{"id":2785,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2784,"mutability":"mutable","name":"str","nameLocation":"1745:3:18","nodeType":"VariableDeclaration","scope":2825,"src":"1731:17:18","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2783,"name":"string","nodeType":"ElementaryTypeName","src":"1731:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1730:19:18"},"returnParameters":{"id":2789,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2788,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2825,"src":"1773:11:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5312771","typeString":"ShortString"},"typeName":{"id":2787,"nodeType":"UserDefinedTypeName","pathNode":{"id":2786,"name":"ShortString","nameLocations":["1773:11:18"],"nodeType":"IdentifierPath","referencedDeclaration":2771,"src":"1773:11:18"},"referencedDeclaration":2771,"src":"1773:11:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5322771","typeString":"ShortString"}},"visibility":"internal"}],"src":"1772:13:18"},"scope":2982,"src":"1708:286:18","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2850,"nodeType":"Block","src":"2152:304:18","statements":[{"assignments":[2835],"declarations":[{"constant":false,"id":2835,"mutability":"mutable","name":"len","nameLocation":"2170:3:18","nodeType":"VariableDeclaration","scope":2850,"src":"2162:11:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2834,"name":"uint256","nodeType":"ElementaryTypeName","src":"2162:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2839,"initialValue":{"arguments":[{"id":2837,"name":"sstr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2829,"src":"2187:4:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5332771","typeString":"ShortString"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5342771","typeString":"ShortString"}],"id":2836,"name":"byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2883,"src":"2176:10:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_ShortString_$2771_$returns$_t_uint256_$","typeString":"function (ShortString) pure returns (uint256)"}},"id":2838,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2176:16:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2162:30:18"},{"assignments":[2841],"declarations":[{"constant":false,"id":2841,"mutability":"mutable","name":"str","nameLocation":"2294:3:18","nodeType":"VariableDeclaration","scope":2850,"src":"2280:17:18","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2840,"name":"string","nodeType":"ElementaryTypeName","src":"2280:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"id":2846,"initialValue":{"arguments":[{"hexValue":"3332","id":2844,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2311:2:18","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"}],"id":2843,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2300:10:18","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256) pure returns (string memory)"},"typeName":{"id":2842,"name":"string","nodeType":"ElementaryTypeName","src":"2304:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}}},"id":2845,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2300:14:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"VariableDeclarationStatement","src":"2280:34:18"},{"AST":{"nativeSrc":"2349:81:18","nodeType":"YulBlock","src":"2349:81:18","statements":[{"expression":{"arguments":[{"name":"str","nativeSrc":"2370:3:18","nodeType":"YulIdentifier","src":"2370:3:18"},{"name":"len","nativeSrc":"2375:3:18","nodeType":"YulIdentifier","src":"2375:3:18"}],"functionName":{"name":"mstore","nativeSrc":"2363:6:18","nodeType":"YulIdentifier","src":"2363:6:18"},"nativeSrc":"2363:16:18","nodeType":"YulFunctionCall","src":"2363:16:18"},"nativeSrc":"2363:16:18","nodeType":"YulExpressionStatement","src":"2363:16:18"},{"expression":{"arguments":[{"arguments":[{"name":"str","nativeSrc":"2403:3:18","nodeType":"YulIdentifier","src":"2403:3:18"},{"kind":"number","nativeSrc":"2408:4:18","nodeType":"YulLiteral","src":"2408:4:18","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2399:3:18","nodeType":"YulIdentifier","src":"2399:3:18"},"nativeSrc":"2399:14:18","nodeType":"YulFunctionCall","src":"2399:14:18"},{"name":"sstr","nativeSrc":"2415:4:18","nodeType":"YulIdentifier","src":"2415:4:18"}],"functionName":{"name":"mstore","nativeSrc":"2392:6:18","nodeType":"YulIdentifier","src":"2392:6:18"},"nativeSrc":"2392:28:18","nodeType":"YulFunctionCall","src":"2392:28:18"},"nativeSrc":"2392:28:18","nodeType":"YulExpressionStatement","src":"2392:28:18"}]},"evmVersion":"paris","externalReferences":[{"declaration":2835,"isOffset":false,"isSlot":false,"src":"2375:3:18","valueSize":1},{"declaration":2829,"isOffset":false,"isSlot":false,"src":"2415:4:18","valueSize":1},{"declaration":2841,"isOffset":false,"isSlot":false,"src":"2370:3:18","valueSize":1},{"declaration":2841,"isOffset":false,"isSlot":false,"src":"2403:3:18","valueSize":1}],"flags":["memory-safe"],"id":2847,"nodeType":"InlineAssembly","src":"2324:106:18"},{"expression":{"id":2848,"name":"str","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2841,"src":"2446:3:18","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":2833,"id":2849,"nodeType":"Return","src":"2439:10:18"}]},"documentation":{"id":2826,"nodeType":"StructuredDocumentation","src":"2000:73:18","text":" @dev Decode a `ShortString` back to a \"normal\" string."},"id":2851,"implemented":true,"kind":"function","modifiers":[],"name":"toString","nameLocation":"2087:8:18","nodeType":"FunctionDefinition","parameters":{"id":2830,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2829,"mutability":"mutable","name":"sstr","nameLocation":"2108:4:18","nodeType":"VariableDeclaration","scope":2851,"src":"2096:16:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"},"typeName":{"id":2828,"nodeType":"UserDefinedTypeName","pathNode":{"id":2827,"name":"ShortString","nameLocations":["2096:11:18"],"nodeType":"IdentifierPath","referencedDeclaration":2771,"src":"2096:11:18"},"referencedDeclaration":2771,"src":"2096:11:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5402771","typeString":"ShortString"}},"visibility":"internal"}],"src":"2095:18:18"},"returnParameters":{"id":2833,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2832,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2851,"src":"2137:13:18","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2831,"name":"string","nodeType":"ElementaryTypeName","src":"2137:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2136:15:18"},"scope":2982,"src":"2078:378:18","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2882,"nodeType":"Block","src":"2598:175:18","statements":[{"assignments":[2861],"declarations":[{"constant":false,"id":2861,"mutability":"mutable","name":"result","nameLocation":"2616:6:18","nodeType":"VariableDeclaration","scope":2882,"src":"2608:14:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2860,"name":"uint256","nodeType":"ElementaryTypeName","src":"2608:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":2871,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2870,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"id":2866,"name":"sstr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2855,"src":"2652:4:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5412771","typeString":"ShortString"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5422771","typeString":"ShortString"}],"expression":{"id":2864,"name":"ShortString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2771,"src":"2633:11:18","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ShortString_$2771_$","typeString":"type(ShortString)"}},"id":2865,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2645:6:18","memberName":"unwrap","nodeType":"MemberAccess","src":"2633:18:18","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueTypeMATH_PLACEHOLDER_5452771_$returns$_t_bytes32_$","typeString":"function (ShortString) pure returns (bytes32)"}},"id":2867,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2633:24:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":2863,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2625:7:18","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":2862,"name":"uint256","nodeType":"ElementaryTypeName","src":"2625:7:18","typeDescriptions":{}}},"id":2868,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2625:33:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"30784646","id":2869,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2661:4:18","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"0xFF"},"src":"2625:40:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2608:57:18"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2874,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":2872,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2861,"src":"2679:6:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"3331","id":2873,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2688:2:18","typeDescriptions":{"typeIdentifier":"t_rational_31_by_1","typeString":"int_const 31"},"value":"31"},"src":"2679:11:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":2879,"nodeType":"IfStatement","src":"2675:69:18","trueBody":{"id":2878,"nodeType":"Block","src":"2692:52:18","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":2875,"name":"InvalidShortString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2781,"src":"2713:18:18","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":2876,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2713:20:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":2877,"nodeType":"RevertStatement","src":"2706:27:18"}]}},{"expression":{"id":2880,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2861,"src":"2760:6:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2859,"id":2881,"nodeType":"Return","src":"2753:13:18"}]},"documentation":{"id":2852,"nodeType":"StructuredDocumentation","src":"2462:61:18","text":" @dev Return the length of a `ShortString`."},"id":2883,"implemented":true,"kind":"function","modifiers":[],"name":"byteLength","nameLocation":"2537:10:18","nodeType":"FunctionDefinition","parameters":{"id":2856,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2855,"mutability":"mutable","name":"sstr","nameLocation":"2560:4:18","nodeType":"VariableDeclaration","scope":2883,"src":"2548:16:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"},"typeName":{"id":2854,"nodeType":"UserDefinedTypeName","pathNode":{"id":2853,"name":"ShortString","nameLocations":["2548:11:18"],"nodeType":"IdentifierPath","referencedDeclaration":2771,"src":"2548:11:18"},"referencedDeclaration":2771,"src":"2548:11:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5512771","typeString":"ShortString"}},"visibility":"internal"}],"src":"2547:18:18"},"returnParameters":{"id":2859,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2858,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2883,"src":"2589:7:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2857,"name":"uint256","nodeType":"ElementaryTypeName","src":"2589:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2588:9:18"},"scope":2982,"src":"2528:245:18","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2922,"nodeType":"Block","src":"2996:231:18","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":2900,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":2896,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2886,"src":"3016:5:18","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2895,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3010:5:18","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":2894,"name":"bytes","nodeType":"ElementaryTypeName","src":"3010:5:18","typeDescriptions":{}}},"id":2897,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3010:12:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":2898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3023:6:18","memberName":"length","nodeType":"MemberAccess","src":"3010:19:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"3332","id":2899,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3032:2:18","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"3010:24:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2920,"nodeType":"Block","src":"3094:127:18","statements":[{"expression":{"id":2913,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"arguments":[{"id":2909,"name":"store","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2888,"src":"3134:5:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_storage_ptr","typeString":"string storage pointer"}],"expression":{"id":2906,"name":"StorageSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3106,"src":"3108:11:18","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_StorageSlot_$3106_$","typeString":"type(library StorageSlot)"}},"id":2908,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3120:13:18","memberName":"getStringSlot","nodeType":"MemberAccess","referencedDeclaration":3083,"src":"3108:25:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_storage_ptr_$returns$_t_structMATH_PLACEHOLDER_5563003_storage_ptr_$","typeString":"function (string storage pointer) pure returns (struct StorageSlot.StringSlot storage pointer)"}},"id":2910,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3108:32:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_StringSlot_$3003_storage_ptr","typeString":"struct StorageSlot.StringSlot storage pointer"}},"id":2911,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"3141:5:18","memberName":"value","nodeType":"MemberAccess","referencedDeclaration":3002,"src":"3108:38:18","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":2912,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2886,"src":"3149:5:18","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"3108:46:18","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":2914,"nodeType":"ExpressionStatement","src":"3108:46:18"},{"expression":{"arguments":[{"id":2917,"name":"FALLBACK_SENTINEL","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2775,"src":"3192:17:18","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":2915,"name":"ShortString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2771,"src":"3175:11:18","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ShortString_$2771_$","typeString":"type(ShortString)"}},"id":2916,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3187:4:18","memberName":"wrap","nodeType":"MemberAccess","src":"3175:16:18","typeDescriptions":{"typeIdentifier":"t_function_wrap_pure$_t_bytes32_$returns$_t_userDefinedValueTypeMATH_PLACEHOLDER_5612771_$","typeString":"function (bytes32) pure returns (ShortString)"}},"id":2918,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3175:35:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"}},"functionReturnParameters":2893,"id":2919,"nodeType":"Return","src":"3168:42:18"}]},"id":2921,"nodeType":"IfStatement","src":"3006:215:18","trueBody":{"id":2905,"nodeType":"Block","src":"3036:52:18","statements":[{"expression":{"arguments":[{"id":2902,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2886,"src":"3071:5:18","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":2901,"name":"toShortString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2825,"src":"3057:13:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$returns$_t_userDefinedValueType$_ShortString_$2771_$","typeString":"function (string memory) pure returns (ShortString)"}},"id":2903,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3057:20:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"}},"functionReturnParameters":2893,"id":2904,"nodeType":"Return","src":"3050:27:18"}]}}]},"documentation":{"id":2884,"nodeType":"StructuredDocumentation","src":"2779:103:18","text":" @dev Encode a string into a `ShortString`, or write it to storage if it is too long."},"id":2923,"implemented":true,"kind":"function","modifiers":[],"name":"toShortStringWithFallback","nameLocation":"2896:25:18","nodeType":"FunctionDefinition","parameters":{"id":2889,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2886,"mutability":"mutable","name":"value","nameLocation":"2936:5:18","nodeType":"VariableDeclaration","scope":2923,"src":"2922:19:18","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2885,"name":"string","nodeType":"ElementaryTypeName","src":"2922:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":2888,"mutability":"mutable","name":"store","nameLocation":"2958:5:18","nodeType":"VariableDeclaration","scope":2923,"src":"2943:20:18","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":2887,"name":"string","nodeType":"ElementaryTypeName","src":"2943:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2921:43:18"},"returnParameters":{"id":2893,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2892,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2923,"src":"2983:11:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5662771","typeString":"ShortString"},"typeName":{"id":2891,"nodeType":"UserDefinedTypeName","pathNode":{"id":2890,"name":"ShortString","nameLocations":["2983:11:18"],"nodeType":"IdentifierPath","referencedDeclaration":2771,"src":"2983:11:18"},"referencedDeclaration":2771,"src":"2983:11:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5672771","typeString":"ShortString"}},"visibility":"internal"}],"src":"2982:13:18"},"scope":2982,"src":"2887:340:18","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":2949,"nodeType":"Block","src":"3477:158:18","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"id":2939,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2936,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2927,"src":"3510:5:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5682771","typeString":"ShortString"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5692771","typeString":"ShortString"}],"expression":{"id":2934,"name":"ShortString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2771,"src":"3491:11:18","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ShortString_$2771_$","typeString":"type(ShortString)"}},"id":2935,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3503:6:18","memberName":"unwrap","nodeType":"MemberAccess","src":"3491:18:18","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueTypeMATH_PLACEHOLDER_5722771_$returns$_t_bytes32_$","typeString":"function (ShortString) pure returns (bytes32)"}},"id":2937,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3491:25:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":2938,"name":"FALLBACK_SENTINEL","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2775,"src":"3520:17:18","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3491:46:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2947,"nodeType":"Block","src":"3592:37:18","statements":[{"expression":{"id":2945,"name":"store","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2929,"src":"3613:5:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string storage pointer"}},"functionReturnParameters":2933,"id":2946,"nodeType":"Return","src":"3606:12:18"}]},"id":2948,"nodeType":"IfStatement","src":"3487:142:18","trueBody":{"id":2944,"nodeType":"Block","src":"3539:47:18","statements":[{"expression":{"arguments":[{"id":2941,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2927,"src":"3569:5:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5752771","typeString":"ShortString"}],"id":2940,"name":"toString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2851,"src":"3560:8:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_ShortString_$2771_$returns$_t_string_memory_ptr_$","typeString":"function (ShortString) pure returns (string memory)"}},"id":2942,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3560:15:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":2933,"id":2943,"nodeType":"Return","src":"3553:22:18"}]}}]},"documentation":{"id":2924,"nodeType":"StructuredDocumentation","src":"3233:130:18","text":" @dev Decode a string that was encoded to `ShortString` or written to storage using {toShortStringWithFallback}."},"id":2950,"implemented":true,"kind":"function","modifiers":[],"name":"toStringWithFallback","nameLocation":"3377:20:18","nodeType":"FunctionDefinition","parameters":{"id":2930,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2927,"mutability":"mutable","name":"value","nameLocation":"3410:5:18","nodeType":"VariableDeclaration","scope":2950,"src":"3398:17:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"},"typeName":{"id":2926,"nodeType":"UserDefinedTypeName","pathNode":{"id":2925,"name":"ShortString","nameLocations":["3398:11:18"],"nodeType":"IdentifierPath","referencedDeclaration":2771,"src":"3398:11:18"},"referencedDeclaration":2771,"src":"3398:11:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5792771","typeString":"ShortString"}},"visibility":"internal"},{"constant":false,"id":2929,"mutability":"mutable","name":"store","nameLocation":"3432:5:18","nodeType":"VariableDeclaration","scope":2950,"src":"3417:20:18","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":2928,"name":"string","nodeType":"ElementaryTypeName","src":"3417:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3397:41:18"},"returnParameters":{"id":2933,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2932,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2950,"src":"3462:13:18","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":2931,"name":"string","nodeType":"ElementaryTypeName","src":"3462:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3461:15:18"},"scope":2982,"src":"3368:267:18","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":2980,"nodeType":"Block","src":"4125:174:18","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"id":2966,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":2963,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2954,"src":"4158:5:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5802771","typeString":"ShortString"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5812771","typeString":"ShortString"}],"expression":{"id":2961,"name":"ShortString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2771,"src":"4139:11:18","typeDescriptions":{"typeIdentifier":"t_type$_t_userDefinedValueType$_ShortString_$2771_$","typeString":"type(ShortString)"}},"id":2962,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4151:6:18","memberName":"unwrap","nodeType":"MemberAccess","src":"4139:18:18","typeDescriptions":{"typeIdentifier":"t_function_unwrap_pure$_t_userDefinedValueTypeMATH_PLACEHOLDER_5842771_$returns$_t_bytes32_$","typeString":"function (ShortString) pure returns (bytes32)"}},"id":2964,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4139:25:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":2965,"name":"FALLBACK_SENTINEL","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2775,"src":"4168:17:18","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4139:46:18","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":2978,"nodeType":"Block","src":"4242:51:18","statements":[{"expression":{"expression":{"arguments":[{"id":2974,"name":"store","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2956,"src":"4269:5:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_storage_ptr","typeString":"string storage pointer"}],"id":2973,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4263:5:18","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":2972,"name":"bytes","nodeType":"ElementaryTypeName","src":"4263:5:18","typeDescriptions":{}}},"id":2975,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4263:12:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes storage pointer"}},"id":2976,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4276:6:18","memberName":"length","nodeType":"MemberAccess","src":"4263:19:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2960,"id":2977,"nodeType":"Return","src":"4256:26:18"}]},"id":2979,"nodeType":"IfStatement","src":"4135:158:18","trueBody":{"id":2971,"nodeType":"Block","src":"4187:49:18","statements":[{"expression":{"arguments":[{"id":2968,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2954,"src":"4219:5:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5882771","typeString":"ShortString"}],"id":2967,"name":"byteLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2883,"src":"4208:10:18","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_ShortString_$2771_$returns$_t_uint256_$","typeString":"function (ShortString) pure returns (uint256)"}},"id":2969,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4208:17:18","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":2960,"id":2970,"nodeType":"Return","src":"4201:24:18"}]}}]},"documentation":{"id":2951,"nodeType":"StructuredDocumentation","src":"3641:374:18","text":" @dev Return the length of a string that was encoded to `ShortString` or written to storage using\n {toShortStringWithFallback}.\n WARNING: This will return the \"byte length\" of the string. This may not reflect the actual length in terms of\n actual characters as the UTF-8 encoding of a single character can span over multiple bytes."},"id":2981,"implemented":true,"kind":"function","modifiers":[],"name":"byteLengthWithFallback","nameLocation":"4029:22:18","nodeType":"FunctionDefinition","parameters":{"id":2957,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2954,"mutability":"mutable","name":"value","nameLocation":"4064:5:18","nodeType":"VariableDeclaration","scope":2981,"src":"4052:17:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"},"typeName":{"id":2953,"nodeType":"UserDefinedTypeName","pathNode":{"id":2952,"name":"ShortString","nameLocations":["4052:11:18"],"nodeType":"IdentifierPath","referencedDeclaration":2771,"src":"4052:11:18"},"referencedDeclaration":2771,"src":"4052:11:18","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_5922771","typeString":"ShortString"}},"visibility":"internal"},{"constant":false,"id":2956,"mutability":"mutable","name":"store","nameLocation":"4086:5:18","nodeType":"VariableDeclaration","scope":2981,"src":"4071:20:18","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":2955,"name":"string","nodeType":"ElementaryTypeName","src":"4071:6:18","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4051:41:18"},"returnParameters":{"id":2960,"nodeType":"ParameterList","parameters":[{"constant":false,"id":2959,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":2981,"src":"4116:7:18","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2958,"name":"uint256","nodeType":"ElementaryTypeName","src":"4116:7:18","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4115:9:18"},"scope":2982,"src":"4020:279:18","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":2983,"src":"1255:3046:18","usedErrors":[2779,2781],"usedEvents":[]}],"src":"106:4196:18"},"id":18},"@openzeppelin/contracts/utils/StorageSlot.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/StorageSlot.sol","exportedSymbols":{"StorageSlot":[3106]},"id":3107,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":2984,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"193:24:19"},{"abstract":false,"baseContracts":[],"canonicalName":"StorageSlot","contractDependencies":[],"contractKind":"library","documentation":{"id":2985,"nodeType":"StructuredDocumentation","src":"219:1187:19","text":" @dev Library for reading and writing primitive types to specific storage slots.\n Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n This library helps with reading and writing to such slots without the need for inline assembly.\n The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n Example usage to set ERC-1967 implementation slot:\n ```solidity\n contract ERC1967 {\n // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n function _getImplementation() internal view returns (address) {\n return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n }\n function _setImplementation(address newImplementation) internal {\n require(newImplementation.code.length > 0);\n StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n }\n }\n ```\n TIP: Consider using this library along with {SlotDerivation}."},"fullyImplemented":true,"id":3106,"linearizedBaseContracts":[3106],"name":"StorageSlot","nameLocation":"1415:11:19","nodeType":"ContractDefinition","nodes":[{"canonicalName":"StorageSlot.AddressSlot","id":2988,"members":[{"constant":false,"id":2987,"mutability":"mutable","name":"value","nameLocation":"1470:5:19","nodeType":"VariableDeclaration","scope":2988,"src":"1462:13:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":2986,"name":"address","nodeType":"ElementaryTypeName","src":"1462:7:19","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"name":"AddressSlot","nameLocation":"1440:11:19","nodeType":"StructDefinition","scope":3106,"src":"1433:49:19","visibility":"public"},{"canonicalName":"StorageSlot.BooleanSlot","id":2991,"members":[{"constant":false,"id":2990,"mutability":"mutable","name":"value","nameLocation":"1522:5:19","nodeType":"VariableDeclaration","scope":2991,"src":"1517:10:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":2989,"name":"bool","nodeType":"ElementaryTypeName","src":"1517:4:19","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"name":"BooleanSlot","nameLocation":"1495:11:19","nodeType":"StructDefinition","scope":3106,"src":"1488:46:19","visibility":"public"},{"canonicalName":"StorageSlot.Bytes32Slot","id":2994,"members":[{"constant":false,"id":2993,"mutability":"mutable","name":"value","nameLocation":"1577:5:19","nodeType":"VariableDeclaration","scope":2994,"src":"1569:13:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":2992,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1569:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"name":"Bytes32Slot","nameLocation":"1547:11:19","nodeType":"StructDefinition","scope":3106,"src":"1540:49:19","visibility":"public"},{"canonicalName":"StorageSlot.Uint256Slot","id":2997,"members":[{"constant":false,"id":2996,"mutability":"mutable","name":"value","nameLocation":"1632:5:19","nodeType":"VariableDeclaration","scope":2997,"src":"1624:13:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":2995,"name":"uint256","nodeType":"ElementaryTypeName","src":"1624:7:19","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"Uint256Slot","nameLocation":"1602:11:19","nodeType":"StructDefinition","scope":3106,"src":"1595:49:19","visibility":"public"},{"canonicalName":"StorageSlot.Int256Slot","id":3000,"members":[{"constant":false,"id":2999,"mutability":"mutable","name":"value","nameLocation":"1685:5:19","nodeType":"VariableDeclaration","scope":3000,"src":"1678:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":2998,"name":"int256","nodeType":"ElementaryTypeName","src":"1678:6:19","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"name":"Int256Slot","nameLocation":"1657:10:19","nodeType":"StructDefinition","scope":3106,"src":"1650:47:19","visibility":"public"},{"canonicalName":"StorageSlot.StringSlot","id":3003,"members":[{"constant":false,"id":3002,"mutability":"mutable","name":"value","nameLocation":"1738:5:19","nodeType":"VariableDeclaration","scope":3003,"src":"1731:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":3001,"name":"string","nodeType":"ElementaryTypeName","src":"1731:6:19","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"name":"StringSlot","nameLocation":"1710:10:19","nodeType":"StructDefinition","scope":3106,"src":"1703:47:19","visibility":"public"},{"canonicalName":"StorageSlot.BytesSlot","id":3006,"members":[{"constant":false,"id":3005,"mutability":"mutable","name":"value","nameLocation":"1789:5:19","nodeType":"VariableDeclaration","scope":3006,"src":"1783:11:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":3004,"name":"bytes","nodeType":"ElementaryTypeName","src":"1783:5:19","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"name":"BytesSlot","nameLocation":"1763:9:19","nodeType":"StructDefinition","scope":3106,"src":"1756:45:19","visibility":"public"},{"body":{"id":3016,"nodeType":"Block","src":"1983:79:19","statements":[{"AST":{"nativeSrc":"2018:38:19","nodeType":"YulBlock","src":"2018:38:19","statements":[{"nativeSrc":"2032:14:19","nodeType":"YulAssignment","src":"2032:14:19","value":{"name":"slot","nativeSrc":"2042:4:19","nodeType":"YulIdentifier","src":"2042:4:19"},"variableNames":[{"name":"r.slot","nativeSrc":"2032:6:19","nodeType":"YulIdentifier","src":"2032:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3013,"isOffset":false,"isSlot":true,"src":"2032:6:19","suffix":"slot","valueSize":1},{"declaration":3009,"isOffset":false,"isSlot":false,"src":"2042:4:19","valueSize":1}],"flags":["memory-safe"],"id":3015,"nodeType":"InlineAssembly","src":"1993:63:19"}]},"documentation":{"id":3007,"nodeType":"StructuredDocumentation","src":"1807:87:19","text":" @dev Returns an `AddressSlot` with member `value` located at `slot`."},"id":3017,"implemented":true,"kind":"function","modifiers":[],"name":"getAddressSlot","nameLocation":"1908:14:19","nodeType":"FunctionDefinition","parameters":{"id":3010,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3009,"mutability":"mutable","name":"slot","nameLocation":"1931:4:19","nodeType":"VariableDeclaration","scope":3017,"src":"1923:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3008,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1923:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1922:14:19"},"returnParameters":{"id":3014,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3013,"mutability":"mutable","name":"r","nameLocation":"1980:1:19","nodeType":"VariableDeclaration","scope":3017,"src":"1960:21:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_5932988_storage_ptr","typeString":"struct StorageSlot.AddressSlot"},"typeName":{"id":3012,"nodeType":"UserDefinedTypeName","pathNode":{"id":3011,"name":"AddressSlot","nameLocations":["1960:11:19"],"nodeType":"IdentifierPath","referencedDeclaration":2988,"src":"1960:11:19"},"referencedDeclaration":2988,"src":"1960:11:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_5942988_storage_ptr","typeString":"struct StorageSlot.AddressSlot"}},"visibility":"internal"}],"src":"1959:23:19"},"scope":3106,"src":"1899:163:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3027,"nodeType":"Block","src":"2243:79:19","statements":[{"AST":{"nativeSrc":"2278:38:19","nodeType":"YulBlock","src":"2278:38:19","statements":[{"nativeSrc":"2292:14:19","nodeType":"YulAssignment","src":"2292:14:19","value":{"name":"slot","nativeSrc":"2302:4:19","nodeType":"YulIdentifier","src":"2302:4:19"},"variableNames":[{"name":"r.slot","nativeSrc":"2292:6:19","nodeType":"YulIdentifier","src":"2292:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3024,"isOffset":false,"isSlot":true,"src":"2292:6:19","suffix":"slot","valueSize":1},{"declaration":3020,"isOffset":false,"isSlot":false,"src":"2302:4:19","valueSize":1}],"flags":["memory-safe"],"id":3026,"nodeType":"InlineAssembly","src":"2253:63:19"}]},"documentation":{"id":3018,"nodeType":"StructuredDocumentation","src":"2068:86:19","text":" @dev Returns a `BooleanSlot` with member `value` located at `slot`."},"id":3028,"implemented":true,"kind":"function","modifiers":[],"name":"getBooleanSlot","nameLocation":"2168:14:19","nodeType":"FunctionDefinition","parameters":{"id":3021,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3020,"mutability":"mutable","name":"slot","nameLocation":"2191:4:19","nodeType":"VariableDeclaration","scope":3028,"src":"2183:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3019,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2183:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2182:14:19"},"returnParameters":{"id":3025,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3024,"mutability":"mutable","name":"r","nameLocation":"2240:1:19","nodeType":"VariableDeclaration","scope":3028,"src":"2220:21:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_5952991_storage_ptr","typeString":"struct StorageSlot.BooleanSlot"},"typeName":{"id":3023,"nodeType":"UserDefinedTypeName","pathNode":{"id":3022,"name":"BooleanSlot","nameLocations":["2220:11:19"],"nodeType":"IdentifierPath","referencedDeclaration":2991,"src":"2220:11:19"},"referencedDeclaration":2991,"src":"2220:11:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_5962991_storage_ptr","typeString":"struct StorageSlot.BooleanSlot"}},"visibility":"internal"}],"src":"2219:23:19"},"scope":3106,"src":"2159:163:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3038,"nodeType":"Block","src":"2503:79:19","statements":[{"AST":{"nativeSrc":"2538:38:19","nodeType":"YulBlock","src":"2538:38:19","statements":[{"nativeSrc":"2552:14:19","nodeType":"YulAssignment","src":"2552:14:19","value":{"name":"slot","nativeSrc":"2562:4:19","nodeType":"YulIdentifier","src":"2562:4:19"},"variableNames":[{"name":"r.slot","nativeSrc":"2552:6:19","nodeType":"YulIdentifier","src":"2552:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3035,"isOffset":false,"isSlot":true,"src":"2552:6:19","suffix":"slot","valueSize":1},{"declaration":3031,"isOffset":false,"isSlot":false,"src":"2562:4:19","valueSize":1}],"flags":["memory-safe"],"id":3037,"nodeType":"InlineAssembly","src":"2513:63:19"}]},"documentation":{"id":3029,"nodeType":"StructuredDocumentation","src":"2328:86:19","text":" @dev Returns a `Bytes32Slot` with member `value` located at `slot`."},"id":3039,"implemented":true,"kind":"function","modifiers":[],"name":"getBytes32Slot","nameLocation":"2428:14:19","nodeType":"FunctionDefinition","parameters":{"id":3032,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3031,"mutability":"mutable","name":"slot","nameLocation":"2451:4:19","nodeType":"VariableDeclaration","scope":3039,"src":"2443:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3030,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2443:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2442:14:19"},"returnParameters":{"id":3036,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3035,"mutability":"mutable","name":"r","nameLocation":"2500:1:19","nodeType":"VariableDeclaration","scope":3039,"src":"2480:21:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_5972994_storage_ptr","typeString":"struct StorageSlot.Bytes32Slot"},"typeName":{"id":3034,"nodeType":"UserDefinedTypeName","pathNode":{"id":3033,"name":"Bytes32Slot","nameLocations":["2480:11:19"],"nodeType":"IdentifierPath","referencedDeclaration":2994,"src":"2480:11:19"},"referencedDeclaration":2994,"src":"2480:11:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_5982994_storage_ptr","typeString":"struct StorageSlot.Bytes32Slot"}},"visibility":"internal"}],"src":"2479:23:19"},"scope":3106,"src":"2419:163:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3049,"nodeType":"Block","src":"2763:79:19","statements":[{"AST":{"nativeSrc":"2798:38:19","nodeType":"YulBlock","src":"2798:38:19","statements":[{"nativeSrc":"2812:14:19","nodeType":"YulAssignment","src":"2812:14:19","value":{"name":"slot","nativeSrc":"2822:4:19","nodeType":"YulIdentifier","src":"2822:4:19"},"variableNames":[{"name":"r.slot","nativeSrc":"2812:6:19","nodeType":"YulIdentifier","src":"2812:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3046,"isOffset":false,"isSlot":true,"src":"2812:6:19","suffix":"slot","valueSize":1},{"declaration":3042,"isOffset":false,"isSlot":false,"src":"2822:4:19","valueSize":1}],"flags":["memory-safe"],"id":3048,"nodeType":"InlineAssembly","src":"2773:63:19"}]},"documentation":{"id":3040,"nodeType":"StructuredDocumentation","src":"2588:86:19","text":" @dev Returns a `Uint256Slot` with member `value` located at `slot`."},"id":3050,"implemented":true,"kind":"function","modifiers":[],"name":"getUint256Slot","nameLocation":"2688:14:19","nodeType":"FunctionDefinition","parameters":{"id":3043,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3042,"mutability":"mutable","name":"slot","nameLocation":"2711:4:19","nodeType":"VariableDeclaration","scope":3050,"src":"2703:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3041,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2703:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2702:14:19"},"returnParameters":{"id":3047,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3046,"mutability":"mutable","name":"r","nameLocation":"2760:1:19","nodeType":"VariableDeclaration","scope":3050,"src":"2740:21:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_5992997_storage_ptr","typeString":"struct StorageSlot.Uint256Slot"},"typeName":{"id":3045,"nodeType":"UserDefinedTypeName","pathNode":{"id":3044,"name":"Uint256Slot","nameLocations":["2740:11:19"],"nodeType":"IdentifierPath","referencedDeclaration":2997,"src":"2740:11:19"},"referencedDeclaration":2997,"src":"2740:11:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6002997_storage_ptr","typeString":"struct StorageSlot.Uint256Slot"}},"visibility":"internal"}],"src":"2739:23:19"},"scope":3106,"src":"2679:163:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3060,"nodeType":"Block","src":"3020:79:19","statements":[{"AST":{"nativeSrc":"3055:38:19","nodeType":"YulBlock","src":"3055:38:19","statements":[{"nativeSrc":"3069:14:19","nodeType":"YulAssignment","src":"3069:14:19","value":{"name":"slot","nativeSrc":"3079:4:19","nodeType":"YulIdentifier","src":"3079:4:19"},"variableNames":[{"name":"r.slot","nativeSrc":"3069:6:19","nodeType":"YulIdentifier","src":"3069:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3057,"isOffset":false,"isSlot":true,"src":"3069:6:19","suffix":"slot","valueSize":1},{"declaration":3053,"isOffset":false,"isSlot":false,"src":"3079:4:19","valueSize":1}],"flags":["memory-safe"],"id":3059,"nodeType":"InlineAssembly","src":"3030:63:19"}]},"documentation":{"id":3051,"nodeType":"StructuredDocumentation","src":"2848:85:19","text":" @dev Returns a `Int256Slot` with member `value` located at `slot`."},"id":3061,"implemented":true,"kind":"function","modifiers":[],"name":"getInt256Slot","nameLocation":"2947:13:19","nodeType":"FunctionDefinition","parameters":{"id":3054,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3053,"mutability":"mutable","name":"slot","nameLocation":"2969:4:19","nodeType":"VariableDeclaration","scope":3061,"src":"2961:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3052,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2961:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2960:14:19"},"returnParameters":{"id":3058,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3057,"mutability":"mutable","name":"r","nameLocation":"3017:1:19","nodeType":"VariableDeclaration","scope":3061,"src":"2998:20:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6013000_storage_ptr","typeString":"struct StorageSlot.Int256Slot"},"typeName":{"id":3056,"nodeType":"UserDefinedTypeName","pathNode":{"id":3055,"name":"Int256Slot","nameLocations":["2998:10:19"],"nodeType":"IdentifierPath","referencedDeclaration":3000,"src":"2998:10:19"},"referencedDeclaration":3000,"src":"2998:10:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6023000_storage_ptr","typeString":"struct StorageSlot.Int256Slot"}},"visibility":"internal"}],"src":"2997:22:19"},"scope":3106,"src":"2938:161:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3071,"nodeType":"Block","src":"3277:79:19","statements":[{"AST":{"nativeSrc":"3312:38:19","nodeType":"YulBlock","src":"3312:38:19","statements":[{"nativeSrc":"3326:14:19","nodeType":"YulAssignment","src":"3326:14:19","value":{"name":"slot","nativeSrc":"3336:4:19","nodeType":"YulIdentifier","src":"3336:4:19"},"variableNames":[{"name":"r.slot","nativeSrc":"3326:6:19","nodeType":"YulIdentifier","src":"3326:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3068,"isOffset":false,"isSlot":true,"src":"3326:6:19","suffix":"slot","valueSize":1},{"declaration":3064,"isOffset":false,"isSlot":false,"src":"3336:4:19","valueSize":1}],"flags":["memory-safe"],"id":3070,"nodeType":"InlineAssembly","src":"3287:63:19"}]},"documentation":{"id":3062,"nodeType":"StructuredDocumentation","src":"3105:85:19","text":" @dev Returns a `StringSlot` with member `value` located at `slot`."},"id":3072,"implemented":true,"kind":"function","modifiers":[],"name":"getStringSlot","nameLocation":"3204:13:19","nodeType":"FunctionDefinition","parameters":{"id":3065,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3064,"mutability":"mutable","name":"slot","nameLocation":"3226:4:19","nodeType":"VariableDeclaration","scope":3072,"src":"3218:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3063,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3218:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3217:14:19"},"returnParameters":{"id":3069,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3068,"mutability":"mutable","name":"r","nameLocation":"3274:1:19","nodeType":"VariableDeclaration","scope":3072,"src":"3255:20:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6033003_storage_ptr","typeString":"struct StorageSlot.StringSlot"},"typeName":{"id":3067,"nodeType":"UserDefinedTypeName","pathNode":{"id":3066,"name":"StringSlot","nameLocations":["3255:10:19"],"nodeType":"IdentifierPath","referencedDeclaration":3003,"src":"3255:10:19"},"referencedDeclaration":3003,"src":"3255:10:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6043003_storage_ptr","typeString":"struct StorageSlot.StringSlot"}},"visibility":"internal"}],"src":"3254:22:19"},"scope":3106,"src":"3195:161:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3082,"nodeType":"Block","src":"3558:85:19","statements":[{"AST":{"nativeSrc":"3593:44:19","nodeType":"YulBlock","src":"3593:44:19","statements":[{"nativeSrc":"3607:20:19","nodeType":"YulAssignment","src":"3607:20:19","value":{"name":"store.slot","nativeSrc":"3617:10:19","nodeType":"YulIdentifier","src":"3617:10:19"},"variableNames":[{"name":"r.slot","nativeSrc":"3607:6:19","nodeType":"YulIdentifier","src":"3607:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3079,"isOffset":false,"isSlot":true,"src":"3607:6:19","suffix":"slot","valueSize":1},{"declaration":3075,"isOffset":false,"isSlot":true,"src":"3617:10:19","suffix":"slot","valueSize":1}],"flags":["memory-safe"],"id":3081,"nodeType":"InlineAssembly","src":"3568:69:19"}]},"documentation":{"id":3073,"nodeType":"StructuredDocumentation","src":"3362:101:19","text":" @dev Returns an `StringSlot` representation of the string storage pointer `store`."},"id":3083,"implemented":true,"kind":"function","modifiers":[],"name":"getStringSlot","nameLocation":"3477:13:19","nodeType":"FunctionDefinition","parameters":{"id":3076,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3075,"mutability":"mutable","name":"store","nameLocation":"3506:5:19","nodeType":"VariableDeclaration","scope":3083,"src":"3491:20:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":3074,"name":"string","nodeType":"ElementaryTypeName","src":"3491:6:19","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3490:22:19"},"returnParameters":{"id":3080,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3079,"mutability":"mutable","name":"r","nameLocation":"3555:1:19","nodeType":"VariableDeclaration","scope":3083,"src":"3536:20:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6053003_storage_ptr","typeString":"struct StorageSlot.StringSlot"},"typeName":{"id":3078,"nodeType":"UserDefinedTypeName","pathNode":{"id":3077,"name":"StringSlot","nameLocations":["3536:10:19"],"nodeType":"IdentifierPath","referencedDeclaration":3003,"src":"3536:10:19"},"referencedDeclaration":3003,"src":"3536:10:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6063003_storage_ptr","typeString":"struct StorageSlot.StringSlot"}},"visibility":"internal"}],"src":"3535:22:19"},"scope":3106,"src":"3468:175:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3093,"nodeType":"Block","src":"3818:79:19","statements":[{"AST":{"nativeSrc":"3853:38:19","nodeType":"YulBlock","src":"3853:38:19","statements":[{"nativeSrc":"3867:14:19","nodeType":"YulAssignment","src":"3867:14:19","value":{"name":"slot","nativeSrc":"3877:4:19","nodeType":"YulIdentifier","src":"3877:4:19"},"variableNames":[{"name":"r.slot","nativeSrc":"3867:6:19","nodeType":"YulIdentifier","src":"3867:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3090,"isOffset":false,"isSlot":true,"src":"3867:6:19","suffix":"slot","valueSize":1},{"declaration":3086,"isOffset":false,"isSlot":false,"src":"3877:4:19","valueSize":1}],"flags":["memory-safe"],"id":3092,"nodeType":"InlineAssembly","src":"3828:63:19"}]},"documentation":{"id":3084,"nodeType":"StructuredDocumentation","src":"3649:84:19","text":" @dev Returns a `BytesSlot` with member `value` located at `slot`."},"id":3094,"implemented":true,"kind":"function","modifiers":[],"name":"getBytesSlot","nameLocation":"3747:12:19","nodeType":"FunctionDefinition","parameters":{"id":3087,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3086,"mutability":"mutable","name":"slot","nameLocation":"3768:4:19","nodeType":"VariableDeclaration","scope":3094,"src":"3760:12:19","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":3085,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3760:7:19","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3759:14:19"},"returnParameters":{"id":3091,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3090,"mutability":"mutable","name":"r","nameLocation":"3815:1:19","nodeType":"VariableDeclaration","scope":3094,"src":"3797:19:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6073006_storage_ptr","typeString":"struct StorageSlot.BytesSlot"},"typeName":{"id":3089,"nodeType":"UserDefinedTypeName","pathNode":{"id":3088,"name":"BytesSlot","nameLocations":["3797:9:19"],"nodeType":"IdentifierPath","referencedDeclaration":3006,"src":"3797:9:19"},"referencedDeclaration":3006,"src":"3797:9:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6083006_storage_ptr","typeString":"struct StorageSlot.BytesSlot"}},"visibility":"internal"}],"src":"3796:21:19"},"scope":3106,"src":"3738:159:19","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3104,"nodeType":"Block","src":"4094:85:19","statements":[{"AST":{"nativeSrc":"4129:44:19","nodeType":"YulBlock","src":"4129:44:19","statements":[{"nativeSrc":"4143:20:19","nodeType":"YulAssignment","src":"4143:20:19","value":{"name":"store.slot","nativeSrc":"4153:10:19","nodeType":"YulIdentifier","src":"4153:10:19"},"variableNames":[{"name":"r.slot","nativeSrc":"4143:6:19","nodeType":"YulIdentifier","src":"4143:6:19"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3101,"isOffset":false,"isSlot":true,"src":"4143:6:19","suffix":"slot","valueSize":1},{"declaration":3097,"isOffset":false,"isSlot":true,"src":"4153:10:19","suffix":"slot","valueSize":1}],"flags":["memory-safe"],"id":3103,"nodeType":"InlineAssembly","src":"4104:69:19"}]},"documentation":{"id":3095,"nodeType":"StructuredDocumentation","src":"3903:99:19","text":" @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`."},"id":3105,"implemented":true,"kind":"function","modifiers":[],"name":"getBytesSlot","nameLocation":"4016:12:19","nodeType":"FunctionDefinition","parameters":{"id":3098,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3097,"mutability":"mutable","name":"store","nameLocation":"4043:5:19","nodeType":"VariableDeclaration","scope":3105,"src":"4029:19:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"},"typeName":{"id":3096,"name":"bytes","nodeType":"ElementaryTypeName","src":"4029:5:19","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4028:21:19"},"returnParameters":{"id":3102,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3101,"mutability":"mutable","name":"r","nameLocation":"4091:1:19","nodeType":"VariableDeclaration","scope":3105,"src":"4073:19:19","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6093006_storage_ptr","typeString":"struct StorageSlot.BytesSlot"},"typeName":{"id":3100,"nodeType":"UserDefinedTypeName","pathNode":{"id":3099,"name":"BytesSlot","nameLocations":["4073:9:19"],"nodeType":"IdentifierPath","referencedDeclaration":3006,"src":"4073:9:19"},"referencedDeclaration":3006,"src":"4073:9:19","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_6103006_storage_ptr","typeString":"struct StorageSlot.BytesSlot"}},"visibility":"internal"}],"src":"4072:21:19"},"scope":3106,"src":"4007:172:19","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":3107,"src":"1407:2774:19","usedErrors":[],"usedEvents":[]}],"src":"193:3989:19"},"id":19},"@openzeppelin/contracts/utils/Strings.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/Strings.sol","exportedSymbols":{"Math":[6826],"SafeCast":[8591],"SignedMath":[8735],"Strings":[4508]},"id":4509,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":3108,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"101:24:20"},{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","file":"./math/Math.sol","id":3110,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4509,"sourceUnit":6827,"src":"127:37:20","symbolAliases":[{"foreign":{"id":3109,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6826,"src":"135:4:20","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/math/SafeCast.sol","file":"./math/SafeCast.sol","id":3112,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4509,"sourceUnit":8592,"src":"165:45:20","symbolAliases":[{"foreign":{"id":3111,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"173:8:20","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/math/SignedMath.sol","file":"./math/SignedMath.sol","id":3114,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":4509,"sourceUnit":8736,"src":"211:49:20","symbolAliases":[{"foreign":{"id":3113,"name":"SignedMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8735,"src":"219:10:20","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Strings","contractDependencies":[],"contractKind":"library","documentation":{"id":3115,"nodeType":"StructuredDocumentation","src":"262:34:20","text":" @dev String operations."},"fullyImplemented":true,"id":4508,"linearizedBaseContracts":[4508],"name":"Strings","nameLocation":"305:7:20","nodeType":"ContractDefinition","nodes":[{"global":false,"id":3117,"libraryName":{"id":3116,"name":"SafeCast","nameLocations":["325:8:20"],"nodeType":"IdentifierPath","referencedDeclaration":8591,"src":"325:8:20"},"nodeType":"UsingForDirective","src":"319:21:20"},{"constant":true,"id":3120,"mutability":"constant","name":"HEX_DIGITS","nameLocation":"371:10:20","nodeType":"VariableDeclaration","scope":4508,"src":"346:56:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes16","typeString":"bytes16"},"typeName":{"id":3118,"name":"bytes16","nodeType":"ElementaryTypeName","src":"346:7:20","typeDescriptions":{"typeIdentifier":"t_bytes16","typeString":"bytes16"}},"value":{"hexValue":"30313233343536373839616263646566","id":3119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"384:18:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f","typeString":"literal_string \"0123456789abcdef\""},"value":"0123456789abcdef"},"visibility":"private"},{"constant":true,"id":3123,"mutability":"constant","name":"ADDRESS_LENGTH","nameLocation":"431:14:20","nodeType":"VariableDeclaration","scope":4508,"src":"408:42:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":3121,"name":"uint8","nodeType":"ElementaryTypeName","src":"408:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"value":{"hexValue":"3230","id":3122,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"448:2:20","typeDescriptions":{"typeIdentifier":"t_rational_20_by_1","typeString":"int_const 20"},"value":"20"},"visibility":"private"},{"constant":true,"id":3159,"mutability":"constant","name":"SPECIAL_CHARS_LOOKUP","nameLocation":"481:20:20","nodeType":"VariableDeclaration","scope":4508,"src":"456:302:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3124,"name":"uint256","nodeType":"ElementaryTypeName","src":"456:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_4951760157141521116776380160_by_1","typeString":"int_const 4951760157141521116776380160"},"id":3158,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_rational_17179883264_by_1","typeString":"int_const 17179883264"},"id":3153,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_rational_14080_by_1","typeString":"int_const 14080"},"id":3148,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_rational_5888_by_1","typeString":"int_const 5888"},"id":3143,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_rational_1792_by_1","typeString":"int_const 1792"},"id":3138,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_rational_768_by_1","typeString":"int_const 768"},"id":3133,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"id":3127,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3125,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"513:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"30783038","id":3126,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"518:4:20","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"0x08"},"src":"513:9:20","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}}],"id":3128,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"512:11:20","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_512_by_1","typeString":"int_const 512"},"id":3131,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3129,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"552:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"30783039","id":3130,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"557:4:20","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"0x09"},"src":"552:9:20","typeDescriptions":{"typeIdentifier":"t_rational_512_by_1","typeString":"int_const 512"}}],"id":3132,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"551:11:20","typeDescriptions":{"typeIdentifier":"t_rational_512_by_1","typeString":"int_const 512"}},"src":"512:50:20","typeDescriptions":{"typeIdentifier":"t_rational_768_by_1","typeString":"int_const 768"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_1024_by_1","typeString":"int_const 1024"},"id":3136,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3134,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"585:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"30783061","id":3135,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"590:4:20","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"0x0a"},"src":"585:9:20","typeDescriptions":{"typeIdentifier":"t_rational_1024_by_1","typeString":"int_const 1024"}}],"id":3137,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"584:11:20","typeDescriptions":{"typeIdentifier":"t_rational_1024_by_1","typeString":"int_const 1024"}},"src":"512:83:20","typeDescriptions":{"typeIdentifier":"t_rational_1792_by_1","typeString":"int_const 1792"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4096_by_1","typeString":"int_const 4096"},"id":3141,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3139,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"622:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"30783063","id":3140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"627:4:20","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"0x0c"},"src":"622:9:20","typeDescriptions":{"typeIdentifier":"t_rational_4096_by_1","typeString":"int_const 4096"}}],"id":3142,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"621:11:20","typeDescriptions":{"typeIdentifier":"t_rational_4096_by_1","typeString":"int_const 4096"}},"src":"512:120:20","typeDescriptions":{"typeIdentifier":"t_rational_5888_by_1","typeString":"int_const 5888"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_8192_by_1","typeString":"int_const 8192"},"id":3146,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3144,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"661:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"30783064","id":3145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"666:4:20","typeDescriptions":{"typeIdentifier":"t_rational_13_by_1","typeString":"int_const 13"},"value":"0x0d"},"src":"661:9:20","typeDescriptions":{"typeIdentifier":"t_rational_8192_by_1","typeString":"int_const 8192"}}],"id":3147,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"660:11:20","typeDescriptions":{"typeIdentifier":"t_rational_8192_by_1","typeString":"int_const 8192"}},"src":"512:159:20","typeDescriptions":{"typeIdentifier":"t_rational_14080_by_1","typeString":"int_const 14080"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_17179869184_by_1","typeString":"int_const 17179869184"},"id":3151,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3149,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"706:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"30783232","id":3150,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"711:4:20","typeDescriptions":{"typeIdentifier":"t_rational_34_by_1","typeString":"int_const 34"},"value":"0x22"},"src":"706:9:20","typeDescriptions":{"typeIdentifier":"t_rational_17179869184_by_1","typeString":"int_const 17179869184"}}],"id":3152,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"705:11:20","typeDescriptions":{"typeIdentifier":"t_rational_17179869184_by_1","typeString":"int_const 17179869184"}},"src":"512:204:20","typeDescriptions":{"typeIdentifier":"t_rational_17179883264_by_1","typeString":"int_const 17179883264"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4951760157141521099596496896_by_1","typeString":"int_const 4951760157141521099596496896"},"id":3156,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":3154,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"748:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"30783563","id":3155,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"753:4:20","typeDescriptions":{"typeIdentifier":"t_rational_92_by_1","typeString":"int_const 92"},"value":"0x5c"},"src":"748:9:20","typeDescriptions":{"typeIdentifier":"t_rational_4951760157141521099596496896_by_1","typeString":"int_const 4951760157141521099596496896"}}],"id":3157,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"747:11:20","typeDescriptions":{"typeIdentifier":"t_rational_4951760157141521099596496896_by_1","typeString":"int_const 4951760157141521099596496896"}},"src":"512:246:20","typeDescriptions":{"typeIdentifier":"t_rational_4951760157141521116776380160_by_1","typeString":"int_const 4951760157141521116776380160"}},"visibility":"private"},{"documentation":{"id":3160,"nodeType":"StructuredDocumentation","src":"778:81:20","text":" @dev The `value` string doesn't fit in the specified `length`."},"errorSelector":"e22e27eb","id":3166,"name":"StringsInsufficientHexLength","nameLocation":"870:28:20","nodeType":"ErrorDefinition","parameters":{"id":3165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3162,"mutability":"mutable","name":"value","nameLocation":"907:5:20","nodeType":"VariableDeclaration","scope":3166,"src":"899:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3161,"name":"uint256","nodeType":"ElementaryTypeName","src":"899:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3164,"mutability":"mutable","name":"length","nameLocation":"922:6:20","nodeType":"VariableDeclaration","scope":3166,"src":"914:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3163,"name":"uint256","nodeType":"ElementaryTypeName","src":"914:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"898:31:20"},"src":"864:66:20"},{"documentation":{"id":3167,"nodeType":"StructuredDocumentation","src":"936:108:20","text":" @dev The string being parsed contains characters that are not in scope of the given base."},"errorSelector":"94e2737e","id":3169,"name":"StringsInvalidChar","nameLocation":"1055:18:20","nodeType":"ErrorDefinition","parameters":{"id":3168,"nodeType":"ParameterList","parameters":[],"src":"1073:2:20"},"src":"1049:27:20"},{"documentation":{"id":3170,"nodeType":"StructuredDocumentation","src":"1082:84:20","text":" @dev The string being parsed is not a properly formatted address."},"errorSelector":"1d15ae44","id":3172,"name":"StringsInvalidAddressFormat","nameLocation":"1177:27:20","nodeType":"ErrorDefinition","parameters":{"id":3171,"nodeType":"ParameterList","parameters":[],"src":"1204:2:20"},"src":"1171:36:20"},{"body":{"id":3219,"nodeType":"Block","src":"1379:561:20","statements":[{"id":3218,"nodeType":"UncheckedBlock","src":"1389:545:20","statements":[{"assignments":[3181],"declarations":[{"constant":false,"id":3181,"mutability":"mutable","name":"length","nameLocation":"1421:6:20","nodeType":"VariableDeclaration","scope":3218,"src":"1413:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3180,"name":"uint256","nodeType":"ElementaryTypeName","src":"1413:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3188,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3187,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3184,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3175,"src":"1441:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":3182,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6826,"src":"1430:4:20","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Math_$6826_$","typeString":"type(library Math)"}},"id":3183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1435:5:20","memberName":"log10","nodeType":"MemberAccess","referencedDeclaration":6658,"src":"1430:10:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3185,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1430:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":3186,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1450:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1430:21:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1413:38:20"},{"assignments":[3190],"declarations":[{"constant":false,"id":3190,"mutability":"mutable","name":"buffer","nameLocation":"1479:6:20","nodeType":"VariableDeclaration","scope":3218,"src":"1465:20:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3189,"name":"string","nodeType":"ElementaryTypeName","src":"1465:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"id":3195,"initialValue":{"arguments":[{"id":3193,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3181,"src":"1499:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3192,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"1488:10:20","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256) pure returns (string memory)"},"typeName":{"id":3191,"name":"string","nodeType":"ElementaryTypeName","src":"1492:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}}},"id":3194,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1488:18:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"VariableDeclarationStatement","src":"1465:41:20"},{"assignments":[3197],"declarations":[{"constant":false,"id":3197,"mutability":"mutable","name":"ptr","nameLocation":"1528:3:20","nodeType":"VariableDeclaration","scope":3218,"src":"1520:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3196,"name":"uint256","nodeType":"ElementaryTypeName","src":"1520:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3198,"nodeType":"VariableDeclarationStatement","src":"1520:11:20"},{"AST":{"nativeSrc":"1570:67:20","nodeType":"YulBlock","src":"1570:67:20","statements":[{"nativeSrc":"1588:35:20","nodeType":"YulAssignment","src":"1588:35:20","value":{"arguments":[{"name":"buffer","nativeSrc":"1599:6:20","nodeType":"YulIdentifier","src":"1599:6:20"},{"arguments":[{"kind":"number","nativeSrc":"1611:2:20","nodeType":"YulLiteral","src":"1611:2:20","type":"","value":"32"},{"name":"length","nativeSrc":"1615:6:20","nodeType":"YulIdentifier","src":"1615:6:20"}],"functionName":{"name":"add","nativeSrc":"1607:3:20","nodeType":"YulIdentifier","src":"1607:3:20"},"nativeSrc":"1607:15:20","nodeType":"YulFunctionCall","src":"1607:15:20"}],"functionName":{"name":"add","nativeSrc":"1595:3:20","nodeType":"YulIdentifier","src":"1595:3:20"},"nativeSrc":"1595:28:20","nodeType":"YulFunctionCall","src":"1595:28:20"},"variableNames":[{"name":"ptr","nativeSrc":"1588:3:20","nodeType":"YulIdentifier","src":"1588:3:20"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3190,"isOffset":false,"isSlot":false,"src":"1599:6:20","valueSize":1},{"declaration":3181,"isOffset":false,"isSlot":false,"src":"1615:6:20","valueSize":1},{"declaration":3197,"isOffset":false,"isSlot":false,"src":"1588:3:20","valueSize":1}],"flags":["memory-safe"],"id":3199,"nodeType":"InlineAssembly","src":"1545:92:20"},{"body":{"id":3214,"nodeType":"Block","src":"1663:234:20","statements":[{"expression":{"id":3202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":false,"src":"1681:5:20","subExpression":{"id":3201,"name":"ptr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3197,"src":"1681:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3203,"nodeType":"ExpressionStatement","src":"1681:5:20"},{"AST":{"nativeSrc":"1729:86:20","nodeType":"YulBlock","src":"1729:86:20","statements":[{"expression":{"arguments":[{"name":"ptr","nativeSrc":"1759:3:20","nodeType":"YulIdentifier","src":"1759:3:20"},{"arguments":[{"arguments":[{"name":"value","nativeSrc":"1773:5:20","nodeType":"YulIdentifier","src":"1773:5:20"},{"kind":"number","nativeSrc":"1780:2:20","nodeType":"YulLiteral","src":"1780:2:20","type":"","value":"10"}],"functionName":{"name":"mod","nativeSrc":"1769:3:20","nodeType":"YulIdentifier","src":"1769:3:20"},"nativeSrc":"1769:14:20","nodeType":"YulFunctionCall","src":"1769:14:20"},{"name":"HEX_DIGITS","nativeSrc":"1785:10:20","nodeType":"YulIdentifier","src":"1785:10:20"}],"functionName":{"name":"byte","nativeSrc":"1764:4:20","nodeType":"YulIdentifier","src":"1764:4:20"},"nativeSrc":"1764:32:20","nodeType":"YulFunctionCall","src":"1764:32:20"}],"functionName":{"name":"mstore8","nativeSrc":"1751:7:20","nodeType":"YulIdentifier","src":"1751:7:20"},"nativeSrc":"1751:46:20","nodeType":"YulFunctionCall","src":"1751:46:20"},"nativeSrc":"1751:46:20","nodeType":"YulExpressionStatement","src":"1751:46:20"}]},"evmVersion":"paris","externalReferences":[{"declaration":3120,"isOffset":false,"isSlot":false,"src":"1785:10:20","valueSize":1},{"declaration":3197,"isOffset":false,"isSlot":false,"src":"1759:3:20","valueSize":1},{"declaration":3175,"isOffset":false,"isSlot":false,"src":"1773:5:20","valueSize":1}],"flags":["memory-safe"],"id":3204,"nodeType":"InlineAssembly","src":"1704:111:20"},{"expression":{"id":3207,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3205,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3175,"src":"1832:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"hexValue":"3130","id":3206,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1841:2:20","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"src":"1832:11:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3208,"nodeType":"ExpressionStatement","src":"1832:11:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3211,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3209,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3175,"src":"1865:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":3210,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1874:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1865:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3213,"nodeType":"IfStatement","src":"1861:21:20","trueBody":{"id":3212,"nodeType":"Break","src":"1877:5:20"}}]},"condition":{"hexValue":"74727565","id":3200,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1657:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"id":3215,"nodeType":"WhileStatement","src":"1650:247:20"},{"expression":{"id":3216,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3190,"src":"1917:6:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":3179,"id":3217,"nodeType":"Return","src":"1910:13:20"}]}]},"documentation":{"id":3173,"nodeType":"StructuredDocumentation","src":"1213:90:20","text":" @dev Converts a `uint256` to its ASCII `string` decimal representation."},"id":3220,"implemented":true,"kind":"function","modifiers":[],"name":"toString","nameLocation":"1317:8:20","nodeType":"FunctionDefinition","parameters":{"id":3176,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3175,"mutability":"mutable","name":"value","nameLocation":"1334:5:20","nodeType":"VariableDeclaration","scope":3220,"src":"1326:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3174,"name":"uint256","nodeType":"ElementaryTypeName","src":"1326:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1325:15:20"},"returnParameters":{"id":3179,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3178,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3220,"src":"1364:13:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3177,"name":"string","nodeType":"ElementaryTypeName","src":"1364:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1363:15:20"},"scope":4508,"src":"1308:632:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3245,"nodeType":"Block","src":"2116:92:20","statements":[{"expression":{"arguments":[{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":3233,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3231,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3223,"src":"2147:5:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":3232,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2155:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2147:9:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"hexValue":"","id":3235,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2165:2:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""},"id":3236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"2147:20:20","trueExpression":{"hexValue":"2d","id":3234,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2159:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_d3b8281179950f98149eefdb158d0e1acb56f56e8e343aa9fefafa7e36959561","typeString":"literal_string \"-\""},"value":"-"},"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"arguments":[{"arguments":[{"id":3240,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3223,"src":"2193:5:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"expression":{"id":3238,"name":"SignedMath","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8735,"src":"2178:10:20","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_6178735_$","typeString":"type(library SignedMath)"}},"id":3239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2189:3:20","memberName":"abs","nodeType":"MemberAccess","referencedDeclaration":8734,"src":"2178:14:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_int256_$returns$_t_uint256_$","typeString":"function (int256) pure returns (uint256)"}},"id":3241,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2178:21:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3237,"name":"toString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3220,"src":"2169:8:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256) pure returns (string memory)"}},"id":3242,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2169:31:20","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":3229,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2133:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":3228,"name":"string","nodeType":"ElementaryTypeName","src":"2133:6:20","typeDescriptions":{}}},"id":3230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2140:6:20","memberName":"concat","nodeType":"MemberAccess","src":"2133:13:20","typeDescriptions":{"typeIdentifier":"t_function_stringconcat_pure$__$returns$_t_string_memory_ptr_$","typeString":"function () pure returns (string memory)"}},"id":3243,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2133:68:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":3227,"id":3244,"nodeType":"Return","src":"2126:75:20"}]},"documentation":{"id":3221,"nodeType":"StructuredDocumentation","src":"1946:89:20","text":" @dev Converts a `int256` to its ASCII `string` decimal representation."},"id":3246,"implemented":true,"kind":"function","modifiers":[],"name":"toStringSigned","nameLocation":"2049:14:20","nodeType":"FunctionDefinition","parameters":{"id":3224,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3223,"mutability":"mutable","name":"value","nameLocation":"2071:5:20","nodeType":"VariableDeclaration","scope":3246,"src":"2064:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3222,"name":"int256","nodeType":"ElementaryTypeName","src":"2064:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"2063:14:20"},"returnParameters":{"id":3227,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3226,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3246,"src":"2101:13:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3225,"name":"string","nodeType":"ElementaryTypeName","src":"2101:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2100:15:20"},"scope":4508,"src":"2040:168:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3265,"nodeType":"Block","src":"2387:100:20","statements":[{"id":3264,"nodeType":"UncheckedBlock","src":"2397:84:20","statements":[{"expression":{"arguments":[{"id":3255,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3249,"src":"2440:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3261,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":3258,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3249,"src":"2459:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":3256,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6826,"src":"2447:4:20","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_6266826_$","typeString":"type(library Math)"}},"id":3257,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2452:6:20","memberName":"log256","nodeType":"MemberAccess","referencedDeclaration":6769,"src":"2447:11:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":3259,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2447:18:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":3260,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2468:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2447:22:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3254,"name":"toHexString","nodeType":"Identifier","overloadedDeclarations":[3266,3349,3369],"referencedDeclaration":3349,"src":"2428:11:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256,uint256) pure returns (string memory)"}},"id":3262,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2428:42:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":3253,"id":3263,"nodeType":"Return","src":"2421:49:20"}]}]},"documentation":{"id":3247,"nodeType":"StructuredDocumentation","src":"2214:94:20","text":" @dev Converts a `uint256` to its ASCII `string` hexadecimal representation."},"id":3266,"implemented":true,"kind":"function","modifiers":[],"name":"toHexString","nameLocation":"2322:11:20","nodeType":"FunctionDefinition","parameters":{"id":3250,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3249,"mutability":"mutable","name":"value","nameLocation":"2342:5:20","nodeType":"VariableDeclaration","scope":3266,"src":"2334:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3248,"name":"uint256","nodeType":"ElementaryTypeName","src":"2334:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2333:15:20"},"returnParameters":{"id":3253,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3252,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3266,"src":"2372:13:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3251,"name":"string","nodeType":"ElementaryTypeName","src":"2372:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2371:15:20"},"scope":4508,"src":"2313:174:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3348,"nodeType":"Block","src":"2700:435:20","statements":[{"assignments":[3277],"declarations":[{"constant":false,"id":3277,"mutability":"mutable","name":"localValue","nameLocation":"2718:10:20","nodeType":"VariableDeclaration","scope":3348,"src":"2710:18:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3276,"name":"uint256","nodeType":"ElementaryTypeName","src":"2710:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3279,"initialValue":{"id":3278,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3269,"src":"2731:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2710:26:20"},{"assignments":[3281],"declarations":[{"constant":false,"id":3281,"mutability":"mutable","name":"buffer","nameLocation":"2759:6:20","nodeType":"VariableDeclaration","scope":3348,"src":"2746:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":3280,"name":"bytes","nodeType":"ElementaryTypeName","src":"2746:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":3290,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3286,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":3284,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2778:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":3285,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3271,"src":"2782:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2778:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"32","id":3287,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2791:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"2778:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3283,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"2768:9:20","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":3282,"name":"bytes","nodeType":"ElementaryTypeName","src":"2772:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":3289,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2768:25:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"2746:47:20"},{"expression":{"id":3295,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":3291,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3281,"src":"2803:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3293,"indexExpression":{"hexValue":"30","id":3292,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2810:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2803:9:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"30","id":3294,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2815:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d","typeString":"literal_string \"0\""},"value":"0"},"src":"2803:15:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":3296,"nodeType":"ExpressionStatement","src":"2803:15:20"},{"expression":{"id":3301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":3297,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3281,"src":"2828:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3299,"indexExpression":{"hexValue":"31","id":3298,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2835:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2828:9:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"78","id":3300,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2840:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83","typeString":"literal_string \"x\""},"value":"x"},"src":"2828:15:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":3302,"nodeType":"ExpressionStatement","src":"2828:15:20"},{"body":{"id":3331,"nodeType":"Block","src":"2898:95:20","statements":[{"expression":{"id":3325,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":3317,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3281,"src":"2912:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3319,"indexExpression":{"id":3318,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3304,"src":"2919:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2912:9:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":3320,"name":"HEX_DIGITS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3120,"src":"2924:10:20","typeDescriptions":{"typeIdentifier":"t_bytes16","typeString":"bytes16"}},"id":3324,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3323,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3321,"name":"localValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"2935:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307866","id":3322,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2948:3:20","typeDescriptions":{"typeIdentifier":"t_rational_15_by_1","typeString":"int_const 15"},"value":"0xf"},"src":"2935:16:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2924:28:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"2912:40:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":3326,"nodeType":"ExpressionStatement","src":"2912:40:20"},{"expression":{"id":3329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3327,"name":"localValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"2966:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"34","id":3328,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2981:1:20","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"2966:16:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3330,"nodeType":"ExpressionStatement","src":"2966:16:20"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3313,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3311,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3304,"src":"2886:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"31","id":3312,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2890:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2886:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3332,"initializationExpression":{"assignments":[3304],"declarations":[{"constant":false,"id":3304,"mutability":"mutable","name":"i","nameLocation":"2866:1:20","nodeType":"VariableDeclaration","scope":3332,"src":"2858:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3303,"name":"uint256","nodeType":"ElementaryTypeName","src":"2858:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3310,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3309,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":3305,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2870:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":3306,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3271,"src":"2874:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2870:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":3308,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2883:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2870:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2858:26:20"},"isSimpleCounterLoop":false,"loopExpression":{"expression":{"id":3315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":true,"src":"2893:3:20","subExpression":{"id":3314,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3304,"src":"2895:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3316,"nodeType":"ExpressionStatement","src":"2893:3:20"},"nodeType":"ForStatement","src":"2853:140:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3335,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3333,"name":"localValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3277,"src":"3006:10:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":3334,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3020:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3006:15:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3342,"nodeType":"IfStatement","src":"3002:96:20","trueBody":{"id":3341,"nodeType":"Block","src":"3023:75:20","statements":[{"errorCall":{"arguments":[{"id":3337,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3269,"src":"3073:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3338,"name":"length","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3271,"src":"3080:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3336,"name":"StringsInsufficientHexLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3166,"src":"3044:28:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$_t_uint256_$returns$_t_error_$","typeString":"function (uint256,uint256) pure returns (error)"}},"id":3339,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3044:43:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3340,"nodeType":"RevertStatement","src":"3037:50:20"}]}},{"expression":{"arguments":[{"id":3345,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3281,"src":"3121:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":3344,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3114:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":3343,"name":"string","nodeType":"ElementaryTypeName","src":"3114:6:20","typeDescriptions":{}}},"id":3346,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3114:14:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":3275,"id":3347,"nodeType":"Return","src":"3107:21:20"}]},"documentation":{"id":3267,"nodeType":"StructuredDocumentation","src":"2493:112:20","text":" @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length."},"id":3349,"implemented":true,"kind":"function","modifiers":[],"name":"toHexString","nameLocation":"2619:11:20","nodeType":"FunctionDefinition","parameters":{"id":3272,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3269,"mutability":"mutable","name":"value","nameLocation":"2639:5:20","nodeType":"VariableDeclaration","scope":3349,"src":"2631:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3268,"name":"uint256","nodeType":"ElementaryTypeName","src":"2631:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3271,"mutability":"mutable","name":"length","nameLocation":"2654:6:20","nodeType":"VariableDeclaration","scope":3349,"src":"2646:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3270,"name":"uint256","nodeType":"ElementaryTypeName","src":"2646:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2630:31:20"},"returnParameters":{"id":3275,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3274,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3349,"src":"2685:13:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3273,"name":"string","nodeType":"ElementaryTypeName","src":"2685:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2684:15:20"},"scope":4508,"src":"2610:525:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3368,"nodeType":"Block","src":"3367:75:20","statements":[{"expression":{"arguments":[{"arguments":[{"arguments":[{"id":3362,"name":"addr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3352,"src":"3412:4:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":3361,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3404:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":3360,"name":"uint160","nodeType":"ElementaryTypeName","src":"3404:7:20","typeDescriptions":{}}},"id":3363,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3404:13:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":3359,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3396:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":3358,"name":"uint256","nodeType":"ElementaryTypeName","src":"3396:7:20","typeDescriptions":{}}},"id":3364,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3396:22:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3365,"name":"ADDRESS_LENGTH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3123,"src":"3420:14:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":3357,"name":"toHexString","nodeType":"Identifier","overloadedDeclarations":[3266,3349,3369],"referencedDeclaration":3349,"src":"3384:11:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256,uint256) pure returns (string memory)"}},"id":3366,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3384:51:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":3356,"id":3367,"nodeType":"Return","src":"3377:58:20"}]},"documentation":{"id":3350,"nodeType":"StructuredDocumentation","src":"3141:148:20","text":" @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n representation."},"id":3369,"implemented":true,"kind":"function","modifiers":[],"name":"toHexString","nameLocation":"3303:11:20","nodeType":"FunctionDefinition","parameters":{"id":3353,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3352,"mutability":"mutable","name":"addr","nameLocation":"3323:4:20","nodeType":"VariableDeclaration","scope":3369,"src":"3315:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3351,"name":"address","nodeType":"ElementaryTypeName","src":"3315:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3314:14:20"},"returnParameters":{"id":3356,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3355,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3369,"src":"3352:13:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3354,"name":"string","nodeType":"ElementaryTypeName","src":"3352:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3351:15:20"},"scope":4508,"src":"3294:148:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3433,"nodeType":"Block","src":"3699:642:20","statements":[{"assignments":[3378],"declarations":[{"constant":false,"id":3378,"mutability":"mutable","name":"buffer","nameLocation":"3722:6:20","nodeType":"VariableDeclaration","scope":3433,"src":"3709:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":3377,"name":"bytes","nodeType":"ElementaryTypeName","src":"3709:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":3385,"initialValue":{"arguments":[{"arguments":[{"id":3382,"name":"addr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3372,"src":"3749:4:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":3381,"name":"toHexString","nodeType":"Identifier","overloadedDeclarations":[3266,3349,3369],"referencedDeclaration":3369,"src":"3737:11:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_string_memory_ptr_$","typeString":"function (address) pure returns (string memory)"}},"id":3383,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3737:17:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3380,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3731:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3379,"name":"bytes","nodeType":"ElementaryTypeName","src":"3731:5:20","typeDescriptions":{}}},"id":3384,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3731:24:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"3709:46:20"},{"assignments":[3387],"declarations":[{"constant":false,"id":3387,"mutability":"mutable","name":"hashValue","nameLocation":"3848:9:20","nodeType":"VariableDeclaration","scope":3433,"src":"3840:17:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3386,"name":"uint256","nodeType":"ElementaryTypeName","src":"3840:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3388,"nodeType":"VariableDeclarationStatement","src":"3840:17:20"},{"AST":{"nativeSrc":"3892:78:20","nodeType":"YulBlock","src":"3892:78:20","statements":[{"nativeSrc":"3906:54:20","nodeType":"YulAssignment","src":"3906:54:20","value":{"arguments":[{"kind":"number","nativeSrc":"3923:2:20","nodeType":"YulLiteral","src":"3923:2:20","type":"","value":"96"},{"arguments":[{"arguments":[{"name":"buffer","nativeSrc":"3941:6:20","nodeType":"YulIdentifier","src":"3941:6:20"},{"kind":"number","nativeSrc":"3949:4:20","nodeType":"YulLiteral","src":"3949:4:20","type":"","value":"0x22"}],"functionName":{"name":"add","nativeSrc":"3937:3:20","nodeType":"YulIdentifier","src":"3937:3:20"},"nativeSrc":"3937:17:20","nodeType":"YulFunctionCall","src":"3937:17:20"},{"kind":"number","nativeSrc":"3956:2:20","nodeType":"YulLiteral","src":"3956:2:20","type":"","value":"40"}],"functionName":{"name":"keccak256","nativeSrc":"3927:9:20","nodeType":"YulIdentifier","src":"3927:9:20"},"nativeSrc":"3927:32:20","nodeType":"YulFunctionCall","src":"3927:32:20"}],"functionName":{"name":"shr","nativeSrc":"3919:3:20","nodeType":"YulIdentifier","src":"3919:3:20"},"nativeSrc":"3919:41:20","nodeType":"YulFunctionCall","src":"3919:41:20"},"variableNames":[{"name":"hashValue","nativeSrc":"3906:9:20","nodeType":"YulIdentifier","src":"3906:9:20"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":3378,"isOffset":false,"isSlot":false,"src":"3941:6:20","valueSize":1},{"declaration":3387,"isOffset":false,"isSlot":false,"src":"3906:9:20","valueSize":1}],"flags":["memory-safe"],"id":3389,"nodeType":"InlineAssembly","src":"3867:103:20"},{"body":{"id":3426,"nodeType":"Block","src":"4013:291:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3413,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3404,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3402,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3400,"name":"hashValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3387,"src":"4119:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"hexValue":"307866","id":3401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4131:3:20","typeDescriptions":{"typeIdentifier":"t_rational_15_by_1","typeString":"int_const 15"},"value":"0xf"},"src":"4119:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"37","id":3403,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4137:1:20","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},"src":"4119:19:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":3412,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"baseExpression":{"id":3407,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3378,"src":"4148:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3409,"indexExpression":{"id":3408,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3391,"src":"4155:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4148:9:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":3406,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4142:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":3405,"name":"uint8","nodeType":"ElementaryTypeName","src":"4142:5:20","typeDescriptions":{}}},"id":3410,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4142:16:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"3936","id":3411,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4161:2:20","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},"src":"4142:21:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4119:44:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3421,"nodeType":"IfStatement","src":"4115:150:20","trueBody":{"id":3420,"nodeType":"Block","src":"4165:100:20","statements":[{"expression":{"id":3418,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":3414,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3378,"src":"4233:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3416,"indexExpression":{"id":3415,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3391,"src":"4240:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4233:9:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"^=","rightHandSide":{"hexValue":"30783230","id":3417,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4246:4:20","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"0x20"},"src":"4233:17:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":3419,"nodeType":"ExpressionStatement","src":"4233:17:20"}]}},{"expression":{"id":3424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3422,"name":"hashValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3387,"src":"4278:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"34","id":3423,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4292:1:20","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"4278:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3425,"nodeType":"ExpressionStatement","src":"4278:15:20"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3396,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3394,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3391,"src":"4001:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"31","id":3395,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4005:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"4001:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3427,"initializationExpression":{"assignments":[3391],"declarations":[{"constant":false,"id":3391,"mutability":"mutable","name":"i","nameLocation":"3993:1:20","nodeType":"VariableDeclaration","scope":3427,"src":"3985:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3390,"name":"uint256","nodeType":"ElementaryTypeName","src":"3985:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3393,"initialValue":{"hexValue":"3431","id":3392,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3997:2:20","typeDescriptions":{"typeIdentifier":"t_rational_41_by_1","typeString":"int_const 41"},"value":"41"},"nodeType":"VariableDeclarationStatement","src":"3985:14:20"},"isSimpleCounterLoop":false,"loopExpression":{"expression":{"id":3398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":true,"src":"4008:3:20","subExpression":{"id":3397,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3391,"src":"4010:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3399,"nodeType":"ExpressionStatement","src":"4008:3:20"},"nodeType":"ForStatement","src":"3980:324:20"},{"expression":{"arguments":[{"id":3430,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3378,"src":"4327:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":3429,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4320:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":3428,"name":"string","nodeType":"ElementaryTypeName","src":"4320:6:20","typeDescriptions":{}}},"id":3431,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4320:14:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":3376,"id":3432,"nodeType":"Return","src":"4313:21:20"}]},"documentation":{"id":3370,"nodeType":"StructuredDocumentation","src":"3448:165:20","text":" @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal\n representation, according to EIP-55."},"id":3434,"implemented":true,"kind":"function","modifiers":[],"name":"toChecksumHexString","nameLocation":"3627:19:20","nodeType":"FunctionDefinition","parameters":{"id":3373,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3372,"mutability":"mutable","name":"addr","nameLocation":"3655:4:20","nodeType":"VariableDeclaration","scope":3434,"src":"3647:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":3371,"name":"address","nodeType":"ElementaryTypeName","src":"3647:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3646:14:20"},"returnParameters":{"id":3376,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3375,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3434,"src":"3684:13:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3374,"name":"string","nodeType":"ElementaryTypeName","src":"3684:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3683:15:20"},"scope":4508,"src":"3618:723:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3470,"nodeType":"Block","src":"4496:104:20","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3468,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":3446,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3437,"src":"4519:1:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3445,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4513:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3444,"name":"bytes","nodeType":"ElementaryTypeName","src":"4513:5:20","typeDescriptions":{}}},"id":3447,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4513:8:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3448,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4522:6:20","memberName":"length","nodeType":"MemberAccess","src":"4513:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":3451,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3439,"src":"4538:1:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3450,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4532:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3449,"name":"bytes","nodeType":"ElementaryTypeName","src":"4532:5:20","typeDescriptions":{}}},"id":3452,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4532:8:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4541:6:20","memberName":"length","nodeType":"MemberAccess","src":"4532:15:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4513:34:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"id":3467,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"id":3458,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3437,"src":"4567:1:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3457,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4561:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3456,"name":"bytes","nodeType":"ElementaryTypeName","src":"4561:5:20","typeDescriptions":{}}},"id":3459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4561:8:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":3455,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"4551:9:20","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":3460,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4551:19:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"arguments":[{"id":3464,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3439,"src":"4590:1:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3463,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4584:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3462,"name":"bytes","nodeType":"ElementaryTypeName","src":"4584:5:20","typeDescriptions":{}}},"id":3465,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4584:8:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":3461,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"4574:9:20","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":3466,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4574:19:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4551:42:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4513:80:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":3443,"id":3469,"nodeType":"Return","src":"4506:87:20"}]},"documentation":{"id":3435,"nodeType":"StructuredDocumentation","src":"4347:66:20","text":" @dev Returns true if the two strings are equal."},"id":3471,"implemented":true,"kind":"function","modifiers":[],"name":"equal","nameLocation":"4427:5:20","nodeType":"FunctionDefinition","parameters":{"id":3440,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3437,"mutability":"mutable","name":"a","nameLocation":"4447:1:20","nodeType":"VariableDeclaration","scope":3471,"src":"4433:15:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3436,"name":"string","nodeType":"ElementaryTypeName","src":"4433:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3439,"mutability":"mutable","name":"b","nameLocation":"4464:1:20","nodeType":"VariableDeclaration","scope":3471,"src":"4450:15:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3438,"name":"string","nodeType":"ElementaryTypeName","src":"4450:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4432:34:20"},"returnParameters":{"id":3443,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3442,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3471,"src":"4490:4:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3441,"name":"bool","nodeType":"ElementaryTypeName","src":"4490:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4489:6:20"},"scope":4508,"src":"4418:182:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3489,"nodeType":"Block","src":"4897:64:20","statements":[{"expression":{"arguments":[{"id":3480,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3474,"src":"4924:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"30","id":3481,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4931:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"arguments":[{"id":3484,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3474,"src":"4940:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3483,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4934:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3482,"name":"bytes","nodeType":"ElementaryTypeName","src":"4934:5:20","typeDescriptions":{}}},"id":3485,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4934:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3486,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4947:6:20","memberName":"length","nodeType":"MemberAccess","src":"4934:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3479,"name":"parseUint","nodeType":"Identifier","overloadedDeclarations":[3490,3521],"referencedDeclaration":3521,"src":"4914:9:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (uint256)"}},"id":3487,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4914:40:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3478,"id":3488,"nodeType":"Return","src":"4907:47:20"}]},"documentation":{"id":3472,"nodeType":"StructuredDocumentation","src":"4606:214:20","text":" @dev Parse a decimal string and returns the value as a `uint256`.\n Requirements:\n - The string must be formatted as `[0-9]*`\n - The result must fit into an `uint256` type"},"id":3490,"implemented":true,"kind":"function","modifiers":[],"name":"parseUint","nameLocation":"4834:9:20","nodeType":"FunctionDefinition","parameters":{"id":3475,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3474,"mutability":"mutable","name":"input","nameLocation":"4858:5:20","nodeType":"VariableDeclaration","scope":3490,"src":"4844:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3473,"name":"string","nodeType":"ElementaryTypeName","src":"4844:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4843:21:20"},"returnParameters":{"id":3478,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3477,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3490,"src":"4888:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3476,"name":"uint256","nodeType":"ElementaryTypeName","src":"4888:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4887:9:20"},"scope":4508,"src":"4825:136:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3520,"nodeType":"Block","src":"5366:153:20","statements":[{"assignments":[3503,3505],"declarations":[{"constant":false,"id":3503,"mutability":"mutable","name":"success","nameLocation":"5382:7:20","nodeType":"VariableDeclaration","scope":3520,"src":"5377:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3502,"name":"bool","nodeType":"ElementaryTypeName","src":"5377:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3505,"mutability":"mutable","name":"value","nameLocation":"5399:5:20","nodeType":"VariableDeclaration","scope":3520,"src":"5391:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3504,"name":"uint256","nodeType":"ElementaryTypeName","src":"5391:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3511,"initialValue":{"arguments":[{"id":3507,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3493,"src":"5421:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":3508,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3495,"src":"5428:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3509,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3497,"src":"5435:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3506,"name":"tryParseUint","nodeType":"Identifier","overloadedDeclarations":[3542,3579],"referencedDeclaration":3579,"src":"5408:12:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,uint256)"}},"id":3510,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5408:31:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"5376:63:20"},{"condition":{"id":3513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5453:8:20","subExpression":{"id":3512,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3503,"src":"5454:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3517,"nodeType":"IfStatement","src":"5449:41:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":3514,"name":"StringsInvalidChar","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3169,"src":"5470:18:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":3515,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5470:20:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3516,"nodeType":"RevertStatement","src":"5463:27:20"}},{"expression":{"id":3518,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3505,"src":"5507:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3501,"id":3519,"nodeType":"Return","src":"5500:12:20"}]},"documentation":{"id":3491,"nodeType":"StructuredDocumentation","src":"4967:294:20","text":" @dev Variant of {parseUint-string} that parses a substring of `input` located between position `begin` (included) and\n `end` (excluded).\n Requirements:\n - The substring must be formatted as `[0-9]*`\n - The result must fit into an `uint256` type"},"id":3521,"implemented":true,"kind":"function","modifiers":[],"name":"parseUint","nameLocation":"5275:9:20","nodeType":"FunctionDefinition","parameters":{"id":3498,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3493,"mutability":"mutable","name":"input","nameLocation":"5299:5:20","nodeType":"VariableDeclaration","scope":3521,"src":"5285:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3492,"name":"string","nodeType":"ElementaryTypeName","src":"5285:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3495,"mutability":"mutable","name":"begin","nameLocation":"5314:5:20","nodeType":"VariableDeclaration","scope":3521,"src":"5306:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3494,"name":"uint256","nodeType":"ElementaryTypeName","src":"5306:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3497,"mutability":"mutable","name":"end","nameLocation":"5329:3:20","nodeType":"VariableDeclaration","scope":3521,"src":"5321:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3496,"name":"uint256","nodeType":"ElementaryTypeName","src":"5321:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5284:49:20"},"returnParameters":{"id":3501,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3500,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3521,"src":"5357:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3499,"name":"uint256","nodeType":"ElementaryTypeName","src":"5357:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5356:9:20"},"scope":4508,"src":"5266:253:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3541,"nodeType":"Block","src":"5840:83:20","statements":[{"expression":{"arguments":[{"id":3532,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3524,"src":"5886:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"30","id":3533,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5893:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"arguments":[{"id":3536,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3524,"src":"5902:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3535,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5896:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3534,"name":"bytes","nodeType":"ElementaryTypeName","src":"5896:5:20","typeDescriptions":{}}},"id":3537,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5896:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5909:6:20","memberName":"length","nodeType":"MemberAccess","src":"5896:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3531,"name":"_tryParseUintUncheckedBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3649,"src":"5857:28:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,uint256)"}},"id":3539,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5857:59:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":3530,"id":3540,"nodeType":"Return","src":"5850:66:20"}]},"documentation":{"id":3522,"nodeType":"StructuredDocumentation","src":"5525:215:20","text":" @dev Variant of {parseUint-string} that returns false if the parsing fails because of an invalid character.\n NOTE: This function will revert if the result does not fit in a `uint256`."},"id":3542,"implemented":true,"kind":"function","modifiers":[],"name":"tryParseUint","nameLocation":"5754:12:20","nodeType":"FunctionDefinition","parameters":{"id":3525,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3524,"mutability":"mutable","name":"input","nameLocation":"5781:5:20","nodeType":"VariableDeclaration","scope":3542,"src":"5767:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3523,"name":"string","nodeType":"ElementaryTypeName","src":"5767:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"5766:21:20"},"returnParameters":{"id":3530,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3527,"mutability":"mutable","name":"success","nameLocation":"5816:7:20","nodeType":"VariableDeclaration","scope":3542,"src":"5811:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3526,"name":"bool","nodeType":"ElementaryTypeName","src":"5811:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3529,"mutability":"mutable","name":"value","nameLocation":"5833:5:20","nodeType":"VariableDeclaration","scope":3542,"src":"5825:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3528,"name":"uint256","nodeType":"ElementaryTypeName","src":"5825:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5810:29:20"},"scope":4508,"src":"5745:178:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3578,"nodeType":"Block","src":"6325:144:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3566,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3556,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3549,"src":"6339:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3559,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3545,"src":"6351:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3558,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6345:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3557,"name":"bytes","nodeType":"ElementaryTypeName","src":"6345:5:20","typeDescriptions":{}}},"id":3560,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6345:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3561,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6358:6:20","memberName":"length","nodeType":"MemberAccess","src":"6345:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6339:25:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3565,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3563,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3547,"src":"6368:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":3564,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3549,"src":"6376:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6368:11:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6339:40:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3571,"nodeType":"IfStatement","src":"6335:63:20","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":3567,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6389:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":3568,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6396:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":3569,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"6388:10:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":3555,"id":3570,"nodeType":"Return","src":"6381:17:20"}},{"expression":{"arguments":[{"id":3573,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3545,"src":"6444:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":3574,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3547,"src":"6451:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3575,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3549,"src":"6458:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3572,"name":"_tryParseUintUncheckedBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3649,"src":"6415:28:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,uint256)"}},"id":3576,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6415:47:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":3555,"id":3577,"nodeType":"Return","src":"6408:54:20"}]},"documentation":{"id":3543,"nodeType":"StructuredDocumentation","src":"5929:238:20","text":" @dev Variant of {parseUint-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n character.\n NOTE: This function will revert if the result does not fit in a `uint256`."},"id":3579,"implemented":true,"kind":"function","modifiers":[],"name":"tryParseUint","nameLocation":"6181:12:20","nodeType":"FunctionDefinition","parameters":{"id":3550,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3545,"mutability":"mutable","name":"input","nameLocation":"6217:5:20","nodeType":"VariableDeclaration","scope":3579,"src":"6203:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3544,"name":"string","nodeType":"ElementaryTypeName","src":"6203:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3547,"mutability":"mutable","name":"begin","nameLocation":"6240:5:20","nodeType":"VariableDeclaration","scope":3579,"src":"6232:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3546,"name":"uint256","nodeType":"ElementaryTypeName","src":"6232:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3549,"mutability":"mutable","name":"end","nameLocation":"6263:3:20","nodeType":"VariableDeclaration","scope":3579,"src":"6255:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3548,"name":"uint256","nodeType":"ElementaryTypeName","src":"6255:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6193:79:20"},"returnParameters":{"id":3555,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3552,"mutability":"mutable","name":"success","nameLocation":"6301:7:20","nodeType":"VariableDeclaration","scope":3579,"src":"6296:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3551,"name":"bool","nodeType":"ElementaryTypeName","src":"6296:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3554,"mutability":"mutable","name":"value","nameLocation":"6318:5:20","nodeType":"VariableDeclaration","scope":3579,"src":"6310:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3553,"name":"uint256","nodeType":"ElementaryTypeName","src":"6310:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6295:29:20"},"scope":4508,"src":"6172:297:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3648,"nodeType":"Block","src":"6872:347:20","statements":[{"assignments":[3594],"declarations":[{"constant":false,"id":3594,"mutability":"mutable","name":"buffer","nameLocation":"6895:6:20","nodeType":"VariableDeclaration","scope":3648,"src":"6882:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":3593,"name":"bytes","nodeType":"ElementaryTypeName","src":"6882:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":3599,"initialValue":{"arguments":[{"id":3597,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3582,"src":"6910:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3596,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6904:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3595,"name":"bytes","nodeType":"ElementaryTypeName","src":"6904:5:20","typeDescriptions":{}}},"id":3598,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6904:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"6882:34:20"},{"assignments":[3601],"declarations":[{"constant":false,"id":3601,"mutability":"mutable","name":"result","nameLocation":"6935:6:20","nodeType":"VariableDeclaration","scope":3648,"src":"6927:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3600,"name":"uint256","nodeType":"ElementaryTypeName","src":"6927:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3603,"initialValue":{"hexValue":"30","id":3602,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6944:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"6927:18:20"},{"body":{"id":3642,"nodeType":"Block","src":"6993:189:20","statements":[{"assignments":[3615],"declarations":[{"constant":false,"id":3615,"mutability":"mutable","name":"chr","nameLocation":"7013:3:20","nodeType":"VariableDeclaration","scope":3642,"src":"7007:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":3614,"name":"uint8","nodeType":"ElementaryTypeName","src":"7007:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":3625,"initialValue":{"arguments":[{"arguments":[{"arguments":[{"id":3620,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3594,"src":"7062:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":3621,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3605,"src":"7070:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3619,"name":"_unsafeReadBytesOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4507,"src":"7039:22:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":3622,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7039:33:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3618,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7032:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":3617,"name":"bytes1","nodeType":"ElementaryTypeName","src":"7032:6:20","typeDescriptions":{}}},"id":3623,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7032:41:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":3616,"name":"_tryParseChr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4329,"src":"7019:12:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes1_$returns$_t_uint8_$","typeString":"function (bytes1) pure returns (uint8)"}},"id":3624,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7019:55:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"7007:67:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":3628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3626,"name":"chr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3615,"src":"7092:3:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"39","id":3627,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7098:1:20","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"9"},"src":"7092:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3633,"nodeType":"IfStatement","src":"7088:30:20","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":3629,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"7109:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":3630,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7116:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":3631,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"7108:10:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":3592,"id":3632,"nodeType":"Return","src":"7101:17:20"}},{"expression":{"id":3636,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3634,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3601,"src":"7132:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"hexValue":"3130","id":3635,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7142:2:20","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"src":"7132:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3637,"nodeType":"ExpressionStatement","src":"7132:12:20"},{"expression":{"id":3640,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":3638,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3601,"src":"7158:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":3639,"name":"chr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3615,"src":"7168:3:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"7158:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3641,"nodeType":"ExpressionStatement","src":"7158:13:20"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3610,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3608,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3605,"src":"6979:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3609,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3586,"src":"6983:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6979:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3643,"initializationExpression":{"assignments":[3605],"declarations":[{"constant":false,"id":3605,"mutability":"mutable","name":"i","nameLocation":"6968:1:20","nodeType":"VariableDeclaration","scope":3643,"src":"6960:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3604,"name":"uint256","nodeType":"ElementaryTypeName","src":"6960:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3607,"initialValue":{"id":3606,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3584,"src":"6972:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6960:17:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":3612,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"6988:3:20","subExpression":{"id":3611,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3605,"src":"6990:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":3613,"nodeType":"ExpressionStatement","src":"6988:3:20"},"nodeType":"ForStatement","src":"6955:227:20"},{"expression":{"components":[{"hexValue":"74727565","id":3644,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"7199:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"id":3645,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3601,"src":"7205:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":3646,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"7198:14:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":3592,"id":3647,"nodeType":"Return","src":"7191:21:20"}]},"documentation":{"id":3580,"nodeType":"StructuredDocumentation","src":"6475:224:20","text":" @dev Implementation of {tryParseUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n `begin <= end <= input.length`. Other inputs would result in undefined behavior."},"id":3649,"implemented":true,"kind":"function","modifiers":[],"name":"_tryParseUintUncheckedBounds","nameLocation":"6713:28:20","nodeType":"FunctionDefinition","parameters":{"id":3587,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3582,"mutability":"mutable","name":"input","nameLocation":"6765:5:20","nodeType":"VariableDeclaration","scope":3649,"src":"6751:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3581,"name":"string","nodeType":"ElementaryTypeName","src":"6751:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3584,"mutability":"mutable","name":"begin","nameLocation":"6788:5:20","nodeType":"VariableDeclaration","scope":3649,"src":"6780:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3583,"name":"uint256","nodeType":"ElementaryTypeName","src":"6780:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3586,"mutability":"mutable","name":"end","nameLocation":"6811:3:20","nodeType":"VariableDeclaration","scope":3649,"src":"6803:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3585,"name":"uint256","nodeType":"ElementaryTypeName","src":"6803:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6741:79:20"},"returnParameters":{"id":3592,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3589,"mutability":"mutable","name":"success","nameLocation":"6848:7:20","nodeType":"VariableDeclaration","scope":3649,"src":"6843:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3588,"name":"bool","nodeType":"ElementaryTypeName","src":"6843:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3591,"mutability":"mutable","name":"value","nameLocation":"6865:5:20","nodeType":"VariableDeclaration","scope":3649,"src":"6857:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3590,"name":"uint256","nodeType":"ElementaryTypeName","src":"6857:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6842:29:20"},"scope":4508,"src":"6704:515:20","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":3667,"nodeType":"Block","src":"7516:63:20","statements":[{"expression":{"arguments":[{"id":3658,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3652,"src":"7542:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"30","id":3659,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7549:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"arguments":[{"id":3662,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3652,"src":"7558:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3661,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7552:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3660,"name":"bytes","nodeType":"ElementaryTypeName","src":"7552:5:20","typeDescriptions":{}}},"id":3663,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7552:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3664,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7565:6:20","memberName":"length","nodeType":"MemberAccess","src":"7552:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3657,"name":"parseInt","nodeType":"Identifier","overloadedDeclarations":[3668,3699],"referencedDeclaration":3699,"src":"7533:8:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_int256_$","typeString":"function (string memory,uint256,uint256) pure returns (int256)"}},"id":3665,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7533:39:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":3656,"id":3666,"nodeType":"Return","src":"7526:46:20"}]},"documentation":{"id":3650,"nodeType":"StructuredDocumentation","src":"7225:216:20","text":" @dev Parse a decimal string and returns the value as a `int256`.\n Requirements:\n - The string must be formatted as `[-+]?[0-9]*`\n - The result must fit in an `int256` type."},"id":3668,"implemented":true,"kind":"function","modifiers":[],"name":"parseInt","nameLocation":"7455:8:20","nodeType":"FunctionDefinition","parameters":{"id":3653,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3652,"mutability":"mutable","name":"input","nameLocation":"7478:5:20","nodeType":"VariableDeclaration","scope":3668,"src":"7464:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3651,"name":"string","nodeType":"ElementaryTypeName","src":"7464:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"7463:21:20"},"returnParameters":{"id":3656,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3655,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3668,"src":"7508:6:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3654,"name":"int256","nodeType":"ElementaryTypeName","src":"7508:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"7507:8:20"},"scope":4508,"src":"7446:133:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3698,"nodeType":"Block","src":"7984:151:20","statements":[{"assignments":[3681,3683],"declarations":[{"constant":false,"id":3681,"mutability":"mutable","name":"success","nameLocation":"8000:7:20","nodeType":"VariableDeclaration","scope":3698,"src":"7995:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3680,"name":"bool","nodeType":"ElementaryTypeName","src":"7995:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3683,"mutability":"mutable","name":"value","nameLocation":"8016:5:20","nodeType":"VariableDeclaration","scope":3698,"src":"8009:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3682,"name":"int256","nodeType":"ElementaryTypeName","src":"8009:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":3689,"initialValue":{"arguments":[{"id":3685,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3671,"src":"8037:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":3686,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3673,"src":"8044:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3687,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3675,"src":"8051:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3684,"name":"tryParseInt","nodeType":"Identifier","overloadedDeclarations":[3720,3762],"referencedDeclaration":3762,"src":"8025:11:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_int256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,int256)"}},"id":3688,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8025:30:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_int256_$","typeString":"tuple(bool,int256)"}},"nodeType":"VariableDeclarationStatement","src":"7994:61:20"},{"condition":{"id":3691,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"8069:8:20","subExpression":{"id":3690,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3681,"src":"8070:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3695,"nodeType":"IfStatement","src":"8065:41:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":3692,"name":"StringsInvalidChar","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3169,"src":"8086:18:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":3693,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8086:20:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3694,"nodeType":"RevertStatement","src":"8079:27:20"}},{"expression":{"id":3696,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3683,"src":"8123:5:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":3679,"id":3697,"nodeType":"Return","src":"8116:12:20"}]},"documentation":{"id":3669,"nodeType":"StructuredDocumentation","src":"7585:296:20","text":" @dev Variant of {parseInt-string} that parses a substring of `input` located between position `begin` (included) and\n `end` (excluded).\n Requirements:\n - The substring must be formatted as `[-+]?[0-9]*`\n - The result must fit in an `int256` type."},"id":3699,"implemented":true,"kind":"function","modifiers":[],"name":"parseInt","nameLocation":"7895:8:20","nodeType":"FunctionDefinition","parameters":{"id":3676,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3671,"mutability":"mutable","name":"input","nameLocation":"7918:5:20","nodeType":"VariableDeclaration","scope":3699,"src":"7904:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3670,"name":"string","nodeType":"ElementaryTypeName","src":"7904:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3673,"mutability":"mutable","name":"begin","nameLocation":"7933:5:20","nodeType":"VariableDeclaration","scope":3699,"src":"7925:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3672,"name":"uint256","nodeType":"ElementaryTypeName","src":"7925:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3675,"mutability":"mutable","name":"end","nameLocation":"7948:3:20","nodeType":"VariableDeclaration","scope":3699,"src":"7940:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3674,"name":"uint256","nodeType":"ElementaryTypeName","src":"7940:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7903:49:20"},"returnParameters":{"id":3679,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3678,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3699,"src":"7976:6:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3677,"name":"int256","nodeType":"ElementaryTypeName","src":"7976:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"7975:8:20"},"scope":4508,"src":"7886:249:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3719,"nodeType":"Block","src":"8526:82:20","statements":[{"expression":{"arguments":[{"id":3710,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3702,"src":"8571:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"30","id":3711,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8578:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"arguments":[{"id":3714,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3702,"src":"8587:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3713,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8581:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3712,"name":"bytes","nodeType":"ElementaryTypeName","src":"8581:5:20","typeDescriptions":{}}},"id":3715,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8581:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3716,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8594:6:20","memberName":"length","nodeType":"MemberAccess","src":"8581:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3709,"name":"_tryParseIntUncheckedBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3883,"src":"8543:27:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_int256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,int256)"}},"id":3717,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8543:58:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_int256_$","typeString":"tuple(bool,int256)"}},"functionReturnParameters":3708,"id":3718,"nodeType":"Return","src":"8536:65:20"}]},"documentation":{"id":3700,"nodeType":"StructuredDocumentation","src":"8141:287:20","text":" @dev Variant of {parseInt-string} that returns false if the parsing fails because of an invalid character or if\n the result does not fit in a `int256`.\n NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`."},"id":3720,"implemented":true,"kind":"function","modifiers":[],"name":"tryParseInt","nameLocation":"8442:11:20","nodeType":"FunctionDefinition","parameters":{"id":3703,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3702,"mutability":"mutable","name":"input","nameLocation":"8468:5:20","nodeType":"VariableDeclaration","scope":3720,"src":"8454:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3701,"name":"string","nodeType":"ElementaryTypeName","src":"8454:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"8453:21:20"},"returnParameters":{"id":3708,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3705,"mutability":"mutable","name":"success","nameLocation":"8503:7:20","nodeType":"VariableDeclaration","scope":3720,"src":"8498:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3704,"name":"bool","nodeType":"ElementaryTypeName","src":"8498:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3707,"mutability":"mutable","name":"value","nameLocation":"8519:5:20","nodeType":"VariableDeclaration","scope":3720,"src":"8512:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3706,"name":"int256","nodeType":"ElementaryTypeName","src":"8512:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"8497:28:20"},"scope":4508,"src":"8433:175:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"constant":true,"id":3725,"mutability":"constant","name":"ABS_MIN_INT256","nameLocation":"8639:14:20","nodeType":"VariableDeclaration","scope":4508,"src":"8614:50:20","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3721,"name":"uint256","nodeType":"ElementaryTypeName","src":"8614:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"commonType":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1","typeString":"int_const 5789...(69 digits omitted)...9968"},"id":3724,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":3722,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8656:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"323535","id":3723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8661:3:20","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"},"src":"8656:8:20","typeDescriptions":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819968_by_1","typeString":"int_const 5789...(69 digits omitted)...9968"}},"visibility":"private"},{"body":{"id":3761,"nodeType":"Block","src":"9130:143:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3749,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3745,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3739,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3732,"src":"9144:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3742,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3728,"src":"9156:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3741,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9150:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3740,"name":"bytes","nodeType":"ElementaryTypeName","src":"9150:5:20","typeDescriptions":{}}},"id":3743,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9150:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3744,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9163:6:20","memberName":"length","nodeType":"MemberAccess","src":"9150:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9144:25:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3748,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3746,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3730,"src":"9173:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":3747,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3732,"src":"9181:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9173:11:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"9144:40:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3754,"nodeType":"IfStatement","src":"9140:63:20","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":3750,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"9194:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":3751,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9201:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":3752,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"9193:10:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":3738,"id":3753,"nodeType":"Return","src":"9186:17:20"}},{"expression":{"arguments":[{"id":3756,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3728,"src":"9248:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":3757,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3730,"src":"9255:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3758,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3732,"src":"9262:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3755,"name":"_tryParseIntUncheckedBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3883,"src":"9220:27:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_int256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,int256)"}},"id":3759,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9220:46:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_int256_$","typeString":"tuple(bool,int256)"}},"functionReturnParameters":3738,"id":3760,"nodeType":"Return","src":"9213:53:20"}]},"documentation":{"id":3726,"nodeType":"StructuredDocumentation","src":"8671:303:20","text":" @dev Variant of {parseInt-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n character or if the result does not fit in a `int256`.\n NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`."},"id":3762,"implemented":true,"kind":"function","modifiers":[],"name":"tryParseInt","nameLocation":"8988:11:20","nodeType":"FunctionDefinition","parameters":{"id":3733,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3728,"mutability":"mutable","name":"input","nameLocation":"9023:5:20","nodeType":"VariableDeclaration","scope":3762,"src":"9009:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3727,"name":"string","nodeType":"ElementaryTypeName","src":"9009:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3730,"mutability":"mutable","name":"begin","nameLocation":"9046:5:20","nodeType":"VariableDeclaration","scope":3762,"src":"9038:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3729,"name":"uint256","nodeType":"ElementaryTypeName","src":"9038:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3732,"mutability":"mutable","name":"end","nameLocation":"9069:3:20","nodeType":"VariableDeclaration","scope":3762,"src":"9061:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3731,"name":"uint256","nodeType":"ElementaryTypeName","src":"9061:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8999:79:20"},"returnParameters":{"id":3738,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3735,"mutability":"mutable","name":"success","nameLocation":"9107:7:20","nodeType":"VariableDeclaration","scope":3762,"src":"9102:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3734,"name":"bool","nodeType":"ElementaryTypeName","src":"9102:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3737,"mutability":"mutable","name":"value","nameLocation":"9123:5:20","nodeType":"VariableDeclaration","scope":3762,"src":"9116:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3736,"name":"int256","nodeType":"ElementaryTypeName","src":"9116:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"9101:28:20"},"scope":4508,"src":"8979:294:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3882,"nodeType":"Block","src":"9673:812:20","statements":[{"assignments":[3777],"declarations":[{"constant":false,"id":3777,"mutability":"mutable","name":"buffer","nameLocation":"9696:6:20","nodeType":"VariableDeclaration","scope":3882,"src":"9683:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":3776,"name":"bytes","nodeType":"ElementaryTypeName","src":"9683:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":3782,"initialValue":{"arguments":[{"id":3780,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3765,"src":"9711:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3779,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9705:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3778,"name":"bytes","nodeType":"ElementaryTypeName","src":"9705:5:20","typeDescriptions":{}}},"id":3781,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9705:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"9683:34:20"},{"assignments":[3784],"declarations":[{"constant":false,"id":3784,"mutability":"mutable","name":"sign","nameLocation":"9781:4:20","nodeType":"VariableDeclaration","scope":3882,"src":"9774:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":3783,"name":"bytes1","nodeType":"ElementaryTypeName","src":"9774:6:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"visibility":"internal"}],"id":3800,"initialValue":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3785,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3767,"src":"9788:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":3786,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3769,"src":"9797:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9788:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"arguments":[{"id":3795,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3777,"src":"9845:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":3796,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3767,"src":"9853:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3794,"name":"_unsafeReadBytesOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4507,"src":"9822:22:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":3797,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9822:37:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":3793,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9815:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":3792,"name":"bytes1","nodeType":"ElementaryTypeName","src":"9815:6:20","typeDescriptions":{}}},"id":3798,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9815:45:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":3799,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"9788:72:20","trueExpression":{"arguments":[{"hexValue":"30","id":3790,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9810: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":3789,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9803:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":3788,"name":"bytes1","nodeType":"ElementaryTypeName","src":"9803:6:20","typeDescriptions":{}}},"id":3791,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9803:9:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"VariableDeclarationStatement","src":"9774:86:20"},{"assignments":[3802],"declarations":[{"constant":false,"id":3802,"mutability":"mutable","name":"positiveSign","nameLocation":"9946:12:20","nodeType":"VariableDeclaration","scope":3882,"src":"9941:17:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3801,"name":"bool","nodeType":"ElementaryTypeName","src":"9941:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":3809,"initialValue":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":3808,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3803,"name":"sign","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3784,"src":"9961:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"2b","id":3806,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9976:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_728b8dbbe730d9acd55e30e768e6a28a04bea0c61b88108287c2c87d79c98bb8","typeString":"literal_string \"+\""},"value":"+"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_728b8dbbe730d9acd55e30e768e6a28a04bea0c61b88108287c2c87d79c98bb8","typeString":"literal_string \"+\""}],"id":3805,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9969:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":3804,"name":"bytes1","nodeType":"ElementaryTypeName","src":"9969:6:20","typeDescriptions":{}}},"id":3807,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9969:11:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"9961:19:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"9941:39:20"},{"assignments":[3811],"declarations":[{"constant":false,"id":3811,"mutability":"mutable","name":"negativeSign","nameLocation":"9995:12:20","nodeType":"VariableDeclaration","scope":3882,"src":"9990:17:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3810,"name":"bool","nodeType":"ElementaryTypeName","src":"9990:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":3818,"initialValue":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":3817,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3812,"name":"sign","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3784,"src":"10010:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"2d","id":3815,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"10025:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_d3b8281179950f98149eefdb158d0e1acb56f56e8e343aa9fefafa7e36959561","typeString":"literal_string \"-\""},"value":"-"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_d3b8281179950f98149eefdb158d0e1acb56f56e8e343aa9fefafa7e36959561","typeString":"literal_string \"-\""}],"id":3814,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10018:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":3813,"name":"bytes1","nodeType":"ElementaryTypeName","src":"10018:6:20","typeDescriptions":{}}},"id":3816,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10018:11:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"10010:19:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"9990:39:20"},{"assignments":[3820],"declarations":[{"constant":false,"id":3820,"mutability":"mutable","name":"offset","nameLocation":"10047:6:20","nodeType":"VariableDeclaration","scope":3882,"src":"10039:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3819,"name":"uint256","nodeType":"ElementaryTypeName","src":"10039:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3827,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3823,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3821,"name":"positiveSign","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3802,"src":"10057:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"id":3822,"name":"negativeSign","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3811,"src":"10073:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10057:28:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":3824,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10056:30:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3825,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10087:6:20","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"10056:37:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$attached_to$_t_bool_$","typeString":"function (bool) pure returns (uint256)"}},"id":3826,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10056:39:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"10039:56:20"},{"assignments":[3829,3831],"declarations":[{"constant":false,"id":3829,"mutability":"mutable","name":"absSuccess","nameLocation":"10112:10:20","nodeType":"VariableDeclaration","scope":3882,"src":"10107:15:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3828,"name":"bool","nodeType":"ElementaryTypeName","src":"10107:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3831,"mutability":"mutable","name":"absValue","nameLocation":"10132:8:20","nodeType":"VariableDeclaration","scope":3882,"src":"10124:16:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3830,"name":"uint256","nodeType":"ElementaryTypeName","src":"10124:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3839,"initialValue":{"arguments":[{"id":3833,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3765,"src":"10157:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3836,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3834,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3767,"src":"10164:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":3835,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3820,"src":"10172:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10164:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3837,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3769,"src":"10180:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3832,"name":"tryParseUint","nodeType":"Identifier","overloadedDeclarations":[3542,3579],"referencedDeclaration":3579,"src":"10144:12:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,uint256)"}},"id":3838,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10144:40:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"10106:78:20"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3840,"name":"absSuccess","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3829,"src":"10199:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3843,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3841,"name":"absValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3831,"src":"10213:8:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":3842,"name":"ABS_MIN_INT256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3725,"src":"10224:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10213:25:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10199:39:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3866,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3860,"name":"absSuccess","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3829,"src":"10341:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"id":3861,"name":"negativeSign","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3811,"src":"10355:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10341:26:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3865,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3863,"name":"absValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3831,"src":"10371:8:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":3864,"name":"ABS_MIN_INT256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3725,"src":"10383:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10371:26:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10341:56:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"expression":{"components":[{"hexValue":"66616c7365","id":3876,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"10469:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":3877,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10476:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":3878,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"10468:10:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":3775,"id":3879,"nodeType":"Return","src":"10461:17:20"},"id":3880,"nodeType":"IfStatement","src":"10337:141:20","trueBody":{"id":3875,"nodeType":"Block","src":"10399:56:20","statements":[{"expression":{"components":[{"hexValue":"74727565","id":3867,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"10421:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"expression":{"arguments":[{"id":3870,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10432:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":3869,"name":"int256","nodeType":"ElementaryTypeName","src":"10432:6:20","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"}],"id":3868,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"10427:4:20","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":3871,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10427:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_int256","typeString":"type(int256)"}},"id":3872,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10440:3:20","memberName":"min","nodeType":"MemberAccess","src":"10427:16:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":3873,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"10420:24:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_int256_$","typeString":"tuple(bool,int256)"}},"functionReturnParameters":3775,"id":3874,"nodeType":"Return","src":"10413:31:20"}]}},"id":3881,"nodeType":"IfStatement","src":"10195:283:20","trueBody":{"id":3859,"nodeType":"Block","src":"10240:91:20","statements":[{"expression":{"components":[{"hexValue":"74727565","id":3845,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"10262:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"condition":{"id":3846,"name":"negativeSign","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3811,"src":"10268:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"id":3854,"name":"absValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3831,"src":"10310:8:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3853,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10303:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":3852,"name":"int256","nodeType":"ElementaryTypeName","src":"10303:6:20","typeDescriptions":{}}},"id":3855,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10303:16:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":3856,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"10268:51:20","trueExpression":{"id":3851,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"10283:17:20","subExpression":{"arguments":[{"id":3849,"name":"absValue","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3831,"src":"10291:8:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3848,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10284:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":3847,"name":"int256","nodeType":"ElementaryTypeName","src":"10284:6:20","typeDescriptions":{}}},"id":3850,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10284:16:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":3857,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"10261:59:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_int256_$","typeString":"tuple(bool,int256)"}},"functionReturnParameters":3775,"id":3858,"nodeType":"Return","src":"10254:66:20"}]}}]},"documentation":{"id":3763,"nodeType":"StructuredDocumentation","src":"9279:223:20","text":" @dev Implementation of {tryParseInt-string-uint256-uint256} that does not check bounds. Caller should make sure that\n `begin <= end <= input.length`. Other inputs would result in undefined behavior."},"id":3883,"implemented":true,"kind":"function","modifiers":[],"name":"_tryParseIntUncheckedBounds","nameLocation":"9516:27:20","nodeType":"FunctionDefinition","parameters":{"id":3770,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3765,"mutability":"mutable","name":"input","nameLocation":"9567:5:20","nodeType":"VariableDeclaration","scope":3883,"src":"9553:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3764,"name":"string","nodeType":"ElementaryTypeName","src":"9553:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3767,"mutability":"mutable","name":"begin","nameLocation":"9590:5:20","nodeType":"VariableDeclaration","scope":3883,"src":"9582:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3766,"name":"uint256","nodeType":"ElementaryTypeName","src":"9582:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3769,"mutability":"mutable","name":"end","nameLocation":"9613:3:20","nodeType":"VariableDeclaration","scope":3883,"src":"9605:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3768,"name":"uint256","nodeType":"ElementaryTypeName","src":"9605:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9543:79:20"},"returnParameters":{"id":3775,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3772,"mutability":"mutable","name":"success","nameLocation":"9650:7:20","nodeType":"VariableDeclaration","scope":3883,"src":"9645:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3771,"name":"bool","nodeType":"ElementaryTypeName","src":"9645:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3774,"mutability":"mutable","name":"value","nameLocation":"9666:5:20","nodeType":"VariableDeclaration","scope":3883,"src":"9659:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":3773,"name":"int256","nodeType":"ElementaryTypeName","src":"9659:6:20","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"9644:28:20"},"scope":4508,"src":"9507:978:20","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":3901,"nodeType":"Block","src":"10830:67:20","statements":[{"expression":{"arguments":[{"id":3892,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3886,"src":"10860:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"30","id":3893,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10867:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"arguments":[{"id":3896,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3886,"src":"10876:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3895,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10870:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3894,"name":"bytes","nodeType":"ElementaryTypeName","src":"10870:5:20","typeDescriptions":{}}},"id":3897,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10870:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3898,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10883:6:20","memberName":"length","nodeType":"MemberAccess","src":"10870:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3891,"name":"parseHexUint","nodeType":"Identifier","overloadedDeclarations":[3902,3933],"referencedDeclaration":3933,"src":"10847:12:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (uint256)"}},"id":3899,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10847:43:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3890,"id":3900,"nodeType":"Return","src":"10840:50:20"}]},"documentation":{"id":3884,"nodeType":"StructuredDocumentation","src":"10491:259:20","text":" @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as a `uint256`.\n Requirements:\n - The string must be formatted as `(0x)?[0-9a-fA-F]*`\n - The result must fit in an `uint256` type."},"id":3902,"implemented":true,"kind":"function","modifiers":[],"name":"parseHexUint","nameLocation":"10764:12:20","nodeType":"FunctionDefinition","parameters":{"id":3887,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3886,"mutability":"mutable","name":"input","nameLocation":"10791:5:20","nodeType":"VariableDeclaration","scope":3902,"src":"10777:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3885,"name":"string","nodeType":"ElementaryTypeName","src":"10777:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"10776:21:20"},"returnParameters":{"id":3890,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3889,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3902,"src":"10821:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3888,"name":"uint256","nodeType":"ElementaryTypeName","src":"10821:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10820:9:20"},"scope":4508,"src":"10755:142:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3932,"nodeType":"Block","src":"11318:156:20","statements":[{"assignments":[3915,3917],"declarations":[{"constant":false,"id":3915,"mutability":"mutable","name":"success","nameLocation":"11334:7:20","nodeType":"VariableDeclaration","scope":3932,"src":"11329:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3914,"name":"bool","nodeType":"ElementaryTypeName","src":"11329:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3917,"mutability":"mutable","name":"value","nameLocation":"11351:5:20","nodeType":"VariableDeclaration","scope":3932,"src":"11343:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3916,"name":"uint256","nodeType":"ElementaryTypeName","src":"11343:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":3923,"initialValue":{"arguments":[{"id":3919,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3905,"src":"11376:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":3920,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3907,"src":"11383:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3921,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3909,"src":"11390:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3918,"name":"tryParseHexUint","nodeType":"Identifier","overloadedDeclarations":[3954,3991],"referencedDeclaration":3991,"src":"11360:15:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,uint256)"}},"id":3922,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11360:34:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"11328:66:20"},{"condition":{"id":3925,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"11408:8:20","subExpression":{"id":3924,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3915,"src":"11409:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3929,"nodeType":"IfStatement","src":"11404:41:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":3926,"name":"StringsInvalidChar","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3169,"src":"11425:18:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":3927,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11425:20:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":3928,"nodeType":"RevertStatement","src":"11418:27:20"}},{"expression":{"id":3930,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3917,"src":"11462:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":3913,"id":3931,"nodeType":"Return","src":"11455:12:20"}]},"documentation":{"id":3903,"nodeType":"StructuredDocumentation","src":"10903:307:20","text":" @dev Variant of {parseHexUint-string} that parses a substring of `input` located between position `begin` (included) and\n `end` (excluded).\n Requirements:\n - The substring must be formatted as `(0x)?[0-9a-fA-F]*`\n - The result must fit in an `uint256` type."},"id":3933,"implemented":true,"kind":"function","modifiers":[],"name":"parseHexUint","nameLocation":"11224:12:20","nodeType":"FunctionDefinition","parameters":{"id":3910,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3905,"mutability":"mutable","name":"input","nameLocation":"11251:5:20","nodeType":"VariableDeclaration","scope":3933,"src":"11237:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3904,"name":"string","nodeType":"ElementaryTypeName","src":"11237:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3907,"mutability":"mutable","name":"begin","nameLocation":"11266:5:20","nodeType":"VariableDeclaration","scope":3933,"src":"11258:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3906,"name":"uint256","nodeType":"ElementaryTypeName","src":"11258:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3909,"mutability":"mutable","name":"end","nameLocation":"11281:3:20","nodeType":"VariableDeclaration","scope":3933,"src":"11273:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3908,"name":"uint256","nodeType":"ElementaryTypeName","src":"11273:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11236:49:20"},"returnParameters":{"id":3913,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3912,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":3933,"src":"11309:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3911,"name":"uint256","nodeType":"ElementaryTypeName","src":"11309:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11308:9:20"},"scope":4508,"src":"11215:259:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3953,"nodeType":"Block","src":"11801:86:20","statements":[{"expression":{"arguments":[{"id":3944,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3936,"src":"11850:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"30","id":3945,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11857:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"arguments":[{"id":3948,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3936,"src":"11866:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3947,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11860:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3946,"name":"bytes","nodeType":"ElementaryTypeName","src":"11860:5:20","typeDescriptions":{}}},"id":3949,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11860:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3950,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11873:6:20","memberName":"length","nodeType":"MemberAccess","src":"11860:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3943,"name":"_tryParseHexUintUncheckedBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4094,"src":"11818:31:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,uint256)"}},"id":3951,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11818:62:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":3942,"id":3952,"nodeType":"Return","src":"11811:69:20"}]},"documentation":{"id":3934,"nodeType":"StructuredDocumentation","src":"11480:218:20","text":" @dev Variant of {parseHexUint-string} that returns false if the parsing fails because of an invalid character.\n NOTE: This function will revert if the result does not fit in a `uint256`."},"id":3954,"implemented":true,"kind":"function","modifiers":[],"name":"tryParseHexUint","nameLocation":"11712:15:20","nodeType":"FunctionDefinition","parameters":{"id":3937,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3936,"mutability":"mutable","name":"input","nameLocation":"11742:5:20","nodeType":"VariableDeclaration","scope":3954,"src":"11728:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3935,"name":"string","nodeType":"ElementaryTypeName","src":"11728:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"11727:21:20"},"returnParameters":{"id":3942,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3939,"mutability":"mutable","name":"success","nameLocation":"11777:7:20","nodeType":"VariableDeclaration","scope":3954,"src":"11772:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3938,"name":"bool","nodeType":"ElementaryTypeName","src":"11772:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3941,"mutability":"mutable","name":"value","nameLocation":"11794:5:20","nodeType":"VariableDeclaration","scope":3954,"src":"11786:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3940,"name":"uint256","nodeType":"ElementaryTypeName","src":"11786:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11771:29:20"},"scope":4508,"src":"11703:184:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":3990,"nodeType":"Block","src":"12295:147:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":3978,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3974,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3968,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3961,"src":"12309:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":3971,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"12321:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":3970,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12315:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":3969,"name":"bytes","nodeType":"ElementaryTypeName","src":"12315:5:20","typeDescriptions":{}}},"id":3972,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12315:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":3973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12328:6:20","memberName":"length","nodeType":"MemberAccess","src":"12315:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12309:25:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":3977,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":3975,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3959,"src":"12338:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":3976,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3961,"src":"12346:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12338:11:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"12309:40:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":3983,"nodeType":"IfStatement","src":"12305:63:20","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":3979,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"12359:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":3980,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12366:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":3981,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"12358:10:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":3967,"id":3982,"nodeType":"Return","src":"12351:17:20"}},{"expression":{"arguments":[{"id":3985,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3957,"src":"12417:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":3986,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3959,"src":"12424:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":3987,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3961,"src":"12431:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":3984,"name":"_tryParseHexUintUncheckedBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4094,"src":"12385:31:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,uint256)"}},"id":3988,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12385:50:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":3967,"id":3989,"nodeType":"Return","src":"12378:57:20"}]},"documentation":{"id":3955,"nodeType":"StructuredDocumentation","src":"11893:241:20","text":" @dev Variant of {parseHexUint-string-uint256-uint256} that returns false if the parsing fails because of an\n invalid character.\n NOTE: This function will revert if the result does not fit in a `uint256`."},"id":3991,"implemented":true,"kind":"function","modifiers":[],"name":"tryParseHexUint","nameLocation":"12148:15:20","nodeType":"FunctionDefinition","parameters":{"id":3962,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3957,"mutability":"mutable","name":"input","nameLocation":"12187:5:20","nodeType":"VariableDeclaration","scope":3991,"src":"12173:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3956,"name":"string","nodeType":"ElementaryTypeName","src":"12173:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3959,"mutability":"mutable","name":"begin","nameLocation":"12210:5:20","nodeType":"VariableDeclaration","scope":3991,"src":"12202:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3958,"name":"uint256","nodeType":"ElementaryTypeName","src":"12202:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3961,"mutability":"mutable","name":"end","nameLocation":"12233:3:20","nodeType":"VariableDeclaration","scope":3991,"src":"12225:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3960,"name":"uint256","nodeType":"ElementaryTypeName","src":"12225:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12163:79:20"},"returnParameters":{"id":3967,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3964,"mutability":"mutable","name":"success","nameLocation":"12271:7:20","nodeType":"VariableDeclaration","scope":3991,"src":"12266:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":3963,"name":"bool","nodeType":"ElementaryTypeName","src":"12266:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":3966,"mutability":"mutable","name":"value","nameLocation":"12288:5:20","nodeType":"VariableDeclaration","scope":3991,"src":"12280:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3965,"name":"uint256","nodeType":"ElementaryTypeName","src":"12280:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12265:29:20"},"scope":4508,"src":"12139:303:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4093,"nodeType":"Block","src":"12851:881:20","statements":[{"assignments":[4006],"declarations":[{"constant":false,"id":4006,"mutability":"mutable","name":"buffer","nameLocation":"12874:6:20","nodeType":"VariableDeclaration","scope":4093,"src":"12861:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4005,"name":"bytes","nodeType":"ElementaryTypeName","src":"12861:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":4011,"initialValue":{"arguments":[{"id":4009,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3994,"src":"12889:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4008,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12883:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":4007,"name":"bytes","nodeType":"ElementaryTypeName","src":"12883:5:20","typeDescriptions":{}}},"id":4010,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12883:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"12861:34:20"},{"assignments":[4013],"declarations":[{"constant":false,"id":4013,"mutability":"mutable","name":"hasPrefix","nameLocation":"12948:9:20","nodeType":"VariableDeclaration","scope":4093,"src":"12943:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4012,"name":"bool","nodeType":"ElementaryTypeName","src":"12943:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":4033,"initialValue":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4032,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4018,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4014,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3998,"src":"12961:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4017,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4015,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3996,"src":"12967:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":4016,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12975:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"12967:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12961:15:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":4019,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"12960:17:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_bytes2","typeString":"bytes2"},"id":4031,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"id":4023,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4006,"src":"13011:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4024,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3996,"src":"13019:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4022,"name":"_unsafeReadBytesOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4507,"src":"12988:22:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":4025,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12988:37:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4021,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12981:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes2_$","typeString":"type(bytes2)"},"typeName":{"id":4020,"name":"bytes2","nodeType":"ElementaryTypeName","src":"12981:6:20","typeDescriptions":{}}},"id":4026,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12981:45:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes2","typeString":"bytes2"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"3078","id":4029,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13037:4:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837","typeString":"literal_string \"0x\""},"value":"0x"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837","typeString":"literal_string \"0x\""}],"id":4028,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13030:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes2_$","typeString":"type(bytes2)"},"typeName":{"id":4027,"name":"bytes2","nodeType":"ElementaryTypeName","src":"13030:6:20","typeDescriptions":{}}},"id":4030,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13030:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes2","typeString":"bytes2"}},"src":"12981:61:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"12960:82:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"12943:99:20"},{"assignments":[4035],"declarations":[{"constant":false,"id":4035,"mutability":"mutable","name":"offset","nameLocation":"13131:6:20","nodeType":"VariableDeclaration","scope":4093,"src":"13123:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4034,"name":"uint256","nodeType":"ElementaryTypeName","src":"13123:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4041,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4040,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":4036,"name":"hasPrefix","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4013,"src":"13140:9:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4037,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13150:6:20","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"13140:16:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$attached_to$_t_bool_$","typeString":"function (bool) pure returns (uint256)"}},"id":4038,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13140:18:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"32","id":4039,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13161:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"13140:22:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13123:39:20"},{"assignments":[4043],"declarations":[{"constant":false,"id":4043,"mutability":"mutable","name":"result","nameLocation":"13181:6:20","nodeType":"VariableDeclaration","scope":4093,"src":"13173:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4042,"name":"uint256","nodeType":"ElementaryTypeName","src":"13173:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4045,"initialValue":{"hexValue":"30","id":4044,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13190:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"13173:18:20"},{"body":{"id":4087,"nodeType":"Block","src":"13248:447:20","statements":[{"assignments":[4059],"declarations":[{"constant":false,"id":4059,"mutability":"mutable","name":"chr","nameLocation":"13268:3:20","nodeType":"VariableDeclaration","scope":4087,"src":"13262:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4058,"name":"uint8","nodeType":"ElementaryTypeName","src":"13262:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":4069,"initialValue":{"arguments":[{"arguments":[{"arguments":[{"id":4064,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4006,"src":"13317:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4065,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4047,"src":"13325:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4063,"name":"_unsafeReadBytesOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4507,"src":"13294:22:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":4066,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13294:33:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4062,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13287:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":4061,"name":"bytes1","nodeType":"ElementaryTypeName","src":"13287:6:20","typeDescriptions":{}}},"id":4067,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13287:41:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":4060,"name":"_tryParseChr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4329,"src":"13274:12:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes1_$returns$_t_uint8_$","typeString":"function (bytes1) pure returns (uint8)"}},"id":4068,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13274:55:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"13262:67:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4072,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4070,"name":"chr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4059,"src":"13347:3:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"3135","id":4071,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13353:2:20","typeDescriptions":{"typeIdentifier":"t_rational_15_by_1","typeString":"int_const 15"},"value":"15"},"src":"13347:8:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4077,"nodeType":"IfStatement","src":"13343:31:20","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":4073,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"13365:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":4074,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13372:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":4075,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"13364:10:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":4004,"id":4076,"nodeType":"Return","src":"13357:17:20"}},{"expression":{"id":4080,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4078,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4043,"src":"13388:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"hexValue":"3136","id":4079,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13398:2:20","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"13388:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4081,"nodeType":"ExpressionStatement","src":"13388:12:20"},{"id":4086,"nodeType":"UncheckedBlock","src":"13414:271:20","statements":[{"expression":{"id":4084,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4082,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4043,"src":"13657:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":4083,"name":"chr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4059,"src":"13667:3:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"13657:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4085,"nodeType":"ExpressionStatement","src":"13657:13:20"}]}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4054,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4052,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4047,"src":"13234:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":4053,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3998,"src":"13238:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13234:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4088,"initializationExpression":{"assignments":[4047],"declarations":[{"constant":false,"id":4047,"mutability":"mutable","name":"i","nameLocation":"13214:1:20","nodeType":"VariableDeclaration","scope":4088,"src":"13206:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4046,"name":"uint256","nodeType":"ElementaryTypeName","src":"13206:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4051,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4050,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4048,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3996,"src":"13218:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":4049,"name":"offset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4035,"src":"13226:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13218:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13206:26:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":4056,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"13243:3:20","subExpression":{"id":4055,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4047,"src":"13245:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4057,"nodeType":"ExpressionStatement","src":"13243:3:20"},"nodeType":"ForStatement","src":"13201:494:20"},{"expression":{"components":[{"hexValue":"74727565","id":4089,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"13712:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},{"id":4090,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4043,"src":"13718:6:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4091,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13711:14:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"functionReturnParameters":4004,"id":4092,"nodeType":"Return","src":"13704:21:20"}]},"documentation":{"id":3992,"nodeType":"StructuredDocumentation","src":"12448:227:20","text":" @dev Implementation of {tryParseHexUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n `begin <= end <= input.length`. Other inputs would result in undefined behavior."},"id":4094,"implemented":true,"kind":"function","modifiers":[],"name":"_tryParseHexUintUncheckedBounds","nameLocation":"12689:31:20","nodeType":"FunctionDefinition","parameters":{"id":3999,"nodeType":"ParameterList","parameters":[{"constant":false,"id":3994,"mutability":"mutable","name":"input","nameLocation":"12744:5:20","nodeType":"VariableDeclaration","scope":4094,"src":"12730:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":3993,"name":"string","nodeType":"ElementaryTypeName","src":"12730:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":3996,"mutability":"mutable","name":"begin","nameLocation":"12767:5:20","nodeType":"VariableDeclaration","scope":4094,"src":"12759:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3995,"name":"uint256","nodeType":"ElementaryTypeName","src":"12759:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":3998,"mutability":"mutable","name":"end","nameLocation":"12790:3:20","nodeType":"VariableDeclaration","scope":4094,"src":"12782:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":3997,"name":"uint256","nodeType":"ElementaryTypeName","src":"12782:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12720:79:20"},"returnParameters":{"id":4004,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4001,"mutability":"mutable","name":"success","nameLocation":"12827:7:20","nodeType":"VariableDeclaration","scope":4094,"src":"12822:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4000,"name":"bool","nodeType":"ElementaryTypeName","src":"12822:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4003,"mutability":"mutable","name":"value","nameLocation":"12844:5:20","nodeType":"VariableDeclaration","scope":4094,"src":"12836:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4002,"name":"uint256","nodeType":"ElementaryTypeName","src":"12836:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12821:29:20"},"scope":4508,"src":"12680:1052:20","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":4112,"nodeType":"Block","src":"14030:67:20","statements":[{"expression":{"arguments":[{"id":4103,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4097,"src":"14060:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"30","id":4104,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14067:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"arguments":[{"id":4107,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4097,"src":"14076:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4106,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14070:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":4105,"name":"bytes","nodeType":"ElementaryTypeName","src":"14070:5:20","typeDescriptions":{}}},"id":4108,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14070:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14083:6:20","memberName":"length","nodeType":"MemberAccess","src":"14070:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4102,"name":"parseAddress","nodeType":"Identifier","overloadedDeclarations":[4113,4144],"referencedDeclaration":4144,"src":"14047:12:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_address_$","typeString":"function (string memory,uint256,uint256) pure returns (address)"}},"id":4110,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14047:43:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":4101,"id":4111,"nodeType":"Return","src":"14040:50:20"}]},"documentation":{"id":4095,"nodeType":"StructuredDocumentation","src":"13738:212:20","text":" @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as an `address`.\n Requirements:\n - The string must be formatted as `(0x)?[0-9a-fA-F]{40}`"},"id":4113,"implemented":true,"kind":"function","modifiers":[],"name":"parseAddress","nameLocation":"13964:12:20","nodeType":"FunctionDefinition","parameters":{"id":4098,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4097,"mutability":"mutable","name":"input","nameLocation":"13991:5:20","nodeType":"VariableDeclaration","scope":4113,"src":"13977:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4096,"name":"string","nodeType":"ElementaryTypeName","src":"13977:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"13976:21:20"},"returnParameters":{"id":4101,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4100,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4113,"src":"14021:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4099,"name":"address","nodeType":"ElementaryTypeName","src":"14021:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"14020:9:20"},"scope":4508,"src":"13955:142:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4143,"nodeType":"Block","src":"14470:165:20","statements":[{"assignments":[4126,4128],"declarations":[{"constant":false,"id":4126,"mutability":"mutable","name":"success","nameLocation":"14486:7:20","nodeType":"VariableDeclaration","scope":4143,"src":"14481:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4125,"name":"bool","nodeType":"ElementaryTypeName","src":"14481:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4128,"mutability":"mutable","name":"value","nameLocation":"14503:5:20","nodeType":"VariableDeclaration","scope":4143,"src":"14495:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4127,"name":"address","nodeType":"ElementaryTypeName","src":"14495:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":4134,"initialValue":{"arguments":[{"id":4130,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4116,"src":"14528:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":4131,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4118,"src":"14535:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4132,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4120,"src":"14542:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4129,"name":"tryParseAddress","nodeType":"Identifier","overloadedDeclarations":[4165,4269],"referencedDeclaration":4269,"src":"14512:15:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_address_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,address)"}},"id":4133,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14512:34:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_address_$","typeString":"tuple(bool,address)"}},"nodeType":"VariableDeclarationStatement","src":"14480:66:20"},{"condition":{"id":4136,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"14560:8:20","subExpression":{"id":4135,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4126,"src":"14561:7:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4140,"nodeType":"IfStatement","src":"14556:50:20","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4137,"name":"StringsInvalidAddressFormat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3172,"src":"14577:27:20","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":4138,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14577:29:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4139,"nodeType":"RevertStatement","src":"14570:36:20"}},{"expression":{"id":4141,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4128,"src":"14623:5:20","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":4124,"id":4142,"nodeType":"Return","src":"14616:12:20"}]},"documentation":{"id":4114,"nodeType":"StructuredDocumentation","src":"14103:259:20","text":" @dev Variant of {parseAddress-string} that parses a substring of `input` located between position `begin` (included) and\n `end` (excluded).\n Requirements:\n - The substring must be formatted as `(0x)?[0-9a-fA-F]{40}`"},"id":4144,"implemented":true,"kind":"function","modifiers":[],"name":"parseAddress","nameLocation":"14376:12:20","nodeType":"FunctionDefinition","parameters":{"id":4121,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4116,"mutability":"mutable","name":"input","nameLocation":"14403:5:20","nodeType":"VariableDeclaration","scope":4144,"src":"14389:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4115,"name":"string","nodeType":"ElementaryTypeName","src":"14389:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":4118,"mutability":"mutable","name":"begin","nameLocation":"14418:5:20","nodeType":"VariableDeclaration","scope":4144,"src":"14410:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4117,"name":"uint256","nodeType":"ElementaryTypeName","src":"14410:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4120,"mutability":"mutable","name":"end","nameLocation":"14433:3:20","nodeType":"VariableDeclaration","scope":4144,"src":"14425:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4119,"name":"uint256","nodeType":"ElementaryTypeName","src":"14425:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14388:49:20"},"returnParameters":{"id":4124,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4123,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4144,"src":"14461:7:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4122,"name":"address","nodeType":"ElementaryTypeName","src":"14461:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"14460:9:20"},"scope":4508,"src":"14367:268:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4164,"nodeType":"Block","src":"14942:70:20","statements":[{"expression":{"arguments":[{"id":4155,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4147,"src":"14975:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"hexValue":"30","id":4156,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14982:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"expression":{"arguments":[{"id":4159,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4147,"src":"14991:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4158,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14985:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":4157,"name":"bytes","nodeType":"ElementaryTypeName","src":"14985:5:20","typeDescriptions":{}}},"id":4160,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14985:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14998:6:20","memberName":"length","nodeType":"MemberAccess","src":"14985:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4154,"name":"tryParseAddress","nodeType":"Identifier","overloadedDeclarations":[4165,4269],"referencedDeclaration":4269,"src":"14959:15:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_address_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,address)"}},"id":4162,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14959:46:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_address_$","typeString":"tuple(bool,address)"}},"functionReturnParameters":4153,"id":4163,"nodeType":"Return","src":"14952:53:20"}]},"documentation":{"id":4145,"nodeType":"StructuredDocumentation","src":"14641:198:20","text":" @dev Variant of {parseAddress-string} that returns false if the parsing fails because the input is not a properly\n formatted address. See {parseAddress-string} requirements."},"id":4165,"implemented":true,"kind":"function","modifiers":[],"name":"tryParseAddress","nameLocation":"14853:15:20","nodeType":"FunctionDefinition","parameters":{"id":4148,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4147,"mutability":"mutable","name":"input","nameLocation":"14883:5:20","nodeType":"VariableDeclaration","scope":4165,"src":"14869:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4146,"name":"string","nodeType":"ElementaryTypeName","src":"14869:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"14868:21:20"},"returnParameters":{"id":4153,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4150,"mutability":"mutable","name":"success","nameLocation":"14918:7:20","nodeType":"VariableDeclaration","scope":4165,"src":"14913:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4149,"name":"bool","nodeType":"ElementaryTypeName","src":"14913:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4152,"mutability":"mutable","name":"value","nameLocation":"14935:5:20","nodeType":"VariableDeclaration","scope":4165,"src":"14927:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4151,"name":"address","nodeType":"ElementaryTypeName","src":"14927:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"14912:29:20"},"scope":4508,"src":"14844:168:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4268,"nodeType":"Block","src":"15405:733:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4189,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4185,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4179,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"15419:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":4182,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4168,"src":"15431:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4181,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15425:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":4180,"name":"bytes","nodeType":"ElementaryTypeName","src":"15425:5:20","typeDescriptions":{}}},"id":4183,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15425:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4184,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15438:6:20","memberName":"length","nodeType":"MemberAccess","src":"15425:19:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15419:25:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4188,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4186,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4170,"src":"15448:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":4187,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"15456:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15448:11:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15419:40:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4197,"nodeType":"IfStatement","src":"15415:72:20","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":4190,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"15469:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"arguments":[{"hexValue":"30","id":4193,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15484: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":4192,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15476:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4191,"name":"address","nodeType":"ElementaryTypeName","src":"15476:7:20","typeDescriptions":{}}},"id":4194,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15476:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":4195,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"15468:19:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_address_$","typeString":"tuple(bool,address)"}},"functionReturnParameters":4178,"id":4196,"nodeType":"Return","src":"15461:26:20"}},{"assignments":[4199],"declarations":[{"constant":false,"id":4199,"mutability":"mutable","name":"hasPrefix","nameLocation":"15503:9:20","nodeType":"VariableDeclaration","scope":4268,"src":"15498:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4198,"name":"bool","nodeType":"ElementaryTypeName","src":"15498:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":4222,"initialValue":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4221,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4204,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4200,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"15516:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4201,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4170,"src":"15522:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":4202,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15530:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"15522:9:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15516:15:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":4205,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"15515:17:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_bytes2","typeString":"bytes2"},"id":4220,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"arguments":[{"arguments":[{"id":4211,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4168,"src":"15572:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4210,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15566:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":4209,"name":"bytes","nodeType":"ElementaryTypeName","src":"15566:5:20","typeDescriptions":{}}},"id":4212,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15566:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4213,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4170,"src":"15580:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4208,"name":"_unsafeReadBytesOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4507,"src":"15543:22:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":4214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15543:43:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4207,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15536:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes2_$","typeString":"type(bytes2)"},"typeName":{"id":4206,"name":"bytes2","nodeType":"ElementaryTypeName","src":"15536:6:20","typeDescriptions":{}}},"id":4215,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15536:51:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes2","typeString":"bytes2"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"3078","id":4218,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"15598:4:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837","typeString":"literal_string \"0x\""},"value":"0x"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_39bef1777deb3dfb14f64b9f81ced092c501fee72f90e93d03bb95ee89df9837","typeString":"literal_string \"0x\""}],"id":4217,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15591:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes2_$","typeString":"type(bytes2)"},"typeName":{"id":4216,"name":"bytes2","nodeType":"ElementaryTypeName","src":"15591:6:20","typeDescriptions":{}}},"id":4219,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15591:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes2","typeString":"bytes2"}},"src":"15536:67:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15515:88:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"15498:105:20"},{"assignments":[4224],"declarations":[{"constant":false,"id":4224,"mutability":"mutable","name":"expectedLength","nameLocation":"15692:14:20","nodeType":"VariableDeclaration","scope":4268,"src":"15684:22:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4223,"name":"uint256","nodeType":"ElementaryTypeName","src":"15684:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4232,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3430","id":4225,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15709:2:20","typeDescriptions":{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},"value":"40"},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":4226,"name":"hasPrefix","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4199,"src":"15714:9:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15724:6:20","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"15714:16:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$attached_to$_t_bool_$","typeString":"function (bool) pure returns (uint256)"}},"id":4228,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15714:18:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"32","id":4229,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15735:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"15714:22:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15709:27:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"15684:52:20"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4237,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4235,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4233,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"15801:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":4234,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4170,"src":"15807:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15801:11:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":4236,"name":"expectedLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4224,"src":"15816:14:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15801:29:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":4266,"nodeType":"Block","src":"16081:51:20","statements":[{"expression":{"components":[{"hexValue":"66616c7365","id":4259,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"16103:5:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"arguments":[{"hexValue":"30","id":4262,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16118: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":4261,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16110:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4260,"name":"address","nodeType":"ElementaryTypeName","src":"16110:7:20","typeDescriptions":{}}},"id":4263,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16110:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":4264,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"16102:19:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_address_$","typeString":"tuple(bool,address)"}},"functionReturnParameters":4178,"id":4265,"nodeType":"Return","src":"16095:26:20"}]},"id":4267,"nodeType":"IfStatement","src":"15797:335:20","trueBody":{"id":4258,"nodeType":"Block","src":"15832:243:20","statements":[{"assignments":[4239,4241],"declarations":[{"constant":false,"id":4239,"mutability":"mutable","name":"s","nameLocation":"15953:1:20","nodeType":"VariableDeclaration","scope":4258,"src":"15948:6:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4238,"name":"bool","nodeType":"ElementaryTypeName","src":"15948:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4241,"mutability":"mutable","name":"v","nameLocation":"15964:1:20","nodeType":"VariableDeclaration","scope":4258,"src":"15956:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4240,"name":"uint256","nodeType":"ElementaryTypeName","src":"15956:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4247,"initialValue":{"arguments":[{"id":4243,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4168,"src":"16001:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":4244,"name":"begin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4170,"src":"16008:5:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":4245,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4172,"src":"16015:3:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4242,"name":"_tryParseHexUintUncheckedBounds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4094,"src":"15969:31:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_string_memory_ptr_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (string memory,uint256,uint256) pure returns (bool,uint256)"}},"id":4246,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15969:50:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"15947:72:20"},{"expression":{"components":[{"id":4248,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4239,"src":"16041:1:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"arguments":[{"arguments":[{"id":4253,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4241,"src":"16060:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4252,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16052:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":4251,"name":"uint160","nodeType":"ElementaryTypeName","src":"16052:7:20","typeDescriptions":{}}},"id":4254,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16052:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint160","typeString":"uint160"}],"id":4250,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16044:7:20","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4249,"name":"address","nodeType":"ElementaryTypeName","src":"16044:7:20","typeDescriptions":{}}},"id":4255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16044:19:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":4256,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"16040:24:20","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_address_$","typeString":"tuple(bool,address)"}},"functionReturnParameters":4178,"id":4257,"nodeType":"Return","src":"16033:31:20"}]}}]},"documentation":{"id":4166,"nodeType":"StructuredDocumentation","src":"15018:226:20","text":" @dev Variant of {parseAddress-string-uint256-uint256} that returns false if the parsing fails because input is not a properly\n formatted address. See {parseAddress-string-uint256-uint256} requirements."},"id":4269,"implemented":true,"kind":"function","modifiers":[],"name":"tryParseAddress","nameLocation":"15258:15:20","nodeType":"FunctionDefinition","parameters":{"id":4173,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4168,"mutability":"mutable","name":"input","nameLocation":"15297:5:20","nodeType":"VariableDeclaration","scope":4269,"src":"15283:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4167,"name":"string","nodeType":"ElementaryTypeName","src":"15283:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":4170,"mutability":"mutable","name":"begin","nameLocation":"15320:5:20","nodeType":"VariableDeclaration","scope":4269,"src":"15312:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4169,"name":"uint256","nodeType":"ElementaryTypeName","src":"15312:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":4172,"mutability":"mutable","name":"end","nameLocation":"15343:3:20","nodeType":"VariableDeclaration","scope":4269,"src":"15335:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4171,"name":"uint256","nodeType":"ElementaryTypeName","src":"15335:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15273:79:20"},"returnParameters":{"id":4178,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4175,"mutability":"mutable","name":"success","nameLocation":"15381:7:20","nodeType":"VariableDeclaration","scope":4269,"src":"15376:12:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":4174,"name":"bool","nodeType":"ElementaryTypeName","src":"15376:4:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":4177,"mutability":"mutable","name":"value","nameLocation":"15398:5:20","nodeType":"VariableDeclaration","scope":4269,"src":"15390:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4176,"name":"address","nodeType":"ElementaryTypeName","src":"15390:7:20","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"15375:29:20"},"scope":4508,"src":"15249:889:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4328,"nodeType":"Block","src":"16207:461:20","statements":[{"assignments":[4277],"declarations":[{"constant":false,"id":4277,"mutability":"mutable","name":"value","nameLocation":"16223:5:20","nodeType":"VariableDeclaration","scope":4328,"src":"16217:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4276,"name":"uint8","nodeType":"ElementaryTypeName","src":"16217:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":4282,"initialValue":{"arguments":[{"id":4280,"name":"chr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4271,"src":"16237:3:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":4279,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16231:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4278,"name":"uint8","nodeType":"ElementaryTypeName","src":"16231:5:20","typeDescriptions":{}}},"id":4281,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16231:10:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"16217:24:20"},{"id":4325,"nodeType":"UncheckedBlock","src":"16401:238:20","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4283,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16429:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"3437","id":4284,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16437:2:20","typeDescriptions":{"typeIdentifier":"t_rational_47_by_1","typeString":"int_const 47"},"value":"47"},"src":"16429:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4286,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16443:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"3538","id":4287,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16451:2:20","typeDescriptions":{"typeIdentifier":"t_rational_58_by_1","typeString":"int_const 58"},"value":"58"},"src":"16443:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"16429:24:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4300,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4294,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16489:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"3936","id":4295,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16497:2:20","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},"src":"16489:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4299,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4297,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16503:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"313033","id":4298,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16511:3:20","typeDescriptions":{"typeIdentifier":"t_rational_103_by_1","typeString":"int_const 103"},"value":"103"},"src":"16503:11:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"16489:25:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4305,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16550:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"3634","id":4306,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16558:2:20","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"16550:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":4310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4308,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16564:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"3731","id":4309,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16572:2:20","typeDescriptions":{"typeIdentifier":"t_rational_71_by_1","typeString":"int_const 71"},"value":"71"},"src":"16564:10:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"16550:24:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"expression":{"expression":{"arguments":[{"id":4318,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16618:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4317,"name":"uint8","nodeType":"ElementaryTypeName","src":"16618:5:20","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":4316,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"16613:4:20","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":4319,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16613:11:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":4320,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16625:3:20","memberName":"max","nodeType":"MemberAccess","src":"16613:15:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":4275,"id":4321,"nodeType":"Return","src":"16606:22:20"},"id":4322,"nodeType":"IfStatement","src":"16546:82:20","trueBody":{"expression":{"id":4314,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4312,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16576:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"hexValue":"3535","id":4313,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16585:2:20","typeDescriptions":{"typeIdentifier":"t_rational_55_by_1","typeString":"int_const 55"},"value":"55"},"src":"16576:11:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":4315,"nodeType":"ExpressionStatement","src":"16576:11:20"}},"id":4323,"nodeType":"IfStatement","src":"16485:143:20","trueBody":{"expression":{"id":4303,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4301,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16516:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"hexValue":"3837","id":4302,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16525:2:20","typeDescriptions":{"typeIdentifier":"t_rational_87_by_1","typeString":"int_const 87"},"value":"87"},"src":"16516:11:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":4304,"nodeType":"ExpressionStatement","src":"16516:11:20"}},"id":4324,"nodeType":"IfStatement","src":"16425:203:20","trueBody":{"expression":{"id":4292,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4290,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16455:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"hexValue":"3438","id":4291,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16464:2:20","typeDescriptions":{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},"value":"48"},"src":"16455:11:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":4293,"nodeType":"ExpressionStatement","src":"16455:11:20"}}]},{"expression":{"id":4326,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4277,"src":"16656:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":4275,"id":4327,"nodeType":"Return","src":"16649:12:20"}]},"id":4329,"implemented":true,"kind":"function","modifiers":[],"name":"_tryParseChr","nameLocation":"16153:12:20","nodeType":"FunctionDefinition","parameters":{"id":4272,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4271,"mutability":"mutable","name":"chr","nameLocation":"16173:3:20","nodeType":"VariableDeclaration","scope":4329,"src":"16166:10:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":4270,"name":"bytes1","nodeType":"ElementaryTypeName","src":"16166:6:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"visibility":"internal"}],"src":"16165:12:20"},"returnParameters":{"id":4275,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4274,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4329,"src":"16200:5:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4273,"name":"uint8","nodeType":"ElementaryTypeName","src":"16200:5:20","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"16199:7:20"},"scope":4508,"src":"16144:524:20","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":4494,"nodeType":"Block","src":"17334:1331:20","statements":[{"assignments":[4338],"declarations":[{"constant":false,"id":4338,"mutability":"mutable","name":"buffer","nameLocation":"17357:6:20","nodeType":"VariableDeclaration","scope":4494,"src":"17344:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4337,"name":"bytes","nodeType":"ElementaryTypeName","src":"17344:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":4343,"initialValue":{"arguments":[{"id":4341,"name":"input","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4332,"src":"17372:5:20","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4340,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17366:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":4339,"name":"bytes","nodeType":"ElementaryTypeName","src":"17366:5:20","typeDescriptions":{}}},"id":4342,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17366:12:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"17344:34:20"},{"assignments":[4345],"declarations":[{"constant":false,"id":4345,"mutability":"mutable","name":"output","nameLocation":"17401:6:20","nodeType":"VariableDeclaration","scope":4494,"src":"17388:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4344,"name":"bytes","nodeType":"ElementaryTypeName","src":"17388:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":4353,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4351,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":4348,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17420:1:20","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"expression":{"id":4349,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4338,"src":"17424:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17431:6:20","memberName":"length","nodeType":"MemberAccess","src":"17424:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17420:17:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4347,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"17410:9:20","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":4346,"name":"bytes","nodeType":"ElementaryTypeName","src":"17414:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":4352,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17410:28:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"17388:50:20"},{"assignments":[4355],"declarations":[{"constant":false,"id":4355,"mutability":"mutable","name":"outputLength","nameLocation":"17479:12:20","nodeType":"VariableDeclaration","scope":4494,"src":"17471:20:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4354,"name":"uint256","nodeType":"ElementaryTypeName","src":"17471:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4357,"initialValue":{"hexValue":"30","id":4356,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17494:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"17471:24:20"},{"body":{"id":4486,"nodeType":"Block","src":"17546:854:20","statements":[{"assignments":[4369],"declarations":[{"constant":false,"id":4369,"mutability":"mutable","name":"char","nameLocation":"17567:4:20","nodeType":"VariableDeclaration","scope":4486,"src":"17560:11:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":4368,"name":"bytes1","nodeType":"ElementaryTypeName","src":"17560:6:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"visibility":"internal"}],"id":4377,"initialValue":{"arguments":[{"arguments":[{"id":4373,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4338,"src":"17604:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":4374,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4359,"src":"17612:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4372,"name":"_unsafeReadBytesOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4507,"src":"17581:22:20","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$_t_uint256_$returns$_t_bytes32_$","typeString":"function (bytes memory,uint256) pure returns (bytes32)"}},"id":4375,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17581:33:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4371,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17574:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":4370,"name":"bytes1","nodeType":"ElementaryTypeName","src":"17574:6:20","typeDescriptions":{}}},"id":4376,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17574:41:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"VariableDeclarationStatement","src":"17560:55:20"},{"condition":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4386,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4378,"name":"SPECIAL_CHARS_LOOKUP","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":3159,"src":"17635:20:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4384,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":4379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17659:1:20","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"arguments":[{"id":4382,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"17670:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":4381,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17664:5:20","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4380,"name":"uint8","nodeType":"ElementaryTypeName","src":"17664:5:20","typeDescriptions":{}}},"id":4383,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17664:11:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"17659:16:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4385,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17658:18:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17635:41:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4387,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17634:43:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":4388,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17681:1:20","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"17634:48:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":4390,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"17633:50:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":4484,"nodeType":"Block","src":"18328:62:20","statements":[{"expression":{"id":4482,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4477,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"18346:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4480,"indexExpression":{"id":4479,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"18353:14:20","subExpression":{"id":4478,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"18353:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18346:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":4481,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"18371:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"18346:29:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4483,"nodeType":"ExpressionStatement","src":"18346:29:20"}]},"id":4485,"nodeType":"IfStatement","src":"17629:761:20","trueBody":{"id":4476,"nodeType":"Block","src":"17685:637:20","statements":[{"expression":{"id":4396,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4391,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"17703:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4394,"indexExpression":{"id":4393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"17710:14:20","subExpression":{"id":4392,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"17710:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17703:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"5c","id":4395,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"17728:4:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_731553fa98541ade8b78284229adfe09a819380dee9244baac20dd1e0aa24095","typeString":"literal_string \"\\\""},"value":"\\"},"src":"17703:29:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4397,"nodeType":"ExpressionStatement","src":"17703:29:20"},{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":4400,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4398,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"17754:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783038","id":4399,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17762:4:20","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"0x08"},"src":"17754:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":4410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4408,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"17823:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783039","id":4409,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17831:4:20","typeDescriptions":{"typeIdentifier":"t_rational_9_by_1","typeString":"int_const 9"},"value":"0x09"},"src":"17823:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":4420,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4418,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"17892:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783061","id":4419,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17900:4:20","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"0x0a"},"src":"17892:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":4430,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4428,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"17961:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783063","id":4429,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17969:4:20","typeDescriptions":{"typeIdentifier":"t_rational_12_by_1","typeString":"int_const 12"},"value":"0x0c"},"src":"17961:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":4440,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4438,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"18030:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783064","id":4439,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18038:4:20","typeDescriptions":{"typeIdentifier":"t_rational_13_by_1","typeString":"int_const 13"},"value":"0x0d"},"src":"18030:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":4450,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4448,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"18099:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783563","id":4449,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18107:4:20","typeDescriptions":{"typeIdentifier":"t_rational_92_by_1","typeString":"int_const 92"},"value":"0x5c"},"src":"18099:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":4460,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4458,"name":"char","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4369,"src":"18169:4:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30783232","id":4459,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18177:4:20","typeDescriptions":{"typeIdentifier":"t_rational_34_by_1","typeString":"int_const 34"},"value":"0x22"},"src":"18169:12:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4469,"nodeType":"IfStatement","src":"18165:143:20","trueBody":{"id":4468,"nodeType":"Block","src":"18183:125:20","statements":[{"expression":{"id":4466,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4461,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"18261:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4464,"indexExpression":{"id":4463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"18268:14:20","subExpression":{"id":4462,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"18268:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18261:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"22","id":4465,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"18286:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_6e9f33448a4153023cdaf3eb759f1afdc24aba433a3e18b683f8c04a6eaa69f0","typeString":"literal_string \"\"\""},"value":"\""},"src":"18261:28:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4467,"nodeType":"ExpressionStatement","src":"18261:28:20"}]}},"id":4470,"nodeType":"IfStatement","src":"18095:213:20","trueBody":{"expression":{"id":4456,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4451,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"18113:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4454,"indexExpression":{"id":4453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"18120:14:20","subExpression":{"id":4452,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"18120:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18113:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"5c","id":4455,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"18138:4:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_731553fa98541ade8b78284229adfe09a819380dee9244baac20dd1e0aa24095","typeString":"literal_string \"\\\""},"value":"\\"},"src":"18113:29:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4457,"nodeType":"ExpressionStatement","src":"18113:29:20"}},"id":4471,"nodeType":"IfStatement","src":"18026:282:20","trueBody":{"expression":{"id":4446,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4441,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"18044:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4444,"indexExpression":{"id":4443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"18051:14:20","subExpression":{"id":4442,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"18051:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"18044:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"72","id":4445,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"18069:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_414f72a4d550cad29f17d9d99a4af64b3776ec5538cd440cef0f03fef2e9e010","typeString":"literal_string \"r\""},"value":"r"},"src":"18044:28:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4447,"nodeType":"ExpressionStatement","src":"18044:28:20"}},"id":4472,"nodeType":"IfStatement","src":"17957:351:20","trueBody":{"expression":{"id":4436,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4431,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"17975:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4434,"indexExpression":{"id":4433,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"17982:14:20","subExpression":{"id":4432,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"17982:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17975:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66","id":4435,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"18000:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_d1e8aeb79500496ef3dc2e57ba746a8315d048b7a664a2bf948db4fa91960483","typeString":"literal_string \"f\""},"value":"f"},"src":"17975:28:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4437,"nodeType":"ExpressionStatement","src":"17975:28:20"}},"id":4473,"nodeType":"IfStatement","src":"17888:420:20","trueBody":{"expression":{"id":4426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4421,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"17906:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4424,"indexExpression":{"id":4423,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"17913:14:20","subExpression":{"id":4422,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"17913:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17906:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"6e","id":4425,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"17931:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_4b4ecedb4964a40fe416b16c7bd8b46092040ec42ef0aa69e59f09872f105cf3","typeString":"literal_string \"n\""},"value":"n"},"src":"17906:28:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4427,"nodeType":"ExpressionStatement","src":"17906:28:20"}},"id":4474,"nodeType":"IfStatement","src":"17819:489:20","trueBody":{"expression":{"id":4416,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4411,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"17837:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4414,"indexExpression":{"id":4413,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"17844:14:20","subExpression":{"id":4412,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"17844:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17837:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74","id":4415,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"17862:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_cac1bb71f0a97c8ac94ca9546b43178a9ad254c7b757ac07433aa6df35cd8089","typeString":"literal_string \"t\""},"value":"t"},"src":"17837:28:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4417,"nodeType":"ExpressionStatement","src":"17837:28:20"}},"id":4475,"nodeType":"IfStatement","src":"17750:558:20","trueBody":{"expression":{"id":4406,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":4401,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"17768:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4404,"indexExpression":{"id":4403,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"17775:14:20","subExpression":{"id":4402,"name":"outputLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4355,"src":"17775:12:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"17768:22:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"62","id":4405,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"17793:3:20","typeDescriptions":{"typeIdentifier":"t_stringliteral_b5553de315e0edf504d9150af82dafa5c4667fa618ed0a6f19c69b41166c5510","typeString":"literal_string \"b\""},"value":"b"},"src":"17768:28:20","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":4407,"nodeType":"ExpressionStatement","src":"17768:28:20"}}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4364,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4361,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4359,"src":"17522:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":4362,"name":"buffer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4338,"src":"17526:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4363,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17533:6:20","memberName":"length","nodeType":"MemberAccess","src":"17526:13:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17522:17:20","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4487,"initializationExpression":{"assignments":[4359],"declarations":[{"constant":false,"id":4359,"mutability":"mutable","name":"i","nameLocation":"17519:1:20","nodeType":"VariableDeclaration","scope":4487,"src":"17511:9:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4358,"name":"uint256","nodeType":"ElementaryTypeName","src":"17511:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":4360,"nodeType":"VariableDeclarationStatement","src":"17511:9:20"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":4366,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"17541:3:20","subExpression":{"id":4365,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4359,"src":"17543:1:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4367,"nodeType":"ExpressionStatement","src":"17541:3:20"},"nodeType":"ForStatement","src":"17506:894:20"},{"AST":{"nativeSrc":"18498:129:20","nodeType":"YulBlock","src":"18498:129:20","statements":[{"expression":{"arguments":[{"name":"output","nativeSrc":"18519:6:20","nodeType":"YulIdentifier","src":"18519:6:20"},{"name":"outputLength","nativeSrc":"18527:12:20","nodeType":"YulIdentifier","src":"18527:12:20"}],"functionName":{"name":"mstore","nativeSrc":"18512:6:20","nodeType":"YulIdentifier","src":"18512:6:20"},"nativeSrc":"18512:28:20","nodeType":"YulFunctionCall","src":"18512:28:20"},"nativeSrc":"18512:28:20","nodeType":"YulExpressionStatement","src":"18512:28:20"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"18560:4:20","nodeType":"YulLiteral","src":"18560:4:20","type":"","value":"0x40"},{"arguments":[{"name":"output","nativeSrc":"18570:6:20","nodeType":"YulIdentifier","src":"18570:6:20"},{"arguments":[{"kind":"number","nativeSrc":"18582:1:20","nodeType":"YulLiteral","src":"18582:1:20","type":"","value":"5"},{"arguments":[{"kind":"number","nativeSrc":"18589:1:20","nodeType":"YulLiteral","src":"18589:1:20","type":"","value":"5"},{"arguments":[{"name":"outputLength","nativeSrc":"18596:12:20","nodeType":"YulIdentifier","src":"18596:12:20"},{"kind":"number","nativeSrc":"18610:2:20","nodeType":"YulLiteral","src":"18610:2:20","type":"","value":"63"}],"functionName":{"name":"add","nativeSrc":"18592:3:20","nodeType":"YulIdentifier","src":"18592:3:20"},"nativeSrc":"18592:21:20","nodeType":"YulFunctionCall","src":"18592:21:20"}],"functionName":{"name":"shr","nativeSrc":"18585:3:20","nodeType":"YulIdentifier","src":"18585:3:20"},"nativeSrc":"18585:29:20","nodeType":"YulFunctionCall","src":"18585:29:20"}],"functionName":{"name":"shl","nativeSrc":"18578:3:20","nodeType":"YulIdentifier","src":"18578:3:20"},"nativeSrc":"18578:37:20","nodeType":"YulFunctionCall","src":"18578:37:20"}],"functionName":{"name":"add","nativeSrc":"18566:3:20","nodeType":"YulIdentifier","src":"18566:3:20"},"nativeSrc":"18566:50:20","nodeType":"YulFunctionCall","src":"18566:50:20"}],"functionName":{"name":"mstore","nativeSrc":"18553:6:20","nodeType":"YulIdentifier","src":"18553:6:20"},"nativeSrc":"18553:64:20","nodeType":"YulFunctionCall","src":"18553:64:20"},"nativeSrc":"18553:64:20","nodeType":"YulExpressionStatement","src":"18553:64:20"}]},"evmVersion":"paris","externalReferences":[{"declaration":4345,"isOffset":false,"isSlot":false,"src":"18519:6:20","valueSize":1},{"declaration":4345,"isOffset":false,"isSlot":false,"src":"18570:6:20","valueSize":1},{"declaration":4355,"isOffset":false,"isSlot":false,"src":"18527:12:20","valueSize":1},{"declaration":4355,"isOffset":false,"isSlot":false,"src":"18596:12:20","valueSize":1}],"flags":["memory-safe"],"id":4488,"nodeType":"InlineAssembly","src":"18473:154:20"},{"expression":{"arguments":[{"id":4491,"name":"output","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4345,"src":"18651:6:20","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":4490,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"18644:6:20","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":4489,"name":"string","nodeType":"ElementaryTypeName","src":"18644:6:20","typeDescriptions":{}}},"id":4492,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18644:14:20","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":4336,"id":4493,"nodeType":"Return","src":"18637:21:20"}]},"documentation":{"id":4330,"nodeType":"StructuredDocumentation","src":"16674:576:20","text":" @dev Escape special characters in JSON strings. This can be useful to prevent JSON injection in NFT metadata.\n WARNING: This function should only be used in double quoted JSON strings. Single quotes are not escaped.\n NOTE: This function escapes all unicode characters, and not just the ones in ranges defined in section 2.5 of\n RFC-4627 (U+0000 to U+001F, U+0022 and U+005C). ECMAScript's `JSON.parse` does recover escaped unicode\n characters that are not in this range, but other tooling may provide different results."},"id":4495,"implemented":true,"kind":"function","modifiers":[],"name":"escapeJSON","nameLocation":"17264:10:20","nodeType":"FunctionDefinition","parameters":{"id":4333,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4332,"mutability":"mutable","name":"input","nameLocation":"17289:5:20","nodeType":"VariableDeclaration","scope":4495,"src":"17275:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4331,"name":"string","nodeType":"ElementaryTypeName","src":"17275:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"17274:21:20"},"returnParameters":{"id":4336,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4335,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4495,"src":"17319:13:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4334,"name":"string","nodeType":"ElementaryTypeName","src":"17319:6:20","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"17318:15:20"},"scope":4508,"src":"17255:1410:20","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4506,"nodeType":"Block","src":"19050:225:20","statements":[{"AST":{"nativeSrc":"19199:70:20","nodeType":"YulBlock","src":"19199:70:20","statements":[{"nativeSrc":"19213:46:20","nodeType":"YulAssignment","src":"19213:46:20","value":{"arguments":[{"arguments":[{"name":"buffer","nativeSrc":"19232:6:20","nodeType":"YulIdentifier","src":"19232:6:20"},{"arguments":[{"kind":"number","nativeSrc":"19244:4:20","nodeType":"YulLiteral","src":"19244:4:20","type":"","value":"0x20"},{"name":"offset","nativeSrc":"19250:6:20","nodeType":"YulIdentifier","src":"19250:6:20"}],"functionName":{"name":"add","nativeSrc":"19240:3:20","nodeType":"YulIdentifier","src":"19240:3:20"},"nativeSrc":"19240:17:20","nodeType":"YulFunctionCall","src":"19240:17:20"}],"functionName":{"name":"add","nativeSrc":"19228:3:20","nodeType":"YulIdentifier","src":"19228:3:20"},"nativeSrc":"19228:30:20","nodeType":"YulFunctionCall","src":"19228:30:20"}],"functionName":{"name":"mload","nativeSrc":"19222:5:20","nodeType":"YulIdentifier","src":"19222:5:20"},"nativeSrc":"19222:37:20","nodeType":"YulFunctionCall","src":"19222:37:20"},"variableNames":[{"name":"value","nativeSrc":"19213:5:20","nodeType":"YulIdentifier","src":"19213:5:20"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":4498,"isOffset":false,"isSlot":false,"src":"19232:6:20","valueSize":1},{"declaration":4500,"isOffset":false,"isSlot":false,"src":"19250:6:20","valueSize":1},{"declaration":4503,"isOffset":false,"isSlot":false,"src":"19213:5:20","valueSize":1}],"flags":["memory-safe"],"id":4505,"nodeType":"InlineAssembly","src":"19174:95:20"}]},"documentation":{"id":4496,"nodeType":"StructuredDocumentation","src":"18671:268:20","text":" @dev Reads a bytes32 from a bytes array without bounds checking.\n NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n assembly block as such would prevent some optimizations."},"id":4507,"implemented":true,"kind":"function","modifiers":[],"name":"_unsafeReadBytesOffset","nameLocation":"18953:22:20","nodeType":"FunctionDefinition","parameters":{"id":4501,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4498,"mutability":"mutable","name":"buffer","nameLocation":"18989:6:20","nodeType":"VariableDeclaration","scope":4507,"src":"18976:19:20","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4497,"name":"bytes","nodeType":"ElementaryTypeName","src":"18976:5:20","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":4500,"mutability":"mutable","name":"offset","nameLocation":"19005:6:20","nodeType":"VariableDeclaration","scope":4507,"src":"18997:14:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4499,"name":"uint256","nodeType":"ElementaryTypeName","src":"18997:7:20","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"18975:37:20"},"returnParameters":{"id":4504,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4503,"mutability":"mutable","name":"value","nameLocation":"19043:5:20","nodeType":"VariableDeclaration","scope":4507,"src":"19035:13:20","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4502,"name":"bytes32","nodeType":"ElementaryTypeName","src":"19035:7:20","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"19034:15:20"},"scope":4508,"src":"18944:331:20","stateMutability":"pure","virtual":false,"visibility":"private"}],"scope":4509,"src":"297:18980:20","usedErrors":[3166,3169,3172],"usedEvents":[]}],"src":"101:19177:20"},"id":20},"@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/cryptography/ECDSA.sol","exportedSymbols":{"ECDSA":[4856]},"id":4857,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4510,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"112:24:21"},{"abstract":false,"baseContracts":[],"canonicalName":"ECDSA","contractDependencies":[],"contractKind":"library","documentation":{"id":4511,"nodeType":"StructuredDocumentation","src":"138:205:21","text":" @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n These functions can be used to verify that a message was signed by the holder\n of the private keys of a given address."},"fullyImplemented":true,"id":4856,"linearizedBaseContracts":[4856],"name":"ECDSA","nameLocation":"352:5:21","nodeType":"ContractDefinition","nodes":[{"canonicalName":"ECDSA.RecoverError","id":4516,"members":[{"id":4512,"name":"NoError","nameLocation":"392:7:21","nodeType":"EnumValue","src":"392:7:21"},{"id":4513,"name":"InvalidSignature","nameLocation":"409:16:21","nodeType":"EnumValue","src":"409:16:21"},{"id":4514,"name":"InvalidSignatureLength","nameLocation":"435:22:21","nodeType":"EnumValue","src":"435:22:21"},{"id":4515,"name":"InvalidSignatureS","nameLocation":"467:17:21","nodeType":"EnumValue","src":"467:17:21"}],"name":"RecoverError","nameLocation":"369:12:21","nodeType":"EnumDefinition","src":"364:126:21"},{"documentation":{"id":4517,"nodeType":"StructuredDocumentation","src":"496:63:21","text":" @dev The signature derives the `address(0)`."},"errorSelector":"f645eedf","id":4519,"name":"ECDSAInvalidSignature","nameLocation":"570:21:21","nodeType":"ErrorDefinition","parameters":{"id":4518,"nodeType":"ParameterList","parameters":[],"src":"591:2:21"},"src":"564:30:21"},{"documentation":{"id":4520,"nodeType":"StructuredDocumentation","src":"600:60:21","text":" @dev The signature has an invalid length."},"errorSelector":"fce698f7","id":4524,"name":"ECDSAInvalidSignatureLength","nameLocation":"671:27:21","nodeType":"ErrorDefinition","parameters":{"id":4523,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4522,"mutability":"mutable","name":"length","nameLocation":"707:6:21","nodeType":"VariableDeclaration","scope":4524,"src":"699:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4521,"name":"uint256","nodeType":"ElementaryTypeName","src":"699:7:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"698:16:21"},"src":"665:50:21"},{"documentation":{"id":4525,"nodeType":"StructuredDocumentation","src":"721:85:21","text":" @dev The signature has an S value that is in the upper half order."},"errorSelector":"d78bce0c","id":4529,"name":"ECDSAInvalidSignatureS","nameLocation":"817:22:21","nodeType":"ErrorDefinition","parameters":{"id":4528,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4527,"mutability":"mutable","name":"s","nameLocation":"848:1:21","nodeType":"VariableDeclaration","scope":4529,"src":"840:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4526,"name":"bytes32","nodeType":"ElementaryTypeName","src":"840:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"839:11:21"},"src":"811:40:21"},{"body":{"id":4581,"nodeType":"Block","src":"2285:622:21","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4547,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4544,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4534,"src":"2299:9:21","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4545,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2309:6:21","memberName":"length","nodeType":"MemberAccess","src":"2299:16:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"3635","id":4546,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2319:2:21","typeDescriptions":{"typeIdentifier":"t_rational_65_by_1","typeString":"int_const 65"},"value":"65"},"src":"2299:22:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":4579,"nodeType":"Block","src":"2793:108:21","statements":[{"expression":{"components":[{"arguments":[{"hexValue":"30","id":4568,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2823:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4567,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2815:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4566,"name":"address","nodeType":"ElementaryTypeName","src":"2815:7:21","typeDescriptions":{}}},"id":4569,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2815:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":4570,"name":"RecoverError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4516,"src":"2827:12:21","typeDescriptions":{"typeIdentifier":"t_type$_t_enumMATH_PLACEHOLDER_8364516_$","typeString":"type(enum ECDSA.RecoverError)"}},"id":4571,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2840:22:21","memberName":"InvalidSignatureLength","nodeType":"MemberAccess","referencedDeclaration":4514,"src":"2827:35:21","typeDescriptions":{"typeIdentifier":"t_enum$_RecoverError_$4516","typeString":"enum ECDSA.RecoverError"}},{"arguments":[{"expression":{"id":4574,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4534,"src":"2872:9:21","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":4575,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2882:6:21","memberName":"length","nodeType":"MemberAccess","src":"2872:16:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4573,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2864:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":4572,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2864:7:21","typeDescriptions":{}}},"id":4576,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2864:25:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":4577,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2814:76:21","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_8404516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"functionReturnParameters":4543,"id":4578,"nodeType":"Return","src":"2807:83:21"}]},"id":4580,"nodeType":"IfStatement","src":"2295:606:21","trueBody":{"id":4565,"nodeType":"Block","src":"2323:464:21","statements":[{"assignments":[4549],"declarations":[{"constant":false,"id":4549,"mutability":"mutable","name":"r","nameLocation":"2345:1:21","nodeType":"VariableDeclaration","scope":4565,"src":"2337:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4548,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2337:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":4550,"nodeType":"VariableDeclarationStatement","src":"2337:9:21"},{"assignments":[4552],"declarations":[{"constant":false,"id":4552,"mutability":"mutable","name":"s","nameLocation":"2368:1:21","nodeType":"VariableDeclaration","scope":4565,"src":"2360:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4551,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2360:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":4553,"nodeType":"VariableDeclarationStatement","src":"2360:9:21"},{"assignments":[4555],"declarations":[{"constant":false,"id":4555,"mutability":"mutable","name":"v","nameLocation":"2389:1:21","nodeType":"VariableDeclaration","scope":4565,"src":"2383:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4554,"name":"uint8","nodeType":"ElementaryTypeName","src":"2383:5:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":4556,"nodeType":"VariableDeclarationStatement","src":"2383:7:21"},{"AST":{"nativeSrc":"2560:171:21","nodeType":"YulBlock","src":"2560:171:21","statements":[{"nativeSrc":"2578:32:21","nodeType":"YulAssignment","src":"2578:32:21","value":{"arguments":[{"arguments":[{"name":"signature","nativeSrc":"2593:9:21","nodeType":"YulIdentifier","src":"2593:9:21"},{"kind":"number","nativeSrc":"2604:4:21","nodeType":"YulLiteral","src":"2604:4:21","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"2589:3:21","nodeType":"YulIdentifier","src":"2589:3:21"},"nativeSrc":"2589:20:21","nodeType":"YulFunctionCall","src":"2589:20:21"}],"functionName":{"name":"mload","nativeSrc":"2583:5:21","nodeType":"YulIdentifier","src":"2583:5:21"},"nativeSrc":"2583:27:21","nodeType":"YulFunctionCall","src":"2583:27:21"},"variableNames":[{"name":"r","nativeSrc":"2578:1:21","nodeType":"YulIdentifier","src":"2578:1:21"}]},{"nativeSrc":"2627:32:21","nodeType":"YulAssignment","src":"2627:32:21","value":{"arguments":[{"arguments":[{"name":"signature","nativeSrc":"2642:9:21","nodeType":"YulIdentifier","src":"2642:9:21"},{"kind":"number","nativeSrc":"2653:4:21","nodeType":"YulLiteral","src":"2653:4:21","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"2638:3:21","nodeType":"YulIdentifier","src":"2638:3:21"},"nativeSrc":"2638:20:21","nodeType":"YulFunctionCall","src":"2638:20:21"}],"functionName":{"name":"mload","nativeSrc":"2632:5:21","nodeType":"YulIdentifier","src":"2632:5:21"},"nativeSrc":"2632:27:21","nodeType":"YulFunctionCall","src":"2632:27:21"},"variableNames":[{"name":"s","nativeSrc":"2627:1:21","nodeType":"YulIdentifier","src":"2627:1:21"}]},{"nativeSrc":"2676:41:21","nodeType":"YulAssignment","src":"2676:41:21","value":{"arguments":[{"kind":"number","nativeSrc":"2686:1:21","nodeType":"YulLiteral","src":"2686:1:21","type":"","value":"0"},{"arguments":[{"arguments":[{"name":"signature","nativeSrc":"2699:9:21","nodeType":"YulIdentifier","src":"2699:9:21"},{"kind":"number","nativeSrc":"2710:4:21","nodeType":"YulLiteral","src":"2710:4:21","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"2695:3:21","nodeType":"YulIdentifier","src":"2695:3:21"},"nativeSrc":"2695:20:21","nodeType":"YulFunctionCall","src":"2695:20:21"}],"functionName":{"name":"mload","nativeSrc":"2689:5:21","nodeType":"YulIdentifier","src":"2689:5:21"},"nativeSrc":"2689:27:21","nodeType":"YulFunctionCall","src":"2689:27:21"}],"functionName":{"name":"byte","nativeSrc":"2681:4:21","nodeType":"YulIdentifier","src":"2681:4:21"},"nativeSrc":"2681:36:21","nodeType":"YulFunctionCall","src":"2681:36:21"},"variableNames":[{"name":"v","nativeSrc":"2676:1:21","nodeType":"YulIdentifier","src":"2676:1:21"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":4549,"isOffset":false,"isSlot":false,"src":"2578:1:21","valueSize":1},{"declaration":4552,"isOffset":false,"isSlot":false,"src":"2627:1:21","valueSize":1},{"declaration":4534,"isOffset":false,"isSlot":false,"src":"2593:9:21","valueSize":1},{"declaration":4534,"isOffset":false,"isSlot":false,"src":"2642:9:21","valueSize":1},{"declaration":4534,"isOffset":false,"isSlot":false,"src":"2699:9:21","valueSize":1},{"declaration":4555,"isOffset":false,"isSlot":false,"src":"2676:1:21","valueSize":1}],"flags":["memory-safe"],"id":4557,"nodeType":"InlineAssembly","src":"2535:196:21"},{"expression":{"arguments":[{"id":4559,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4532,"src":"2762:4:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4560,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4555,"src":"2768:1:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":4561,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4549,"src":"2771:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4562,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4552,"src":"2774:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4558,"name":"tryRecover","nodeType":"Identifier","overloadedDeclarations":[4582,4662,4770],"referencedDeclaration":4770,"src":"2751:10:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enum$_RecoverError_$4516_$_t_bytes32_$","typeString":"function (bytes32,uint8,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError,bytes32)"}},"id":4563,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2751:25:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_8484516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"functionReturnParameters":4543,"id":4564,"nodeType":"Return","src":"2744:32:21"}]}}]},"documentation":{"id":4530,"nodeType":"StructuredDocumentation","src":"857:1267:21","text":" @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\n return address(0) without also returning an error description. Errors are documented using an enum (error type)\n and a bytes32 providing additional information about the error.\n If no error is returned, then the address can be used for verification purposes.\n The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n this function rejects them by requiring the `s` value to be in the lower\n half order, and the `v` value to be either 27 or 28.\n IMPORTANT: `hash` _must_ be the result of a hash operation for the\n verification to be secure: it is possible to craft signatures that\n recover to arbitrary addresses for non-hashed data. A safe way to ensure\n this is by receiving a hash of the original message (which may otherwise\n be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n Documentation for signature generation:\n - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]"},"id":4582,"implemented":true,"kind":"function","modifiers":[],"name":"tryRecover","nameLocation":"2138:10:21","nodeType":"FunctionDefinition","parameters":{"id":4535,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4532,"mutability":"mutable","name":"hash","nameLocation":"2166:4:21","nodeType":"VariableDeclaration","scope":4582,"src":"2158:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4531,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2158:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4534,"mutability":"mutable","name":"signature","nameLocation":"2193:9:21","nodeType":"VariableDeclaration","scope":4582,"src":"2180:22:21","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4533,"name":"bytes","nodeType":"ElementaryTypeName","src":"2180:5:21","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2148:60:21"},"returnParameters":{"id":4543,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4537,"mutability":"mutable","name":"recovered","nameLocation":"2240:9:21","nodeType":"VariableDeclaration","scope":4582,"src":"2232:17:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4536,"name":"address","nodeType":"ElementaryTypeName","src":"2232:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4540,"mutability":"mutable","name":"err","nameLocation":"2264:3:21","nodeType":"VariableDeclaration","scope":4582,"src":"2251:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8504516","typeString":"enum ECDSA.RecoverError"},"typeName":{"id":4539,"nodeType":"UserDefinedTypeName","pathNode":{"id":4538,"name":"RecoverError","nameLocations":["2251:12:21"],"nodeType":"IdentifierPath","referencedDeclaration":4516,"src":"2251:12:21"},"referencedDeclaration":4516,"src":"2251:12:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8514516","typeString":"enum ECDSA.RecoverError"}},"visibility":"internal"},{"constant":false,"id":4542,"mutability":"mutable","name":"errArg","nameLocation":"2277:6:21","nodeType":"VariableDeclaration","scope":4582,"src":"2269:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4541,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2269:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2231:53:21"},"scope":4856,"src":"2129:778:21","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4611,"nodeType":"Block","src":"3801:168:21","statements":[{"assignments":[4593,4596,4598],"declarations":[{"constant":false,"id":4593,"mutability":"mutable","name":"recovered","nameLocation":"3820:9:21","nodeType":"VariableDeclaration","scope":4611,"src":"3812:17:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4592,"name":"address","nodeType":"ElementaryTypeName","src":"3812:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4596,"mutability":"mutable","name":"error","nameLocation":"3844:5:21","nodeType":"VariableDeclaration","scope":4611,"src":"3831:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8524516","typeString":"enum ECDSA.RecoverError"},"typeName":{"id":4595,"nodeType":"UserDefinedTypeName","pathNode":{"id":4594,"name":"RecoverError","nameLocations":["3831:12:21"],"nodeType":"IdentifierPath","referencedDeclaration":4516,"src":"3831:12:21"},"referencedDeclaration":4516,"src":"3831:12:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8534516","typeString":"enum ECDSA.RecoverError"}},"visibility":"internal"},{"constant":false,"id":4598,"mutability":"mutable","name":"errorArg","nameLocation":"3859:8:21","nodeType":"VariableDeclaration","scope":4611,"src":"3851:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4597,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3851:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":4603,"initialValue":{"arguments":[{"id":4600,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4585,"src":"3882:4:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4601,"name":"signature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4587,"src":"3888:9:21","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":4599,"name":"tryRecover","nodeType":"Identifier","overloadedDeclarations":[4582,4662,4770],"referencedDeclaration":4582,"src":"3871:10:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_bytes_memory_ptr_$returns$_t_address_$_t_enum$_RecoverError_$4516_$_t_bytes32_$","typeString":"function (bytes32,bytes memory) pure returns (address,enum ECDSA.RecoverError,bytes32)"}},"id":4602,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3871:27:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_8594516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"nodeType":"VariableDeclarationStatement","src":"3811:87:21"},{"expression":{"arguments":[{"id":4605,"name":"error","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4596,"src":"3920:5:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8614516","typeString":"enum ECDSA.RecoverError"}},{"id":4606,"name":"errorArg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4598,"src":"3927:8:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8624516","typeString":"enum ECDSA.RecoverError"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4604,"name":"_throwError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4855,"src":"3908:11:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_RecoverError_$4516_$_t_bytes32_$returns$__$","typeString":"function (enum ECDSA.RecoverError,bytes32) pure"}},"id":4607,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3908:28:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4608,"nodeType":"ExpressionStatement","src":"3908:28:21"},{"expression":{"id":4609,"name":"recovered","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4593,"src":"3953:9:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":4591,"id":4610,"nodeType":"Return","src":"3946:16:21"}]},"documentation":{"id":4583,"nodeType":"StructuredDocumentation","src":"2913:796:21","text":" @dev Returns the address that signed a hashed message (`hash`) with\n `signature`. This address can then be used for verification purposes.\n The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n this function rejects them by requiring the `s` value to be in the lower\n half order, and the `v` value to be either 27 or 28.\n IMPORTANT: `hash` _must_ be the result of a hash operation for the\n verification to be secure: it is possible to craft signatures that\n recover to arbitrary addresses for non-hashed data. A safe way to ensure\n this is by receiving a hash of the original message (which may otherwise\n be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it."},"id":4612,"implemented":true,"kind":"function","modifiers":[],"name":"recover","nameLocation":"3723:7:21","nodeType":"FunctionDefinition","parameters":{"id":4588,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4585,"mutability":"mutable","name":"hash","nameLocation":"3739:4:21","nodeType":"VariableDeclaration","scope":4612,"src":"3731:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4584,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3731:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4587,"mutability":"mutable","name":"signature","nameLocation":"3758:9:21","nodeType":"VariableDeclaration","scope":4612,"src":"3745:22:21","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":4586,"name":"bytes","nodeType":"ElementaryTypeName","src":"3745:5:21","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3730:38:21"},"returnParameters":{"id":4591,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4590,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4612,"src":"3792:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4589,"name":"address","nodeType":"ElementaryTypeName","src":"3792:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3791:9:21"},"scope":4856,"src":"3714:255:21","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4661,"nodeType":"Block","src":"4348:342:21","statements":[{"id":4660,"nodeType":"UncheckedBlock","src":"4358:326:21","statements":[{"assignments":[4630],"declarations":[{"constant":false,"id":4630,"mutability":"mutable","name":"s","nameLocation":"4390:1:21","nodeType":"VariableDeclaration","scope":4660,"src":"4382:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4629,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4382:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":4637,"initialValue":{"commonType":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"id":4636,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4631,"name":"vs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4619,"src":"4394:2:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"arguments":[{"hexValue":"307837666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666","id":4634,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4407:66:21","typeDescriptions":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1","typeString":"int_const 5789...(69 digits omitted)...9967"},"value":"0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_57896044618658097711785492504343953926634992332820282019728792003956564819967_by_1","typeString":"int_const 5789...(69 digits omitted)...9967"}],"id":4633,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4399:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":4632,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4399:7:21","typeDescriptions":{}}},"id":4635,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4399:75:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"4394:80:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"4382:92:21"},{"assignments":[4639],"declarations":[{"constant":false,"id":4639,"mutability":"mutable","name":"v","nameLocation":"4591:1:21","nodeType":"VariableDeclaration","scope":4660,"src":"4585:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4638,"name":"uint8","nodeType":"ElementaryTypeName","src":"4585:5:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"id":4652,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4650,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4647,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":4644,"name":"vs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4619,"src":"4610:2:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4643,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4602:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":4642,"name":"uint256","nodeType":"ElementaryTypeName","src":"4602:7:21","typeDescriptions":{}}},"id":4645,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4602:11:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"323535","id":4646,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4617:3:21","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"},"src":"4602:18:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":4648,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4601:20:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"3237","id":4649,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4624:2:21","typeDescriptions":{"typeIdentifier":"t_rational_27_by_1","typeString":"int_const 27"},"value":"27"},"src":"4601:25:21","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4641,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4595:5:21","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":4640,"name":"uint8","nodeType":"ElementaryTypeName","src":"4595:5:21","typeDescriptions":{}}},"id":4651,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4595:32:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"4585:42:21"},{"expression":{"arguments":[{"id":4654,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4615,"src":"4659:4:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4655,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4639,"src":"4665:1:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":4656,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4617,"src":"4668:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4657,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4630,"src":"4671:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4653,"name":"tryRecover","nodeType":"Identifier","overloadedDeclarations":[4582,4662,4770],"referencedDeclaration":4770,"src":"4648:10:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enum$_RecoverError_$4516_$_t_bytes32_$","typeString":"function (bytes32,uint8,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError,bytes32)"}},"id":4658,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4648:25:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_8764516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"functionReturnParameters":4628,"id":4659,"nodeType":"Return","src":"4641:32:21"}]}]},"documentation":{"id":4613,"nodeType":"StructuredDocumentation","src":"3975:205:21","text":" @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]"},"id":4662,"implemented":true,"kind":"function","modifiers":[],"name":"tryRecover","nameLocation":"4194:10:21","nodeType":"FunctionDefinition","parameters":{"id":4620,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4615,"mutability":"mutable","name":"hash","nameLocation":"4222:4:21","nodeType":"VariableDeclaration","scope":4662,"src":"4214:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4614,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4214:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4617,"mutability":"mutable","name":"r","nameLocation":"4244:1:21","nodeType":"VariableDeclaration","scope":4662,"src":"4236:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4616,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4236:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4619,"mutability":"mutable","name":"vs","nameLocation":"4263:2:21","nodeType":"VariableDeclaration","scope":4662,"src":"4255:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4618,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4255:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4204:67:21"},"returnParameters":{"id":4628,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4622,"mutability":"mutable","name":"recovered","nameLocation":"4303:9:21","nodeType":"VariableDeclaration","scope":4662,"src":"4295:17:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4621,"name":"address","nodeType":"ElementaryTypeName","src":"4295:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4625,"mutability":"mutable","name":"err","nameLocation":"4327:3:21","nodeType":"VariableDeclaration","scope":4662,"src":"4314:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8784516","typeString":"enum ECDSA.RecoverError"},"typeName":{"id":4624,"nodeType":"UserDefinedTypeName","pathNode":{"id":4623,"name":"RecoverError","nameLocations":["4314:12:21"],"nodeType":"IdentifierPath","referencedDeclaration":4516,"src":"4314:12:21"},"referencedDeclaration":4516,"src":"4314:12:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8794516","typeString":"enum ECDSA.RecoverError"}},"visibility":"internal"},{"constant":false,"id":4627,"mutability":"mutable","name":"errArg","nameLocation":"4340:6:21","nodeType":"VariableDeclaration","scope":4662,"src":"4332:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4626,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4332:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4294:53:21"},"scope":4856,"src":"4185:505:21","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4694,"nodeType":"Block","src":"4903:164:21","statements":[{"assignments":[4675,4678,4680],"declarations":[{"constant":false,"id":4675,"mutability":"mutable","name":"recovered","nameLocation":"4922:9:21","nodeType":"VariableDeclaration","scope":4694,"src":"4914:17:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4674,"name":"address","nodeType":"ElementaryTypeName","src":"4914:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4678,"mutability":"mutable","name":"error","nameLocation":"4946:5:21","nodeType":"VariableDeclaration","scope":4694,"src":"4933:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8804516","typeString":"enum ECDSA.RecoverError"},"typeName":{"id":4677,"nodeType":"UserDefinedTypeName","pathNode":{"id":4676,"name":"RecoverError","nameLocations":["4933:12:21"],"nodeType":"IdentifierPath","referencedDeclaration":4516,"src":"4933:12:21"},"referencedDeclaration":4516,"src":"4933:12:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8814516","typeString":"enum ECDSA.RecoverError"}},"visibility":"internal"},{"constant":false,"id":4680,"mutability":"mutable","name":"errorArg","nameLocation":"4961:8:21","nodeType":"VariableDeclaration","scope":4694,"src":"4953:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4679,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4953:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":4686,"initialValue":{"arguments":[{"id":4682,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4665,"src":"4984:4:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4683,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4667,"src":"4990:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4684,"name":"vs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4669,"src":"4993:2:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4681,"name":"tryRecover","nodeType":"Identifier","overloadedDeclarations":[4582,4662,4770],"referencedDeclaration":4662,"src":"4973:10:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enumMATH_PLACEHOLDER_8854516_$_t_bytes32_$","typeString":"function (bytes32,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError,bytes32)"}},"id":4685,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4973:23:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_8884516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"nodeType":"VariableDeclarationStatement","src":"4913:83:21"},{"expression":{"arguments":[{"id":4688,"name":"error","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4678,"src":"5018:5:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8904516","typeString":"enum ECDSA.RecoverError"}},{"id":4689,"name":"errorArg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4680,"src":"5025:8:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_8914516","typeString":"enum ECDSA.RecoverError"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4687,"name":"_throwError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4855,"src":"5006:11:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_RecoverError_$4516_$_t_bytes32_$returns$__$","typeString":"function (enum ECDSA.RecoverError,bytes32) pure"}},"id":4690,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5006:28:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4691,"nodeType":"ExpressionStatement","src":"5006:28:21"},{"expression":{"id":4692,"name":"recovered","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4675,"src":"5051:9:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":4673,"id":4693,"nodeType":"Return","src":"5044:16:21"}]},"documentation":{"id":4663,"nodeType":"StructuredDocumentation","src":"4696:116:21","text":" @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately."},"id":4695,"implemented":true,"kind":"function","modifiers":[],"name":"recover","nameLocation":"4826:7:21","nodeType":"FunctionDefinition","parameters":{"id":4670,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4665,"mutability":"mutable","name":"hash","nameLocation":"4842:4:21","nodeType":"VariableDeclaration","scope":4695,"src":"4834:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4664,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4834:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4667,"mutability":"mutable","name":"r","nameLocation":"4856:1:21","nodeType":"VariableDeclaration","scope":4695,"src":"4848:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4666,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4848:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4669,"mutability":"mutable","name":"vs","nameLocation":"4867:2:21","nodeType":"VariableDeclaration","scope":4695,"src":"4859:10:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4668,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4859:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4833:37:21"},"returnParameters":{"id":4673,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4672,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4695,"src":"4894:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4671,"name":"address","nodeType":"ElementaryTypeName","src":"4894:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4893:9:21"},"scope":4856,"src":"4817:250:21","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4769,"nodeType":"Block","src":"5382:1372:21","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":4716,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4704,"src":"6278:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4715,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6270:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":4714,"name":"uint256","nodeType":"ElementaryTypeName","src":"6270:7:21","typeDescriptions":{}}},"id":4717,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6270:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"307837464646464646464646464646464646464646464646464646464646464646463544353736453733353741343530314444464539324634363638314232304130","id":4718,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6283:66:21","typeDescriptions":{"typeIdentifier":"t_rational_57896044618658097711785492504343953926418782139537452191302581570759080747168_by_1","typeString":"int_const 5789...(69 digits omitted)...7168"},"value":"0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0"},"src":"6270:79:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4730,"nodeType":"IfStatement","src":"6266:164:21","trueBody":{"id":4729,"nodeType":"Block","src":"6351:79:21","statements":[{"expression":{"components":[{"arguments":[{"hexValue":"30","id":4722,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6381:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4721,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6373:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4720,"name":"address","nodeType":"ElementaryTypeName","src":"6373:7:21","typeDescriptions":{}}},"id":4723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6373:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":4724,"name":"RecoverError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4516,"src":"6385:12:21","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_RecoverError_$4516_$","typeString":"type(enum ECDSA.RecoverError)"}},"id":4725,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6398:17:21","memberName":"InvalidSignatureS","nodeType":"MemberAccess","referencedDeclaration":4515,"src":"6385:30:21","typeDescriptions":{"typeIdentifier":"t_enum$_RecoverError_$4516","typeString":"enum ECDSA.RecoverError"}},{"id":4726,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4704,"src":"6417:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":4727,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6372:47:21","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_9014516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"functionReturnParameters":4713,"id":4728,"nodeType":"Return","src":"6365:54:21"}]}},{"assignments":[4732],"declarations":[{"constant":false,"id":4732,"mutability":"mutable","name":"signer","nameLocation":"6532:6:21","nodeType":"VariableDeclaration","scope":4769,"src":"6524:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4731,"name":"address","nodeType":"ElementaryTypeName","src":"6524:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":4739,"initialValue":{"arguments":[{"id":4734,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4698,"src":"6551:4:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4735,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4700,"src":"6557:1:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":4736,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4702,"src":"6560:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4737,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4704,"src":"6563:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4733,"name":"ecrecover","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-6,"src":"6541:9:21","typeDescriptions":{"typeIdentifier":"t_function_ecrecover_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$","typeString":"function (bytes32,uint8,bytes32,bytes32) pure returns (address)"}},"id":4738,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6541:24:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"6524:41:21"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":4745,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4740,"name":"signer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4732,"src":"6579:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":4743,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6597:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4742,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6589:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4741,"name":"address","nodeType":"ElementaryTypeName","src":"6589:7:21","typeDescriptions":{}}},"id":4744,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6589:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6579:20:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4759,"nodeType":"IfStatement","src":"6575:113:21","trueBody":{"id":4758,"nodeType":"Block","src":"6601:87:21","statements":[{"expression":{"components":[{"arguments":[{"hexValue":"30","id":4748,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6631:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4747,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6623:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4746,"name":"address","nodeType":"ElementaryTypeName","src":"6623:7:21","typeDescriptions":{}}},"id":4749,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6623:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":4750,"name":"RecoverError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4516,"src":"6635:12:21","typeDescriptions":{"typeIdentifier":"t_type$_t_enumMATH_PLACEHOLDER_9094516_$","typeString":"type(enum ECDSA.RecoverError)"}},"id":4751,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6648:16:21","memberName":"InvalidSignature","nodeType":"MemberAccess","referencedDeclaration":4513,"src":"6635:29:21","typeDescriptions":{"typeIdentifier":"t_enum$_RecoverError_$4516","typeString":"enum ECDSA.RecoverError"}},{"arguments":[{"hexValue":"30","id":4754,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6674:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4753,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6666:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":4752,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6666:7:21","typeDescriptions":{}}},"id":4755,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6666:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":4756,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"6622:55:21","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_9134516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"functionReturnParameters":4713,"id":4757,"nodeType":"Return","src":"6615:62:21"}]}},{"expression":{"components":[{"id":4760,"name":"signer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4732,"src":"6706:6:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":4761,"name":"RecoverError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4516,"src":"6714:12:21","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_RecoverError_$4516_$","typeString":"type(enum ECDSA.RecoverError)"}},"id":4762,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6727:7:21","memberName":"NoError","nodeType":"MemberAccess","referencedDeclaration":4512,"src":"6714:20:21","typeDescriptions":{"typeIdentifier":"t_enum$_RecoverError_$4516","typeString":"enum ECDSA.RecoverError"}},{"arguments":[{"hexValue":"30","id":4765,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6744:1:21","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":4764,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6736:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":4763,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6736:7:21","typeDescriptions":{}}},"id":4766,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6736:10:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":4767,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6705:42:21","typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_9194516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"functionReturnParameters":4713,"id":4768,"nodeType":"Return","src":"6698:49:21"}]},"documentation":{"id":4696,"nodeType":"StructuredDocumentation","src":"5073:125:21","text":" @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n `r` and `s` signature fields separately."},"id":4770,"implemented":true,"kind":"function","modifiers":[],"name":"tryRecover","nameLocation":"5212:10:21","nodeType":"FunctionDefinition","parameters":{"id":4705,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4698,"mutability":"mutable","name":"hash","nameLocation":"5240:4:21","nodeType":"VariableDeclaration","scope":4770,"src":"5232:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4697,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5232:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4700,"mutability":"mutable","name":"v","nameLocation":"5260:1:21","nodeType":"VariableDeclaration","scope":4770,"src":"5254:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4699,"name":"uint8","nodeType":"ElementaryTypeName","src":"5254:5:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":4702,"mutability":"mutable","name":"r","nameLocation":"5279:1:21","nodeType":"VariableDeclaration","scope":4770,"src":"5271:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4701,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5271:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4704,"mutability":"mutable","name":"s","nameLocation":"5298:1:21","nodeType":"VariableDeclaration","scope":4770,"src":"5290:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4703,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5290:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5222:83:21"},"returnParameters":{"id":4713,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4707,"mutability":"mutable","name":"recovered","nameLocation":"5337:9:21","nodeType":"VariableDeclaration","scope":4770,"src":"5329:17:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4706,"name":"address","nodeType":"ElementaryTypeName","src":"5329:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4710,"mutability":"mutable","name":"err","nameLocation":"5361:3:21","nodeType":"VariableDeclaration","scope":4770,"src":"5348:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9214516","typeString":"enum ECDSA.RecoverError"},"typeName":{"id":4709,"nodeType":"UserDefinedTypeName","pathNode":{"id":4708,"name":"RecoverError","nameLocations":["5348:12:21"],"nodeType":"IdentifierPath","referencedDeclaration":4516,"src":"5348:12:21"},"referencedDeclaration":4516,"src":"5348:12:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9224516","typeString":"enum ECDSA.RecoverError"}},"visibility":"internal"},{"constant":false,"id":4712,"mutability":"mutable","name":"errArg","nameLocation":"5374:6:21","nodeType":"VariableDeclaration","scope":4770,"src":"5366:14:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4711,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5366:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5328:53:21"},"scope":4856,"src":"5203:1551:21","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4805,"nodeType":"Block","src":"6981:166:21","statements":[{"assignments":[4785,4788,4790],"declarations":[{"constant":false,"id":4785,"mutability":"mutable","name":"recovered","nameLocation":"7000:9:21","nodeType":"VariableDeclaration","scope":4805,"src":"6992:17:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4784,"name":"address","nodeType":"ElementaryTypeName","src":"6992:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":4788,"mutability":"mutable","name":"error","nameLocation":"7024:5:21","nodeType":"VariableDeclaration","scope":4805,"src":"7011:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9234516","typeString":"enum ECDSA.RecoverError"},"typeName":{"id":4787,"nodeType":"UserDefinedTypeName","pathNode":{"id":4786,"name":"RecoverError","nameLocations":["7011:12:21"],"nodeType":"IdentifierPath","referencedDeclaration":4516,"src":"7011:12:21"},"referencedDeclaration":4516,"src":"7011:12:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9244516","typeString":"enum ECDSA.RecoverError"}},"visibility":"internal"},{"constant":false,"id":4790,"mutability":"mutable","name":"errorArg","nameLocation":"7039:8:21","nodeType":"VariableDeclaration","scope":4805,"src":"7031:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4789,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7031:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":4797,"initialValue":{"arguments":[{"id":4792,"name":"hash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4773,"src":"7062:4:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4793,"name":"v","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4775,"src":"7068:1:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":4794,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4777,"src":"7071:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4795,"name":"s","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4779,"src":"7074:1:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4791,"name":"tryRecover","nodeType":"Identifier","overloadedDeclarations":[4582,4662,4770],"referencedDeclaration":4770,"src":"7051:10:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_bytes32_$_t_bytes32_$returns$_t_address_$_t_enum$_RecoverError_$4516_$_t_bytes32_$","typeString":"function (bytes32,uint8,bytes32,bytes32) pure returns (address,enum ECDSA.RecoverError,bytes32)"}},"id":4796,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7051:25:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_enumMATH_PLACEHOLDER_9314516_$_t_bytes32_$","typeString":"tuple(address,enum ECDSA.RecoverError,bytes32)"}},"nodeType":"VariableDeclarationStatement","src":"6991:85:21"},{"expression":{"arguments":[{"id":4799,"name":"error","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4788,"src":"7098:5:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9334516","typeString":"enum ECDSA.RecoverError"}},{"id":4800,"name":"errorArg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4790,"src":"7105:8:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9344516","typeString":"enum ECDSA.RecoverError"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4798,"name":"_throwError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4855,"src":"7086:11:21","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_RecoverError_$4516_$_t_bytes32_$returns$__$","typeString":"function (enum ECDSA.RecoverError,bytes32) pure"}},"id":4801,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7086:28:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":4802,"nodeType":"ExpressionStatement","src":"7086:28:21"},{"expression":{"id":4803,"name":"recovered","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4785,"src":"7131:9:21","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":4783,"id":4804,"nodeType":"Return","src":"7124:16:21"}]},"documentation":{"id":4771,"nodeType":"StructuredDocumentation","src":"6760:122:21","text":" @dev Overload of {ECDSA-recover} that receives the `v`,\n `r` and `s` signature fields separately."},"id":4806,"implemented":true,"kind":"function","modifiers":[],"name":"recover","nameLocation":"6896:7:21","nodeType":"FunctionDefinition","parameters":{"id":4780,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4773,"mutability":"mutable","name":"hash","nameLocation":"6912:4:21","nodeType":"VariableDeclaration","scope":4806,"src":"6904:12:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4772,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6904:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4775,"mutability":"mutable","name":"v","nameLocation":"6924:1:21","nodeType":"VariableDeclaration","scope":4806,"src":"6918:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":4774,"name":"uint8","nodeType":"ElementaryTypeName","src":"6918:5:21","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":4777,"mutability":"mutable","name":"r","nameLocation":"6935:1:21","nodeType":"VariableDeclaration","scope":4806,"src":"6927:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4776,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6927:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":4779,"mutability":"mutable","name":"s","nameLocation":"6946:1:21","nodeType":"VariableDeclaration","scope":4806,"src":"6938:9:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4778,"name":"bytes32","nodeType":"ElementaryTypeName","src":"6938:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"6903:45:21"},"returnParameters":{"id":4783,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4782,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4806,"src":"6972:7:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4781,"name":"address","nodeType":"ElementaryTypeName","src":"6972:7:21","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6971:9:21"},"scope":4856,"src":"6887:260:21","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":4854,"nodeType":"Block","src":"7352:460:21","statements":[{"condition":{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9394516","typeString":"enum ECDSA.RecoverError"},"id":4818,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4815,"name":"error","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4810,"src":"7366:5:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9404516","typeString":"enum ECDSA.RecoverError"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":4816,"name":"RecoverError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4516,"src":"7375:12:21","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_RecoverError_$4516_$","typeString":"type(enum ECDSA.RecoverError)"}},"id":4817,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7388:7:21","memberName":"NoError","nodeType":"MemberAccess","referencedDeclaration":4512,"src":"7375:20:21","typeDescriptions":{"typeIdentifier":"t_enum$_RecoverError_$4516","typeString":"enum ECDSA.RecoverError"}},"src":"7366:29:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9434516","typeString":"enum ECDSA.RecoverError"},"id":4824,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4821,"name":"error","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4810,"src":"7462:5:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9444516","typeString":"enum ECDSA.RecoverError"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":4822,"name":"RecoverError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4516,"src":"7471:12:21","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_RecoverError_$4516_$","typeString":"type(enum ECDSA.RecoverError)"}},"id":4823,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7484:16:21","memberName":"InvalidSignature","nodeType":"MemberAccess","referencedDeclaration":4513,"src":"7471:29:21","typeDescriptions":{"typeIdentifier":"t_enum$_RecoverError_$4516","typeString":"enum ECDSA.RecoverError"}},"src":"7462:38:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9474516","typeString":"enum ECDSA.RecoverError"},"id":4832,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4829,"name":"error","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4810,"src":"7567:5:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9484516","typeString":"enum ECDSA.RecoverError"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":4830,"name":"RecoverError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4516,"src":"7576:12:21","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_RecoverError_$4516_$","typeString":"type(enum ECDSA.RecoverError)"}},"id":4831,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7589:22:21","memberName":"InvalidSignatureLength","nodeType":"MemberAccess","referencedDeclaration":4514,"src":"7576:35:21","typeDescriptions":{"typeIdentifier":"t_enum$_RecoverError_$4516","typeString":"enum ECDSA.RecoverError"}},"src":"7567:44:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"condition":{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9514516","typeString":"enum ECDSA.RecoverError"},"id":4844,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":4841,"name":"error","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4810,"src":"7701:5:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9524516","typeString":"enum ECDSA.RecoverError"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":4842,"name":"RecoverError","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4516,"src":"7710:12:21","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_RecoverError_$4516_$","typeString":"type(enum ECDSA.RecoverError)"}},"id":4843,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7723:17:21","memberName":"InvalidSignatureS","nodeType":"MemberAccess","referencedDeclaration":4515,"src":"7710:30:21","typeDescriptions":{"typeIdentifier":"t_enum$_RecoverError_$4516","typeString":"enum ECDSA.RecoverError"}},"src":"7701:39:21","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":4850,"nodeType":"IfStatement","src":"7697:109:21","trueBody":{"id":4849,"nodeType":"Block","src":"7742:64:21","statements":[{"errorCall":{"arguments":[{"id":4846,"name":"errorArg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4812,"src":"7786:8:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4845,"name":"ECDSAInvalidSignatureS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4529,"src":"7763:22:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_bytes32_$returns$_t_error_$","typeString":"function (bytes32) pure returns (error)"}},"id":4847,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7763:32:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4848,"nodeType":"RevertStatement","src":"7756:39:21"}]}},"id":4851,"nodeType":"IfStatement","src":"7563:243:21","trueBody":{"id":4840,"nodeType":"Block","src":"7613:78:21","statements":[{"errorCall":{"arguments":[{"arguments":[{"id":4836,"name":"errorArg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4812,"src":"7670:8:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":4835,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7662:7:21","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":4834,"name":"uint256","nodeType":"ElementaryTypeName","src":"7662:7:21","typeDescriptions":{}}},"id":4837,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7662:17:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":4833,"name":"ECDSAInvalidSignatureLength","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4524,"src":"7634:27:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":4838,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7634:46:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4839,"nodeType":"RevertStatement","src":"7627:53:21"}]}},"id":4852,"nodeType":"IfStatement","src":"7458:348:21","trueBody":{"id":4828,"nodeType":"Block","src":"7502:55:21","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":4825,"name":"ECDSAInvalidSignature","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4519,"src":"7523:21:21","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":4826,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7523:23:21","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":4827,"nodeType":"RevertStatement","src":"7516:30:21"}]}},"id":4853,"nodeType":"IfStatement","src":"7362:444:21","trueBody":{"id":4820,"nodeType":"Block","src":"7397:55:21","statements":[{"functionReturnParameters":4814,"id":4819,"nodeType":"Return","src":"7411:7:21"}]}}]},"documentation":{"id":4807,"nodeType":"StructuredDocumentation","src":"7153:122:21","text":" @dev Optionally reverts with the corresponding custom error according to the `error` argument provided."},"id":4855,"implemented":true,"kind":"function","modifiers":[],"name":"_throwError","nameLocation":"7289:11:21","nodeType":"FunctionDefinition","parameters":{"id":4813,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4810,"mutability":"mutable","name":"error","nameLocation":"7314:5:21","nodeType":"VariableDeclaration","scope":4855,"src":"7301:18:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9624516","typeString":"enum ECDSA.RecoverError"},"typeName":{"id":4809,"nodeType":"UserDefinedTypeName","pathNode":{"id":4808,"name":"RecoverError","nameLocations":["7301:12:21"],"nodeType":"IdentifierPath","referencedDeclaration":4516,"src":"7301:12:21"},"referencedDeclaration":4516,"src":"7301:12:21","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_9634516","typeString":"enum ECDSA.RecoverError"}},"visibility":"internal"},{"constant":false,"id":4812,"mutability":"mutable","name":"errorArg","nameLocation":"7329:8:21","nodeType":"VariableDeclaration","scope":4855,"src":"7321:16:21","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4811,"name":"bytes32","nodeType":"ElementaryTypeName","src":"7321:7:21","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"7300:38:21"},"returnParameters":{"id":4814,"nodeType":"ParameterList","parameters":[],"src":"7352:0:21"},"scope":4856,"src":"7280:532:21","stateMutability":"pure","virtual":false,"visibility":"private"}],"scope":4857,"src":"344:7470:21","usedErrors":[4519,4524,4529],"usedEvents":[]}],"src":"112:7703:21"},"id":21},"@openzeppelin/contracts/utils/cryptography/EIP712.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/cryptography/EIP712.sol","exportedSymbols":{"EIP712":[5083],"IERC5267":[403],"MessageHashUtils":[5169],"ShortString":[2771],"ShortStrings":[2982]},"id":5084,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":4858,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"113:24:22"},{"absolutePath":"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol","file":"./MessageHashUtils.sol","id":4860,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5084,"sourceUnit":5170,"src":"139:56:22","symbolAliases":[{"foreign":{"id":4859,"name":"MessageHashUtils","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5169,"src":"147:16:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/ShortStrings.sol","file":"../ShortStrings.sol","id":4863,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5084,"sourceUnit":2983,"src":"196:62:22","symbolAliases":[{"foreign":{"id":4861,"name":"ShortStrings","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2982,"src":"204:12:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"},{"foreign":{"id":4862,"name":"ShortString","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2771,"src":"218:11:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/interfaces/IERC5267.sol","file":"../../interfaces/IERC5267.sol","id":4865,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5084,"sourceUnit":404,"src":"259:55:22","symbolAliases":[{"foreign":{"id":4864,"name":"IERC5267","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":403,"src":"267:8:22","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":4867,"name":"IERC5267","nameLocations":["1988:8:22"],"nodeType":"IdentifierPath","referencedDeclaration":403,"src":"1988:8:22"},"id":4868,"nodeType":"InheritanceSpecifier","src":"1988:8:22"}],"canonicalName":"EIP712","contractDependencies":[],"contractKind":"contract","documentation":{"id":4866,"nodeType":"StructuredDocumentation","src":"316:1643:22","text":" @dev https://eips.ethereum.org/EIPS/eip-712[EIP-712] is a standard for hashing and signing of typed structured data.\n The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose\n encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract\n does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to\n produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.\n This contract implements the EIP-712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\n scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\n ({_hashTypedDataV4}).\n The implementation of the domain separator was designed to be as efficient as possible while still properly updating\n the chain id to protect against replay attacks on an eventual fork of the chain.\n NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\n https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\n NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\n separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the\n separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\n @custom:oz-upgrades-unsafe-allow state-variable-immutable"},"fullyImplemented":true,"id":5083,"linearizedBaseContracts":[5083,403],"name":"EIP712","nameLocation":"1978:6:22","nodeType":"ContractDefinition","nodes":[{"global":false,"id":4870,"libraryName":{"id":4869,"name":"ShortStrings","nameLocations":["2009:12:22"],"nodeType":"IdentifierPath","referencedDeclaration":2982,"src":"2009:12:22"},"nodeType":"UsingForDirective","src":"2003:25:22"},{"constant":true,"id":4875,"mutability":"constant","name":"TYPE_HASH","nameLocation":"2059:9:22","nodeType":"VariableDeclaration","scope":5083,"src":"2034:140:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4871,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2034:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429","id":4873,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2089:84:22","typeDescriptions":{"typeIdentifier":"t_stringliteral_8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f","typeString":"literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\""},"value":"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f","typeString":"literal_string \"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\""}],"id":4872,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"2079:9:22","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":4874,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2079:95:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"constant":false,"id":4877,"mutability":"immutable","name":"_cachedDomainSeparator","nameLocation":"2399:22:22","nodeType":"VariableDeclaration","scope":5083,"src":"2373:48:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4876,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2373:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"constant":false,"id":4879,"mutability":"immutable","name":"_cachedChainId","nameLocation":"2453:14:22","nodeType":"VariableDeclaration","scope":5083,"src":"2427:40:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":4878,"name":"uint256","nodeType":"ElementaryTypeName","src":"2427:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"private"},{"constant":false,"id":4881,"mutability":"immutable","name":"_cachedThis","nameLocation":"2499:11:22","nodeType":"VariableDeclaration","scope":5083,"src":"2473:37:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":4880,"name":"address","nodeType":"ElementaryTypeName","src":"2473:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"private"},{"constant":false,"id":4883,"mutability":"immutable","name":"_hashedName","nameLocation":"2543:11:22","nodeType":"VariableDeclaration","scope":5083,"src":"2517:37:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4882,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2517:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"constant":false,"id":4885,"mutability":"immutable","name":"_hashedVersion","nameLocation":"2586:14:22","nodeType":"VariableDeclaration","scope":5083,"src":"2560:40:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4884,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2560:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"private"},{"constant":false,"id":4888,"mutability":"immutable","name":"_name","nameLocation":"2637:5:22","nodeType":"VariableDeclaration","scope":5083,"src":"2607:35:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_9662771","typeString":"ShortString"},"typeName":{"id":4887,"nodeType":"UserDefinedTypeName","pathNode":{"id":4886,"name":"ShortString","nameLocations":["2607:11:22"],"nodeType":"IdentifierPath","referencedDeclaration":2771,"src":"2607:11:22"},"referencedDeclaration":2771,"src":"2607:11:22","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_9672771","typeString":"ShortString"}},"visibility":"private"},{"constant":false,"id":4891,"mutability":"immutable","name":"_version","nameLocation":"2678:8:22","nodeType":"VariableDeclaration","scope":5083,"src":"2648:38:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_9682771","typeString":"ShortString"},"typeName":{"id":4890,"nodeType":"UserDefinedTypeName","pathNode":{"id":4889,"name":"ShortString","nameLocations":["2648:11:22"],"nodeType":"IdentifierPath","referencedDeclaration":2771,"src":"2648:11:22"},"referencedDeclaration":2771,"src":"2648:11:22","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_9692771","typeString":"ShortString"}},"visibility":"private"},{"constant":false,"id":4893,"mutability":"mutable","name":"_nameFallback","nameLocation":"2757:13:22","nodeType":"VariableDeclaration","scope":5083,"src":"2742:28:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":4892,"name":"string","nodeType":"ElementaryTypeName","src":"2742:6:22","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"constant":false,"id":4895,"mutability":"mutable","name":"_versionFallback","nameLocation":"2841:16:22","nodeType":"VariableDeclaration","scope":5083,"src":"2826:31:22","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":4894,"name":"string","nodeType":"ElementaryTypeName","src":"2826:6:22","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"private"},{"body":{"id":4952,"nodeType":"Block","src":"3483:376:22","statements":[{"expression":{"id":4908,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4903,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4888,"src":"3493:5:22","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_9702771","typeString":"ShortString"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4906,"name":"_nameFallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4893,"src":"3532:13:22","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}],"expression":{"id":4904,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4898,"src":"3501:4:22","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":4905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3506:25:22","memberName":"toShortStringWithFallback","nodeType":"MemberAccess","referencedDeclaration":2923,"src":"3501:30:22","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_storage_ptr_$returns$_t_userDefinedValueTypeMATH_PLACEHOLDER_9732771_$attached_to$_t_string_memory_ptr_$","typeString":"function (string memory,string storage pointer) returns (ShortString)"}},"id":4907,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3501:45:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"}},"src":"3493:53:22","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_9762771","typeString":"ShortString"}},"id":4909,"nodeType":"ExpressionStatement","src":"3493:53:22"},{"expression":{"id":4915,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4910,"name":"_version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4891,"src":"3556:8:22","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_9772771","typeString":"ShortString"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4913,"name":"_versionFallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4895,"src":"3601:16:22","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}],"expression":{"id":4911,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4900,"src":"3567:7:22","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"id":4912,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3575:25:22","memberName":"toShortStringWithFallback","nodeType":"MemberAccess","referencedDeclaration":2923,"src":"3567:33:22","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_string_memory_ptr_$_t_string_storage_ptr_$returns$_t_userDefinedValueTypeMATH_PLACEHOLDER_9802771_$attached_to$_t_string_memory_ptr_$","typeString":"function (string memory,string storage pointer) returns (ShortString)"}},"id":4914,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3567:51:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"}},"src":"3556:62:22","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_9832771","typeString":"ShortString"}},"id":4916,"nodeType":"ExpressionStatement","src":"3556:62:22"},{"expression":{"id":4924,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4917,"name":"_hashedName","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4883,"src":"3628:11:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":4921,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4898,"src":"3658:4:22","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4920,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3652:5:22","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":4919,"name":"bytes","nodeType":"ElementaryTypeName","src":"3652:5:22","typeDescriptions":{}}},"id":4922,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3652:11:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":4918,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"3642:9:22","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":4923,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3642:22:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3628:36:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":4925,"nodeType":"ExpressionStatement","src":"3628:36:22"},{"expression":{"id":4933,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4926,"name":"_hashedVersion","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4885,"src":"3674:14:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"id":4930,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4900,"src":"3707:7:22","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":4929,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3701:5:22","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":4928,"name":"bytes","nodeType":"ElementaryTypeName","src":"3701:5:22","typeDescriptions":{}}},"id":4931,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3701:14:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":4927,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"3691:9:22","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":4932,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3691:25:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3674:42:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":4934,"nodeType":"ExpressionStatement","src":"3674:42:22"},{"expression":{"id":4938,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4935,"name":"_cachedChainId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4879,"src":"3727:14:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":4936,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"3744:5:22","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":4937,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3750:7:22","memberName":"chainid","nodeType":"MemberAccess","src":"3744:13:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3727:30:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":4939,"nodeType":"ExpressionStatement","src":"3727:30:22"},{"expression":{"id":4943,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4940,"name":"_cachedDomainSeparator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4877,"src":"3767:22:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[],"expression":{"argumentTypes":[],"id":4941,"name":"_buildDomainSeparator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5000,"src":"3792:21:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":4942,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3792:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"src":"3767:48:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":4944,"nodeType":"ExpressionStatement","src":"3767:48:22"},{"expression":{"id":4950,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":4945,"name":"_cachedThis","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4881,"src":"3825:11:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":4948,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3847:4:22","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_9925083","typeString":"contract EIP712"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_9935083","typeString":"contract EIP712"}],"id":4947,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3839:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4946,"name":"address","nodeType":"ElementaryTypeName","src":"3839:7:22","typeDescriptions":{}}},"id":4949,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3839:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3825:27:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":4951,"nodeType":"ExpressionStatement","src":"3825:27:22"}]},"documentation":{"id":4896,"nodeType":"StructuredDocumentation","src":"2864:559:22","text":" @dev Initializes the domain separator and parameter caches.\n The meaning of `name` and `version` is specified in\n https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP-712]:\n - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\n - `version`: the current major version of the signing domain.\n NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\n contract upgrade]."},"id":4953,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":4901,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4898,"mutability":"mutable","name":"name","nameLocation":"3454:4:22","nodeType":"VariableDeclaration","scope":4953,"src":"3440:18:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4897,"name":"string","nodeType":"ElementaryTypeName","src":"3440:6:22","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":4900,"mutability":"mutable","name":"version","nameLocation":"3474:7:22","nodeType":"VariableDeclaration","scope":4953,"src":"3460:21:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":4899,"name":"string","nodeType":"ElementaryTypeName","src":"3460:6:22","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3439:43:22"},"returnParameters":{"id":4902,"nodeType":"ParameterList","parameters":[],"src":"3483:0:22"},"scope":5083,"src":"3428:431:22","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":4978,"nodeType":"Block","src":"4007:200:22","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":4969,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":4964,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":4961,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4029:4:22","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_9955083","typeString":"contract EIP712"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_9965083","typeString":"contract EIP712"}],"id":4960,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4021:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4959,"name":"address","nodeType":"ElementaryTypeName","src":"4021:7:22","typeDescriptions":{}}},"id":4962,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4021:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":4963,"name":"_cachedThis","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4881,"src":"4038:11:22","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4021:28:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":4968,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":4965,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"4053:5:22","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":4966,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4059:7:22","memberName":"chainid","nodeType":"MemberAccess","src":"4053:13:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":4967,"name":"_cachedChainId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4879,"src":"4070:14:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4053:31:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4021:63:22","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":4976,"nodeType":"Block","src":"4146:55:22","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":4973,"name":"_buildDomainSeparator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5000,"src":"4167:21:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":4974,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4167:23:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":4958,"id":4975,"nodeType":"Return","src":"4160:30:22"}]},"id":4977,"nodeType":"IfStatement","src":"4017:184:22","trueBody":{"id":4972,"nodeType":"Block","src":"4086:54:22","statements":[{"expression":{"id":4970,"name":"_cachedDomainSeparator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4877,"src":"4107:22:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":4958,"id":4971,"nodeType":"Return","src":"4100:29:22"}]}}]},"documentation":{"id":4954,"nodeType":"StructuredDocumentation","src":"3865:75:22","text":" @dev Returns the domain separator for the current chain."},"id":4979,"implemented":true,"kind":"function","modifiers":[],"name":"_domainSeparatorV4","nameLocation":"3954:18:22","nodeType":"FunctionDefinition","parameters":{"id":4955,"nodeType":"ParameterList","parameters":[],"src":"3972:2:22"},"returnParameters":{"id":4958,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4957,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":4979,"src":"3998:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4956,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3998:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3997:9:22"},"scope":5083,"src":"3945:262:22","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":4999,"nodeType":"Block","src":"4277:115:22","statements":[{"expression":{"arguments":[{"arguments":[{"id":4987,"name":"TYPE_HASH","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4875,"src":"4315:9:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4988,"name":"_hashedName","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4883,"src":"4326:11:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":4989,"name":"_hashedVersion","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4885,"src":"4339:14:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":4990,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"4355:5:22","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":4991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4361:7:22","memberName":"chainid","nodeType":"MemberAccess","src":"4355:13:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":4994,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"4378:4:22","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_10005083","typeString":"contract EIP712"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_10015083","typeString":"contract EIP712"}],"id":4993,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4370:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":4992,"name":"address","nodeType":"ElementaryTypeName","src":"4370:7:22","typeDescriptions":{}}},"id":4995,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4370:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":4985,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4304:3:22","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":4986,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4308:6:22","memberName":"encode","nodeType":"MemberAccess","src":"4304:10:22","typeDescriptions":{"typeIdentifier":"t_function_abiencode_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":4996,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4304:80:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":4984,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"4294:9:22","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":4997,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4294:91:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":4983,"id":4998,"nodeType":"Return","src":"4287:98:22"}]},"id":5000,"implemented":true,"kind":"function","modifiers":[],"name":"_buildDomainSeparator","nameLocation":"4222:21:22","nodeType":"FunctionDefinition","parameters":{"id":4980,"nodeType":"ParameterList","parameters":[],"src":"4243:2:22"},"returnParameters":{"id":4983,"nodeType":"ParameterList","parameters":[{"constant":false,"id":4982,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5000,"src":"4268:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":4981,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4268:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"4267:9:22"},"scope":5083,"src":"4213:179:22","stateMutability":"view","virtual":false,"visibility":"private"},{"body":{"id":5015,"nodeType":"Block","src":"5103:90:22","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":5010,"name":"_domainSeparatorV4","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4979,"src":"5153:18:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bytes32_$","typeString":"function () view returns (bytes32)"}},"id":5011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5153:20:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":5012,"name":"structHash","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5003,"src":"5175:10:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":5008,"name":"MessageHashUtils","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5169,"src":"5120:16:22","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_MessageHashUtils_$5169_$","typeString":"type(library MessageHashUtils)"}},"id":5009,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5137:15:22","memberName":"toTypedDataHash","nodeType":"MemberAccess","referencedDeclaration":5168,"src":"5120:32:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_bytes32_$returns$_t_bytes32_$","typeString":"function (bytes32,bytes32) pure returns (bytes32)"}},"id":5013,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5120:66:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":5007,"id":5014,"nodeType":"Return","src":"5113:73:22"}]},"documentation":{"id":5001,"nodeType":"StructuredDocumentation","src":"4398:614:22","text":" @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\n function returns the hash of the fully encoded EIP712 message for this domain.\n This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\n ```solidity\n bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\n keccak256(\"Mail(address to,string contents)\"),\n mailTo,\n keccak256(bytes(mailContents))\n )));\n address signer = ECDSA.recover(digest, signature);\n ```"},"id":5016,"implemented":true,"kind":"function","modifiers":[],"name":"_hashTypedDataV4","nameLocation":"5026:16:22","nodeType":"FunctionDefinition","parameters":{"id":5004,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5003,"mutability":"mutable","name":"structHash","nameLocation":"5051:10:22","nodeType":"VariableDeclaration","scope":5016,"src":"5043:18:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5002,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5043:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5042:20:22"},"returnParameters":{"id":5007,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5006,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5016,"src":"5094:7:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5005,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5094:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"5093:9:22"},"scope":5083,"src":"5017:176:22","stateMutability":"view","virtual":true,"visibility":"internal"},{"baseFunctions":[402],"body":{"id":5057,"nodeType":"Block","src":"5571:229:22","statements":[{"expression":{"components":[{"hexValue":"0f","id":5035,"isConstant":false,"isLValue":false,"isPure":true,"kind":"hexString","lValueRequested":false,"nodeType":"Literal","src":"5602:7:22","typeDescriptions":{"typeIdentifier":"t_stringliteral_3d725c5ee53025f027da36bea8d3af3b6a3e9d2d1542d47c162631de48e66c1c","typeString":"literal_string hex\"0f\""},"value":"\u000f"},{"arguments":[],"expression":{"argumentTypes":[],"id":5036,"name":"_EIP712Name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5070,"src":"5632:11:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_string_memory_ptr_$","typeString":"function () view returns (string memory)"}},"id":5037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5632:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"arguments":[],"expression":{"argumentTypes":[],"id":5038,"name":"_EIP712Version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5082,"src":"5659:14:22","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_string_memory_ptr_$","typeString":"function () view returns (string memory)"}},"id":5039,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5659:16:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"expression":{"id":5040,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"5689:5:22","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":5041,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5695:7:22","memberName":"chainid","nodeType":"MemberAccess","src":"5689:13:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":5044,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5724:4:22","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_10175083","typeString":"contract EIP712"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_10185083","typeString":"contract EIP712"}],"id":5043,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5716:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":5042,"name":"address","nodeType":"ElementaryTypeName","src":"5716:7:22","typeDescriptions":{}}},"id":5045,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5716:13:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"hexValue":"30","id":5048,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5751:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5047,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5743:7:22","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes32_$","typeString":"type(bytes32)"},"typeName":{"id":5046,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5743:7:22","typeDescriptions":{}}},"id":5049,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5743:10:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"arguments":[{"hexValue":"30","id":5053,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5781:1:22","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":5052,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5767:13:22","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":5050,"name":"uint256","nodeType":"ElementaryTypeName","src":"5771:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5051,"nodeType":"ArrayTypeName","src":"5771:9:22","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}}},"id":5054,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5767:16:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"id":5055,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5588:205:22","typeDescriptions":{"typeIdentifier":"t_tuple$_t_stringliteral_3d725c5ee53025f027da36bea8d3af3b6a3e9d2d1542d47c162631de48e66c1c_$_t_string_memory_ptr_$_t_string_memory_ptr_$_t_uint256_$_t_address_$_t_bytes32_$_t_array$_t_uint256_$dyn_memory_ptr_$","typeString":"tuple(literal_string hex\"0f\",string memory,string memory,uint256,address,bytes32,uint256[] memory)"}},"functionReturnParameters":5034,"id":5056,"nodeType":"Return","src":"5581:212:22"}]},"documentation":{"id":5017,"nodeType":"StructuredDocumentation","src":"5199:39:22","text":" @inheritdoc IERC5267"},"functionSelector":"84b0196e","id":5058,"implemented":true,"kind":"function","modifiers":[],"name":"eip712Domain","nameLocation":"5252:12:22","nodeType":"FunctionDefinition","parameters":{"id":5018,"nodeType":"ParameterList","parameters":[],"src":"5264:2:22"},"returnParameters":{"id":5034,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5020,"mutability":"mutable","name":"fields","nameLocation":"5348:6:22","nodeType":"VariableDeclaration","scope":5058,"src":"5341:13:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"typeName":{"id":5019,"name":"bytes1","nodeType":"ElementaryTypeName","src":"5341:6:22","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"visibility":"internal"},{"constant":false,"id":5022,"mutability":"mutable","name":"name","nameLocation":"5382:4:22","nodeType":"VariableDeclaration","scope":5058,"src":"5368:18:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5021,"name":"string","nodeType":"ElementaryTypeName","src":"5368:6:22","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":5024,"mutability":"mutable","name":"version","nameLocation":"5414:7:22","nodeType":"VariableDeclaration","scope":5058,"src":"5400:21:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5023,"name":"string","nodeType":"ElementaryTypeName","src":"5400:6:22","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":5026,"mutability":"mutable","name":"chainId","nameLocation":"5443:7:22","nodeType":"VariableDeclaration","scope":5058,"src":"5435:15:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5025,"name":"uint256","nodeType":"ElementaryTypeName","src":"5435:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5028,"mutability":"mutable","name":"verifyingContract","nameLocation":"5472:17:22","nodeType":"VariableDeclaration","scope":5058,"src":"5464:25:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5027,"name":"address","nodeType":"ElementaryTypeName","src":"5464:7:22","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5030,"mutability":"mutable","name":"salt","nameLocation":"5511:4:22","nodeType":"VariableDeclaration","scope":5058,"src":"5503:12:22","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5029,"name":"bytes32","nodeType":"ElementaryTypeName","src":"5503:7:22","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":5033,"mutability":"mutable","name":"extensions","nameLocation":"5546:10:22","nodeType":"VariableDeclaration","scope":5058,"src":"5529:27:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":5031,"name":"uint256","nodeType":"ElementaryTypeName","src":"5529:7:22","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5032,"nodeType":"ArrayTypeName","src":"5529:9:22","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"5327:239:22"},"scope":5083,"src":"5243:557:22","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":5069,"nodeType":"Block","src":"6181:65:22","statements":[{"expression":{"arguments":[{"id":5066,"name":"_nameFallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4893,"src":"6225:13:22","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}],"expression":{"id":5064,"name":"_name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4888,"src":"6198:5:22","typeDescriptions":{"typeIdentifier":"t_userDefinedValueTypeMATH_PLACEHOLDER_10332771","typeString":"ShortString"}},"id":5065,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6204:20:22","memberName":"toStringWithFallback","nodeType":"MemberAccess","referencedDeclaration":2950,"src":"6198:26:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_ShortString_$2771_$_t_string_storage_ptr_$returns$_t_string_memory_ptr_$attached_to$_t_userDefinedValueType$_ShortString_$2771_$","typeString":"function (ShortString,string storage pointer) pure returns (string memory)"}},"id":5067,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6198:41:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":5063,"id":5068,"nodeType":"Return","src":"6191:48:22"}]},"documentation":{"id":5059,"nodeType":"StructuredDocumentation","src":"5806:256:22","text":" @dev The name parameter for the EIP712 domain.\n NOTE: By default this function reads _name which is an immutable value.\n It only reads from storage if necessary (in case the value is too large to fit in a ShortString)."},"id":5070,"implemented":true,"kind":"function","modifiers":[],"name":"_EIP712Name","nameLocation":"6129:11:22","nodeType":"FunctionDefinition","parameters":{"id":5060,"nodeType":"ParameterList","parameters":[],"src":"6140:2:22"},"returnParameters":{"id":5063,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5062,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5070,"src":"6166:13:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5061,"name":"string","nodeType":"ElementaryTypeName","src":"6166:6:22","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6165:15:22"},"scope":5083,"src":"6120:126:22","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":5081,"nodeType":"Block","src":"6636:71:22","statements":[{"expression":{"arguments":[{"id":5078,"name":"_versionFallback","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4895,"src":"6683:16:22","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}],"expression":{"id":5076,"name":"_version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4891,"src":"6653:8:22","typeDescriptions":{"typeIdentifier":"t_userDefinedValueType$_ShortString_$2771","typeString":"ShortString"}},"id":5077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6662:20:22","memberName":"toStringWithFallback","nodeType":"MemberAccess","referencedDeclaration":2950,"src":"6653:29:22","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_userDefinedValueType$_ShortString_$2771_$_t_string_storage_ptr_$returns$_t_string_memory_ptr_$attached_to$_t_userDefinedValueType$_ShortString_$2771_$","typeString":"function (ShortString,string storage pointer) pure returns (string memory)"}},"id":5079,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6653:47:22","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":5075,"id":5080,"nodeType":"Return","src":"6646:54:22"}]},"documentation":{"id":5071,"nodeType":"StructuredDocumentation","src":"6252:262:22","text":" @dev The version parameter for the EIP712 domain.\n NOTE: By default this function reads _version which is an immutable value.\n It only reads from storage if necessary (in case the value is too large to fit in a ShortString)."},"id":5082,"implemented":true,"kind":"function","modifiers":[],"name":"_EIP712Version","nameLocation":"6581:14:22","nodeType":"FunctionDefinition","parameters":{"id":5072,"nodeType":"ParameterList","parameters":[],"src":"6595:2:22"},"returnParameters":{"id":5075,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5074,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5082,"src":"6621:13:22","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":5073,"name":"string","nodeType":"ElementaryTypeName","src":"6621:6:22","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6620:15:22"},"scope":5083,"src":"6572:135:22","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":5084,"src":"1960:4749:22","usedErrors":[2779,2781],"usedEvents":[383]}],"src":"113:6597:22"},"id":22},"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol","exportedSymbols":{"MessageHashUtils":[5169],"Strings":[4508]},"id":5170,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5085,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"123:24:23"},{"absolutePath":"@openzeppelin/contracts/utils/Strings.sol","file":"../Strings.sol","id":5087,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5170,"sourceUnit":4509,"src":"149:39:23","symbolAliases":[{"foreign":{"id":5086,"name":"Strings","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4508,"src":"157:7:23","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"MessageHashUtils","contractDependencies":[],"contractKind":"library","documentation":{"id":5088,"nodeType":"StructuredDocumentation","src":"190:330:23","text":" @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.\n The library provides methods for generating a hash of a message that conforms to the\n https://eips.ethereum.org/EIPS/eip-191[ERC-191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]\n specifications."},"fullyImplemented":true,"id":5169,"linearizedBaseContracts":[5169],"name":"MessageHashUtils","nameLocation":"529:16:23","nodeType":"ContractDefinition","nodes":[{"body":{"id":5097,"nodeType":"Block","src":"1339:341:23","statements":[{"AST":{"nativeSrc":"1374:300:23","nodeType":"YulBlock","src":"1374:300:23","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"1395:4:23","nodeType":"YulLiteral","src":"1395:4:23","type":"","value":"0x00"},{"hexValue":"19457468657265756d205369676e6564204d6573736167653a0a3332","kind":"string","nativeSrc":"1401:34:23","nodeType":"YulLiteral","src":"1401:34:23","type":"","value":"\u0019Ethereum Signed Message:\n32"}],"functionName":{"name":"mstore","nativeSrc":"1388:6:23","nodeType":"YulIdentifier","src":"1388:6:23"},"nativeSrc":"1388:48:23","nodeType":"YulFunctionCall","src":"1388:48:23"},"nativeSrc":"1388:48:23","nodeType":"YulExpressionStatement","src":"1388:48:23"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"1497:4:23","nodeType":"YulLiteral","src":"1497:4:23","type":"","value":"0x1c"},{"name":"messageHash","nativeSrc":"1503:11:23","nodeType":"YulIdentifier","src":"1503:11:23"}],"functionName":{"name":"mstore","nativeSrc":"1490:6:23","nodeType":"YulIdentifier","src":"1490:6:23"},"nativeSrc":"1490:25:23","nodeType":"YulFunctionCall","src":"1490:25:23"},"nativeSrc":"1490:25:23","nodeType":"YulExpressionStatement","src":"1490:25:23"},{"nativeSrc":"1569:31:23","nodeType":"YulAssignment","src":"1569:31:23","value":{"arguments":[{"kind":"number","nativeSrc":"1589:4:23","nodeType":"YulLiteral","src":"1589:4:23","type":"","value":"0x00"},{"kind":"number","nativeSrc":"1595:4:23","nodeType":"YulLiteral","src":"1595:4:23","type":"","value":"0x3c"}],"functionName":{"name":"keccak256","nativeSrc":"1579:9:23","nodeType":"YulIdentifier","src":"1579:9:23"},"nativeSrc":"1579:21:23","nodeType":"YulFunctionCall","src":"1579:21:23"},"variableNames":[{"name":"digest","nativeSrc":"1569:6:23","nodeType":"YulIdentifier","src":"1569:6:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5094,"isOffset":false,"isSlot":false,"src":"1569:6:23","valueSize":1},{"declaration":5091,"isOffset":false,"isSlot":false,"src":"1503:11:23","valueSize":1}],"flags":["memory-safe"],"id":5096,"nodeType":"InlineAssembly","src":"1349:325:23"}]},"documentation":{"id":5089,"nodeType":"StructuredDocumentation","src":"552:690:23","text":" @dev Returns the keccak256 digest of an ERC-191 signed data with version\n `0x45` (`personal_sign` messages).\n The digest is calculated by prefixing a bytes32 `messageHash` with\n `\"\\x19Ethereum Signed Message:\\n32\"` and hashing the result. It corresponds with the\n hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with\n keccak256, although any bytes32 value can be safely used because the final digest will\n be re-hashed.\n See {ECDSA-recover}."},"id":5098,"implemented":true,"kind":"function","modifiers":[],"name":"toEthSignedMessageHash","nameLocation":"1256:22:23","nodeType":"FunctionDefinition","parameters":{"id":5092,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5091,"mutability":"mutable","name":"messageHash","nameLocation":"1287:11:23","nodeType":"VariableDeclaration","scope":5098,"src":"1279:19:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5090,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1279:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1278:21:23"},"returnParameters":{"id":5095,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5094,"mutability":"mutable","name":"digest","nameLocation":"1331:6:23","nodeType":"VariableDeclaration","scope":5098,"src":"1323:14:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5093,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1323:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1322:16:23"},"scope":5169,"src":"1247:433:23","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5123,"nodeType":"Block","src":"2257:143:23","statements":[{"expression":{"arguments":[{"arguments":[{"hexValue":"19457468657265756d205369676e6564204d6573736167653a0a","id":5110,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2309:32:23","typeDescriptions":{"typeIdentifier":"t_stringliteral_9af2d9c228f6cfddaa6d1e5b94e0bce4ab16bd9a472a2b7fbfd74ebff4c720b4","typeString":"literal_string hex\"19457468657265756d205369676e6564204d6573736167653a0a\""},"value":"\u0019Ethereum Signed Message:\n"},{"arguments":[{"arguments":[{"expression":{"id":5115,"name":"message","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5101,"src":"2366:7:23","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":5116,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2374:6:23","memberName":"length","nodeType":"MemberAccess","src":"2366:14:23","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5113,"name":"Strings","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":4508,"src":"2349:7:23","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_10444508_$","typeString":"type(library Strings)"}},"id":5114,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2357:8:23","memberName":"toString","nodeType":"MemberAccess","referencedDeclaration":3220,"src":"2349:16:23","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$","typeString":"function (uint256) pure returns (string memory)"}},"id":5117,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2349:32:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":5112,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2343:5:23","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":5111,"name":"bytes","nodeType":"ElementaryTypeName","src":"2343:5:23","typeDescriptions":{}}},"id":5118,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2343:39:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":5119,"name":"message","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5101,"src":"2384:7:23","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_9af2d9c228f6cfddaa6d1e5b94e0bce4ab16bd9a472a2b7fbfd74ebff4c720b4","typeString":"literal_string hex\"19457468657265756d205369676e6564204d6573736167653a0a\""},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5108,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2296:5:23","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes_storage_ptr_$","typeString":"type(bytes storage pointer)"},"typeName":{"id":5107,"name":"bytes","nodeType":"ElementaryTypeName","src":"2296:5:23","typeDescriptions":{}}},"id":5109,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2302:6:23","memberName":"concat","nodeType":"MemberAccess","src":"2296:12:23","typeDescriptions":{"typeIdentifier":"t_function_bytesconcat_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5120,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2296:96:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5106,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"2286:9:23","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":5121,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2286:107:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":5105,"id":5122,"nodeType":"Return","src":"2267:126:23"}]},"documentation":{"id":5099,"nodeType":"StructuredDocumentation","src":"1686:480:23","text":" @dev Returns the keccak256 digest of an ERC-191 signed data with version\n `0x45` (`personal_sign` messages).\n The digest is calculated by prefixing an arbitrary `message` with\n `\"\\x19Ethereum Signed Message:\\n\" + len(message)` and hashing the result. It corresponds with the\n hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n See {ECDSA-recover}."},"id":5124,"implemented":true,"kind":"function","modifiers":[],"name":"toEthSignedMessageHash","nameLocation":"2180:22:23","nodeType":"FunctionDefinition","parameters":{"id":5102,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5101,"mutability":"mutable","name":"message","nameLocation":"2216:7:23","nodeType":"VariableDeclaration","scope":5124,"src":"2203:20:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5100,"name":"bytes","nodeType":"ElementaryTypeName","src":"2203:5:23","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2202:22:23"},"returnParameters":{"id":5105,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5104,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5124,"src":"2248:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5103,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2248:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2247:9:23"},"scope":5169,"src":"2171:229:23","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5143,"nodeType":"Block","src":"2854:80:23","statements":[{"expression":{"arguments":[{"arguments":[{"hexValue":"1900","id":5137,"isConstant":false,"isLValue":false,"isPure":true,"kind":"hexString","lValueRequested":false,"nodeType":"Literal","src":"2898:10:23","typeDescriptions":{"typeIdentifier":"t_stringliteral_73fd5d154550a4a103564cb191928cd38898034de1b952dc21b290898b4b697a","typeString":"literal_string hex\"1900\""},"value":"\u0019\u0000"},{"id":5138,"name":"validator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5127,"src":"2910:9:23","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":5139,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5129,"src":"2921:4:23","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_73fd5d154550a4a103564cb191928cd38898034de1b952dc21b290898b4b697a","typeString":"literal_string hex\"1900\""},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":5135,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2881:3:23","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":5136,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2885:12:23","memberName":"encodePacked","nodeType":"MemberAccess","src":"2881:16:23","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":5140,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2881:45:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":5134,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"2871:9:23","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":5141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2871:56:23","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":5133,"id":5142,"nodeType":"Return","src":"2864:63:23"}]},"documentation":{"id":5125,"nodeType":"StructuredDocumentation","src":"2406:332:23","text":" @dev Returns the keccak256 digest of an ERC-191 signed data with version\n `0x00` (data with intended validator).\n The digest is calculated by prefixing an arbitrary `data` with `\"\\x19\\x00\"` and the intended\n `validator` address. Then hashing the result.\n See {ECDSA-recover}."},"id":5144,"implemented":true,"kind":"function","modifiers":[],"name":"toDataWithIntendedValidatorHash","nameLocation":"2752:31:23","nodeType":"FunctionDefinition","parameters":{"id":5130,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5127,"mutability":"mutable","name":"validator","nameLocation":"2792:9:23","nodeType":"VariableDeclaration","scope":5144,"src":"2784:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5126,"name":"address","nodeType":"ElementaryTypeName","src":"2784:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5129,"mutability":"mutable","name":"data","nameLocation":"2816:4:23","nodeType":"VariableDeclaration","scope":5144,"src":"2803:17:23","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":5128,"name":"bytes","nodeType":"ElementaryTypeName","src":"2803:5:23","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"2783:38:23"},"returnParameters":{"id":5133,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5132,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5144,"src":"2845:7:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5131,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2845:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2844:9:23"},"scope":5169,"src":"2743:191:23","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5155,"nodeType":"Block","src":"3216:216:23","statements":[{"AST":{"nativeSrc":"3251:175:23","nodeType":"YulBlock","src":"3251:175:23","statements":[{"expression":{"arguments":[{"kind":"number","nativeSrc":"3272:4:23","nodeType":"YulLiteral","src":"3272:4:23","type":"","value":"0x00"},{"hexValue":"1900","kind":"string","nativeSrc":"3278:10:23","nodeType":"YulLiteral","src":"3278:10:23","type":"","value":"\u0019\u0000"}],"functionName":{"name":"mstore","nativeSrc":"3265:6:23","nodeType":"YulIdentifier","src":"3265:6:23"},"nativeSrc":"3265:24:23","nodeType":"YulFunctionCall","src":"3265:24:23"},"nativeSrc":"3265:24:23","nodeType":"YulExpressionStatement","src":"3265:24:23"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3309:4:23","nodeType":"YulLiteral","src":"3309:4:23","type":"","value":"0x02"},{"arguments":[{"kind":"number","nativeSrc":"3319:2:23","nodeType":"YulLiteral","src":"3319:2:23","type":"","value":"96"},{"name":"validator","nativeSrc":"3323:9:23","nodeType":"YulIdentifier","src":"3323:9:23"}],"functionName":{"name":"shl","nativeSrc":"3315:3:23","nodeType":"YulIdentifier","src":"3315:3:23"},"nativeSrc":"3315:18:23","nodeType":"YulFunctionCall","src":"3315:18:23"}],"functionName":{"name":"mstore","nativeSrc":"3302:6:23","nodeType":"YulIdentifier","src":"3302:6:23"},"nativeSrc":"3302:32:23","nodeType":"YulFunctionCall","src":"3302:32:23"},"nativeSrc":"3302:32:23","nodeType":"YulExpressionStatement","src":"3302:32:23"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"3354:4:23","nodeType":"YulLiteral","src":"3354:4:23","type":"","value":"0x16"},{"name":"messageHash","nativeSrc":"3360:11:23","nodeType":"YulIdentifier","src":"3360:11:23"}],"functionName":{"name":"mstore","nativeSrc":"3347:6:23","nodeType":"YulIdentifier","src":"3347:6:23"},"nativeSrc":"3347:25:23","nodeType":"YulFunctionCall","src":"3347:25:23"},"nativeSrc":"3347:25:23","nodeType":"YulExpressionStatement","src":"3347:25:23"},{"nativeSrc":"3385:31:23","nodeType":"YulAssignment","src":"3385:31:23","value":{"arguments":[{"kind":"number","nativeSrc":"3405:4:23","nodeType":"YulLiteral","src":"3405:4:23","type":"","value":"0x00"},{"kind":"number","nativeSrc":"3411:4:23","nodeType":"YulLiteral","src":"3411:4:23","type":"","value":"0x36"}],"functionName":{"name":"keccak256","nativeSrc":"3395:9:23","nodeType":"YulIdentifier","src":"3395:9:23"},"nativeSrc":"3395:21:23","nodeType":"YulFunctionCall","src":"3395:21:23"},"variableNames":[{"name":"digest","nativeSrc":"3385:6:23","nodeType":"YulIdentifier","src":"3385:6:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5152,"isOffset":false,"isSlot":false,"src":"3385:6:23","valueSize":1},{"declaration":5149,"isOffset":false,"isSlot":false,"src":"3360:11:23","valueSize":1},{"declaration":5147,"isOffset":false,"isSlot":false,"src":"3323:9:23","valueSize":1}],"flags":["memory-safe"],"id":5154,"nodeType":"InlineAssembly","src":"3226:200:23"}]},"documentation":{"id":5145,"nodeType":"StructuredDocumentation","src":"2940:129:23","text":" @dev Variant of {toDataWithIntendedValidatorHash-address-bytes} optimized for cases where `data` is a bytes32."},"id":5156,"implemented":true,"kind":"function","modifiers":[],"name":"toDataWithIntendedValidatorHash","nameLocation":"3083:31:23","nodeType":"FunctionDefinition","parameters":{"id":5150,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5147,"mutability":"mutable","name":"validator","nameLocation":"3132:9:23","nodeType":"VariableDeclaration","scope":5156,"src":"3124:17:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":5146,"name":"address","nodeType":"ElementaryTypeName","src":"3124:7:23","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":5149,"mutability":"mutable","name":"messageHash","nameLocation":"3159:11:23","nodeType":"VariableDeclaration","scope":5156,"src":"3151:19:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5148,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3151:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3114:62:23"},"returnParameters":{"id":5153,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5152,"mutability":"mutable","name":"digest","nameLocation":"3208:6:23","nodeType":"VariableDeclaration","scope":5156,"src":"3200:14:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5151,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3200:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3199:16:23"},"scope":5169,"src":"3074:358:23","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5167,"nodeType":"Block","src":"3983:265:23","statements":[{"AST":{"nativeSrc":"4018:224:23","nodeType":"YulBlock","src":"4018:224:23","statements":[{"nativeSrc":"4032:22:23","nodeType":"YulVariableDeclaration","src":"4032:22:23","value":{"arguments":[{"kind":"number","nativeSrc":"4049:4:23","nodeType":"YulLiteral","src":"4049:4:23","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"4043:5:23","nodeType":"YulIdentifier","src":"4043:5:23"},"nativeSrc":"4043:11:23","nodeType":"YulFunctionCall","src":"4043:11:23"},"variables":[{"name":"ptr","nativeSrc":"4036:3:23","nodeType":"YulTypedName","src":"4036:3:23","type":""}]},{"expression":{"arguments":[{"name":"ptr","nativeSrc":"4074:3:23","nodeType":"YulIdentifier","src":"4074:3:23"},{"hexValue":"1901","kind":"string","nativeSrc":"4079:10:23","nodeType":"YulLiteral","src":"4079:10:23","type":"","value":"\u0019\u0001"}],"functionName":{"name":"mstore","nativeSrc":"4067:6:23","nodeType":"YulIdentifier","src":"4067:6:23"},"nativeSrc":"4067:23:23","nodeType":"YulFunctionCall","src":"4067:23:23"},"nativeSrc":"4067:23:23","nodeType":"YulExpressionStatement","src":"4067:23:23"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"4114:3:23","nodeType":"YulIdentifier","src":"4114:3:23"},{"kind":"number","nativeSrc":"4119:4:23","nodeType":"YulLiteral","src":"4119:4:23","type":"","value":"0x02"}],"functionName":{"name":"add","nativeSrc":"4110:3:23","nodeType":"YulIdentifier","src":"4110:3:23"},"nativeSrc":"4110:14:23","nodeType":"YulFunctionCall","src":"4110:14:23"},{"name":"domainSeparator","nativeSrc":"4126:15:23","nodeType":"YulIdentifier","src":"4126:15:23"}],"functionName":{"name":"mstore","nativeSrc":"4103:6:23","nodeType":"YulIdentifier","src":"4103:6:23"},"nativeSrc":"4103:39:23","nodeType":"YulFunctionCall","src":"4103:39:23"},"nativeSrc":"4103:39:23","nodeType":"YulExpressionStatement","src":"4103:39:23"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"4166:3:23","nodeType":"YulIdentifier","src":"4166:3:23"},{"kind":"number","nativeSrc":"4171:4:23","nodeType":"YulLiteral","src":"4171:4:23","type":"","value":"0x22"}],"functionName":{"name":"add","nativeSrc":"4162:3:23","nodeType":"YulIdentifier","src":"4162:3:23"},"nativeSrc":"4162:14:23","nodeType":"YulFunctionCall","src":"4162:14:23"},{"name":"structHash","nativeSrc":"4178:10:23","nodeType":"YulIdentifier","src":"4178:10:23"}],"functionName":{"name":"mstore","nativeSrc":"4155:6:23","nodeType":"YulIdentifier","src":"4155:6:23"},"nativeSrc":"4155:34:23","nodeType":"YulFunctionCall","src":"4155:34:23"},"nativeSrc":"4155:34:23","nodeType":"YulExpressionStatement","src":"4155:34:23"},{"nativeSrc":"4202:30:23","nodeType":"YulAssignment","src":"4202:30:23","value":{"arguments":[{"name":"ptr","nativeSrc":"4222:3:23","nodeType":"YulIdentifier","src":"4222:3:23"},{"kind":"number","nativeSrc":"4227:4:23","nodeType":"YulLiteral","src":"4227:4:23","type":"","value":"0x42"}],"functionName":{"name":"keccak256","nativeSrc":"4212:9:23","nodeType":"YulIdentifier","src":"4212:9:23"},"nativeSrc":"4212:20:23","nodeType":"YulFunctionCall","src":"4212:20:23"},"variableNames":[{"name":"digest","nativeSrc":"4202:6:23","nodeType":"YulIdentifier","src":"4202:6:23"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5164,"isOffset":false,"isSlot":false,"src":"4202:6:23","valueSize":1},{"declaration":5159,"isOffset":false,"isSlot":false,"src":"4126:15:23","valueSize":1},{"declaration":5161,"isOffset":false,"isSlot":false,"src":"4178:10:23","valueSize":1}],"flags":["memory-safe"],"id":5166,"nodeType":"InlineAssembly","src":"3993:249:23"}]},"documentation":{"id":5157,"nodeType":"StructuredDocumentation","src":"3438:431:23","text":" @dev Returns the keccak256 digest of an EIP-712 typed data (ERC-191 version `0x01`).\n The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with\n `\\x19\\x01` and hashing the result. It corresponds to the hash signed by the\n https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.\n See {ECDSA-recover}."},"id":5168,"implemented":true,"kind":"function","modifiers":[],"name":"toTypedDataHash","nameLocation":"3883:15:23","nodeType":"FunctionDefinition","parameters":{"id":5162,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5159,"mutability":"mutable","name":"domainSeparator","nameLocation":"3907:15:23","nodeType":"VariableDeclaration","scope":5168,"src":"3899:23:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5158,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3899:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":5161,"mutability":"mutable","name":"structHash","nameLocation":"3932:10:23","nodeType":"VariableDeclaration","scope":5168,"src":"3924:18:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5160,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3924:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3898:45:23"},"returnParameters":{"id":5165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5164,"mutability":"mutable","name":"digest","nameLocation":"3975:6:23","nodeType":"VariableDeclaration","scope":5168,"src":"3967:14:23","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":5163,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3967:7:23","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3966:16:23"},"scope":5169,"src":"3874:374:23","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":5170,"src":"521:3729:23","usedErrors":[],"usedEvents":[]}],"src":"123:4128:23"},"id":23},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/introspection/ERC165.sol","exportedSymbols":{"ERC165":[5193],"IERC165":[5205]},"id":5194,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5171,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"114:24:24"},{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","file":"./IERC165.sol","id":5173,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":5194,"sourceUnit":5206,"src":"140:38:24","symbolAliases":[{"foreign":{"id":5172,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5205,"src":"148:7:24","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":5175,"name":"IERC165","nameLocations":["688:7:24"],"nodeType":"IdentifierPath","referencedDeclaration":5205,"src":"688:7:24"},"id":5176,"nodeType":"InheritanceSpecifier","src":"688:7:24"}],"canonicalName":"ERC165","contractDependencies":[],"contractKind":"contract","documentation":{"id":5174,"nodeType":"StructuredDocumentation","src":"180:479:24","text":" @dev Implementation of the {IERC165} interface.\n Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n for the additional interface id that will be supported. For example:\n ```solidity\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n }\n ```"},"fullyImplemented":true,"id":5193,"linearizedBaseContracts":[5193,5205],"name":"ERC165","nameLocation":"678:6:24","nodeType":"ContractDefinition","nodes":[{"baseFunctions":[5204],"body":{"id":5191,"nodeType":"Block","src":"845:64:24","statements":[{"expression":{"commonType":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"id":5189,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5184,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5179,"src":"862:11:24","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"arguments":[{"id":5186,"name":"IERC165","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5205,"src":"882:7:24","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_10585205_$","typeString":"type(contract IERC165)"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_10605205_$","typeString":"type(contract IERC165)"}],"id":5185,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"877:4:24","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":5187,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"877:13:24","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_contract$_IERC165_$5205","typeString":"type(contract IERC165)"}},"id":5188,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"891:11:24","memberName":"interfaceId","nodeType":"MemberAccess","src":"877:25:24","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"src":"862:40:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":5183,"id":5190,"nodeType":"Return","src":"855:47:24"}]},"documentation":{"id":5177,"nodeType":"StructuredDocumentation","src":"702:56:24","text":" @dev See {IERC165-supportsInterface}."},"functionSelector":"01ffc9a7","id":5192,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"772:17:24","nodeType":"FunctionDefinition","parameters":{"id":5180,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5179,"mutability":"mutable","name":"interfaceId","nameLocation":"797:11:24","nodeType":"VariableDeclaration","scope":5192,"src":"790:18:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":5178,"name":"bytes4","nodeType":"ElementaryTypeName","src":"790:6:24","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"789:20:24"},"returnParameters":{"id":5183,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5182,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5192,"src":"839:4:24","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5181,"name":"bool","nodeType":"ElementaryTypeName","src":"839:4:24","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"838:6:24"},"scope":5193,"src":"763:146:24","stateMutability":"view","virtual":true,"visibility":"public"}],"scope":5194,"src":"660:251:24","usedErrors":[],"usedEvents":[]}],"src":"114:798:24"},"id":24},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/introspection/IERC165.sol","exportedSymbols":{"IERC165":[5205]},"id":5206,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5195,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"115:24:25"},{"abstract":false,"baseContracts":[],"canonicalName":"IERC165","contractDependencies":[],"contractKind":"interface","documentation":{"id":5196,"nodeType":"StructuredDocumentation","src":"141:280:25","text":" @dev Interface of the ERC-165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[ERC].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}."},"fullyImplemented":false,"id":5205,"linearizedBaseContracts":[5205],"name":"IERC165","nameLocation":"432:7:25","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":5197,"nodeType":"StructuredDocumentation","src":"446:340:25","text":" @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas."},"functionSelector":"01ffc9a7","id":5204,"implemented":false,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"800:17:25","nodeType":"FunctionDefinition","parameters":{"id":5200,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5199,"mutability":"mutable","name":"interfaceId","nameLocation":"825:11:25","nodeType":"VariableDeclaration","scope":5204,"src":"818:18:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":5198,"name":"bytes4","nodeType":"ElementaryTypeName","src":"818:6:25","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"817:20:25"},"returnParameters":{"id":5203,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5202,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5204,"src":"861:4:25","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5201,"name":"bool","nodeType":"ElementaryTypeName","src":"861:4:25","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"860:6:25"},"scope":5205,"src":"791:76:25","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":5206,"src":"422:447:25","usedErrors":[],"usedEvents":[]}],"src":"115:755:25"},"id":25},"@openzeppelin/contracts/utils/math/Math.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","exportedSymbols":{"Math":[6826],"Panic":[2696],"SafeCast":[8591]},"id":6827,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":5207,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"103:24:26"},{"absolutePath":"@openzeppelin/contracts/utils/Panic.sol","file":"../Panic.sol","id":5209,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6827,"sourceUnit":2697,"src":"129:35:26","symbolAliases":[{"foreign":{"id":5208,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"137:5:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/math/SafeCast.sol","file":"./SafeCast.sol","id":5211,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":6827,"sourceUnit":8592,"src":"165:40:26","symbolAliases":[{"foreign":{"id":5210,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"173:8:26","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"Math","contractDependencies":[],"contractKind":"library","documentation":{"id":5212,"nodeType":"StructuredDocumentation","src":"207:73:26","text":" @dev Standard math utilities missing in the Solidity language."},"fullyImplemented":true,"id":6826,"linearizedBaseContracts":[6826],"name":"Math","nameLocation":"289:4:26","nodeType":"ContractDefinition","nodes":[{"canonicalName":"Math.Rounding","id":5217,"members":[{"id":5213,"name":"Floor","nameLocation":"324:5:26","nodeType":"EnumValue","src":"324:5:26"},{"id":5214,"name":"Ceil","nameLocation":"367:4:26","nodeType":"EnumValue","src":"367:4:26"},{"id":5215,"name":"Trunc","nameLocation":"409:5:26","nodeType":"EnumValue","src":"409:5:26"},{"id":5216,"name":"Expand","nameLocation":"439:6:26","nodeType":"EnumValue","src":"439:6:26"}],"name":"Rounding","nameLocation":"305:8:26","nodeType":"EnumDefinition","src":"300:169:26"},{"body":{"id":5230,"nodeType":"Block","src":"731:112:26","statements":[{"AST":{"nativeSrc":"766:71:26","nodeType":"YulBlock","src":"766:71:26","statements":[{"nativeSrc":"780:16:26","nodeType":"YulAssignment","src":"780:16:26","value":{"arguments":[{"name":"a","nativeSrc":"791:1:26","nodeType":"YulIdentifier","src":"791:1:26"},{"name":"b","nativeSrc":"794:1:26","nodeType":"YulIdentifier","src":"794:1:26"}],"functionName":{"name":"add","nativeSrc":"787:3:26","nodeType":"YulIdentifier","src":"787:3:26"},"nativeSrc":"787:9:26","nodeType":"YulFunctionCall","src":"787:9:26"},"variableNames":[{"name":"low","nativeSrc":"780:3:26","nodeType":"YulIdentifier","src":"780:3:26"}]},{"nativeSrc":"809:18:26","nodeType":"YulAssignment","src":"809:18:26","value":{"arguments":[{"name":"low","nativeSrc":"820:3:26","nodeType":"YulIdentifier","src":"820:3:26"},{"name":"a","nativeSrc":"825:1:26","nodeType":"YulIdentifier","src":"825:1:26"}],"functionName":{"name":"lt","nativeSrc":"817:2:26","nodeType":"YulIdentifier","src":"817:2:26"},"nativeSrc":"817:10:26","nodeType":"YulFunctionCall","src":"817:10:26"},"variableNames":[{"name":"high","nativeSrc":"809:4:26","nodeType":"YulIdentifier","src":"809:4:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5220,"isOffset":false,"isSlot":false,"src":"791:1:26","valueSize":1},{"declaration":5220,"isOffset":false,"isSlot":false,"src":"825:1:26","valueSize":1},{"declaration":5222,"isOffset":false,"isSlot":false,"src":"794:1:26","valueSize":1},{"declaration":5225,"isOffset":false,"isSlot":false,"src":"809:4:26","valueSize":1},{"declaration":5227,"isOffset":false,"isSlot":false,"src":"780:3:26","valueSize":1},{"declaration":5227,"isOffset":false,"isSlot":false,"src":"820:3:26","valueSize":1}],"flags":["memory-safe"],"id":5229,"nodeType":"InlineAssembly","src":"741:96:26"}]},"documentation":{"id":5218,"nodeType":"StructuredDocumentation","src":"475:163:26","text":" @dev Return the 512-bit addition of two uint256.\n The result is stored in two 256 variables such that sum = high * 2ยฒโตโถ + low."},"id":5231,"implemented":true,"kind":"function","modifiers":[],"name":"add512","nameLocation":"652:6:26","nodeType":"FunctionDefinition","parameters":{"id":5223,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5220,"mutability":"mutable","name":"a","nameLocation":"667:1:26","nodeType":"VariableDeclaration","scope":5231,"src":"659:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5219,"name":"uint256","nodeType":"ElementaryTypeName","src":"659:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5222,"mutability":"mutable","name":"b","nameLocation":"678:1:26","nodeType":"VariableDeclaration","scope":5231,"src":"670:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5221,"name":"uint256","nodeType":"ElementaryTypeName","src":"670:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"658:22:26"},"returnParameters":{"id":5228,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5225,"mutability":"mutable","name":"high","nameLocation":"712:4:26","nodeType":"VariableDeclaration","scope":5231,"src":"704:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5224,"name":"uint256","nodeType":"ElementaryTypeName","src":"704:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5227,"mutability":"mutable","name":"low","nameLocation":"726:3:26","nodeType":"VariableDeclaration","scope":5231,"src":"718:11:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5226,"name":"uint256","nodeType":"ElementaryTypeName","src":"718:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"703:27:26"},"scope":6826,"src":"643:200:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5244,"nodeType":"Block","src":"1115:462:26","statements":[{"AST":{"nativeSrc":"1437:134:26","nodeType":"YulBlock","src":"1437:134:26","statements":[{"nativeSrc":"1451:30:26","nodeType":"YulVariableDeclaration","src":"1451:30:26","value":{"arguments":[{"name":"a","nativeSrc":"1468:1:26","nodeType":"YulIdentifier","src":"1468:1:26"},{"name":"b","nativeSrc":"1471:1:26","nodeType":"YulIdentifier","src":"1471:1:26"},{"arguments":[{"kind":"number","nativeSrc":"1478:1:26","nodeType":"YulLiteral","src":"1478:1:26","type":"","value":"0"}],"functionName":{"name":"not","nativeSrc":"1474:3:26","nodeType":"YulIdentifier","src":"1474:3:26"},"nativeSrc":"1474:6:26","nodeType":"YulFunctionCall","src":"1474:6:26"}],"functionName":{"name":"mulmod","nativeSrc":"1461:6:26","nodeType":"YulIdentifier","src":"1461:6:26"},"nativeSrc":"1461:20:26","nodeType":"YulFunctionCall","src":"1461:20:26"},"variables":[{"name":"mm","nativeSrc":"1455:2:26","nodeType":"YulTypedName","src":"1455:2:26","type":""}]},{"nativeSrc":"1494:16:26","nodeType":"YulAssignment","src":"1494:16:26","value":{"arguments":[{"name":"a","nativeSrc":"1505:1:26","nodeType":"YulIdentifier","src":"1505:1:26"},{"name":"b","nativeSrc":"1508:1:26","nodeType":"YulIdentifier","src":"1508:1:26"}],"functionName":{"name":"mul","nativeSrc":"1501:3:26","nodeType":"YulIdentifier","src":"1501:3:26"},"nativeSrc":"1501:9:26","nodeType":"YulFunctionCall","src":"1501:9:26"},"variableNames":[{"name":"low","nativeSrc":"1494:3:26","nodeType":"YulIdentifier","src":"1494:3:26"}]},{"nativeSrc":"1523:38:26","nodeType":"YulAssignment","src":"1523:38:26","value":{"arguments":[{"arguments":[{"name":"mm","nativeSrc":"1539:2:26","nodeType":"YulIdentifier","src":"1539:2:26"},{"name":"low","nativeSrc":"1543:3:26","nodeType":"YulIdentifier","src":"1543:3:26"}],"functionName":{"name":"sub","nativeSrc":"1535:3:26","nodeType":"YulIdentifier","src":"1535:3:26"},"nativeSrc":"1535:12:26","nodeType":"YulFunctionCall","src":"1535:12:26"},{"arguments":[{"name":"mm","nativeSrc":"1552:2:26","nodeType":"YulIdentifier","src":"1552:2:26"},{"name":"low","nativeSrc":"1556:3:26","nodeType":"YulIdentifier","src":"1556:3:26"}],"functionName":{"name":"lt","nativeSrc":"1549:2:26","nodeType":"YulIdentifier","src":"1549:2:26"},"nativeSrc":"1549:11:26","nodeType":"YulFunctionCall","src":"1549:11:26"}],"functionName":{"name":"sub","nativeSrc":"1531:3:26","nodeType":"YulIdentifier","src":"1531:3:26"},"nativeSrc":"1531:30:26","nodeType":"YulFunctionCall","src":"1531:30:26"},"variableNames":[{"name":"high","nativeSrc":"1523:4:26","nodeType":"YulIdentifier","src":"1523:4:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5234,"isOffset":false,"isSlot":false,"src":"1468:1:26","valueSize":1},{"declaration":5234,"isOffset":false,"isSlot":false,"src":"1505:1:26","valueSize":1},{"declaration":5236,"isOffset":false,"isSlot":false,"src":"1471:1:26","valueSize":1},{"declaration":5236,"isOffset":false,"isSlot":false,"src":"1508:1:26","valueSize":1},{"declaration":5239,"isOffset":false,"isSlot":false,"src":"1523:4:26","valueSize":1},{"declaration":5241,"isOffset":false,"isSlot":false,"src":"1494:3:26","valueSize":1},{"declaration":5241,"isOffset":false,"isSlot":false,"src":"1543:3:26","valueSize":1},{"declaration":5241,"isOffset":false,"isSlot":false,"src":"1556:3:26","valueSize":1}],"flags":["memory-safe"],"id":5243,"nodeType":"InlineAssembly","src":"1412:159:26"}]},"documentation":{"id":5232,"nodeType":"StructuredDocumentation","src":"849:173:26","text":" @dev Return the 512-bit multiplication of two uint256.\n The result is stored in two 256 variables such that product = high * 2ยฒโตโถ + low."},"id":5245,"implemented":true,"kind":"function","modifiers":[],"name":"mul512","nameLocation":"1036:6:26","nodeType":"FunctionDefinition","parameters":{"id":5237,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5234,"mutability":"mutable","name":"a","nameLocation":"1051:1:26","nodeType":"VariableDeclaration","scope":5245,"src":"1043:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5233,"name":"uint256","nodeType":"ElementaryTypeName","src":"1043:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5236,"mutability":"mutable","name":"b","nameLocation":"1062:1:26","nodeType":"VariableDeclaration","scope":5245,"src":"1054:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5235,"name":"uint256","nodeType":"ElementaryTypeName","src":"1054:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1042:22:26"},"returnParameters":{"id":5242,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5239,"mutability":"mutable","name":"high","nameLocation":"1096:4:26","nodeType":"VariableDeclaration","scope":5245,"src":"1088:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5238,"name":"uint256","nodeType":"ElementaryTypeName","src":"1088:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5241,"mutability":"mutable","name":"low","nameLocation":"1110:3:26","nodeType":"VariableDeclaration","scope":5245,"src":"1102:11:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5240,"name":"uint256","nodeType":"ElementaryTypeName","src":"1102:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1087:27:26"},"scope":6826,"src":"1027:550:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5279,"nodeType":"Block","src":"1784:149:26","statements":[{"id":5278,"nodeType":"UncheckedBlock","src":"1794:133:26","statements":[{"assignments":[5258],"declarations":[{"constant":false,"id":5258,"mutability":"mutable","name":"c","nameLocation":"1826:1:26","nodeType":"VariableDeclaration","scope":5278,"src":"1818:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5257,"name":"uint256","nodeType":"ElementaryTypeName","src":"1818:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5262,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5261,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5259,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5248,"src":"1830:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":5260,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5250,"src":"1834:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1830:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1818:17:26"},{"expression":{"id":5267,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5263,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5253,"src":"1849:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5264,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5258,"src":"1859:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":5265,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5248,"src":"1864:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1859:6:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1849:16:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5268,"nodeType":"ExpressionStatement","src":"1849:16:26"},{"expression":{"id":5276,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5269,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5255,"src":"1879:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5270,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5258,"src":"1888:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":5273,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5253,"src":"1908:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5271,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"1892:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$8591_$","typeString":"type(library SafeCast)"}},"id":5272,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1901:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"1892:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":5274,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1892:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1888:28:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1879:37:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5277,"nodeType":"ExpressionStatement","src":"1879:37:26"}]}]},"documentation":{"id":5246,"nodeType":"StructuredDocumentation","src":"1583:105:26","text":" @dev Returns the addition of two unsigned integers, with a success flag (no overflow)."},"id":5280,"implemented":true,"kind":"function","modifiers":[],"name":"tryAdd","nameLocation":"1702:6:26","nodeType":"FunctionDefinition","parameters":{"id":5251,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5248,"mutability":"mutable","name":"a","nameLocation":"1717:1:26","nodeType":"VariableDeclaration","scope":5280,"src":"1709:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5247,"name":"uint256","nodeType":"ElementaryTypeName","src":"1709:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5250,"mutability":"mutable","name":"b","nameLocation":"1728:1:26","nodeType":"VariableDeclaration","scope":5280,"src":"1720:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5249,"name":"uint256","nodeType":"ElementaryTypeName","src":"1720:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1708:22:26"},"returnParameters":{"id":5256,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5253,"mutability":"mutable","name":"success","nameLocation":"1759:7:26","nodeType":"VariableDeclaration","scope":5280,"src":"1754:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5252,"name":"bool","nodeType":"ElementaryTypeName","src":"1754:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5255,"mutability":"mutable","name":"result","nameLocation":"1776:6:26","nodeType":"VariableDeclaration","scope":5280,"src":"1768:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5254,"name":"uint256","nodeType":"ElementaryTypeName","src":"1768:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1753:30:26"},"scope":6826,"src":"1693:240:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5314,"nodeType":"Block","src":"2143:149:26","statements":[{"id":5313,"nodeType":"UncheckedBlock","src":"2153:133:26","statements":[{"assignments":[5293],"declarations":[{"constant":false,"id":5293,"mutability":"mutable","name":"c","nameLocation":"2185:1:26","nodeType":"VariableDeclaration","scope":5313,"src":"2177:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5292,"name":"uint256","nodeType":"ElementaryTypeName","src":"2177:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5297,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5294,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5283,"src":"2189:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5295,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5285,"src":"2193:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2189:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2177:17:26"},{"expression":{"id":5302,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5298,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5288,"src":"2208:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5299,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5293,"src":"2218:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":5300,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5283,"src":"2223:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2218:6:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2208:16:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5303,"nodeType":"ExpressionStatement","src":"2208:16:26"},{"expression":{"id":5311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5304,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5290,"src":"2238:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5305,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5293,"src":"2247:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":5308,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5288,"src":"2267:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5306,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"2251:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_10688591_$","typeString":"type(library SafeCast)"}},"id":5307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2260:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"2251:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":5309,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2251:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2247:28:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2238:37:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5312,"nodeType":"ExpressionStatement","src":"2238:37:26"}]}]},"documentation":{"id":5281,"nodeType":"StructuredDocumentation","src":"1939:108:26","text":" @dev Returns the subtraction of two unsigned integers, with a success flag (no overflow)."},"id":5315,"implemented":true,"kind":"function","modifiers":[],"name":"trySub","nameLocation":"2061:6:26","nodeType":"FunctionDefinition","parameters":{"id":5286,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5283,"mutability":"mutable","name":"a","nameLocation":"2076:1:26","nodeType":"VariableDeclaration","scope":5315,"src":"2068:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5282,"name":"uint256","nodeType":"ElementaryTypeName","src":"2068:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5285,"mutability":"mutable","name":"b","nameLocation":"2087:1:26","nodeType":"VariableDeclaration","scope":5315,"src":"2079:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5284,"name":"uint256","nodeType":"ElementaryTypeName","src":"2079:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2067:22:26"},"returnParameters":{"id":5291,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5288,"mutability":"mutable","name":"success","nameLocation":"2118:7:26","nodeType":"VariableDeclaration","scope":5315,"src":"2113:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5287,"name":"bool","nodeType":"ElementaryTypeName","src":"2113:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5290,"mutability":"mutable","name":"result","nameLocation":"2135:6:26","nodeType":"VariableDeclaration","scope":5315,"src":"2127:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5289,"name":"uint256","nodeType":"ElementaryTypeName","src":"2127:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2112:30:26"},"scope":6826,"src":"2052:240:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5344,"nodeType":"Block","src":"2505:391:26","statements":[{"id":5343,"nodeType":"UncheckedBlock","src":"2515:375:26","statements":[{"assignments":[5328],"declarations":[{"constant":false,"id":5328,"mutability":"mutable","name":"c","nameLocation":"2547:1:26","nodeType":"VariableDeclaration","scope":5343,"src":"2539:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5327,"name":"uint256","nodeType":"ElementaryTypeName","src":"2539:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5332,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5331,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5329,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5318,"src":"2551:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5330,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5320,"src":"2555:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2551:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2539:17:26"},{"AST":{"nativeSrc":"2595:188:26","nodeType":"YulBlock","src":"2595:188:26","statements":[{"nativeSrc":"2727:42:26","nodeType":"YulAssignment","src":"2727:42:26","value":{"arguments":[{"arguments":[{"arguments":[{"name":"c","nativeSrc":"2748:1:26","nodeType":"YulIdentifier","src":"2748:1:26"},{"name":"a","nativeSrc":"2751:1:26","nodeType":"YulIdentifier","src":"2751:1:26"}],"functionName":{"name":"div","nativeSrc":"2744:3:26","nodeType":"YulIdentifier","src":"2744:3:26"},"nativeSrc":"2744:9:26","nodeType":"YulFunctionCall","src":"2744:9:26"},{"name":"b","nativeSrc":"2755:1:26","nodeType":"YulIdentifier","src":"2755:1:26"}],"functionName":{"name":"eq","nativeSrc":"2741:2:26","nodeType":"YulIdentifier","src":"2741:2:26"},"nativeSrc":"2741:16:26","nodeType":"YulFunctionCall","src":"2741:16:26"},{"arguments":[{"name":"a","nativeSrc":"2766:1:26","nodeType":"YulIdentifier","src":"2766:1:26"}],"functionName":{"name":"iszero","nativeSrc":"2759:6:26","nodeType":"YulIdentifier","src":"2759:6:26"},"nativeSrc":"2759:9:26","nodeType":"YulFunctionCall","src":"2759:9:26"}],"functionName":{"name":"or","nativeSrc":"2738:2:26","nodeType":"YulIdentifier","src":"2738:2:26"},"nativeSrc":"2738:31:26","nodeType":"YulFunctionCall","src":"2738:31:26"},"variableNames":[{"name":"success","nativeSrc":"2727:7:26","nodeType":"YulIdentifier","src":"2727:7:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5318,"isOffset":false,"isSlot":false,"src":"2751:1:26","valueSize":1},{"declaration":5318,"isOffset":false,"isSlot":false,"src":"2766:1:26","valueSize":1},{"declaration":5320,"isOffset":false,"isSlot":false,"src":"2755:1:26","valueSize":1},{"declaration":5328,"isOffset":false,"isSlot":false,"src":"2748:1:26","valueSize":1},{"declaration":5323,"isOffset":false,"isSlot":false,"src":"2727:7:26","valueSize":1}],"flags":["memory-safe"],"id":5333,"nodeType":"InlineAssembly","src":"2570:213:26"},{"expression":{"id":5341,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5334,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5325,"src":"2842:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5335,"name":"c","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5328,"src":"2851:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":5338,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5323,"src":"2871:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5336,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"2855:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_10728591_$","typeString":"type(library SafeCast)"}},"id":5337,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2864:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"2855:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":5339,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2855:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2851:28:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2842:37:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5342,"nodeType":"ExpressionStatement","src":"2842:37:26"}]}]},"documentation":{"id":5316,"nodeType":"StructuredDocumentation","src":"2298:111:26","text":" @dev Returns the multiplication of two unsigned integers, with a success flag (no overflow)."},"id":5345,"implemented":true,"kind":"function","modifiers":[],"name":"tryMul","nameLocation":"2423:6:26","nodeType":"FunctionDefinition","parameters":{"id":5321,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5318,"mutability":"mutable","name":"a","nameLocation":"2438:1:26","nodeType":"VariableDeclaration","scope":5345,"src":"2430:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5317,"name":"uint256","nodeType":"ElementaryTypeName","src":"2430:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5320,"mutability":"mutable","name":"b","nameLocation":"2449:1:26","nodeType":"VariableDeclaration","scope":5345,"src":"2441:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5319,"name":"uint256","nodeType":"ElementaryTypeName","src":"2441:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2429:22:26"},"returnParameters":{"id":5326,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5323,"mutability":"mutable","name":"success","nameLocation":"2480:7:26","nodeType":"VariableDeclaration","scope":5345,"src":"2475:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5322,"name":"bool","nodeType":"ElementaryTypeName","src":"2475:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5325,"mutability":"mutable","name":"result","nameLocation":"2497:6:26","nodeType":"VariableDeclaration","scope":5345,"src":"2489:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5324,"name":"uint256","nodeType":"ElementaryTypeName","src":"2489:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2474:30:26"},"scope":6826,"src":"2414:482:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5365,"nodeType":"Block","src":"3111:231:26","statements":[{"id":5364,"nodeType":"UncheckedBlock","src":"3121:215:26","statements":[{"expression":{"id":5361,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5357,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5353,"src":"3145:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5358,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5350,"src":"3155:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5359,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3159:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3155:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3145:15:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5362,"nodeType":"ExpressionStatement","src":"3145:15:26"},{"AST":{"nativeSrc":"3199:127:26","nodeType":"YulBlock","src":"3199:127:26","statements":[{"nativeSrc":"3293:19:26","nodeType":"YulAssignment","src":"3293:19:26","value":{"arguments":[{"name":"a","nativeSrc":"3307:1:26","nodeType":"YulIdentifier","src":"3307:1:26"},{"name":"b","nativeSrc":"3310:1:26","nodeType":"YulIdentifier","src":"3310:1:26"}],"functionName":{"name":"div","nativeSrc":"3303:3:26","nodeType":"YulIdentifier","src":"3303:3:26"},"nativeSrc":"3303:9:26","nodeType":"YulFunctionCall","src":"3303:9:26"},"variableNames":[{"name":"result","nativeSrc":"3293:6:26","nodeType":"YulIdentifier","src":"3293:6:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5348,"isOffset":false,"isSlot":false,"src":"3307:1:26","valueSize":1},{"declaration":5350,"isOffset":false,"isSlot":false,"src":"3310:1:26","valueSize":1},{"declaration":5355,"isOffset":false,"isSlot":false,"src":"3293:6:26","valueSize":1}],"flags":["memory-safe"],"id":5363,"nodeType":"InlineAssembly","src":"3174:152:26"}]}]},"documentation":{"id":5346,"nodeType":"StructuredDocumentation","src":"2902:113:26","text":" @dev Returns the division of two unsigned integers, with a success flag (no division by zero)."},"id":5366,"implemented":true,"kind":"function","modifiers":[],"name":"tryDiv","nameLocation":"3029:6:26","nodeType":"FunctionDefinition","parameters":{"id":5351,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5348,"mutability":"mutable","name":"a","nameLocation":"3044:1:26","nodeType":"VariableDeclaration","scope":5366,"src":"3036:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5347,"name":"uint256","nodeType":"ElementaryTypeName","src":"3036:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5350,"mutability":"mutable","name":"b","nameLocation":"3055:1:26","nodeType":"VariableDeclaration","scope":5366,"src":"3047:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5349,"name":"uint256","nodeType":"ElementaryTypeName","src":"3047:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3035:22:26"},"returnParameters":{"id":5356,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5353,"mutability":"mutable","name":"success","nameLocation":"3086:7:26","nodeType":"VariableDeclaration","scope":5366,"src":"3081:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5352,"name":"bool","nodeType":"ElementaryTypeName","src":"3081:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5355,"mutability":"mutable","name":"result","nameLocation":"3103:6:26","nodeType":"VariableDeclaration","scope":5366,"src":"3095:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5354,"name":"uint256","nodeType":"ElementaryTypeName","src":"3095:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3080:30:26"},"scope":6826,"src":"3020:322:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5386,"nodeType":"Block","src":"3567:231:26","statements":[{"id":5385,"nodeType":"UncheckedBlock","src":"3577:215:26","statements":[{"expression":{"id":5382,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5378,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5374,"src":"3601:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5379,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5371,"src":"3611:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5380,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3615:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3611:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3601:15:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5383,"nodeType":"ExpressionStatement","src":"3601:15:26"},{"AST":{"nativeSrc":"3655:127:26","nodeType":"YulBlock","src":"3655:127:26","statements":[{"nativeSrc":"3749:19:26","nodeType":"YulAssignment","src":"3749:19:26","value":{"arguments":[{"name":"a","nativeSrc":"3763:1:26","nodeType":"YulIdentifier","src":"3763:1:26"},{"name":"b","nativeSrc":"3766:1:26","nodeType":"YulIdentifier","src":"3766:1:26"}],"functionName":{"name":"mod","nativeSrc":"3759:3:26","nodeType":"YulIdentifier","src":"3759:3:26"},"nativeSrc":"3759:9:26","nodeType":"YulFunctionCall","src":"3759:9:26"},"variableNames":[{"name":"result","nativeSrc":"3749:6:26","nodeType":"YulIdentifier","src":"3749:6:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5369,"isOffset":false,"isSlot":false,"src":"3763:1:26","valueSize":1},{"declaration":5371,"isOffset":false,"isSlot":false,"src":"3766:1:26","valueSize":1},{"declaration":5376,"isOffset":false,"isSlot":false,"src":"3749:6:26","valueSize":1}],"flags":["memory-safe"],"id":5384,"nodeType":"InlineAssembly","src":"3630:152:26"}]}]},"documentation":{"id":5367,"nodeType":"StructuredDocumentation","src":"3348:123:26","text":" @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero)."},"id":5387,"implemented":true,"kind":"function","modifiers":[],"name":"tryMod","nameLocation":"3485:6:26","nodeType":"FunctionDefinition","parameters":{"id":5372,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5369,"mutability":"mutable","name":"a","nameLocation":"3500:1:26","nodeType":"VariableDeclaration","scope":5387,"src":"3492:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5368,"name":"uint256","nodeType":"ElementaryTypeName","src":"3492:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5371,"mutability":"mutable","name":"b","nameLocation":"3511:1:26","nodeType":"VariableDeclaration","scope":5387,"src":"3503:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5370,"name":"uint256","nodeType":"ElementaryTypeName","src":"3503:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3491:22:26"},"returnParameters":{"id":5377,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5374,"mutability":"mutable","name":"success","nameLocation":"3542:7:26","nodeType":"VariableDeclaration","scope":5387,"src":"3537:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5373,"name":"bool","nodeType":"ElementaryTypeName","src":"3537:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5376,"mutability":"mutable","name":"result","nameLocation":"3559:6:26","nodeType":"VariableDeclaration","scope":5387,"src":"3551:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5375,"name":"uint256","nodeType":"ElementaryTypeName","src":"3551:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3536:30:26"},"scope":6826,"src":"3476:322:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5416,"nodeType":"Block","src":"3989:122:26","statements":[{"assignments":[5398,5400],"declarations":[{"constant":false,"id":5398,"mutability":"mutable","name":"success","nameLocation":"4005:7:26","nodeType":"VariableDeclaration","scope":5416,"src":"4000:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5397,"name":"bool","nodeType":"ElementaryTypeName","src":"4000:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5400,"mutability":"mutable","name":"result","nameLocation":"4022:6:26","nodeType":"VariableDeclaration","scope":5416,"src":"4014:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5399,"name":"uint256","nodeType":"ElementaryTypeName","src":"4014:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5405,"initialValue":{"arguments":[{"id":5402,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5390,"src":"4039:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5403,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5392,"src":"4042:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5401,"name":"tryAdd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5280,"src":"4032:6:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (bool,uint256)"}},"id":5404,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4032:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"3999:45:26"},{"expression":{"arguments":[{"id":5407,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5398,"src":"4069:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":5408,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5400,"src":"4078:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"arguments":[{"id":5411,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4091:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":5410,"name":"uint256","nodeType":"ElementaryTypeName","src":"4091:7:26","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":5409,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4086:4:26","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":5412,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4086:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":5413,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4100:3:26","memberName":"max","nodeType":"MemberAccess","src":"4086:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5406,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5494,"src":"4061:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":5414,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4061:43:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5396,"id":5415,"nodeType":"Return","src":"4054:50:26"}]},"documentation":{"id":5388,"nodeType":"StructuredDocumentation","src":"3804:103:26","text":" @dev Unsigned saturating addition, bounds to `2ยฒโตโถ - 1` instead of overflowing."},"id":5417,"implemented":true,"kind":"function","modifiers":[],"name":"saturatingAdd","nameLocation":"3921:13:26","nodeType":"FunctionDefinition","parameters":{"id":5393,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5390,"mutability":"mutable","name":"a","nameLocation":"3943:1:26","nodeType":"VariableDeclaration","scope":5417,"src":"3935:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5389,"name":"uint256","nodeType":"ElementaryTypeName","src":"3935:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5392,"mutability":"mutable","name":"b","nameLocation":"3954:1:26","nodeType":"VariableDeclaration","scope":5417,"src":"3946:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5391,"name":"uint256","nodeType":"ElementaryTypeName","src":"3946:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3934:22:26"},"returnParameters":{"id":5396,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5395,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5417,"src":"3980:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5394,"name":"uint256","nodeType":"ElementaryTypeName","src":"3980:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3979:9:26"},"scope":6826,"src":"3912:199:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5436,"nodeType":"Block","src":"4294:73:26","statements":[{"assignments":[null,5428],"declarations":[null,{"constant":false,"id":5428,"mutability":"mutable","name":"result","nameLocation":"4315:6:26","nodeType":"VariableDeclaration","scope":5436,"src":"4307:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5427,"name":"uint256","nodeType":"ElementaryTypeName","src":"4307:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5433,"initialValue":{"arguments":[{"id":5430,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5420,"src":"4332:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5431,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5422,"src":"4335:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5429,"name":"trySub","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5315,"src":"4325:6:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (bool,uint256)"}},"id":5432,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4325:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"4304:33:26"},{"expression":{"id":5434,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5428,"src":"4354:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5426,"id":5435,"nodeType":"Return","src":"4347:13:26"}]},"documentation":{"id":5418,"nodeType":"StructuredDocumentation","src":"4117:95:26","text":" @dev Unsigned saturating subtraction, bounds to zero instead of overflowing."},"id":5437,"implemented":true,"kind":"function","modifiers":[],"name":"saturatingSub","nameLocation":"4226:13:26","nodeType":"FunctionDefinition","parameters":{"id":5423,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5420,"mutability":"mutable","name":"a","nameLocation":"4248:1:26","nodeType":"VariableDeclaration","scope":5437,"src":"4240:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5419,"name":"uint256","nodeType":"ElementaryTypeName","src":"4240:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5422,"mutability":"mutable","name":"b","nameLocation":"4259:1:26","nodeType":"VariableDeclaration","scope":5437,"src":"4251:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5421,"name":"uint256","nodeType":"ElementaryTypeName","src":"4251:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4239:22:26"},"returnParameters":{"id":5426,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5425,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5437,"src":"4285:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5424,"name":"uint256","nodeType":"ElementaryTypeName","src":"4285:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4284:9:26"},"scope":6826,"src":"4217:150:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5466,"nodeType":"Block","src":"4564:122:26","statements":[{"assignments":[5448,5450],"declarations":[{"constant":false,"id":5448,"mutability":"mutable","name":"success","nameLocation":"4580:7:26","nodeType":"VariableDeclaration","scope":5466,"src":"4575:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5447,"name":"bool","nodeType":"ElementaryTypeName","src":"4575:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5450,"mutability":"mutable","name":"result","nameLocation":"4597:6:26","nodeType":"VariableDeclaration","scope":5466,"src":"4589:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5449,"name":"uint256","nodeType":"ElementaryTypeName","src":"4589:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5455,"initialValue":{"arguments":[{"id":5452,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5440,"src":"4614:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5453,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5442,"src":"4617:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5451,"name":"tryMul","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5345,"src":"4607:6:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (bool,uint256)"}},"id":5454,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4607:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"4574:45:26"},{"expression":{"arguments":[{"id":5457,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5448,"src":"4644:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":5458,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5450,"src":"4653:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"arguments":[{"id":5461,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4666:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":5460,"name":"uint256","nodeType":"ElementaryTypeName","src":"4666:7:26","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"}],"id":5459,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4661:4:26","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":5462,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4661:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint256","typeString":"type(uint256)"}},"id":5463,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4675:3:26","memberName":"max","nodeType":"MemberAccess","src":"4661:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5456,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5494,"src":"4636:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":5464,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4636:43:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5446,"id":5465,"nodeType":"Return","src":"4629:50:26"}]},"documentation":{"id":5438,"nodeType":"StructuredDocumentation","src":"4373:109:26","text":" @dev Unsigned saturating multiplication, bounds to `2ยฒโตโถ - 1` instead of overflowing."},"id":5467,"implemented":true,"kind":"function","modifiers":[],"name":"saturatingMul","nameLocation":"4496:13:26","nodeType":"FunctionDefinition","parameters":{"id":5443,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5440,"mutability":"mutable","name":"a","nameLocation":"4518:1:26","nodeType":"VariableDeclaration","scope":5467,"src":"4510:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5439,"name":"uint256","nodeType":"ElementaryTypeName","src":"4510:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5442,"mutability":"mutable","name":"b","nameLocation":"4529:1:26","nodeType":"VariableDeclaration","scope":5467,"src":"4521:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5441,"name":"uint256","nodeType":"ElementaryTypeName","src":"4521:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4509:22:26"},"returnParameters":{"id":5446,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5445,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5467,"src":"4555:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5444,"name":"uint256","nodeType":"ElementaryTypeName","src":"4555:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4554:9:26"},"scope":6826,"src":"4487:199:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5493,"nodeType":"Block","src":"5158:207:26","statements":[{"id":5492,"nodeType":"UncheckedBlock","src":"5168:191:26","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5490,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5479,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5474,"src":"5306:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5488,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5482,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5480,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5472,"src":"5312:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":5481,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5474,"src":"5316:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5312:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5483,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5311:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":5486,"name":"condition","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5470,"src":"5337:9:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5484,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"5321:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$8591_$","typeString":"type(library SafeCast)"}},"id":5485,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5330:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"5321:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":5487,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5321:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5311:36:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5489,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5310:38:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5306:42:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5478,"id":5491,"nodeType":"Return","src":"5299:49:26"}]}]},"documentation":{"id":5468,"nodeType":"StructuredDocumentation","src":"4692:374:26","text":" @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n one branch when needed, making this function more expensive."},"id":5494,"implemented":true,"kind":"function","modifiers":[],"name":"ternary","nameLocation":"5080:7:26","nodeType":"FunctionDefinition","parameters":{"id":5475,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5470,"mutability":"mutable","name":"condition","nameLocation":"5093:9:26","nodeType":"VariableDeclaration","scope":5494,"src":"5088:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5469,"name":"bool","nodeType":"ElementaryTypeName","src":"5088:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5472,"mutability":"mutable","name":"a","nameLocation":"5112:1:26","nodeType":"VariableDeclaration","scope":5494,"src":"5104:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5471,"name":"uint256","nodeType":"ElementaryTypeName","src":"5104:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5474,"mutability":"mutable","name":"b","nameLocation":"5123:1:26","nodeType":"VariableDeclaration","scope":5494,"src":"5115:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5473,"name":"uint256","nodeType":"ElementaryTypeName","src":"5115:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5087:38:26"},"returnParameters":{"id":5478,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5477,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5494,"src":"5149:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5476,"name":"uint256","nodeType":"ElementaryTypeName","src":"5149:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5148:9:26"},"scope":6826,"src":"5071:294:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5512,"nodeType":"Block","src":"5502:44:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5507,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5505,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5497,"src":"5527:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":5506,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5499,"src":"5531:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5527:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":5508,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5497,"src":"5534:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5509,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5499,"src":"5537:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5504,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5494,"src":"5519:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":5510,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5519:20:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5503,"id":5511,"nodeType":"Return","src":"5512:27:26"}]},"documentation":{"id":5495,"nodeType":"StructuredDocumentation","src":"5371:59:26","text":" @dev Returns the largest of two numbers."},"id":5513,"implemented":true,"kind":"function","modifiers":[],"name":"max","nameLocation":"5444:3:26","nodeType":"FunctionDefinition","parameters":{"id":5500,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5497,"mutability":"mutable","name":"a","nameLocation":"5456:1:26","nodeType":"VariableDeclaration","scope":5513,"src":"5448:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5496,"name":"uint256","nodeType":"ElementaryTypeName","src":"5448:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5499,"mutability":"mutable","name":"b","nameLocation":"5467:1:26","nodeType":"VariableDeclaration","scope":5513,"src":"5459:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5498,"name":"uint256","nodeType":"ElementaryTypeName","src":"5459:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5447:22:26"},"returnParameters":{"id":5503,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5502,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5513,"src":"5493:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5501,"name":"uint256","nodeType":"ElementaryTypeName","src":"5493:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5492:9:26"},"scope":6826,"src":"5435:111:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5531,"nodeType":"Block","src":"5684:44:26","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5526,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5524,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5516,"src":"5709:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":5525,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5518,"src":"5713:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5709:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":5527,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5516,"src":"5716:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5528,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5518,"src":"5719:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5523,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5494,"src":"5701:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":5529,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5701:20:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5522,"id":5530,"nodeType":"Return","src":"5694:27:26"}]},"documentation":{"id":5514,"nodeType":"StructuredDocumentation","src":"5552:60:26","text":" @dev Returns the smallest of two numbers."},"id":5532,"implemented":true,"kind":"function","modifiers":[],"name":"min","nameLocation":"5626:3:26","nodeType":"FunctionDefinition","parameters":{"id":5519,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5516,"mutability":"mutable","name":"a","nameLocation":"5638:1:26","nodeType":"VariableDeclaration","scope":5532,"src":"5630:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5515,"name":"uint256","nodeType":"ElementaryTypeName","src":"5630:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5518,"mutability":"mutable","name":"b","nameLocation":"5649:1:26","nodeType":"VariableDeclaration","scope":5532,"src":"5641:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5517,"name":"uint256","nodeType":"ElementaryTypeName","src":"5641:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5629:22:26"},"returnParameters":{"id":5522,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5521,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5532,"src":"5675:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5520,"name":"uint256","nodeType":"ElementaryTypeName","src":"5675:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5674:9:26"},"scope":6826,"src":"5617:111:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5554,"nodeType":"Block","src":"5912:82:26","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5552,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5544,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5542,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"5967:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":5543,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5537,"src":"5971:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5967:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5545,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5966:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5551,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5548,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5546,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5535,"src":"5977:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":5547,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5537,"src":"5981:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5977:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5549,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5976:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"32","id":5550,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5986:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"5976:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5966:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5541,"id":5553,"nodeType":"Return","src":"5959:28:26"}]},"documentation":{"id":5533,"nodeType":"StructuredDocumentation","src":"5734:102:26","text":" @dev Returns the average of two numbers. The result is rounded towards\n zero."},"id":5555,"implemented":true,"kind":"function","modifiers":[],"name":"average","nameLocation":"5850:7:26","nodeType":"FunctionDefinition","parameters":{"id":5538,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5535,"mutability":"mutable","name":"a","nameLocation":"5866:1:26","nodeType":"VariableDeclaration","scope":5555,"src":"5858:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5534,"name":"uint256","nodeType":"ElementaryTypeName","src":"5858:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5537,"mutability":"mutable","name":"b","nameLocation":"5877:1:26","nodeType":"VariableDeclaration","scope":5555,"src":"5869:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5536,"name":"uint256","nodeType":"ElementaryTypeName","src":"5869:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5857:22:26"},"returnParameters":{"id":5541,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5540,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5555,"src":"5903:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5539,"name":"uint256","nodeType":"ElementaryTypeName","src":"5903:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5902:9:26"},"scope":6826,"src":"5841:153:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5595,"nodeType":"Block","src":"6286:633:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5567,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5565,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5560,"src":"6300:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5566,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6305:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6300:6:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5576,"nodeType":"IfStatement","src":"6296:150:26","trueBody":{"id":5575,"nodeType":"Block","src":"6308:138:26","statements":[{"expression":{"arguments":[{"expression":{"id":5571,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"6412:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11132696_$","typeString":"type(library Panic)"}},"id":5572,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6418:16:26","memberName":"DIVISION_BY_ZERO","nodeType":"MemberAccess","referencedDeclaration":2663,"src":"6412:22:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5568,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"6400:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11152696_$","typeString":"type(library Panic)"}},"id":5570,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6406:5:26","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":2695,"src":"6400:11:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":5573,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6400:35:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5574,"nodeType":"ExpressionStatement","src":"6400:35:26"}]}},{"id":5594,"nodeType":"UncheckedBlock","src":"6829:84:26","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5592,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5581,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5579,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5558,"src":"6876:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6880:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6876:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5577,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"6860:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11208591_$","typeString":"type(library SafeCast)"}},"id":5578,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6869:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"6860:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":5582,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6860:22:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5590,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5588,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5585,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5583,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5558,"src":"6887:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":5584,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6891:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6887:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5586,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6886:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":5587,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5560,"src":"6896:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6886:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":5589,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6900:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6886:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5591,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6885:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6860:42:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5564,"id":5593,"nodeType":"Return","src":"6853:49:26"}]}]},"documentation":{"id":5556,"nodeType":"StructuredDocumentation","src":"6000:210:26","text":" @dev Returns the ceiling of the division of two numbers.\n This differs from standard division with `/` in that it rounds towards infinity instead\n of rounding towards zero."},"id":5596,"implemented":true,"kind":"function","modifiers":[],"name":"ceilDiv","nameLocation":"6224:7:26","nodeType":"FunctionDefinition","parameters":{"id":5561,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5558,"mutability":"mutable","name":"a","nameLocation":"6240:1:26","nodeType":"VariableDeclaration","scope":5596,"src":"6232:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5557,"name":"uint256","nodeType":"ElementaryTypeName","src":"6232:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5560,"mutability":"mutable","name":"b","nameLocation":"6251:1:26","nodeType":"VariableDeclaration","scope":5596,"src":"6243:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5559,"name":"uint256","nodeType":"ElementaryTypeName","src":"6243:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6231:22:26"},"returnParameters":{"id":5564,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5563,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5596,"src":"6277:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5562,"name":"uint256","nodeType":"ElementaryTypeName","src":"6277:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6276:9:26"},"scope":6826,"src":"6215:704:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5731,"nodeType":"Block","src":"7340:3585:26","statements":[{"id":5730,"nodeType":"UncheckedBlock","src":"7350:3569:26","statements":[{"assignments":[5609,5611],"declarations":[{"constant":false,"id":5609,"mutability":"mutable","name":"high","nameLocation":"7383:4:26","nodeType":"VariableDeclaration","scope":5730,"src":"7375:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5608,"name":"uint256","nodeType":"ElementaryTypeName","src":"7375:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5611,"mutability":"mutable","name":"low","nameLocation":"7397:3:26","nodeType":"VariableDeclaration","scope":5730,"src":"7389:11:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5610,"name":"uint256","nodeType":"ElementaryTypeName","src":"7389:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5616,"initialValue":{"arguments":[{"id":5613,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5599,"src":"7411:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5614,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5601,"src":"7414:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5612,"name":"mul512","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5245,"src":"7404:6:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256,uint256)"}},"id":5615,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7404:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"7374:42:26"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5617,"name":"high","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5609,"src":"7498:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5618,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7506:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7498:9:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5625,"nodeType":"IfStatement","src":"7494:365:26","trueBody":{"id":5624,"nodeType":"Block","src":"7509:350:26","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5620,"name":"low","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5611,"src":"7827:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":5621,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"7833:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7827:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5607,"id":5623,"nodeType":"Return","src":"7820:24:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5626,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"7969:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":5627,"name":"high","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5609,"src":"7984:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7969:19:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5644,"nodeType":"IfStatement","src":"7965:142:26","trueBody":{"id":5643,"nodeType":"Block","src":"7990:117:26","statements":[{"expression":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5635,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5633,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"8028:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5634,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8043:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8028:16:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":5636,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"8046:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$2696_$","typeString":"type(library Panic)"}},"id":5637,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8052:16:26","memberName":"DIVISION_BY_ZERO","nodeType":"MemberAccess","referencedDeclaration":2663,"src":"8046:22:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":5638,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"8070:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11302696_$","typeString":"type(library Panic)"}},"id":5639,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8076:14:26","memberName":"UNDER_OVERFLOW","nodeType":"MemberAccess","referencedDeclaration":2659,"src":"8070:20:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5632,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5494,"src":"8020:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":5640,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8020:71:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5629,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"8008:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11352696_$","typeString":"type(library Panic)"}},"id":5631,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8014:5:26","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":2695,"src":"8008:11:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":5641,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8008:84:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5642,"nodeType":"ExpressionStatement","src":"8008:84:26"}]}},{"assignments":[5646],"declarations":[{"constant":false,"id":5646,"mutability":"mutable","name":"remainder","nameLocation":"8367:9:26","nodeType":"VariableDeclaration","scope":5730,"src":"8359:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5645,"name":"uint256","nodeType":"ElementaryTypeName","src":"8359:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5647,"nodeType":"VariableDeclarationStatement","src":"8359:17:26"},{"AST":{"nativeSrc":"8415:283:26","nodeType":"YulBlock","src":"8415:283:26","statements":[{"nativeSrc":"8484:38:26","nodeType":"YulAssignment","src":"8484:38:26","value":{"arguments":[{"name":"x","nativeSrc":"8504:1:26","nodeType":"YulIdentifier","src":"8504:1:26"},{"name":"y","nativeSrc":"8507:1:26","nodeType":"YulIdentifier","src":"8507:1:26"},{"name":"denominator","nativeSrc":"8510:11:26","nodeType":"YulIdentifier","src":"8510:11:26"}],"functionName":{"name":"mulmod","nativeSrc":"8497:6:26","nodeType":"YulIdentifier","src":"8497:6:26"},"nativeSrc":"8497:25:26","nodeType":"YulFunctionCall","src":"8497:25:26"},"variableNames":[{"name":"remainder","nativeSrc":"8484:9:26","nodeType":"YulIdentifier","src":"8484:9:26"}]},{"nativeSrc":"8604:37:26","nodeType":"YulAssignment","src":"8604:37:26","value":{"arguments":[{"name":"high","nativeSrc":"8616:4:26","nodeType":"YulIdentifier","src":"8616:4:26"},{"arguments":[{"name":"remainder","nativeSrc":"8625:9:26","nodeType":"YulIdentifier","src":"8625:9:26"},{"name":"low","nativeSrc":"8636:3:26","nodeType":"YulIdentifier","src":"8636:3:26"}],"functionName":{"name":"gt","nativeSrc":"8622:2:26","nodeType":"YulIdentifier","src":"8622:2:26"},"nativeSrc":"8622:18:26","nodeType":"YulFunctionCall","src":"8622:18:26"}],"functionName":{"name":"sub","nativeSrc":"8612:3:26","nodeType":"YulIdentifier","src":"8612:3:26"},"nativeSrc":"8612:29:26","nodeType":"YulFunctionCall","src":"8612:29:26"},"variableNames":[{"name":"high","nativeSrc":"8604:4:26","nodeType":"YulIdentifier","src":"8604:4:26"}]},{"nativeSrc":"8658:26:26","nodeType":"YulAssignment","src":"8658:26:26","value":{"arguments":[{"name":"low","nativeSrc":"8669:3:26","nodeType":"YulIdentifier","src":"8669:3:26"},{"name":"remainder","nativeSrc":"8674:9:26","nodeType":"YulIdentifier","src":"8674:9:26"}],"functionName":{"name":"sub","nativeSrc":"8665:3:26","nodeType":"YulIdentifier","src":"8665:3:26"},"nativeSrc":"8665:19:26","nodeType":"YulFunctionCall","src":"8665:19:26"},"variableNames":[{"name":"low","nativeSrc":"8658:3:26","nodeType":"YulIdentifier","src":"8658:3:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5603,"isOffset":false,"isSlot":false,"src":"8510:11:26","valueSize":1},{"declaration":5609,"isOffset":false,"isSlot":false,"src":"8604:4:26","valueSize":1},{"declaration":5609,"isOffset":false,"isSlot":false,"src":"8616:4:26","valueSize":1},{"declaration":5611,"isOffset":false,"isSlot":false,"src":"8636:3:26","valueSize":1},{"declaration":5611,"isOffset":false,"isSlot":false,"src":"8658:3:26","valueSize":1},{"declaration":5611,"isOffset":false,"isSlot":false,"src":"8669:3:26","valueSize":1},{"declaration":5646,"isOffset":false,"isSlot":false,"src":"8484:9:26","valueSize":1},{"declaration":5646,"isOffset":false,"isSlot":false,"src":"8625:9:26","valueSize":1},{"declaration":5646,"isOffset":false,"isSlot":false,"src":"8674:9:26","valueSize":1},{"declaration":5599,"isOffset":false,"isSlot":false,"src":"8504:1:26","valueSize":1},{"declaration":5601,"isOffset":false,"isSlot":false,"src":"8507:1:26","valueSize":1}],"flags":["memory-safe"],"id":5648,"nodeType":"InlineAssembly","src":"8390:308:26"},{"assignments":[5650],"declarations":[{"constant":false,"id":5650,"mutability":"mutable","name":"twos","nameLocation":"8910:4:26","nodeType":"VariableDeclaration","scope":5730,"src":"8902:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5649,"name":"uint256","nodeType":"ElementaryTypeName","src":"8902:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5657,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5651,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"8917:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5654,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"30","id":5652,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8932:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5653,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"8936:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8932:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5655,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8931:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8917:31:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8902:46:26"},{"AST":{"nativeSrc":"8987:359:26","nodeType":"YulBlock","src":"8987:359:26","statements":[{"nativeSrc":"9052:37:26","nodeType":"YulAssignment","src":"9052:37:26","value":{"arguments":[{"name":"denominator","nativeSrc":"9071:11:26","nodeType":"YulIdentifier","src":"9071:11:26"},{"name":"twos","nativeSrc":"9084:4:26","nodeType":"YulIdentifier","src":"9084:4:26"}],"functionName":{"name":"div","nativeSrc":"9067:3:26","nodeType":"YulIdentifier","src":"9067:3:26"},"nativeSrc":"9067:22:26","nodeType":"YulFunctionCall","src":"9067:22:26"},"variableNames":[{"name":"denominator","nativeSrc":"9052:11:26","nodeType":"YulIdentifier","src":"9052:11:26"}]},{"nativeSrc":"9153:21:26","nodeType":"YulAssignment","src":"9153:21:26","value":{"arguments":[{"name":"low","nativeSrc":"9164:3:26","nodeType":"YulIdentifier","src":"9164:3:26"},{"name":"twos","nativeSrc":"9169:4:26","nodeType":"YulIdentifier","src":"9169:4:26"}],"functionName":{"name":"div","nativeSrc":"9160:3:26","nodeType":"YulIdentifier","src":"9160:3:26"},"nativeSrc":"9160:14:26","nodeType":"YulFunctionCall","src":"9160:14:26"},"variableNames":[{"name":"low","nativeSrc":"9153:3:26","nodeType":"YulIdentifier","src":"9153:3:26"}]},{"nativeSrc":"9293:39:26","nodeType":"YulAssignment","src":"9293:39:26","value":{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nativeSrc":"9313:1:26","nodeType":"YulLiteral","src":"9313:1:26","type":"","value":"0"},{"name":"twos","nativeSrc":"9316:4:26","nodeType":"YulIdentifier","src":"9316:4:26"}],"functionName":{"name":"sub","nativeSrc":"9309:3:26","nodeType":"YulIdentifier","src":"9309:3:26"},"nativeSrc":"9309:12:26","nodeType":"YulFunctionCall","src":"9309:12:26"},{"name":"twos","nativeSrc":"9323:4:26","nodeType":"YulIdentifier","src":"9323:4:26"}],"functionName":{"name":"div","nativeSrc":"9305:3:26","nodeType":"YulIdentifier","src":"9305:3:26"},"nativeSrc":"9305:23:26","nodeType":"YulFunctionCall","src":"9305:23:26"},{"kind":"number","nativeSrc":"9330:1:26","nodeType":"YulLiteral","src":"9330:1:26","type":"","value":"1"}],"functionName":{"name":"add","nativeSrc":"9301:3:26","nodeType":"YulIdentifier","src":"9301:3:26"},"nativeSrc":"9301:31:26","nodeType":"YulFunctionCall","src":"9301:31:26"},"variableNames":[{"name":"twos","nativeSrc":"9293:4:26","nodeType":"YulIdentifier","src":"9293:4:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":5603,"isOffset":false,"isSlot":false,"src":"9052:11:26","valueSize":1},{"declaration":5603,"isOffset":false,"isSlot":false,"src":"9071:11:26","valueSize":1},{"declaration":5611,"isOffset":false,"isSlot":false,"src":"9153:3:26","valueSize":1},{"declaration":5611,"isOffset":false,"isSlot":false,"src":"9164:3:26","valueSize":1},{"declaration":5650,"isOffset":false,"isSlot":false,"src":"9084:4:26","valueSize":1},{"declaration":5650,"isOffset":false,"isSlot":false,"src":"9169:4:26","valueSize":1},{"declaration":5650,"isOffset":false,"isSlot":false,"src":"9293:4:26","valueSize":1},{"declaration":5650,"isOffset":false,"isSlot":false,"src":"9316:4:26","valueSize":1},{"declaration":5650,"isOffset":false,"isSlot":false,"src":"9323:4:26","valueSize":1}],"flags":["memory-safe"],"id":5658,"nodeType":"InlineAssembly","src":"8962:384:26"},{"expression":{"id":5663,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5659,"name":"low","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5611,"src":"9409:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5662,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5660,"name":"high","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5609,"src":"9416:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5661,"name":"twos","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5650,"src":"9423:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9416:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9409:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5664,"nodeType":"ExpressionStatement","src":"9409:18:26"},{"assignments":[5666],"declarations":[{"constant":false,"id":5666,"mutability":"mutable","name":"inverse","nameLocation":"9770:7:26","nodeType":"VariableDeclaration","scope":5730,"src":"9762:15:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5665,"name":"uint256","nodeType":"ElementaryTypeName","src":"9762:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5673,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5672,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5669,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"33","id":5667,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9781:1:26","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5668,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"9785:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9781:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5670,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9780:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"hexValue":"32","id":5671,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9800:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"9780:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"9762:39:26"},{"expression":{"id":5680,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5674,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10018:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5679,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":5675,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10029:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5676,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"10033:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5677,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10047:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10033:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10029:25:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10018:36:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5681,"nodeType":"ExpressionStatement","src":"10018:36:26"},{"expression":{"id":5688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5682,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10088:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5687,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":5683,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10099:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5686,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5684,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"10103:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5685,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10117:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10103:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10099:25:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10088:36:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5689,"nodeType":"ExpressionStatement","src":"10088:36:26"},{"expression":{"id":5696,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5690,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10160:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5695,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":5691,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10171:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5694,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5692,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"10175:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5693,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10189:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10175:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10171:25:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10160:36:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5697,"nodeType":"ExpressionStatement","src":"10160:36:26"},{"expression":{"id":5704,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5698,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10231:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5703,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":5699,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10242:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5700,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"10246:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5701,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10260:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10246:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10242:25:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10231:36:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5705,"nodeType":"ExpressionStatement","src":"10231:36:26"},{"expression":{"id":5712,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5706,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10304:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":5707,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10315:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5710,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5708,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"10319:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5709,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10333:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10319:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10315:25:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10304:36:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5713,"nodeType":"ExpressionStatement","src":"10304:36:26"},{"expression":{"id":5720,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5714,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10378:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"*=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":5715,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10389:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5718,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5716,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5603,"src":"10393:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5717,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10407:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10393:21:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10389:25:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10378:36:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5721,"nodeType":"ExpressionStatement","src":"10378:36:26"},{"expression":{"id":5726,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":5722,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5606,"src":"10859:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5725,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5723,"name":"low","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5611,"src":"10868:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5724,"name":"inverse","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5666,"src":"10874:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10868:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10859:22:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":5727,"nodeType":"ExpressionStatement","src":"10859:22:26"},{"expression":{"id":5728,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5606,"src":"10902:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5607,"id":5729,"nodeType":"Return","src":"10895:13:26"}]}]},"documentation":{"id":5597,"nodeType":"StructuredDocumentation","src":"6925:312:26","text":" @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n denominator == 0.\n Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n Uniswap Labs also under MIT license."},"id":5732,"implemented":true,"kind":"function","modifiers":[],"name":"mulDiv","nameLocation":"7251:6:26","nodeType":"FunctionDefinition","parameters":{"id":5604,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5599,"mutability":"mutable","name":"x","nameLocation":"7266:1:26","nodeType":"VariableDeclaration","scope":5732,"src":"7258:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5598,"name":"uint256","nodeType":"ElementaryTypeName","src":"7258:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5601,"mutability":"mutable","name":"y","nameLocation":"7277:1:26","nodeType":"VariableDeclaration","scope":5732,"src":"7269:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5600,"name":"uint256","nodeType":"ElementaryTypeName","src":"7269:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5603,"mutability":"mutable","name":"denominator","nameLocation":"7288:11:26","nodeType":"VariableDeclaration","scope":5732,"src":"7280:19:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5602,"name":"uint256","nodeType":"ElementaryTypeName","src":"7280:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7257:43:26"},"returnParameters":{"id":5607,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5606,"mutability":"mutable","name":"result","nameLocation":"7332:6:26","nodeType":"VariableDeclaration","scope":5732,"src":"7324:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5605,"name":"uint256","nodeType":"ElementaryTypeName","src":"7324:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7323:16:26"},"scope":6826,"src":"7242:3683:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5768,"nodeType":"Block","src":"11164:128:26","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5766,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5748,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5735,"src":"11188:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5749,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5737,"src":"11191:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5750,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5739,"src":"11194:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5747,"name":"mulDiv","nodeType":"Identifier","overloadedDeclarations":[5732,5769],"referencedDeclaration":5732,"src":"11181:6:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":5751,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11181:25:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5764,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5755,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5742,"src":"11242:8:26","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_11435217","typeString":"enum Math.Rounding"}],"id":5754,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6825,"src":"11225:16:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$5217_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":5756,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11225:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5763,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5758,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5735,"src":"11262:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5759,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5737,"src":"11265:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5760,"name":"denominator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5739,"src":"11268:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5757,"name":"mulmod","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-16,"src":"11255:6:26","typeDescriptions":{"typeIdentifier":"t_function_mulmod_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":5761,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11255:25:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5762,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11283:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11255:29:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"11225:59:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5752,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"11209:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11508591_$","typeString":"type(library SafeCast)"}},"id":5753,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11218:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"11209:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":5765,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11209:76:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11181:104:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5746,"id":5767,"nodeType":"Return","src":"11174:111:26"}]},"documentation":{"id":5733,"nodeType":"StructuredDocumentation","src":"10931:118:26","text":" @dev Calculates x * y / denominator with full precision, following the selected rounding direction."},"id":5769,"implemented":true,"kind":"function","modifiers":[],"name":"mulDiv","nameLocation":"11063:6:26","nodeType":"FunctionDefinition","parameters":{"id":5743,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5735,"mutability":"mutable","name":"x","nameLocation":"11078:1:26","nodeType":"VariableDeclaration","scope":5769,"src":"11070:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5734,"name":"uint256","nodeType":"ElementaryTypeName","src":"11070:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5737,"mutability":"mutable","name":"y","nameLocation":"11089:1:26","nodeType":"VariableDeclaration","scope":5769,"src":"11081:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5736,"name":"uint256","nodeType":"ElementaryTypeName","src":"11081:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5739,"mutability":"mutable","name":"denominator","nameLocation":"11100:11:26","nodeType":"VariableDeclaration","scope":5769,"src":"11092:19:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5738,"name":"uint256","nodeType":"ElementaryTypeName","src":"11092:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5742,"mutability":"mutable","name":"rounding","nameLocation":"11122:8:26","nodeType":"VariableDeclaration","scope":5769,"src":"11113:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"},"typeName":{"id":5741,"nodeType":"UserDefinedTypeName","pathNode":{"id":5740,"name":"Rounding","nameLocations":["11113:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":5217,"src":"11113:8:26"},"referencedDeclaration":5217,"src":"11113:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_11545217","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"11069:62:26"},"returnParameters":{"id":5746,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5745,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5769,"src":"11155:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5744,"name":"uint256","nodeType":"ElementaryTypeName","src":"11155:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11154:9:26"},"scope":6826,"src":"11054:238:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5818,"nodeType":"Block","src":"11500:245:26","statements":[{"id":5817,"nodeType":"UncheckedBlock","src":"11510:229:26","statements":[{"assignments":[5782,5784],"declarations":[{"constant":false,"id":5782,"mutability":"mutable","name":"high","nameLocation":"11543:4:26","nodeType":"VariableDeclaration","scope":5817,"src":"11535:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5781,"name":"uint256","nodeType":"ElementaryTypeName","src":"11535:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5784,"mutability":"mutable","name":"low","nameLocation":"11557:3:26","nodeType":"VariableDeclaration","scope":5817,"src":"11549:11:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5783,"name":"uint256","nodeType":"ElementaryTypeName","src":"11549:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5789,"initialValue":{"arguments":[{"id":5786,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5772,"src":"11571:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5787,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5774,"src":"11574:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5785,"name":"mul512","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5245,"src":"11564:6:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256,uint256)"}},"id":5788,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11564:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"11534:42:26"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5794,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5790,"name":"high","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5782,"src":"11594:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":5791,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11602:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"id":5792,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5776,"src":"11607:1:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"11602:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11594:14:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5803,"nodeType":"IfStatement","src":"11590:86:26","trueBody":{"id":5802,"nodeType":"Block","src":"11610:66:26","statements":[{"expression":{"arguments":[{"expression":{"id":5798,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"11640:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11602696_$","typeString":"type(library Panic)"}},"id":5799,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11646:14:26","memberName":"UNDER_OVERFLOW","nodeType":"MemberAccess","referencedDeclaration":2659,"src":"11640:20:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5795,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"11628:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11622696_$","typeString":"type(library Panic)"}},"id":5797,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11634:5:26","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":2695,"src":"11628:11:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":5800,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11628:33:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5801,"nodeType":"ExpressionStatement","src":"11628:33:26"}]}},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5815,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5809,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5804,"name":"high","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5782,"src":"11697:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":5807,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"323536","id":5805,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11706:3:26","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"value":"256"},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":5806,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5776,"src":"11712:1:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"11706:7:26","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"id":5808,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11705:9:26","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"11697:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5810,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11696:19:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5811,"name":"low","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5784,"src":"11719:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":5812,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5776,"src":"11726:1:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"11719:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5814,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"11718:10:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11696:32:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5780,"id":5816,"nodeType":"Return","src":"11689:39:26"}]}]},"documentation":{"id":5770,"nodeType":"StructuredDocumentation","src":"11298:111:26","text":" @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256."},"id":5819,"implemented":true,"kind":"function","modifiers":[],"name":"mulShr","nameLocation":"11423:6:26","nodeType":"FunctionDefinition","parameters":{"id":5777,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5772,"mutability":"mutable","name":"x","nameLocation":"11438:1:26","nodeType":"VariableDeclaration","scope":5819,"src":"11430:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5771,"name":"uint256","nodeType":"ElementaryTypeName","src":"11430:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5774,"mutability":"mutable","name":"y","nameLocation":"11449:1:26","nodeType":"VariableDeclaration","scope":5819,"src":"11441:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5773,"name":"uint256","nodeType":"ElementaryTypeName","src":"11441:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5776,"mutability":"mutable","name":"n","nameLocation":"11458:1:26","nodeType":"VariableDeclaration","scope":5819,"src":"11452:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5775,"name":"uint8","nodeType":"ElementaryTypeName","src":"11452:5:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"11429:31:26"},"returnParameters":{"id":5780,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5779,"mutability":"mutable","name":"result","nameLocation":"11492:6:26","nodeType":"VariableDeclaration","scope":5819,"src":"11484:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5778,"name":"uint256","nodeType":"ElementaryTypeName","src":"11484:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11483:16:26"},"scope":6826,"src":"11414:331:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5857,"nodeType":"Block","src":"11963:113:26","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5855,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5835,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5822,"src":"11987:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5836,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5824,"src":"11990:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5837,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5826,"src":"11993:1:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":5834,"name":"mulShr","nodeType":"Identifier","overloadedDeclarations":[5819,5858],"referencedDeclaration":5819,"src":"11980:6:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$_t_uint8_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint8) pure returns (uint256)"}},"id":5838,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11980:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":5853,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5842,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5829,"src":"12031:8:26","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_11705217","typeString":"enum Math.Rounding"}],"id":5841,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6825,"src":"12014:16:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$5217_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":5843,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12014:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5852,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":5845,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5822,"src":"12051:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5846,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5824,"src":"12054:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5849,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":5847,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12057:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"id":5848,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5826,"src":"12062:1:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"12057:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5844,"name":"mulmod","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-16,"src":"12044:6:26","typeDescriptions":{"typeIdentifier":"t_function_mulmod_pure$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) pure returns (uint256)"}},"id":5850,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12044:20:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":5851,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12067:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"12044:24:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"12014:54:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":5839,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"11998:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_11778591_$","typeString":"type(library SafeCast)"}},"id":5840,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12007:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"11998:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":5854,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11998:71:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11980:89:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5833,"id":5856,"nodeType":"Return","src":"11973:96:26"}]},"documentation":{"id":5820,"nodeType":"StructuredDocumentation","src":"11751:109:26","text":" @dev Calculates x * y >> n with full precision, following the selected rounding direction."},"id":5858,"implemented":true,"kind":"function","modifiers":[],"name":"mulShr","nameLocation":"11874:6:26","nodeType":"FunctionDefinition","parameters":{"id":5830,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5822,"mutability":"mutable","name":"x","nameLocation":"11889:1:26","nodeType":"VariableDeclaration","scope":5858,"src":"11881:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5821,"name":"uint256","nodeType":"ElementaryTypeName","src":"11881:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5824,"mutability":"mutable","name":"y","nameLocation":"11900:1:26","nodeType":"VariableDeclaration","scope":5858,"src":"11892:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5823,"name":"uint256","nodeType":"ElementaryTypeName","src":"11892:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5826,"mutability":"mutable","name":"n","nameLocation":"11909:1:26","nodeType":"VariableDeclaration","scope":5858,"src":"11903:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":5825,"name":"uint8","nodeType":"ElementaryTypeName","src":"11903:5:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":5829,"mutability":"mutable","name":"rounding","nameLocation":"11921:8:26","nodeType":"VariableDeclaration","scope":5858,"src":"11912:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"},"typeName":{"id":5828,"nodeType":"UserDefinedTypeName","pathNode":{"id":5827,"name":"Rounding","nameLocations":["11912:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":5217,"src":"11912:8:26"},"referencedDeclaration":5217,"src":"11912:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_11815217","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"11880:50:26"},"returnParameters":{"id":5833,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5832,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5858,"src":"11954:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5831,"name":"uint256","nodeType":"ElementaryTypeName","src":"11954:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11953:9:26"},"scope":6826,"src":"11865:211:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5954,"nodeType":"Block","src":"12710:1849:26","statements":[{"id":5953,"nodeType":"UncheckedBlock","src":"12720:1833:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5870,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5868,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5863,"src":"12748:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":5869,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12753:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"12748:6:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5873,"nodeType":"IfStatement","src":"12744:20:26","trueBody":{"expression":{"hexValue":"30","id":5871,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12763:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":5867,"id":5872,"nodeType":"Return","src":"12756:8:26"}},{"assignments":[5875],"declarations":[{"constant":false,"id":5875,"mutability":"mutable","name":"remainder","nameLocation":"13243:9:26","nodeType":"VariableDeclaration","scope":5953,"src":"13235:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5874,"name":"uint256","nodeType":"ElementaryTypeName","src":"13235:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5879,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5878,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5876,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5861,"src":"13255:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"%","rightExpression":{"id":5877,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5863,"src":"13259:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13255:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13235:25:26"},{"assignments":[5881],"declarations":[{"constant":false,"id":5881,"mutability":"mutable","name":"gcd","nameLocation":"13282:3:26","nodeType":"VariableDeclaration","scope":5953,"src":"13274:11:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5880,"name":"uint256","nodeType":"ElementaryTypeName","src":"13274:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5883,"initialValue":{"id":5882,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5863,"src":"13288:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13274:15:26"},{"assignments":[5885],"declarations":[{"constant":false,"id":5885,"mutability":"mutable","name":"x","nameLocation":"13432:1:26","nodeType":"VariableDeclaration","scope":5953,"src":"13425:8:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5884,"name":"int256","nodeType":"ElementaryTypeName","src":"13425:6:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":5887,"initialValue":{"hexValue":"30","id":5886,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13436:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"13425:12:26"},{"assignments":[5889],"declarations":[{"constant":false,"id":5889,"mutability":"mutable","name":"y","nameLocation":"13458:1:26","nodeType":"VariableDeclaration","scope":5953,"src":"13451:8:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":5888,"name":"int256","nodeType":"ElementaryTypeName","src":"13451:6:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":5891,"initialValue":{"hexValue":"31","id":5890,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13462:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"VariableDeclarationStatement","src":"13451:12:26"},{"body":{"id":5928,"nodeType":"Block","src":"13501:882:26","statements":[{"assignments":[5896],"declarations":[{"constant":false,"id":5896,"mutability":"mutable","name":"quotient","nameLocation":"13527:8:26","nodeType":"VariableDeclaration","scope":5928,"src":"13519:16:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5895,"name":"uint256","nodeType":"ElementaryTypeName","src":"13519:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5900,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5897,"name":"gcd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5881,"src":"13538:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":5898,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5875,"src":"13544:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13538:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13519:34:26"},{"expression":{"id":5911,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":5901,"name":"gcd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5881,"src":"13573:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5902,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5875,"src":"13578:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5903,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"13572:16:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":5904,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5875,"src":"13678:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5909,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5905,"name":"gcd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5881,"src":"13923:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5908,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5906,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5875,"src":"13929:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":5907,"name":"quotient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5896,"src":"13941:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13929:20:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13923:26:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":5910,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13591:376:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_uint256_$_t_uint256_$","typeString":"tuple(uint256,uint256)"}},"src":"13572:395:26","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5912,"nodeType":"ExpressionStatement","src":"13572:395:26"},{"expression":{"id":5926,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"components":[{"id":5913,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5885,"src":"13987:1:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":5914,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5889,"src":"13990:1:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":5915,"isConstant":false,"isInlineArray":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"TupleExpression","src":"13986:6:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$","typeString":"tuple(int256,int256)"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"components":[{"id":5916,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5889,"src":"14072:1:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5924,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5917,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5885,"src":"14326:1:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5923,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5918,"name":"y","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5889,"src":"14330:1:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":5921,"name":"quotient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5896,"src":"14341:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5920,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14334:6:26","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":5919,"name":"int256","nodeType":"ElementaryTypeName","src":"14334:6:26","typeDescriptions":{}}},"id":5922,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14334:16:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"14330:20:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"14326:24:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":5925,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"13995:373:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_int256_$_t_int256_$","typeString":"tuple(int256,int256)"}},"src":"13986:382:26","typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":5927,"nodeType":"ExpressionStatement","src":"13986:382:26"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5894,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5892,"name":"remainder","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5875,"src":"13485:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":5893,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13498:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13485:14:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5929,"nodeType":"WhileStatement","src":"13478:905:26"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5932,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5930,"name":"gcd","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5881,"src":"14401:3:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"31","id":5931,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14408:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"14401:8:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":5935,"nodeType":"IfStatement","src":"14397:22:26","trueBody":{"expression":{"hexValue":"30","id":5933,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14418:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"functionReturnParameters":5867,"id":5934,"nodeType":"Return","src":"14411:8:26"}},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":5939,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5937,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5885,"src":"14470:1:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":5938,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14474:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"14470:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5946,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5940,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5863,"src":"14477:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"id":5944,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"-","prefix":true,"src":"14489:2:26","subExpression":{"id":5943,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5885,"src":"14490:1:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5942,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14481:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":5941,"name":"uint256","nodeType":"ElementaryTypeName","src":"14481:7:26","typeDescriptions":{}}},"id":5945,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14481:11:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14477:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":5949,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5885,"src":"14502:1:26","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":5948,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14494:7:26","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":5947,"name":"uint256","nodeType":"ElementaryTypeName","src":"14494:7:26","typeDescriptions":{}}},"id":5950,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14494:10:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5936,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5494,"src":"14462:7:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (bool,uint256,uint256) pure returns (uint256)"}},"id":5951,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14462:43:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5867,"id":5952,"nodeType":"Return","src":"14455:50:26"}]}]},"documentation":{"id":5859,"nodeType":"StructuredDocumentation","src":"12082:553:26","text":" @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n If the input value is not inversible, 0 is returned.\n NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}."},"id":5955,"implemented":true,"kind":"function","modifiers":[],"name":"invMod","nameLocation":"12649:6:26","nodeType":"FunctionDefinition","parameters":{"id":5864,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5861,"mutability":"mutable","name":"a","nameLocation":"12664:1:26","nodeType":"VariableDeclaration","scope":5955,"src":"12656:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5860,"name":"uint256","nodeType":"ElementaryTypeName","src":"12656:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5863,"mutability":"mutable","name":"n","nameLocation":"12675:1:26","nodeType":"VariableDeclaration","scope":5955,"src":"12667:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5862,"name":"uint256","nodeType":"ElementaryTypeName","src":"12667:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12655:22:26"},"returnParameters":{"id":5867,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5866,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5955,"src":"12701:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5865,"name":"uint256","nodeType":"ElementaryTypeName","src":"12701:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12700:9:26"},"scope":6826,"src":"12640:1919:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":5975,"nodeType":"Block","src":"15159:82:26","statements":[{"id":5974,"nodeType":"UncheckedBlock","src":"15169:66:26","statements":[{"expression":{"arguments":[{"id":5967,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5958,"src":"15212:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":5970,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":5968,"name":"p","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5960,"src":"15215:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"32","id":5969,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15219:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"15215:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5971,"name":"p","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5960,"src":"15222:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":5965,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6826,"src":"15200:4:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Math_$6826_$","typeString":"type(library Math)"}},"id":5966,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15205:6:26","memberName":"modExp","nodeType":"MemberAccess","referencedDeclaration":6012,"src":"15200:11:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256,uint256) view returns (uint256)"}},"id":5972,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15200:24:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5964,"id":5973,"nodeType":"Return","src":"15193:31:26"}]}]},"documentation":{"id":5956,"nodeType":"StructuredDocumentation","src":"14565:514:26","text":" @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n prime, then `a**(p-1) โก 1 mod p`. As a consequence, we have `a * a**(p-2) โก 1 mod p`, which means that\n `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n NOTE: this function does NOT check that `p` is a prime greater than `2`."},"id":5976,"implemented":true,"kind":"function","modifiers":[],"name":"invModPrime","nameLocation":"15093:11:26","nodeType":"FunctionDefinition","parameters":{"id":5961,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5958,"mutability":"mutable","name":"a","nameLocation":"15113:1:26","nodeType":"VariableDeclaration","scope":5976,"src":"15105:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5957,"name":"uint256","nodeType":"ElementaryTypeName","src":"15105:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5960,"mutability":"mutable","name":"p","nameLocation":"15124:1:26","nodeType":"VariableDeclaration","scope":5976,"src":"15116:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5959,"name":"uint256","nodeType":"ElementaryTypeName","src":"15116:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15104:22:26"},"returnParameters":{"id":5964,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5963,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":5976,"src":"15150:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5962,"name":"uint256","nodeType":"ElementaryTypeName","src":"15150:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15149:9:26"},"scope":6826,"src":"15084:157:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":6011,"nodeType":"Block","src":"16011:174:26","statements":[{"assignments":[5989,5991],"declarations":[{"constant":false,"id":5989,"mutability":"mutable","name":"success","nameLocation":"16027:7:26","nodeType":"VariableDeclaration","scope":6011,"src":"16022:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":5988,"name":"bool","nodeType":"ElementaryTypeName","src":"16022:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":5991,"mutability":"mutable","name":"result","nameLocation":"16044:6:26","nodeType":"VariableDeclaration","scope":6011,"src":"16036:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5990,"name":"uint256","nodeType":"ElementaryTypeName","src":"16036:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":5997,"initialValue":{"arguments":[{"id":5993,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5979,"src":"16064:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5994,"name":"e","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5981,"src":"16067:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":5995,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5983,"src":"16070:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":5992,"name":"tryModExp","nodeType":"Identifier","overloadedDeclarations":[6036,6118],"referencedDeclaration":6036,"src":"16054:9:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_bool_$_t_uint256_$","typeString":"function (uint256,uint256,uint256) view returns (bool,uint256)"}},"id":5996,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16054:18:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_uint256_$","typeString":"tuple(bool,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"16021:51:26"},{"condition":{"id":5999,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"16086:8:26","subExpression":{"id":5998,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5989,"src":"16087:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6008,"nodeType":"IfStatement","src":"16082:74:26","trueBody":{"id":6007,"nodeType":"Block","src":"16096:60:26","statements":[{"expression":{"arguments":[{"expression":{"id":6003,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"16122:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12062696_$","typeString":"type(library Panic)"}},"id":6004,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16128:16:26","memberName":"DIVISION_BY_ZERO","nodeType":"MemberAccess","referencedDeclaration":2663,"src":"16122:22:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":6000,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"16110:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12082696_$","typeString":"type(library Panic)"}},"id":6002,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16116:5:26","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":2695,"src":"16110:11:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":6005,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16110:35:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6006,"nodeType":"ExpressionStatement","src":"16110:35:26"}]}},{"expression":{"id":6009,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":5991,"src":"16172:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":5987,"id":6010,"nodeType":"Return","src":"16165:13:26"}]},"documentation":{"id":5977,"nodeType":"StructuredDocumentation","src":"15247:678:26","text":" @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n Requirements:\n - modulus can't be zero\n - underlying staticcall to precompile must succeed\n IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n sure the chain you're using it on supports the precompiled contract for modular exponentiation\n at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n interpreted as 0."},"id":6012,"implemented":true,"kind":"function","modifiers":[],"name":"modExp","nameLocation":"15939:6:26","nodeType":"FunctionDefinition","parameters":{"id":5984,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5979,"mutability":"mutable","name":"b","nameLocation":"15954:1:26","nodeType":"VariableDeclaration","scope":6012,"src":"15946:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5978,"name":"uint256","nodeType":"ElementaryTypeName","src":"15946:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5981,"mutability":"mutable","name":"e","nameLocation":"15965:1:26","nodeType":"VariableDeclaration","scope":6012,"src":"15957:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5980,"name":"uint256","nodeType":"ElementaryTypeName","src":"15957:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":5983,"mutability":"mutable","name":"m","nameLocation":"15976:1:26","nodeType":"VariableDeclaration","scope":6012,"src":"15968:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5982,"name":"uint256","nodeType":"ElementaryTypeName","src":"15968:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15945:33:26"},"returnParameters":{"id":5987,"nodeType":"ParameterList","parameters":[{"constant":false,"id":5986,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6012,"src":"16002:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":5985,"name":"uint256","nodeType":"ElementaryTypeName","src":"16002:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16001:9:26"},"scope":6826,"src":"15930:255:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":6035,"nodeType":"Block","src":"17039:1493:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6028,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6026,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6019,"src":"17053:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":6027,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17058:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"17053:6:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6033,"nodeType":"IfStatement","src":"17049:29:26","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":6029,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"17069:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"hexValue":"30","id":6030,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17076:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":6031,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"17068:10:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_rational_0_by_1_$","typeString":"tuple(bool,int_const 0)"}},"functionReturnParameters":6025,"id":6032,"nodeType":"Return","src":"17061:17:26"}},{"AST":{"nativeSrc":"17113:1413:26","nodeType":"YulBlock","src":"17113:1413:26","statements":[{"nativeSrc":"17127:22:26","nodeType":"YulVariableDeclaration","src":"17127:22:26","value":{"arguments":[{"kind":"number","nativeSrc":"17144:4:26","nodeType":"YulLiteral","src":"17144:4:26","type":"","value":"0x40"}],"functionName":{"name":"mload","nativeSrc":"17138:5:26","nodeType":"YulIdentifier","src":"17138:5:26"},"nativeSrc":"17138:11:26","nodeType":"YulFunctionCall","src":"17138:11:26"},"variables":[{"name":"ptr","nativeSrc":"17131:3:26","nodeType":"YulTypedName","src":"17131:3:26","type":""}]},{"expression":{"arguments":[{"name":"ptr","nativeSrc":"18057:3:26","nodeType":"YulIdentifier","src":"18057:3:26"},{"kind":"number","nativeSrc":"18062:4:26","nodeType":"YulLiteral","src":"18062:4:26","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"18050:6:26","nodeType":"YulIdentifier","src":"18050:6:26"},"nativeSrc":"18050:17:26","nodeType":"YulFunctionCall","src":"18050:17:26"},"nativeSrc":"18050:17:26","nodeType":"YulExpressionStatement","src":"18050:17:26"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"18091:3:26","nodeType":"YulIdentifier","src":"18091:3:26"},{"kind":"number","nativeSrc":"18096:4:26","nodeType":"YulLiteral","src":"18096:4:26","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"18087:3:26","nodeType":"YulIdentifier","src":"18087:3:26"},"nativeSrc":"18087:14:26","nodeType":"YulFunctionCall","src":"18087:14:26"},{"kind":"number","nativeSrc":"18103:4:26","nodeType":"YulLiteral","src":"18103:4:26","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"18080:6:26","nodeType":"YulIdentifier","src":"18080:6:26"},"nativeSrc":"18080:28:26","nodeType":"YulFunctionCall","src":"18080:28:26"},"nativeSrc":"18080:28:26","nodeType":"YulExpressionStatement","src":"18080:28:26"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"18132:3:26","nodeType":"YulIdentifier","src":"18132:3:26"},{"kind":"number","nativeSrc":"18137:4:26","nodeType":"YulLiteral","src":"18137:4:26","type":"","value":"0x40"}],"functionName":{"name":"add","nativeSrc":"18128:3:26","nodeType":"YulIdentifier","src":"18128:3:26"},"nativeSrc":"18128:14:26","nodeType":"YulFunctionCall","src":"18128:14:26"},{"kind":"number","nativeSrc":"18144:4:26","nodeType":"YulLiteral","src":"18144:4:26","type":"","value":"0x20"}],"functionName":{"name":"mstore","nativeSrc":"18121:6:26","nodeType":"YulIdentifier","src":"18121:6:26"},"nativeSrc":"18121:28:26","nodeType":"YulFunctionCall","src":"18121:28:26"},"nativeSrc":"18121:28:26","nodeType":"YulExpressionStatement","src":"18121:28:26"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"18173:3:26","nodeType":"YulIdentifier","src":"18173:3:26"},{"kind":"number","nativeSrc":"18178:4:26","nodeType":"YulLiteral","src":"18178:4:26","type":"","value":"0x60"}],"functionName":{"name":"add","nativeSrc":"18169:3:26","nodeType":"YulIdentifier","src":"18169:3:26"},"nativeSrc":"18169:14:26","nodeType":"YulFunctionCall","src":"18169:14:26"},{"name":"b","nativeSrc":"18185:1:26","nodeType":"YulIdentifier","src":"18185:1:26"}],"functionName":{"name":"mstore","nativeSrc":"18162:6:26","nodeType":"YulIdentifier","src":"18162:6:26"},"nativeSrc":"18162:25:26","nodeType":"YulFunctionCall","src":"18162:25:26"},"nativeSrc":"18162:25:26","nodeType":"YulExpressionStatement","src":"18162:25:26"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"18211:3:26","nodeType":"YulIdentifier","src":"18211:3:26"},{"kind":"number","nativeSrc":"18216:4:26","nodeType":"YulLiteral","src":"18216:4:26","type":"","value":"0x80"}],"functionName":{"name":"add","nativeSrc":"18207:3:26","nodeType":"YulIdentifier","src":"18207:3:26"},"nativeSrc":"18207:14:26","nodeType":"YulFunctionCall","src":"18207:14:26"},{"name":"e","nativeSrc":"18223:1:26","nodeType":"YulIdentifier","src":"18223:1:26"}],"functionName":{"name":"mstore","nativeSrc":"18200:6:26","nodeType":"YulIdentifier","src":"18200:6:26"},"nativeSrc":"18200:25:26","nodeType":"YulFunctionCall","src":"18200:25:26"},"nativeSrc":"18200:25:26","nodeType":"YulExpressionStatement","src":"18200:25:26"},{"expression":{"arguments":[{"arguments":[{"name":"ptr","nativeSrc":"18249:3:26","nodeType":"YulIdentifier","src":"18249:3:26"},{"kind":"number","nativeSrc":"18254:4:26","nodeType":"YulLiteral","src":"18254:4:26","type":"","value":"0xa0"}],"functionName":{"name":"add","nativeSrc":"18245:3:26","nodeType":"YulIdentifier","src":"18245:3:26"},"nativeSrc":"18245:14:26","nodeType":"YulFunctionCall","src":"18245:14:26"},{"name":"m","nativeSrc":"18261:1:26","nodeType":"YulIdentifier","src":"18261:1:26"}],"functionName":{"name":"mstore","nativeSrc":"18238:6:26","nodeType":"YulIdentifier","src":"18238:6:26"},"nativeSrc":"18238:25:26","nodeType":"YulFunctionCall","src":"18238:25:26"},"nativeSrc":"18238:25:26","nodeType":"YulExpressionStatement","src":"18238:25:26"},{"nativeSrc":"18425:57:26","nodeType":"YulAssignment","src":"18425:57:26","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"18447:3:26","nodeType":"YulIdentifier","src":"18447:3:26"},"nativeSrc":"18447:5:26","nodeType":"YulFunctionCall","src":"18447:5:26"},{"kind":"number","nativeSrc":"18454:4:26","nodeType":"YulLiteral","src":"18454:4:26","type":"","value":"0x05"},{"name":"ptr","nativeSrc":"18460:3:26","nodeType":"YulIdentifier","src":"18460:3:26"},{"kind":"number","nativeSrc":"18465:4:26","nodeType":"YulLiteral","src":"18465:4:26","type":"","value":"0xc0"},{"kind":"number","nativeSrc":"18471:4:26","nodeType":"YulLiteral","src":"18471:4:26","type":"","value":"0x00"},{"kind":"number","nativeSrc":"18477:4:26","nodeType":"YulLiteral","src":"18477:4:26","type":"","value":"0x20"}],"functionName":{"name":"staticcall","nativeSrc":"18436:10:26","nodeType":"YulIdentifier","src":"18436:10:26"},"nativeSrc":"18436:46:26","nodeType":"YulFunctionCall","src":"18436:46:26"},"variableNames":[{"name":"success","nativeSrc":"18425:7:26","nodeType":"YulIdentifier","src":"18425:7:26"}]},{"nativeSrc":"18495:21:26","nodeType":"YulAssignment","src":"18495:21:26","value":{"arguments":[{"kind":"number","nativeSrc":"18511:4:26","nodeType":"YulLiteral","src":"18511:4:26","type":"","value":"0x00"}],"functionName":{"name":"mload","nativeSrc":"18505:5:26","nodeType":"YulIdentifier","src":"18505:5:26"},"nativeSrc":"18505:11:26","nodeType":"YulFunctionCall","src":"18505:11:26"},"variableNames":[{"name":"result","nativeSrc":"18495:6:26","nodeType":"YulIdentifier","src":"18495:6:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":6015,"isOffset":false,"isSlot":false,"src":"18185:1:26","valueSize":1},{"declaration":6017,"isOffset":false,"isSlot":false,"src":"18223:1:26","valueSize":1},{"declaration":6019,"isOffset":false,"isSlot":false,"src":"18261:1:26","valueSize":1},{"declaration":6024,"isOffset":false,"isSlot":false,"src":"18495:6:26","valueSize":1},{"declaration":6022,"isOffset":false,"isSlot":false,"src":"18425:7:26","valueSize":1}],"flags":["memory-safe"],"id":6034,"nodeType":"InlineAssembly","src":"17088:1438:26"}]},"documentation":{"id":6013,"nodeType":"StructuredDocumentation","src":"16191:738:26","text":" @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n to operate modulo 0 or if the underlying precompile reverted.\n IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n of a revert, but the result may be incorrectly interpreted as 0."},"id":6036,"implemented":true,"kind":"function","modifiers":[],"name":"tryModExp","nameLocation":"16943:9:26","nodeType":"FunctionDefinition","parameters":{"id":6020,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6015,"mutability":"mutable","name":"b","nameLocation":"16961:1:26","nodeType":"VariableDeclaration","scope":6036,"src":"16953:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6014,"name":"uint256","nodeType":"ElementaryTypeName","src":"16953:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6017,"mutability":"mutable","name":"e","nameLocation":"16972:1:26","nodeType":"VariableDeclaration","scope":6036,"src":"16964:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6016,"name":"uint256","nodeType":"ElementaryTypeName","src":"16964:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6019,"mutability":"mutable","name":"m","nameLocation":"16983:1:26","nodeType":"VariableDeclaration","scope":6036,"src":"16975:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6018,"name":"uint256","nodeType":"ElementaryTypeName","src":"16975:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16952:33:26"},"returnParameters":{"id":6025,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6022,"mutability":"mutable","name":"success","nameLocation":"17014:7:26","nodeType":"VariableDeclaration","scope":6036,"src":"17009:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6021,"name":"bool","nodeType":"ElementaryTypeName","src":"17009:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":6024,"mutability":"mutable","name":"result","nameLocation":"17031:6:26","nodeType":"VariableDeclaration","scope":6036,"src":"17023:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6023,"name":"uint256","nodeType":"ElementaryTypeName","src":"17023:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"17008:30:26"},"scope":6826,"src":"16934:1598:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":6071,"nodeType":"Block","src":"18729:179:26","statements":[{"assignments":[6049,6051],"declarations":[{"constant":false,"id":6049,"mutability":"mutable","name":"success","nameLocation":"18745:7:26","nodeType":"VariableDeclaration","scope":6071,"src":"18740:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6048,"name":"bool","nodeType":"ElementaryTypeName","src":"18740:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":6051,"mutability":"mutable","name":"result","nameLocation":"18767:6:26","nodeType":"VariableDeclaration","scope":6071,"src":"18754:19:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6050,"name":"bytes","nodeType":"ElementaryTypeName","src":"18754:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":6057,"initialValue":{"arguments":[{"id":6053,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6039,"src":"18787:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":6054,"name":"e","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6041,"src":"18790:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":6055,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6043,"src":"18793:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":6052,"name":"tryModExp","nodeType":"Identifier","overloadedDeclarations":[6036,6118],"referencedDeclaration":6118,"src":"18777:9:26","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory,bytes memory,bytes memory) view returns (bool,bytes memory)"}},"id":6056,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18777:18:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"18739:56:26"},{"condition":{"id":6059,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"18809:8:26","subExpression":{"id":6058,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6049,"src":"18810:7:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6068,"nodeType":"IfStatement","src":"18805:74:26","trueBody":{"id":6067,"nodeType":"Block","src":"18819:60:26","statements":[{"expression":{"arguments":[{"expression":{"id":6063,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"18845:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Panic_$2696_$","typeString":"type(library Panic)"}},"id":6064,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"18851:16:26","memberName":"DIVISION_BY_ZERO","nodeType":"MemberAccess","referencedDeclaration":2663,"src":"18845:22:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":6060,"name":"Panic","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2696,"src":"18833:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12212696_$","typeString":"type(library Panic)"}},"id":6062,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18839:5:26","memberName":"panic","nodeType":"MemberAccess","referencedDeclaration":2695,"src":"18833:11:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$__$","typeString":"function (uint256) pure"}},"id":6065,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18833:35:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":6066,"nodeType":"ExpressionStatement","src":"18833:35:26"}]}},{"expression":{"id":6069,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6051,"src":"18895:6:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":6047,"id":6070,"nodeType":"Return","src":"18888:13:26"}]},"documentation":{"id":6037,"nodeType":"StructuredDocumentation","src":"18538:85:26","text":" @dev Variant of {modExp} that supports inputs of arbitrary length."},"id":6072,"implemented":true,"kind":"function","modifiers":[],"name":"modExp","nameLocation":"18637:6:26","nodeType":"FunctionDefinition","parameters":{"id":6044,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6039,"mutability":"mutable","name":"b","nameLocation":"18657:1:26","nodeType":"VariableDeclaration","scope":6072,"src":"18644:14:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6038,"name":"bytes","nodeType":"ElementaryTypeName","src":"18644:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":6041,"mutability":"mutable","name":"e","nameLocation":"18673:1:26","nodeType":"VariableDeclaration","scope":6072,"src":"18660:14:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6040,"name":"bytes","nodeType":"ElementaryTypeName","src":"18660:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":6043,"mutability":"mutable","name":"m","nameLocation":"18689:1:26","nodeType":"VariableDeclaration","scope":6072,"src":"18676:14:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6042,"name":"bytes","nodeType":"ElementaryTypeName","src":"18676:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"18643:48:26"},"returnParameters":{"id":6047,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6046,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6072,"src":"18715:12:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6045,"name":"bytes","nodeType":"ElementaryTypeName","src":"18715:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"18714:14:26"},"scope":6826,"src":"18628:280:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":6117,"nodeType":"Block","src":"19162:771:26","statements":[{"condition":{"arguments":[{"id":6087,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6079,"src":"19187:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":6086,"name":"_zeroBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6151,"src":"19176:10:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bool_$","typeString":"function (bytes memory) pure returns (bool)"}},"id":6088,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19176:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6096,"nodeType":"IfStatement","src":"19172:47:26","trueBody":{"expression":{"components":[{"hexValue":"66616c7365","id":6089,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"19199:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},{"arguments":[{"hexValue":"30","id":6092,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19216:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":6091,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"19206:9:26","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":6090,"name":"bytes","nodeType":"ElementaryTypeName","src":"19210:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":6093,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19206:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"id":6094,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"19198:21:26","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"functionReturnParameters":6085,"id":6095,"nodeType":"Return","src":"19191:28:26"}},{"assignments":[6098],"declarations":[{"constant":false,"id":6098,"mutability":"mutable","name":"mLen","nameLocation":"19238:4:26","nodeType":"VariableDeclaration","scope":6117,"src":"19230:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6097,"name":"uint256","nodeType":"ElementaryTypeName","src":"19230:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6101,"initialValue":{"expression":{"id":6099,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6079,"src":"19245:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6100,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19247:6:26","memberName":"length","nodeType":"MemberAccess","src":"19245:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"19230:23:26"},{"expression":{"id":6114,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6102,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6084,"src":"19335:6:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"expression":{"id":6105,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6075,"src":"19361:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6106,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19363:6:26","memberName":"length","nodeType":"MemberAccess","src":"19361:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":6107,"name":"e","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6077,"src":"19371:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6108,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19373:6:26","memberName":"length","nodeType":"MemberAccess","src":"19371:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6109,"name":"mLen","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6098,"src":"19381:4:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":6110,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6075,"src":"19387:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":6111,"name":"e","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6077,"src":"19390:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":6112,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6079,"src":"19393:1:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":6103,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"19344:3:26","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":6104,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"19348:12:26","memberName":"encodePacked","nodeType":"MemberAccess","src":"19344:16:26","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":6113,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19344:51:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"src":"19335:60:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6115,"nodeType":"ExpressionStatement","src":"19335:60:26"},{"AST":{"nativeSrc":"19431:496:26","nodeType":"YulBlock","src":"19431:496:26","statements":[{"nativeSrc":"19445:32:26","nodeType":"YulVariableDeclaration","src":"19445:32:26","value":{"arguments":[{"name":"result","nativeSrc":"19464:6:26","nodeType":"YulIdentifier","src":"19464:6:26"},{"kind":"number","nativeSrc":"19472:4:26","nodeType":"YulLiteral","src":"19472:4:26","type":"","value":"0x20"}],"functionName":{"name":"add","nativeSrc":"19460:3:26","nodeType":"YulIdentifier","src":"19460:3:26"},"nativeSrc":"19460:17:26","nodeType":"YulFunctionCall","src":"19460:17:26"},"variables":[{"name":"dataPtr","nativeSrc":"19449:7:26","nodeType":"YulTypedName","src":"19449:7:26","type":""}]},{"nativeSrc":"19567:73:26","nodeType":"YulAssignment","src":"19567:73:26","value":{"arguments":[{"arguments":[],"functionName":{"name":"gas","nativeSrc":"19589:3:26","nodeType":"YulIdentifier","src":"19589:3:26"},"nativeSrc":"19589:5:26","nodeType":"YulFunctionCall","src":"19589:5:26"},{"kind":"number","nativeSrc":"19596:4:26","nodeType":"YulLiteral","src":"19596:4:26","type":"","value":"0x05"},{"name":"dataPtr","nativeSrc":"19602:7:26","nodeType":"YulIdentifier","src":"19602:7:26"},{"arguments":[{"name":"result","nativeSrc":"19617:6:26","nodeType":"YulIdentifier","src":"19617:6:26"}],"functionName":{"name":"mload","nativeSrc":"19611:5:26","nodeType":"YulIdentifier","src":"19611:5:26"},"nativeSrc":"19611:13:26","nodeType":"YulFunctionCall","src":"19611:13:26"},{"name":"dataPtr","nativeSrc":"19626:7:26","nodeType":"YulIdentifier","src":"19626:7:26"},{"name":"mLen","nativeSrc":"19635:4:26","nodeType":"YulIdentifier","src":"19635:4:26"}],"functionName":{"name":"staticcall","nativeSrc":"19578:10:26","nodeType":"YulIdentifier","src":"19578:10:26"},"nativeSrc":"19578:62:26","nodeType":"YulFunctionCall","src":"19578:62:26"},"variableNames":[{"name":"success","nativeSrc":"19567:7:26","nodeType":"YulIdentifier","src":"19567:7:26"}]},{"expression":{"arguments":[{"name":"result","nativeSrc":"19796:6:26","nodeType":"YulIdentifier","src":"19796:6:26"},{"name":"mLen","nativeSrc":"19804:4:26","nodeType":"YulIdentifier","src":"19804:4:26"}],"functionName":{"name":"mstore","nativeSrc":"19789:6:26","nodeType":"YulIdentifier","src":"19789:6:26"},"nativeSrc":"19789:20:26","nodeType":"YulFunctionCall","src":"19789:20:26"},"nativeSrc":"19789:20:26","nodeType":"YulExpressionStatement","src":"19789:20:26"},{"expression":{"arguments":[{"kind":"number","nativeSrc":"19892:4:26","nodeType":"YulLiteral","src":"19892:4:26","type":"","value":"0x40"},{"arguments":[{"name":"dataPtr","nativeSrc":"19902:7:26","nodeType":"YulIdentifier","src":"19902:7:26"},{"name":"mLen","nativeSrc":"19911:4:26","nodeType":"YulIdentifier","src":"19911:4:26"}],"functionName":{"name":"add","nativeSrc":"19898:3:26","nodeType":"YulIdentifier","src":"19898:3:26"},"nativeSrc":"19898:18:26","nodeType":"YulFunctionCall","src":"19898:18:26"}],"functionName":{"name":"mstore","nativeSrc":"19885:6:26","nodeType":"YulIdentifier","src":"19885:6:26"},"nativeSrc":"19885:32:26","nodeType":"YulFunctionCall","src":"19885:32:26"},"nativeSrc":"19885:32:26","nodeType":"YulExpressionStatement","src":"19885:32:26"}]},"evmVersion":"paris","externalReferences":[{"declaration":6098,"isOffset":false,"isSlot":false,"src":"19635:4:26","valueSize":1},{"declaration":6098,"isOffset":false,"isSlot":false,"src":"19804:4:26","valueSize":1},{"declaration":6098,"isOffset":false,"isSlot":false,"src":"19911:4:26","valueSize":1},{"declaration":6084,"isOffset":false,"isSlot":false,"src":"19464:6:26","valueSize":1},{"declaration":6084,"isOffset":false,"isSlot":false,"src":"19617:6:26","valueSize":1},{"declaration":6084,"isOffset":false,"isSlot":false,"src":"19796:6:26","valueSize":1},{"declaration":6082,"isOffset":false,"isSlot":false,"src":"19567:7:26","valueSize":1}],"flags":["memory-safe"],"id":6116,"nodeType":"InlineAssembly","src":"19406:521:26"}]},"documentation":{"id":6073,"nodeType":"StructuredDocumentation","src":"18914:88:26","text":" @dev Variant of {tryModExp} that supports inputs of arbitrary length."},"id":6118,"implemented":true,"kind":"function","modifiers":[],"name":"tryModExp","nameLocation":"19016:9:26","nodeType":"FunctionDefinition","parameters":{"id":6080,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6075,"mutability":"mutable","name":"b","nameLocation":"19048:1:26","nodeType":"VariableDeclaration","scope":6118,"src":"19035:14:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6074,"name":"bytes","nodeType":"ElementaryTypeName","src":"19035:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":6077,"mutability":"mutable","name":"e","nameLocation":"19072:1:26","nodeType":"VariableDeclaration","scope":6118,"src":"19059:14:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6076,"name":"bytes","nodeType":"ElementaryTypeName","src":"19059:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":6079,"mutability":"mutable","name":"m","nameLocation":"19096:1:26","nodeType":"VariableDeclaration","scope":6118,"src":"19083:14:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6078,"name":"bytes","nodeType":"ElementaryTypeName","src":"19083:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"19025:78:26"},"returnParameters":{"id":6085,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6082,"mutability":"mutable","name":"success","nameLocation":"19132:7:26","nodeType":"VariableDeclaration","scope":6118,"src":"19127:12:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6081,"name":"bool","nodeType":"ElementaryTypeName","src":"19127:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":6084,"mutability":"mutable","name":"result","nameLocation":"19154:6:26","nodeType":"VariableDeclaration","scope":6118,"src":"19141:19:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6083,"name":"bytes","nodeType":"ElementaryTypeName","src":"19141:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"19126:35:26"},"scope":6826,"src":"19007:926:26","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":6150,"nodeType":"Block","src":"20088:176:26","statements":[{"body":{"id":6146,"nodeType":"Block","src":"20145:92:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":6141,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":6137,"name":"byteArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6121,"src":"20163:9:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6139,"indexExpression":{"id":6138,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6127,"src":"20173:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"20163:12:26","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":6140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20179:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"20163:17:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6145,"nodeType":"IfStatement","src":"20159:68:26","trueBody":{"id":6144,"nodeType":"Block","src":"20182:45:26","statements":[{"expression":{"hexValue":"66616c7365","id":6142,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"20207:5:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":6125,"id":6143,"nodeType":"Return","src":"20200:12:26"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6133,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6130,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6127,"src":"20118:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":6131,"name":"byteArray","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6121,"src":"20122:9:26","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":6132,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20132:6:26","memberName":"length","nodeType":"MemberAccess","src":"20122:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"20118:20:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6147,"initializationExpression":{"assignments":[6127],"declarations":[{"constant":false,"id":6127,"mutability":"mutable","name":"i","nameLocation":"20111:1:26","nodeType":"VariableDeclaration","scope":6147,"src":"20103:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6126,"name":"uint256","nodeType":"ElementaryTypeName","src":"20103:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6129,"initialValue":{"hexValue":"30","id":6128,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20115:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"20103:13:26"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":6135,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":true,"src":"20140:3:26","subExpression":{"id":6134,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6127,"src":"20142:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6136,"nodeType":"ExpressionStatement","src":"20140:3:26"},"nodeType":"ForStatement","src":"20098:139:26"},{"expression":{"hexValue":"74727565","id":6148,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"20253:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":6125,"id":6149,"nodeType":"Return","src":"20246:11:26"}]},"documentation":{"id":6119,"nodeType":"StructuredDocumentation","src":"19939:72:26","text":" @dev Returns whether the provided byte array is zero."},"id":6151,"implemented":true,"kind":"function","modifiers":[],"name":"_zeroBytes","nameLocation":"20025:10:26","nodeType":"FunctionDefinition","parameters":{"id":6122,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6121,"mutability":"mutable","name":"byteArray","nameLocation":"20049:9:26","nodeType":"VariableDeclaration","scope":6151,"src":"20036:22:26","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":6120,"name":"bytes","nodeType":"ElementaryTypeName","src":"20036:5:26","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"20035:24:26"},"returnParameters":{"id":6125,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6124,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6151,"src":"20082:4:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6123,"name":"bool","nodeType":"ElementaryTypeName","src":"20082:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"20081:6:26"},"scope":6826,"src":"20016:248:26","stateMutability":"pure","virtual":false,"visibility":"private"},{"body":{"id":6369,"nodeType":"Block","src":"20624:5124:26","statements":[{"id":6368,"nodeType":"UncheckedBlock","src":"20634:5108:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6159,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"20728:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"hexValue":"31","id":6160,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20733:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"20728:6:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6165,"nodeType":"IfStatement","src":"20724:53:26","trueBody":{"id":6164,"nodeType":"Block","src":"20736:41:26","statements":[{"expression":{"id":6162,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"20761:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6158,"id":6163,"nodeType":"Return","src":"20754:8:26"}]}},{"assignments":[6167],"declarations":[{"constant":false,"id":6167,"mutability":"mutable","name":"aa","nameLocation":"21712:2:26","nodeType":"VariableDeclaration","scope":6368,"src":"21704:10:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6166,"name":"uint256","nodeType":"ElementaryTypeName","src":"21704:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6169,"initialValue":{"id":6168,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"21717:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"21704:14:26"},{"assignments":[6171],"declarations":[{"constant":false,"id":6171,"mutability":"mutable","name":"xn","nameLocation":"21740:2:26","nodeType":"VariableDeclaration","scope":6368,"src":"21732:10:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6170,"name":"uint256","nodeType":"ElementaryTypeName","src":"21732:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6173,"initialValue":{"hexValue":"31","id":6172,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21745:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"VariableDeclarationStatement","src":"21732:14:26"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6174,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"21765:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"},"id":6177,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21772:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"313238","id":6176,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21777:3:26","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"21772:8:26","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}}],"id":6178,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"21771:10:26","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211456_by_1","typeString":"int_const 3402...(31 digits omitted)...1456"}},"src":"21765:16:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6189,"nodeType":"IfStatement","src":"21761:92:26","trueBody":{"id":6188,"nodeType":"Block","src":"21783:70:26","statements":[{"expression":{"id":6182,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6180,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"21801:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"313238","id":6181,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21808:3:26","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},"src":"21801:10:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6183,"nodeType":"ExpressionStatement","src":"21801:10:26"},{"expression":{"id":6186,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6184,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"21829:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"3634","id":6185,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21836:2:26","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"21829:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6187,"nodeType":"ExpressionStatement","src":"21829:9:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6190,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"21870:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"},"id":6193,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6191,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21877:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3634","id":6192,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21882:2:26","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"21877:7:26","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"}}],"id":6194,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"21876:9:26","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551616_by_1","typeString":"int_const 18446744073709551616"}},"src":"21870:15:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6205,"nodeType":"IfStatement","src":"21866:90:26","trueBody":{"id":6204,"nodeType":"Block","src":"21887:69:26","statements":[{"expression":{"id":6198,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6196,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"21905:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3634","id":6197,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21912:2:26","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"21905:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6199,"nodeType":"ExpressionStatement","src":"21905:9:26"},{"expression":{"id":6202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6200,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"21932:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"3332","id":6201,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21939:2:26","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"21932:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6203,"nodeType":"ExpressionStatement","src":"21932:9:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6211,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6206,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"21973:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"},"id":6209,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6207,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21980:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3332","id":6208,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21985:2:26","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"21980:7:26","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}}],"id":6210,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"21979:9:26","typeDescriptions":{"typeIdentifier":"t_rational_4294967296_by_1","typeString":"int_const 4294967296"}},"src":"21973:15:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6221,"nodeType":"IfStatement","src":"21969:90:26","trueBody":{"id":6220,"nodeType":"Block","src":"21990:69:26","statements":[{"expression":{"id":6214,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6212,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"22008:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3332","id":6213,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22015:2:26","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"22008:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6215,"nodeType":"ExpressionStatement","src":"22008:9:26"},{"expression":{"id":6218,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6216,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"22035:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"3136","id":6217,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22042:2:26","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"22035:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6219,"nodeType":"ExpressionStatement","src":"22035:9:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6222,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"22076:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"},"id":6225,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6223,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22083:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"3136","id":6224,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22088:2:26","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"22083:7:26","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}}],"id":6226,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"22082:9:26","typeDescriptions":{"typeIdentifier":"t_rational_65536_by_1","typeString":"int_const 65536"}},"src":"22076:15:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6237,"nodeType":"IfStatement","src":"22072:89:26","trueBody":{"id":6236,"nodeType":"Block","src":"22093:68:26","statements":[{"expression":{"id":6230,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6228,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"22111:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"3136","id":6229,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22118:2:26","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"22111:9:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6231,"nodeType":"ExpressionStatement","src":"22111:9:26"},{"expression":{"id":6234,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6232,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"22138:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"38","id":6233,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22145:1:26","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"22138:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6235,"nodeType":"ExpressionStatement","src":"22138:8:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6243,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6238,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"22178:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"id":6241,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6239,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22185:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"38","id":6240,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22190:1:26","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"22185:6:26","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}}],"id":6242,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"22184:8:26","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"}},"src":"22178:14:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6253,"nodeType":"IfStatement","src":"22174:87:26","trueBody":{"id":6252,"nodeType":"Block","src":"22194:67:26","statements":[{"expression":{"id":6246,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6244,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"22212:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"38","id":6245,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22219:1:26","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"22212:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6247,"nodeType":"ExpressionStatement","src":"22212:8:26"},{"expression":{"id":6250,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6248,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"22238:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"34","id":6249,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22245:1:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"22238:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6251,"nodeType":"ExpressionStatement","src":"22238:8:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6259,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6254,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"22278:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"id":6257,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6255,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22285:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"34","id":6256,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22290:1:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"22285:6:26","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}}],"id":6258,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"22284:8:26","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"}},"src":"22278:14:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6269,"nodeType":"IfStatement","src":"22274:87:26","trueBody":{"id":6268,"nodeType":"Block","src":"22294:67:26","statements":[{"expression":{"id":6262,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6260,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"22312:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":">>=","rightHandSide":{"hexValue":"34","id":6261,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22319:1:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"22312:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6263,"nodeType":"ExpressionStatement","src":"22312:8:26"},{"expression":{"id":6266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6264,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"22338:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"32","id":6265,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22345:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"22338:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6267,"nodeType":"ExpressionStatement","src":"22338:8:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6270,"name":"aa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6167,"src":"22378:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"id":6273,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6271,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22385:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"32","id":6272,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22390:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"22385:6:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}}],"id":6274,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"TupleExpression","src":"22384:8:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"}},"src":"22378:14:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6281,"nodeType":"IfStatement","src":"22374:61:26","trueBody":{"id":6280,"nodeType":"Block","src":"22394:41:26","statements":[{"expression":{"id":6278,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6276,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"22412:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"<<=","rightHandSide":{"hexValue":"31","id":6277,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22419:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"22412:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6279,"nodeType":"ExpressionStatement","src":"22412:8:26"}]}},{"expression":{"id":6289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6282,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"22855:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"33","id":6283,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22861:1:26","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":6284,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"22865:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22861:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6286,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"22860:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":6287,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22872:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"22860:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22855:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6290,"nodeType":"ExpressionStatement","src":"22855:18:26"},{"expression":{"id":6300,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6291,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24760:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6299,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6296,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6292,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24766:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6295,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6293,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"24771:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6294,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24775:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24771:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24766:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6297,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"24765:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":6298,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24782:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24765:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24760:23:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6301,"nodeType":"ExpressionStatement","src":"24760:23:26"},{"expression":{"id":6311,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6302,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24869:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6303,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24875:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6306,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6304,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"24880:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6305,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24884:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24880:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24875:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6308,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"24874:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":6309,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24891:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24874:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24869:23:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6312,"nodeType":"ExpressionStatement","src":"24869:23:26"},{"expression":{"id":6322,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6313,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24980:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6318,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6314,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24986:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6317,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6315,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"24991:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6316,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"24995:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24991:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24986:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6319,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"24985:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":6320,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25002:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"24985:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"24980:23:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6323,"nodeType":"ExpressionStatement","src":"24980:23:26"},{"expression":{"id":6333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6324,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25089:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6325,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25095:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6328,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6326,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"25100:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6327,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25104:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25100:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25095:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6330,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"25094:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":6331,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25111:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"25094:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25089:23:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6334,"nodeType":"ExpressionStatement","src":"25089:23:26"},{"expression":{"id":6344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6335,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25199:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6336,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25205:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6339,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6337,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"25210:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6338,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25214:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25210:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25205:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6341,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"25204:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":6342,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25221:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"25204:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25199:23:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6345,"nodeType":"ExpressionStatement","src":"25199:23:26"},{"expression":{"id":6355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6346,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25309:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6354,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6351,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6347,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25315:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6350,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6348,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"25320:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6349,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25324:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25320:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25315:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6352,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"25314:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":6353,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25331:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"25314:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25309:23:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6356,"nodeType":"ExpressionStatement","src":"25309:23:26"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6366,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6357,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25698:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6364,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6360,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25719:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6363,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6361,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6154,"src":"25724:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":6362,"name":"xn","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6171,"src":"25728:2:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25724:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25719:11:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6358,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"25703:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$8591_$","typeString":"type(library SafeCast)"}},"id":6359,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25712:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"25703:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6365,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25703:28:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25698:33:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6158,"id":6367,"nodeType":"Return","src":"25691:40:26"}]}]},"documentation":{"id":6152,"nodeType":"StructuredDocumentation","src":"20270:292:26","text":" @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n towards zero.\n This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n using integer operations."},"id":6370,"implemented":true,"kind":"function","modifiers":[],"name":"sqrt","nameLocation":"20576:4:26","nodeType":"FunctionDefinition","parameters":{"id":6155,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6154,"mutability":"mutable","name":"a","nameLocation":"20589:1:26","nodeType":"VariableDeclaration","scope":6370,"src":"20581:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6153,"name":"uint256","nodeType":"ElementaryTypeName","src":"20581:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"20580:11:26"},"returnParameters":{"id":6158,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6157,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6370,"src":"20615:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6156,"name":"uint256","nodeType":"ElementaryTypeName","src":"20615:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"20614:9:26"},"scope":6826,"src":"20567:5181:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6403,"nodeType":"Block","src":"25921:171:26","statements":[{"id":6402,"nodeType":"UncheckedBlock","src":"25931:155:26","statements":[{"assignments":[6382],"declarations":[{"constant":false,"id":6382,"mutability":"mutable","name":"result","nameLocation":"25963:6:26","nodeType":"VariableDeclaration","scope":6402,"src":"25955:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6381,"name":"uint256","nodeType":"ElementaryTypeName","src":"25955:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6386,"initialValue":{"arguments":[{"id":6384,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"25977:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6383,"name":"sqrt","nodeType":"Identifier","overloadedDeclarations":[6370,6404],"referencedDeclaration":6370,"src":"25972:4:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":6385,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25972:7:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"25955:24:26"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6400,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6387,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6382,"src":"26000:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":6398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":6391,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6376,"src":"26042:8:26","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_12395217","typeString":"enum Math.Rounding"}],"id":6390,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6825,"src":"26025:16:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$5217_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":6392,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26025:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6397,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6393,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6382,"src":"26055:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":6394,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6382,"src":"26064:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26055:15:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":6396,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6373,"src":"26073:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26055:19:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"26025:49:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6388,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"26009:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12438591_$","typeString":"type(library SafeCast)"}},"id":6389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26018:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"26009:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6399,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26009:66:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26000:75:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6380,"id":6401,"nodeType":"Return","src":"25993:82:26"}]}]},"documentation":{"id":6371,"nodeType":"StructuredDocumentation","src":"25754:86:26","text":" @dev Calculates sqrt(a), following the selected rounding direction."},"id":6404,"implemented":true,"kind":"function","modifiers":[],"name":"sqrt","nameLocation":"25854:4:26","nodeType":"FunctionDefinition","parameters":{"id":6377,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6373,"mutability":"mutable","name":"a","nameLocation":"25867:1:26","nodeType":"VariableDeclaration","scope":6404,"src":"25859:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6372,"name":"uint256","nodeType":"ElementaryTypeName","src":"25859:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6376,"mutability":"mutable","name":"rounding","nameLocation":"25879:8:26","nodeType":"VariableDeclaration","scope":6404,"src":"25870:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"},"typeName":{"id":6375,"nodeType":"UserDefinedTypeName","pathNode":{"id":6374,"name":"Rounding","nameLocations":["25870:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":5217,"src":"25870:8:26"},"referencedDeclaration":5217,"src":"25870:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_12475217","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"25858:30:26"},"returnParameters":{"id":6380,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6379,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6404,"src":"25912:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6378,"name":"uint256","nodeType":"ElementaryTypeName","src":"25912:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"25911:9:26"},"scope":6826,"src":"25845:247:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6494,"nodeType":"Block","src":"26281:2334:26","statements":[{"expression":{"id":6421,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6412,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26363:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6420,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6417,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6415,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6407,"src":"26383:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30786666666666666666666666666666666666666666666666666666666666666666","id":6416,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26387:34:26","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211455_by_1","typeString":"int_const 3402...(31 digits omitted)...1455"},"value":"0xffffffffffffffffffffffffffffffff"},"src":"26383:38:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6413,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"26367:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$8591_$","typeString":"type(library SafeCast)"}},"id":6414,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26376:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"26367:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6418,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26367:55:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"37","id":6419,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26426:1:26","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},"src":"26367:60:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26363:64:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6422,"nodeType":"ExpressionStatement","src":"26363:64:26"},{"expression":{"id":6435,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6423,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26503:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6434,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6431,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6428,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6426,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6407,"src":"26525:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6427,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26530:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26525:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6429,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"26524:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"307866666666666666666666666666666666","id":6430,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26535:18:26","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551615_by_1","typeString":"int_const 18446744073709551615"},"value":"0xffffffffffffffff"},"src":"26524:29:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6424,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"26508:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12528591_$","typeString":"type(library SafeCast)"}},"id":6425,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26517:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"26508:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6432,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26508:46:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"36","id":6433,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26558:1:26","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"src":"26508:51:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26503:56:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6436,"nodeType":"ExpressionStatement","src":"26503:56:26"},{"expression":{"id":6449,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6437,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26634:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6448,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6445,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6440,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6407,"src":"26656:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6441,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26661:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26656:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6443,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"26655:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30786666666666666666","id":6444,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26666:10:26","typeDescriptions":{"typeIdentifier":"t_rational_4294967295_by_1","typeString":"int_const 4294967295"},"value":"0xffffffff"},"src":"26655:21:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6438,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"26639:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12568591_$","typeString":"type(library SafeCast)"}},"id":6439,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26648:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"26639:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6446,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26639:38:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"35","id":6447,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26681:1:26","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"26639:43:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26634:48:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6450,"nodeType":"ExpressionStatement","src":"26634:48:26"},{"expression":{"id":6463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6451,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26757:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6462,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6459,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6456,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6454,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6407,"src":"26779:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6455,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26784:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26779:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6457,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"26778:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"307866666666","id":6458,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26789:6:26","typeDescriptions":{"typeIdentifier":"t_rational_65535_by_1","typeString":"int_const 65535"},"value":"0xffff"},"src":"26778:17:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6452,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"26762:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12608591_$","typeString":"type(library SafeCast)"}},"id":6453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26771:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"26762:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6460,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26762:34:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"34","id":6461,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26800:1:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"26762:39:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26757:44:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6464,"nodeType":"ExpressionStatement","src":"26757:44:26"},{"expression":{"id":6477,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6465,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26874:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6476,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6473,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6470,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6468,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6407,"src":"26896:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6469,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26901:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26896:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6471,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"26895:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30786666","id":6472,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26906:4:26","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"0xff"},"src":"26895:15:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6466,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"26879:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12648591_$","typeString":"type(library SafeCast)"}},"id":6467,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26888:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"26879:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6474,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26879:32:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"33","id":6475,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26915:1:26","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"26879:37:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26874:42:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6478,"nodeType":"ExpressionStatement","src":"26874:42:26"},{"expression":{"id":6491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6479,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"26988:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6490,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6487,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6482,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6407,"src":"27010:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6483,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6410,"src":"27015:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27010:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6485,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27009:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"307866","id":6486,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27020:3:26","typeDescriptions":{"typeIdentifier":"t_rational_15_by_1","typeString":"int_const 15"},"value":"0xf"},"src":"27009:14:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6480,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"26993:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12688591_$","typeString":"type(library SafeCast)"}},"id":6481,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27002:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"26993:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6488,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26993:31:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"32","id":6489,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27028:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"26993:36:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26988:41:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6492,"nodeType":"ExpressionStatement","src":"26988:41:26"},{"AST":{"nativeSrc":"28490:119:26","nodeType":"YulBlock","src":"28490:119:26","statements":[{"nativeSrc":"28504:95:26","nodeType":"YulAssignment","src":"28504:95:26","value":{"arguments":[{"name":"r","nativeSrc":"28512:1:26","nodeType":"YulIdentifier","src":"28512:1:26"},{"arguments":[{"arguments":[{"name":"r","nativeSrc":"28524:1:26","nodeType":"YulIdentifier","src":"28524:1:26"},{"name":"x","nativeSrc":"28527:1:26","nodeType":"YulIdentifier","src":"28527:1:26"}],"functionName":{"name":"shr","nativeSrc":"28520:3:26","nodeType":"YulIdentifier","src":"28520:3:26"},"nativeSrc":"28520:9:26","nodeType":"YulFunctionCall","src":"28520:9:26"},{"kind":"number","nativeSrc":"28531:66:26","nodeType":"YulLiteral","src":"28531:66:26","type":"","value":"0x0000010102020202030303030303030300000000000000000000000000000000"}],"functionName":{"name":"byte","nativeSrc":"28515:4:26","nodeType":"YulIdentifier","src":"28515:4:26"},"nativeSrc":"28515:83:26","nodeType":"YulFunctionCall","src":"28515:83:26"}],"functionName":{"name":"or","nativeSrc":"28509:2:26","nodeType":"YulIdentifier","src":"28509:2:26"},"nativeSrc":"28509:90:26","nodeType":"YulFunctionCall","src":"28509:90:26"},"variableNames":[{"name":"r","nativeSrc":"28504:1:26","nodeType":"YulIdentifier","src":"28504:1:26"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":6410,"isOffset":false,"isSlot":false,"src":"28504:1:26","valueSize":1},{"declaration":6410,"isOffset":false,"isSlot":false,"src":"28512:1:26","valueSize":1},{"declaration":6410,"isOffset":false,"isSlot":false,"src":"28524:1:26","valueSize":1},{"declaration":6407,"isOffset":false,"isSlot":false,"src":"28527:1:26","valueSize":1}],"flags":["memory-safe"],"id":6493,"nodeType":"InlineAssembly","src":"28465:144:26"}]},"documentation":{"id":6405,"nodeType":"StructuredDocumentation","src":"26098:119:26","text":" @dev Return the log in base 2 of a positive value rounded towards zero.\n Returns 0 if given 0."},"id":6495,"implemented":true,"kind":"function","modifiers":[],"name":"log2","nameLocation":"26231:4:26","nodeType":"FunctionDefinition","parameters":{"id":6408,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6407,"mutability":"mutable","name":"x","nameLocation":"26244:1:26","nodeType":"VariableDeclaration","scope":6495,"src":"26236:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6406,"name":"uint256","nodeType":"ElementaryTypeName","src":"26236:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26235:11:26"},"returnParameters":{"id":6411,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6410,"mutability":"mutable","name":"r","nameLocation":"26278:1:26","nodeType":"VariableDeclaration","scope":6495,"src":"26270:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6409,"name":"uint256","nodeType":"ElementaryTypeName","src":"26270:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"26269:11:26"},"scope":6826,"src":"26222:2393:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6528,"nodeType":"Block","src":"28848:175:26","statements":[{"id":6527,"nodeType":"UncheckedBlock","src":"28858:159:26","statements":[{"assignments":[6507],"declarations":[{"constant":false,"id":6507,"mutability":"mutable","name":"result","nameLocation":"28890:6:26","nodeType":"VariableDeclaration","scope":6527,"src":"28882:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6506,"name":"uint256","nodeType":"ElementaryTypeName","src":"28882:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6511,"initialValue":{"arguments":[{"id":6509,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6498,"src":"28904:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6508,"name":"log2","nodeType":"Identifier","overloadedDeclarations":[6495,6529],"referencedDeclaration":6495,"src":"28899:4:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":6510,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28899:11:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"28882:28:26"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6525,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6512,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6507,"src":"28931:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":6523,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":6516,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6501,"src":"28973:8:26","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_12745217","typeString":"enum Math.Rounding"}],"id":6515,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6825,"src":"28956:16:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$5217_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":6517,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28956:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6520,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6518,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28986:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"id":6519,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6507,"src":"28991:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28986:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":6521,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6498,"src":"29000:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28986:19:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"28956:49:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6513,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"28940:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12788591_$","typeString":"type(library SafeCast)"}},"id":6514,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"28949:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"28940:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28940:66:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"28931:75:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6505,"id":6526,"nodeType":"Return","src":"28924:82:26"}]}]},"documentation":{"id":6496,"nodeType":"StructuredDocumentation","src":"28621:142:26","text":" @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n Returns 0 if given 0."},"id":6529,"implemented":true,"kind":"function","modifiers":[],"name":"log2","nameLocation":"28777:4:26","nodeType":"FunctionDefinition","parameters":{"id":6502,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6498,"mutability":"mutable","name":"value","nameLocation":"28790:5:26","nodeType":"VariableDeclaration","scope":6529,"src":"28782:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6497,"name":"uint256","nodeType":"ElementaryTypeName","src":"28782:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6501,"mutability":"mutable","name":"rounding","nameLocation":"28806:8:26","nodeType":"VariableDeclaration","scope":6529,"src":"28797:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"},"typeName":{"id":6500,"nodeType":"UserDefinedTypeName","pathNode":{"id":6499,"name":"Rounding","nameLocations":["28797:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":5217,"src":"28797:8:26"},"referencedDeclaration":5217,"src":"28797:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_12825217","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"28781:34:26"},"returnParameters":{"id":6505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6504,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6529,"src":"28839:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6503,"name":"uint256","nodeType":"ElementaryTypeName","src":"28839:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"28838:9:26"},"scope":6826,"src":"28768:255:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6657,"nodeType":"Block","src":"29216:854:26","statements":[{"assignments":[6538],"declarations":[{"constant":false,"id":6538,"mutability":"mutable","name":"result","nameLocation":"29234:6:26","nodeType":"VariableDeclaration","scope":6657,"src":"29226:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6537,"name":"uint256","nodeType":"ElementaryTypeName","src":"29226:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6540,"initialValue":{"hexValue":"30","id":6539,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29243:1:26","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"29226:18:26"},{"id":6654,"nodeType":"UncheckedBlock","src":"29254:787:26","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6545,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6541,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29282:5:26","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":6544,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6542,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29291:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3634","id":6543,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29297:2:26","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"29291:8:26","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1","typeString":"int_const 1000...(57 digits omitted)...0000"}},"src":"29282:17:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6557,"nodeType":"IfStatement","src":"29278:103:26","trueBody":{"id":6556,"nodeType":"Block","src":"29301:80:26","statements":[{"expression":{"id":6550,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6546,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29319:5:26","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":6549,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6547,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29328:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3634","id":6548,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29334:2:26","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"29328:8:26","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000000000000000000000000000000000000000000000000000_by_1","typeString":"int_const 1000...(57 digits omitted)...0000"}},"src":"29319:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6551,"nodeType":"ExpressionStatement","src":"29319:17:26"},{"expression":{"id":6554,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6552,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6538,"src":"29354:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3634","id":6553,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29364:2:26","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},"src":"29354:12:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6555,"nodeType":"ExpressionStatement","src":"29354:12:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6558,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29398:5:26","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":6561,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6559,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29407:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3332","id":6560,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29413:2:26","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"29407:8:26","typeDescriptions":{"typeIdentifier":"t_rational_100000000000000000000000000000000_by_1","typeString":"int_const 1000...(25 digits omitted)...0000"}},"src":"29398:17:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6574,"nodeType":"IfStatement","src":"29394:103:26","trueBody":{"id":6573,"nodeType":"Block","src":"29417:80:26","statements":[{"expression":{"id":6567,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6563,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29435:5:26","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":6566,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6564,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29444:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3332","id":6565,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29450:2:26","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"29444:8:26","typeDescriptions":{"typeIdentifier":"t_rational_100000000000000000000000000000000_by_1","typeString":"int_const 1000...(25 digits omitted)...0000"}},"src":"29435:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6568,"nodeType":"ExpressionStatement","src":"29435:17:26"},{"expression":{"id":6571,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6569,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6538,"src":"29470:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3332","id":6570,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29480:2:26","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"29470:12:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6572,"nodeType":"ExpressionStatement","src":"29470:12:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6579,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6575,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29514:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"},"id":6578,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6576,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29523:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3136","id":6577,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29529:2:26","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"29523:8:26","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"}},"src":"29514:17:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6591,"nodeType":"IfStatement","src":"29510:103:26","trueBody":{"id":6590,"nodeType":"Block","src":"29533:80:26","statements":[{"expression":{"id":6584,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6580,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29551:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"},"id":6583,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6581,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29560:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"3136","id":6582,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29566:2:26","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"29560:8:26","typeDescriptions":{"typeIdentifier":"t_rational_10000000000000000_by_1","typeString":"int_const 10000000000000000"}},"src":"29551:17:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6585,"nodeType":"ExpressionStatement","src":"29551:17:26"},{"expression":{"id":6588,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6586,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6538,"src":"29586:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"3136","id":6587,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29596:2:26","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},"src":"29586:12:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6589,"nodeType":"ExpressionStatement","src":"29586:12:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6596,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6592,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29630:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"},"id":6595,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6593,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29639:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"38","id":6594,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29645:1:26","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"29639:7:26","typeDescriptions":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"}},"src":"29630:16:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6608,"nodeType":"IfStatement","src":"29626:100:26","trueBody":{"id":6607,"nodeType":"Block","src":"29648:78:26","statements":[{"expression":{"id":6601,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6597,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29666:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"},"id":6600,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6598,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29675:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"38","id":6599,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29681:1:26","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"29675:7:26","typeDescriptions":{"typeIdentifier":"t_rational_100000000_by_1","typeString":"int_const 100000000"}},"src":"29666:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6602,"nodeType":"ExpressionStatement","src":"29666:16:26"},{"expression":{"id":6605,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6603,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6538,"src":"29700:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"38","id":6604,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29710:1:26","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},"src":"29700:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6606,"nodeType":"ExpressionStatement","src":"29700:11:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6613,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6609,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29743:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"id":6612,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6610,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29752:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"34","id":6611,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29758:1:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"29752:7:26","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"}},"src":"29743:16:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6625,"nodeType":"IfStatement","src":"29739:100:26","trueBody":{"id":6624,"nodeType":"Block","src":"29761:78:26","statements":[{"expression":{"id":6618,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6614,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29779:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"id":6617,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6615,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29788:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"34","id":6616,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29794:1:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"29788:7:26","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"}},"src":"29779:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6619,"nodeType":"ExpressionStatement","src":"29779:16:26"},{"expression":{"id":6622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6620,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6538,"src":"29813:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"34","id":6621,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29823:1:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"29813:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6623,"nodeType":"ExpressionStatement","src":"29813:11:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6630,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6626,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29856:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},"id":6629,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6627,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29865:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"32","id":6628,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29871:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"29865:7:26","typeDescriptions":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"}},"src":"29856:16:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6642,"nodeType":"IfStatement","src":"29852:100:26","trueBody":{"id":6641,"nodeType":"Block","src":"29874:78:26","statements":[{"expression":{"id":6635,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6631,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29892:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"commonType":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"},"id":6634,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6632,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29901:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"32","id":6633,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29907:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"29901:7:26","typeDescriptions":{"typeIdentifier":"t_rational_100_by_1","typeString":"int_const 100"}},"src":"29892:16:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6636,"nodeType":"ExpressionStatement","src":"29892:16:26"},{"expression":{"id":6639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6637,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6538,"src":"29926:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"32","id":6638,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29936:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"29926:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6640,"nodeType":"ExpressionStatement","src":"29926:11:26"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6647,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6643,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6532,"src":"29969:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"commonType":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"id":6646,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6644,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29978:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"hexValue":"31","id":6645,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29984:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"29978:7:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"}},"src":"29969:16:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6653,"nodeType":"IfStatement","src":"29965:66:26","trueBody":{"id":6652,"nodeType":"Block","src":"29987:44:26","statements":[{"expression":{"id":6650,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6648,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6538,"src":"30005:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":6649,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30015:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"30005:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6651,"nodeType":"ExpressionStatement","src":"30005:11:26"}]}}]},{"expression":{"id":6655,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6538,"src":"30057:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6536,"id":6656,"nodeType":"Return","src":"30050:13:26"}]},"documentation":{"id":6530,"nodeType":"StructuredDocumentation","src":"29029:120:26","text":" @dev Return the log in base 10 of a positive value rounded towards zero.\n Returns 0 if given 0."},"id":6658,"implemented":true,"kind":"function","modifiers":[],"name":"log10","nameLocation":"29163:5:26","nodeType":"FunctionDefinition","parameters":{"id":6533,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6532,"mutability":"mutable","name":"value","nameLocation":"29177:5:26","nodeType":"VariableDeclaration","scope":6658,"src":"29169:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6531,"name":"uint256","nodeType":"ElementaryTypeName","src":"29169:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"29168:15:26"},"returnParameters":{"id":6536,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6535,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6658,"src":"29207:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6534,"name":"uint256","nodeType":"ElementaryTypeName","src":"29207:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"29206:9:26"},"scope":6826,"src":"29154:916:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6691,"nodeType":"Block","src":"30305:177:26","statements":[{"id":6690,"nodeType":"UncheckedBlock","src":"30315:161:26","statements":[{"assignments":[6670],"declarations":[{"constant":false,"id":6670,"mutability":"mutable","name":"result","nameLocation":"30347:6:26","nodeType":"VariableDeclaration","scope":6690,"src":"30339:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6669,"name":"uint256","nodeType":"ElementaryTypeName","src":"30339:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6674,"initialValue":{"arguments":[{"id":6672,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6661,"src":"30362:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6671,"name":"log10","nodeType":"Identifier","overloadedDeclarations":[6658,6692],"referencedDeclaration":6658,"src":"30356:5:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":6673,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30356:12:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"30339:29:26"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6675,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6670,"src":"30389:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":6686,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":6679,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6664,"src":"30431:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_12855217","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_12865217","typeString":"enum Math.Rounding"}],"id":6678,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6825,"src":"30414:16:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$5217_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":6680,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30414:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6683,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"3130","id":6681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30444:2:26","typeDescriptions":{"typeIdentifier":"t_rational_10_by_1","typeString":"int_const 10"},"value":"10"},"nodeType":"BinaryOperation","operator":"**","rightExpression":{"id":6682,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6670,"src":"30450:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30444:12:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":6684,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6661,"src":"30459:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30444:20:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"30414:50:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6676,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"30398:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12908591_$","typeString":"type(library SafeCast)"}},"id":6677,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"30407:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"30398:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6687,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30398:67:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30389:76:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6668,"id":6689,"nodeType":"Return","src":"30382:83:26"}]}]},"documentation":{"id":6659,"nodeType":"StructuredDocumentation","src":"30076:143:26","text":" @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n Returns 0 if given 0."},"id":6692,"implemented":true,"kind":"function","modifiers":[],"name":"log10","nameLocation":"30233:5:26","nodeType":"FunctionDefinition","parameters":{"id":6665,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6661,"mutability":"mutable","name":"value","nameLocation":"30247:5:26","nodeType":"VariableDeclaration","scope":6692,"src":"30239:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6660,"name":"uint256","nodeType":"ElementaryTypeName","src":"30239:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6664,"mutability":"mutable","name":"rounding","nameLocation":"30263:8:26","nodeType":"VariableDeclaration","scope":6692,"src":"30254:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"},"typeName":{"id":6663,"nodeType":"UserDefinedTypeName","pathNode":{"id":6662,"name":"Rounding","nameLocations":["30254:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":5217,"src":"30254:8:26"},"referencedDeclaration":5217,"src":"30254:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_12945217","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"30238:34:26"},"returnParameters":{"id":6668,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6667,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6692,"src":"30296:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6666,"name":"uint256","nodeType":"ElementaryTypeName","src":"30296:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30295:9:26"},"scope":6826,"src":"30224:258:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6768,"nodeType":"Block","src":"30800:675:26","statements":[{"expression":{"id":6709,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6700,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"30882:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6708,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6705,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6703,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6695,"src":"30902:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30786666666666666666666666666666666666666666666666666666666666666666","id":6704,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30906:34:26","typeDescriptions":{"typeIdentifier":"t_rational_340282366920938463463374607431768211455_by_1","typeString":"int_const 3402...(31 digits omitted)...1455"},"value":"0xffffffffffffffffffffffffffffffff"},"src":"30902:38:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6701,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"30886:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$8591_$","typeString":"type(library SafeCast)"}},"id":6702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"30895:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"30886:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6706,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30886:55:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"37","id":6707,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30945:1:26","typeDescriptions":{"typeIdentifier":"t_rational_7_by_1","typeString":"int_const 7"},"value":"7"},"src":"30886:60:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30882:64:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6710,"nodeType":"ExpressionStatement","src":"30882:64:26"},{"expression":{"id":6723,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6711,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"31022:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6722,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6716,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6714,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6695,"src":"31044:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6715,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"31049:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31044:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6717,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31043:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"307866666666666666666666666666666666","id":6718,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31054:18:26","typeDescriptions":{"typeIdentifier":"t_rational_18446744073709551615_by_1","typeString":"int_const 18446744073709551615"},"value":"0xffffffffffffffff"},"src":"31043:29:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6712,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"31027:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_12998591_$","typeString":"type(library SafeCast)"}},"id":6713,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"31036:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"31027:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6720,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31027:46:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"36","id":6721,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31077:1:26","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"src":"31027:51:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31022:56:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6724,"nodeType":"ExpressionStatement","src":"31022:56:26"},{"expression":{"id":6737,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6725,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"31153:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6736,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6733,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6730,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6728,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6695,"src":"31175:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6729,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"31180:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31175:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6731,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31174:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30786666666666666666","id":6732,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31185:10:26","typeDescriptions":{"typeIdentifier":"t_rational_4294967295_by_1","typeString":"int_const 4294967295"},"value":"0xffffffff"},"src":"31174:21:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6726,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"31158:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_13038591_$","typeString":"type(library SafeCast)"}},"id":6727,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"31167:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"31158:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6734,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31158:38:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"35","id":6735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31200:1:26","typeDescriptions":{"typeIdentifier":"t_rational_5_by_1","typeString":"int_const 5"},"value":"5"},"src":"31158:43:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31153:48:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6738,"nodeType":"ExpressionStatement","src":"31153:48:26"},{"expression":{"id":6751,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":6739,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"31276:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6750,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6747,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6744,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6742,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6695,"src":"31298:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6743,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"31303:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31298:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6745,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31297:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"307866666666","id":6746,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31308:6:26","typeDescriptions":{"typeIdentifier":"t_rational_65535_by_1","typeString":"int_const 65535"},"value":"0xffff"},"src":"31297:17:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6740,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"31281:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_13078591_$","typeString":"type(library SafeCast)"}},"id":6741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"31290:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"31281:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6748,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31281:34:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"34","id":6749,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31319:1:26","typeDescriptions":{"typeIdentifier":"t_rational_4_by_1","typeString":"int_const 4"},"value":"4"},"src":"31281:39:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31276:44:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":6752,"nodeType":"ExpressionStatement","src":"31276:44:26"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6766,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6753,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"31426:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"33","id":6754,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31431:1:26","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"31426:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6756,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31425:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"|","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6764,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6761,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6759,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6695,"src":"31453:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"id":6760,"name":"r","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6698,"src":"31458:1:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31453:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6762,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31452:8:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30786666","id":6763,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31463:4:26","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"0xff"},"src":"31452:15:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6757,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"31436:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_13118591_$","typeString":"type(library SafeCast)"}},"id":6758,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"31445:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"31436:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6765,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31436:32:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31425:43:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6699,"id":6767,"nodeType":"Return","src":"31418:50:26"}]},"documentation":{"id":6693,"nodeType":"StructuredDocumentation","src":"30488:246:26","text":" @dev Return the log in base 256 of a positive value rounded towards zero.\n Returns 0 if given 0.\n Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string."},"id":6769,"implemented":true,"kind":"function","modifiers":[],"name":"log256","nameLocation":"30748:6:26","nodeType":"FunctionDefinition","parameters":{"id":6696,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6695,"mutability":"mutable","name":"x","nameLocation":"30763:1:26","nodeType":"VariableDeclaration","scope":6769,"src":"30755:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6694,"name":"uint256","nodeType":"ElementaryTypeName","src":"30755:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30754:11:26"},"returnParameters":{"id":6699,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6698,"mutability":"mutable","name":"r","nameLocation":"30797:1:26","nodeType":"VariableDeclaration","scope":6769,"src":"30789:9:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6697,"name":"uint256","nodeType":"ElementaryTypeName","src":"30789:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30788:11:26"},"scope":6826,"src":"30739:736:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6805,"nodeType":"Block","src":"31712:184:26","statements":[{"id":6804,"nodeType":"UncheckedBlock","src":"31722:168:26","statements":[{"assignments":[6781],"declarations":[{"constant":false,"id":6781,"mutability":"mutable","name":"result","nameLocation":"31754:6:26","nodeType":"VariableDeclaration","scope":6804,"src":"31746:14:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6780,"name":"uint256","nodeType":"ElementaryTypeName","src":"31746:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":6785,"initialValue":{"arguments":[{"id":6783,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6772,"src":"31770:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6782,"name":"log256","nodeType":"Identifier","overloadedDeclarations":[6769,6806],"referencedDeclaration":6769,"src":"31763:6:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":6784,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31763:13:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"31746:30:26"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6802,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6786,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6781,"src":"31797:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":6800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":6790,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6775,"src":"31839:8:26","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_13175217","typeString":"enum Math.Rounding"}],"id":6789,"name":"unsignedRoundsUp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6825,"src":"31822:16:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_enum$_Rounding_$5217_$returns$_t_bool_$","typeString":"function (enum Math.Rounding) pure returns (bool)"}},"id":6791,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31822:26:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6799,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6797,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":6792,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31852:1:26","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":6795,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6793,"name":"result","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6781,"src":"31858:6:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"hexValue":"33","id":6794,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31868:1:26","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"31858:11:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":6796,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"31857:13:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31852:18:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":6798,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6772,"src":"31873:5:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31852:26:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"31822:56:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":6787,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"31806:8:26","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_13218591_$","typeString":"type(library SafeCast)"}},"id":6788,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"31815:6:26","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"31806:15:26","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":6801,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31806:73:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"31797:82:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":6779,"id":6803,"nodeType":"Return","src":"31790:89:26"}]}]},"documentation":{"id":6770,"nodeType":"StructuredDocumentation","src":"31481:144:26","text":" @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n Returns 0 if given 0."},"id":6806,"implemented":true,"kind":"function","modifiers":[],"name":"log256","nameLocation":"31639:6:26","nodeType":"FunctionDefinition","parameters":{"id":6776,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6772,"mutability":"mutable","name":"value","nameLocation":"31654:5:26","nodeType":"VariableDeclaration","scope":6806,"src":"31646:13:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6771,"name":"uint256","nodeType":"ElementaryTypeName","src":"31646:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":6775,"mutability":"mutable","name":"rounding","nameLocation":"31670:8:26","nodeType":"VariableDeclaration","scope":6806,"src":"31661:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_Rounding_$5217","typeString":"enum Math.Rounding"},"typeName":{"id":6774,"nodeType":"UserDefinedTypeName","pathNode":{"id":6773,"name":"Rounding","nameLocations":["31661:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":5217,"src":"31661:8:26"},"referencedDeclaration":5217,"src":"31661:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_13255217","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"31645:34:26"},"returnParameters":{"id":6779,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6778,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6806,"src":"31703:7:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6777,"name":"uint256","nodeType":"ElementaryTypeName","src":"31703:7:26","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"31702:9:26"},"scope":6826,"src":"31630:266:26","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6824,"nodeType":"Block","src":"32094:48:26","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":6822,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":6820,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":6817,"name":"rounding","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6810,"src":"32117:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_13265217","typeString":"enum Math.Rounding"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enumMATH_PLACEHOLDER_13275217","typeString":"enum Math.Rounding"}],"id":6816,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"32111:5:26","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":6815,"name":"uint8","nodeType":"ElementaryTypeName","src":"32111:5:26","typeDescriptions":{}}},"id":6818,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32111:15:26","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"%","rightExpression":{"hexValue":"32","id":6819,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32129:1:26","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"32111:19:26","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":6821,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32134:1:26","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"32111:24:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":6814,"id":6823,"nodeType":"Return","src":"32104:31:26"}]},"documentation":{"id":6807,"nodeType":"StructuredDocumentation","src":"31902:113:26","text":" @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers."},"id":6825,"implemented":true,"kind":"function","modifiers":[],"name":"unsignedRoundsUp","nameLocation":"32029:16:26","nodeType":"FunctionDefinition","parameters":{"id":6811,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6810,"mutability":"mutable","name":"rounding","nameLocation":"32055:8:26","nodeType":"VariableDeclaration","scope":6825,"src":"32046:17:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_13295217","typeString":"enum Math.Rounding"},"typeName":{"id":6809,"nodeType":"UserDefinedTypeName","pathNode":{"id":6808,"name":"Rounding","nameLocations":["32046:8:26"],"nodeType":"IdentifierPath","referencedDeclaration":5217,"src":"32046:8:26"},"referencedDeclaration":5217,"src":"32046:8:26","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_13305217","typeString":"enum Math.Rounding"}},"visibility":"internal"}],"src":"32045:19:26"},"returnParameters":{"id":6814,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6813,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6825,"src":"32088:4:26","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":6812,"name":"bool","nodeType":"ElementaryTypeName","src":"32088:4:26","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"32087:6:26"},"scope":6826,"src":"32020:122:26","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":6827,"src":"281:31863:26","usedErrors":[],"usedEvents":[]}],"src":"103:32042:26"},"id":26},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/math/SafeCast.sol","exportedSymbols":{"SafeCast":[8591]},"id":8592,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":6828,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"192:24:27"},{"abstract":false,"baseContracts":[],"canonicalName":"SafeCast","contractDependencies":[],"contractKind":"library","documentation":{"id":6829,"nodeType":"StructuredDocumentation","src":"218:550:27","text":" @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n checks.\n Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n easily result in undesired exploitation or bugs, since developers usually\n assume that overflows raise errors. `SafeCast` restores this intuition by\n reverting the transaction when such an operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always."},"fullyImplemented":true,"id":8591,"linearizedBaseContracts":[8591],"name":"SafeCast","nameLocation":"777:8:27","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":6830,"nodeType":"StructuredDocumentation","src":"792:68:27","text":" @dev Value doesn't fit in an uint of `bits` size."},"errorSelector":"6dfcc650","id":6836,"name":"SafeCastOverflowedUintDowncast","nameLocation":"871:30:27","nodeType":"ErrorDefinition","parameters":{"id":6835,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6832,"mutability":"mutable","name":"bits","nameLocation":"908:4:27","nodeType":"VariableDeclaration","scope":6836,"src":"902:10:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":6831,"name":"uint8","nodeType":"ElementaryTypeName","src":"902:5:27","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":6834,"mutability":"mutable","name":"value","nameLocation":"922:5:27","nodeType":"VariableDeclaration","scope":6836,"src":"914:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6833,"name":"uint256","nodeType":"ElementaryTypeName","src":"914:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"901:27:27"},"src":"865:64:27"},{"documentation":{"id":6837,"nodeType":"StructuredDocumentation","src":"935:75:27","text":" @dev An int value doesn't fit in an uint of `bits` size."},"errorSelector":"a8ce4432","id":6841,"name":"SafeCastOverflowedIntToUint","nameLocation":"1021:27:27","nodeType":"ErrorDefinition","parameters":{"id":6840,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6839,"mutability":"mutable","name":"value","nameLocation":"1056:5:27","nodeType":"VariableDeclaration","scope":6841,"src":"1049:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":6838,"name":"int256","nodeType":"ElementaryTypeName","src":"1049:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1048:14:27"},"src":"1015:48:27"},{"documentation":{"id":6842,"nodeType":"StructuredDocumentation","src":"1069:67:27","text":" @dev Value doesn't fit in an int of `bits` size."},"errorSelector":"327269a7","id":6848,"name":"SafeCastOverflowedIntDowncast","nameLocation":"1147:29:27","nodeType":"ErrorDefinition","parameters":{"id":6847,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6844,"mutability":"mutable","name":"bits","nameLocation":"1183:4:27","nodeType":"VariableDeclaration","scope":6848,"src":"1177:10:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":6843,"name":"uint8","nodeType":"ElementaryTypeName","src":"1177:5:27","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":6846,"mutability":"mutable","name":"value","nameLocation":"1196:5:27","nodeType":"VariableDeclaration","scope":6848,"src":"1189:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":6845,"name":"int256","nodeType":"ElementaryTypeName","src":"1189:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1176:26:27"},"src":"1141:62:27"},{"documentation":{"id":6849,"nodeType":"StructuredDocumentation","src":"1209:75:27","text":" @dev An uint value doesn't fit in an int of `bits` size."},"errorSelector":"24775e06","id":6853,"name":"SafeCastOverflowedUintToInt","nameLocation":"1295:27:27","nodeType":"ErrorDefinition","parameters":{"id":6852,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6851,"mutability":"mutable","name":"value","nameLocation":"1331:5:27","nodeType":"VariableDeclaration","scope":6853,"src":"1323:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6850,"name":"uint256","nodeType":"ElementaryTypeName","src":"1323:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1322:15:27"},"src":"1289:49:27"},{"body":{"id":6880,"nodeType":"Block","src":"1695:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6867,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6861,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6856,"src":"1709:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":6864,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1722:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint248_$","typeString":"type(uint248)"},"typeName":{"id":6863,"name":"uint248","nodeType":"ElementaryTypeName","src":"1722:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint248_$","typeString":"type(uint248)"}],"id":6862,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"1717:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":6865,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1717:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint248","typeString":"type(uint248)"}},"id":6866,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"1731:3:27","memberName":"max","nodeType":"MemberAccess","src":"1717:17:27","typeDescriptions":{"typeIdentifier":"t_uint248","typeString":"uint248"}},"src":"1709:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6874,"nodeType":"IfStatement","src":"1705:105:27","trueBody":{"id":6873,"nodeType":"Block","src":"1736:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323438","id":6869,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1788:3:27","typeDescriptions":{"typeIdentifier":"t_rational_248_by_1","typeString":"int_const 248"},"value":"248"},{"id":6870,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6856,"src":"1793:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_248_by_1","typeString":"int_const 248"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6868,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"1757:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":6871,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1757:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6872,"nodeType":"RevertStatement","src":"1750:49:27"}]}},{"expression":{"arguments":[{"id":6877,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6856,"src":"1834:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6876,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1826:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint248_$","typeString":"type(uint248)"},"typeName":{"id":6875,"name":"uint248","nodeType":"ElementaryTypeName","src":"1826:7:27","typeDescriptions":{}}},"id":6878,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1826:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint248","typeString":"uint248"}},"functionReturnParameters":6860,"id":6879,"nodeType":"Return","src":"1819:21:27"}]},"documentation":{"id":6854,"nodeType":"StructuredDocumentation","src":"1344:280:27","text":" @dev Returns the downcasted uint248 from uint256, reverting on\n overflow (when the input is greater than largest uint248).\n Counterpart to Solidity's `uint248` operator.\n Requirements:\n - input must fit into 248 bits"},"id":6881,"implemented":true,"kind":"function","modifiers":[],"name":"toUint248","nameLocation":"1638:9:27","nodeType":"FunctionDefinition","parameters":{"id":6857,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6856,"mutability":"mutable","name":"value","nameLocation":"1656:5:27","nodeType":"VariableDeclaration","scope":6881,"src":"1648:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6855,"name":"uint256","nodeType":"ElementaryTypeName","src":"1648:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1647:15:27"},"returnParameters":{"id":6860,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6859,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6881,"src":"1686:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint248","typeString":"uint248"},"typeName":{"id":6858,"name":"uint248","nodeType":"ElementaryTypeName","src":"1686:7:27","typeDescriptions":{"typeIdentifier":"t_uint248","typeString":"uint248"}},"visibility":"internal"}],"src":"1685:9:27"},"scope":8591,"src":"1629:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6908,"nodeType":"Block","src":"2204:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6895,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6889,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6884,"src":"2218:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":6892,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2231:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint240_$","typeString":"type(uint240)"},"typeName":{"id":6891,"name":"uint240","nodeType":"ElementaryTypeName","src":"2231:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint240_$","typeString":"type(uint240)"}],"id":6890,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"2226:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":6893,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2226:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint240","typeString":"type(uint240)"}},"id":6894,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2240:3:27","memberName":"max","nodeType":"MemberAccess","src":"2226:17:27","typeDescriptions":{"typeIdentifier":"t_uint240","typeString":"uint240"}},"src":"2218:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6902,"nodeType":"IfStatement","src":"2214:105:27","trueBody":{"id":6901,"nodeType":"Block","src":"2245:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323430","id":6897,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2297:3:27","typeDescriptions":{"typeIdentifier":"t_rational_240_by_1","typeString":"int_const 240"},"value":"240"},{"id":6898,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6884,"src":"2302:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_240_by_1","typeString":"int_const 240"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6896,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"2266:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":6899,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2266:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6900,"nodeType":"RevertStatement","src":"2259:49:27"}]}},{"expression":{"arguments":[{"id":6905,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6884,"src":"2343:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6904,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2335:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint240_$","typeString":"type(uint240)"},"typeName":{"id":6903,"name":"uint240","nodeType":"ElementaryTypeName","src":"2335:7:27","typeDescriptions":{}}},"id":6906,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2335:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint240","typeString":"uint240"}},"functionReturnParameters":6888,"id":6907,"nodeType":"Return","src":"2328:21:27"}]},"documentation":{"id":6882,"nodeType":"StructuredDocumentation","src":"1853:280:27","text":" @dev Returns the downcasted uint240 from uint256, reverting on\n overflow (when the input is greater than largest uint240).\n Counterpart to Solidity's `uint240` operator.\n Requirements:\n - input must fit into 240 bits"},"id":6909,"implemented":true,"kind":"function","modifiers":[],"name":"toUint240","nameLocation":"2147:9:27","nodeType":"FunctionDefinition","parameters":{"id":6885,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6884,"mutability":"mutable","name":"value","nameLocation":"2165:5:27","nodeType":"VariableDeclaration","scope":6909,"src":"2157:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6883,"name":"uint256","nodeType":"ElementaryTypeName","src":"2157:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2156:15:27"},"returnParameters":{"id":6888,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6887,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6909,"src":"2195:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint240","typeString":"uint240"},"typeName":{"id":6886,"name":"uint240","nodeType":"ElementaryTypeName","src":"2195:7:27","typeDescriptions":{"typeIdentifier":"t_uint240","typeString":"uint240"}},"visibility":"internal"}],"src":"2194:9:27"},"scope":8591,"src":"2138:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6936,"nodeType":"Block","src":"2713:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6923,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6917,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6912,"src":"2727:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":6920,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2740:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint232_$","typeString":"type(uint232)"},"typeName":{"id":6919,"name":"uint232","nodeType":"ElementaryTypeName","src":"2740:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint232_$","typeString":"type(uint232)"}],"id":6918,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"2735:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":6921,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2735:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint232","typeString":"type(uint232)"}},"id":6922,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2749:3:27","memberName":"max","nodeType":"MemberAccess","src":"2735:17:27","typeDescriptions":{"typeIdentifier":"t_uint232","typeString":"uint232"}},"src":"2727:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6930,"nodeType":"IfStatement","src":"2723:105:27","trueBody":{"id":6929,"nodeType":"Block","src":"2754:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323332","id":6925,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2806:3:27","typeDescriptions":{"typeIdentifier":"t_rational_232_by_1","typeString":"int_const 232"},"value":"232"},{"id":6926,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6912,"src":"2811:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_232_by_1","typeString":"int_const 232"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6924,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"2775:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":6927,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2775:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6928,"nodeType":"RevertStatement","src":"2768:49:27"}]}},{"expression":{"arguments":[{"id":6933,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6912,"src":"2852:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6932,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2844:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint232_$","typeString":"type(uint232)"},"typeName":{"id":6931,"name":"uint232","nodeType":"ElementaryTypeName","src":"2844:7:27","typeDescriptions":{}}},"id":6934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2844:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint232","typeString":"uint232"}},"functionReturnParameters":6916,"id":6935,"nodeType":"Return","src":"2837:21:27"}]},"documentation":{"id":6910,"nodeType":"StructuredDocumentation","src":"2362:280:27","text":" @dev Returns the downcasted uint232 from uint256, reverting on\n overflow (when the input is greater than largest uint232).\n Counterpart to Solidity's `uint232` operator.\n Requirements:\n - input must fit into 232 bits"},"id":6937,"implemented":true,"kind":"function","modifiers":[],"name":"toUint232","nameLocation":"2656:9:27","nodeType":"FunctionDefinition","parameters":{"id":6913,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6912,"mutability":"mutable","name":"value","nameLocation":"2674:5:27","nodeType":"VariableDeclaration","scope":6937,"src":"2666:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6911,"name":"uint256","nodeType":"ElementaryTypeName","src":"2666:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2665:15:27"},"returnParameters":{"id":6916,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6915,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6937,"src":"2704:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint232","typeString":"uint232"},"typeName":{"id":6914,"name":"uint232","nodeType":"ElementaryTypeName","src":"2704:7:27","typeDescriptions":{"typeIdentifier":"t_uint232","typeString":"uint232"}},"visibility":"internal"}],"src":"2703:9:27"},"scope":8591,"src":"2647:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6964,"nodeType":"Block","src":"3222:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6951,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6945,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6940,"src":"3236:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":6948,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3249:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint224_$","typeString":"type(uint224)"},"typeName":{"id":6947,"name":"uint224","nodeType":"ElementaryTypeName","src":"3249:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint224_$","typeString":"type(uint224)"}],"id":6946,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"3244:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":6949,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3244:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint224","typeString":"type(uint224)"}},"id":6950,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3258:3:27","memberName":"max","nodeType":"MemberAccess","src":"3244:17:27","typeDescriptions":{"typeIdentifier":"t_uint224","typeString":"uint224"}},"src":"3236:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6958,"nodeType":"IfStatement","src":"3232:105:27","trueBody":{"id":6957,"nodeType":"Block","src":"3263:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323234","id":6953,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3315:3:27","typeDescriptions":{"typeIdentifier":"t_rational_224_by_1","typeString":"int_const 224"},"value":"224"},{"id":6954,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6940,"src":"3320:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_224_by_1","typeString":"int_const 224"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6952,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"3284:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":6955,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3284:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6956,"nodeType":"RevertStatement","src":"3277:49:27"}]}},{"expression":{"arguments":[{"id":6961,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6940,"src":"3361:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6960,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3353:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint224_$","typeString":"type(uint224)"},"typeName":{"id":6959,"name":"uint224","nodeType":"ElementaryTypeName","src":"3353:7:27","typeDescriptions":{}}},"id":6962,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3353:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint224","typeString":"uint224"}},"functionReturnParameters":6944,"id":6963,"nodeType":"Return","src":"3346:21:27"}]},"documentation":{"id":6938,"nodeType":"StructuredDocumentation","src":"2871:280:27","text":" @dev Returns the downcasted uint224 from uint256, reverting on\n overflow (when the input is greater than largest uint224).\n Counterpart to Solidity's `uint224` operator.\n Requirements:\n - input must fit into 224 bits"},"id":6965,"implemented":true,"kind":"function","modifiers":[],"name":"toUint224","nameLocation":"3165:9:27","nodeType":"FunctionDefinition","parameters":{"id":6941,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6940,"mutability":"mutable","name":"value","nameLocation":"3183:5:27","nodeType":"VariableDeclaration","scope":6965,"src":"3175:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6939,"name":"uint256","nodeType":"ElementaryTypeName","src":"3175:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3174:15:27"},"returnParameters":{"id":6944,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6943,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6965,"src":"3213:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint224","typeString":"uint224"},"typeName":{"id":6942,"name":"uint224","nodeType":"ElementaryTypeName","src":"3213:7:27","typeDescriptions":{"typeIdentifier":"t_uint224","typeString":"uint224"}},"visibility":"internal"}],"src":"3212:9:27"},"scope":8591,"src":"3156:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":6992,"nodeType":"Block","src":"3731:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":6979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":6973,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6968,"src":"3745:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":6976,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3758:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint216_$","typeString":"type(uint216)"},"typeName":{"id":6975,"name":"uint216","nodeType":"ElementaryTypeName","src":"3758:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint216_$","typeString":"type(uint216)"}],"id":6974,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"3753:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":6977,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3753:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint216","typeString":"type(uint216)"}},"id":6978,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"3767:3:27","memberName":"max","nodeType":"MemberAccess","src":"3753:17:27","typeDescriptions":{"typeIdentifier":"t_uint216","typeString":"uint216"}},"src":"3745:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":6986,"nodeType":"IfStatement","src":"3741:105:27","trueBody":{"id":6985,"nodeType":"Block","src":"3772:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323136","id":6981,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3824:3:27","typeDescriptions":{"typeIdentifier":"t_rational_216_by_1","typeString":"int_const 216"},"value":"216"},{"id":6982,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6968,"src":"3829:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_216_by_1","typeString":"int_const 216"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6980,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"3793:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":6983,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3793:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":6984,"nodeType":"RevertStatement","src":"3786:49:27"}]}},{"expression":{"arguments":[{"id":6989,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6968,"src":"3870:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":6988,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3862:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint216_$","typeString":"type(uint216)"},"typeName":{"id":6987,"name":"uint216","nodeType":"ElementaryTypeName","src":"3862:7:27","typeDescriptions":{}}},"id":6990,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3862:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint216","typeString":"uint216"}},"functionReturnParameters":6972,"id":6991,"nodeType":"Return","src":"3855:21:27"}]},"documentation":{"id":6966,"nodeType":"StructuredDocumentation","src":"3380:280:27","text":" @dev Returns the downcasted uint216 from uint256, reverting on\n overflow (when the input is greater than largest uint216).\n Counterpart to Solidity's `uint216` operator.\n Requirements:\n - input must fit into 216 bits"},"id":6993,"implemented":true,"kind":"function","modifiers":[],"name":"toUint216","nameLocation":"3674:9:27","nodeType":"FunctionDefinition","parameters":{"id":6969,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6968,"mutability":"mutable","name":"value","nameLocation":"3692:5:27","nodeType":"VariableDeclaration","scope":6993,"src":"3684:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6967,"name":"uint256","nodeType":"ElementaryTypeName","src":"3684:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3683:15:27"},"returnParameters":{"id":6972,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6971,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":6993,"src":"3722:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint216","typeString":"uint216"},"typeName":{"id":6970,"name":"uint216","nodeType":"ElementaryTypeName","src":"3722:7:27","typeDescriptions":{"typeIdentifier":"t_uint216","typeString":"uint216"}},"visibility":"internal"}],"src":"3721:9:27"},"scope":8591,"src":"3665:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7020,"nodeType":"Block","src":"4240:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7007,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7001,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6996,"src":"4254:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7004,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4267:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint208_$","typeString":"type(uint208)"},"typeName":{"id":7003,"name":"uint208","nodeType":"ElementaryTypeName","src":"4267:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint208_$","typeString":"type(uint208)"}],"id":7002,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4262:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7005,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4262:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint208","typeString":"type(uint208)"}},"id":7006,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4276:3:27","memberName":"max","nodeType":"MemberAccess","src":"4262:17:27","typeDescriptions":{"typeIdentifier":"t_uint208","typeString":"uint208"}},"src":"4254:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7014,"nodeType":"IfStatement","src":"4250:105:27","trueBody":{"id":7013,"nodeType":"Block","src":"4281:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323038","id":7009,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4333:3:27","typeDescriptions":{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},"value":"208"},{"id":7010,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6996,"src":"4338:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7008,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"4302:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7011,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4302:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7012,"nodeType":"RevertStatement","src":"4295:49:27"}]}},{"expression":{"arguments":[{"id":7017,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6996,"src":"4379:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7016,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4371:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint208_$","typeString":"type(uint208)"},"typeName":{"id":7015,"name":"uint208","nodeType":"ElementaryTypeName","src":"4371:7:27","typeDescriptions":{}}},"id":7018,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4371:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint208","typeString":"uint208"}},"functionReturnParameters":7000,"id":7019,"nodeType":"Return","src":"4364:21:27"}]},"documentation":{"id":6994,"nodeType":"StructuredDocumentation","src":"3889:280:27","text":" @dev Returns the downcasted uint208 from uint256, reverting on\n overflow (when the input is greater than largest uint208).\n Counterpart to Solidity's `uint208` operator.\n Requirements:\n - input must fit into 208 bits"},"id":7021,"implemented":true,"kind":"function","modifiers":[],"name":"toUint208","nameLocation":"4183:9:27","nodeType":"FunctionDefinition","parameters":{"id":6997,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6996,"mutability":"mutable","name":"value","nameLocation":"4201:5:27","nodeType":"VariableDeclaration","scope":7021,"src":"4193:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":6995,"name":"uint256","nodeType":"ElementaryTypeName","src":"4193:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4192:15:27"},"returnParameters":{"id":7000,"nodeType":"ParameterList","parameters":[{"constant":false,"id":6999,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7021,"src":"4231:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint208","typeString":"uint208"},"typeName":{"id":6998,"name":"uint208","nodeType":"ElementaryTypeName","src":"4231:7:27","typeDescriptions":{"typeIdentifier":"t_uint208","typeString":"uint208"}},"visibility":"internal"}],"src":"4230:9:27"},"scope":8591,"src":"4174:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7048,"nodeType":"Block","src":"4749:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7035,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7029,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7024,"src":"4763:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7032,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4776:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint200_$","typeString":"type(uint200)"},"typeName":{"id":7031,"name":"uint200","nodeType":"ElementaryTypeName","src":"4776:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint200_$","typeString":"type(uint200)"}],"id":7030,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"4771:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7033,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4771:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint200","typeString":"type(uint200)"}},"id":7034,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4785:3:27","memberName":"max","nodeType":"MemberAccess","src":"4771:17:27","typeDescriptions":{"typeIdentifier":"t_uint200","typeString":"uint200"}},"src":"4763:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7042,"nodeType":"IfStatement","src":"4759:105:27","trueBody":{"id":7041,"nodeType":"Block","src":"4790:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323030","id":7037,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4842:3:27","typeDescriptions":{"typeIdentifier":"t_rational_200_by_1","typeString":"int_const 200"},"value":"200"},{"id":7038,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7024,"src":"4847:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_200_by_1","typeString":"int_const 200"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7036,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"4811:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7039,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4811:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7040,"nodeType":"RevertStatement","src":"4804:49:27"}]}},{"expression":{"arguments":[{"id":7045,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7024,"src":"4888:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7044,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4880:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint200_$","typeString":"type(uint200)"},"typeName":{"id":7043,"name":"uint200","nodeType":"ElementaryTypeName","src":"4880:7:27","typeDescriptions":{}}},"id":7046,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4880:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint200","typeString":"uint200"}},"functionReturnParameters":7028,"id":7047,"nodeType":"Return","src":"4873:21:27"}]},"documentation":{"id":7022,"nodeType":"StructuredDocumentation","src":"4398:280:27","text":" @dev Returns the downcasted uint200 from uint256, reverting on\n overflow (when the input is greater than largest uint200).\n Counterpart to Solidity's `uint200` operator.\n Requirements:\n - input must fit into 200 bits"},"id":7049,"implemented":true,"kind":"function","modifiers":[],"name":"toUint200","nameLocation":"4692:9:27","nodeType":"FunctionDefinition","parameters":{"id":7025,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7024,"mutability":"mutable","name":"value","nameLocation":"4710:5:27","nodeType":"VariableDeclaration","scope":7049,"src":"4702:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7023,"name":"uint256","nodeType":"ElementaryTypeName","src":"4702:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4701:15:27"},"returnParameters":{"id":7028,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7027,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7049,"src":"4740:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint200","typeString":"uint200"},"typeName":{"id":7026,"name":"uint200","nodeType":"ElementaryTypeName","src":"4740:7:27","typeDescriptions":{"typeIdentifier":"t_uint200","typeString":"uint200"}},"visibility":"internal"}],"src":"4739:9:27"},"scope":8591,"src":"4683:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7076,"nodeType":"Block","src":"5258:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7063,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7057,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7052,"src":"5272:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7060,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5285:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint192_$","typeString":"type(uint192)"},"typeName":{"id":7059,"name":"uint192","nodeType":"ElementaryTypeName","src":"5285:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint192_$","typeString":"type(uint192)"}],"id":7058,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"5280:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7061,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5280:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint192","typeString":"type(uint192)"}},"id":7062,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5294:3:27","memberName":"max","nodeType":"MemberAccess","src":"5280:17:27","typeDescriptions":{"typeIdentifier":"t_uint192","typeString":"uint192"}},"src":"5272:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7070,"nodeType":"IfStatement","src":"5268:105:27","trueBody":{"id":7069,"nodeType":"Block","src":"5299:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313932","id":7065,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5351:3:27","typeDescriptions":{"typeIdentifier":"t_rational_192_by_1","typeString":"int_const 192"},"value":"192"},{"id":7066,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7052,"src":"5356:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_192_by_1","typeString":"int_const 192"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7064,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"5320:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7067,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5320:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7068,"nodeType":"RevertStatement","src":"5313:49:27"}]}},{"expression":{"arguments":[{"id":7073,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7052,"src":"5397:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7072,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5389:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint192_$","typeString":"type(uint192)"},"typeName":{"id":7071,"name":"uint192","nodeType":"ElementaryTypeName","src":"5389:7:27","typeDescriptions":{}}},"id":7074,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5389:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint192","typeString":"uint192"}},"functionReturnParameters":7056,"id":7075,"nodeType":"Return","src":"5382:21:27"}]},"documentation":{"id":7050,"nodeType":"StructuredDocumentation","src":"4907:280:27","text":" @dev Returns the downcasted uint192 from uint256, reverting on\n overflow (when the input is greater than largest uint192).\n Counterpart to Solidity's `uint192` operator.\n Requirements:\n - input must fit into 192 bits"},"id":7077,"implemented":true,"kind":"function","modifiers":[],"name":"toUint192","nameLocation":"5201:9:27","nodeType":"FunctionDefinition","parameters":{"id":7053,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7052,"mutability":"mutable","name":"value","nameLocation":"5219:5:27","nodeType":"VariableDeclaration","scope":7077,"src":"5211:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7051,"name":"uint256","nodeType":"ElementaryTypeName","src":"5211:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5210:15:27"},"returnParameters":{"id":7056,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7055,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7077,"src":"5249:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint192","typeString":"uint192"},"typeName":{"id":7054,"name":"uint192","nodeType":"ElementaryTypeName","src":"5249:7:27","typeDescriptions":{"typeIdentifier":"t_uint192","typeString":"uint192"}},"visibility":"internal"}],"src":"5248:9:27"},"scope":8591,"src":"5192:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7104,"nodeType":"Block","src":"5767:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7091,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7085,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7080,"src":"5781:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7088,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5794:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint184_$","typeString":"type(uint184)"},"typeName":{"id":7087,"name":"uint184","nodeType":"ElementaryTypeName","src":"5794:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint184_$","typeString":"type(uint184)"}],"id":7086,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"5789:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7089,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5789:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint184","typeString":"type(uint184)"}},"id":7090,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5803:3:27","memberName":"max","nodeType":"MemberAccess","src":"5789:17:27","typeDescriptions":{"typeIdentifier":"t_uint184","typeString":"uint184"}},"src":"5781:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7098,"nodeType":"IfStatement","src":"5777:105:27","trueBody":{"id":7097,"nodeType":"Block","src":"5808:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313834","id":7093,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5860:3:27","typeDescriptions":{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},"value":"184"},{"id":7094,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7080,"src":"5865:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7092,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"5829:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7095,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5829:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7096,"nodeType":"RevertStatement","src":"5822:49:27"}]}},{"expression":{"arguments":[{"id":7101,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7080,"src":"5906:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7100,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5898:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint184_$","typeString":"type(uint184)"},"typeName":{"id":7099,"name":"uint184","nodeType":"ElementaryTypeName","src":"5898:7:27","typeDescriptions":{}}},"id":7102,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5898:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint184","typeString":"uint184"}},"functionReturnParameters":7084,"id":7103,"nodeType":"Return","src":"5891:21:27"}]},"documentation":{"id":7078,"nodeType":"StructuredDocumentation","src":"5416:280:27","text":" @dev Returns the downcasted uint184 from uint256, reverting on\n overflow (when the input is greater than largest uint184).\n Counterpart to Solidity's `uint184` operator.\n Requirements:\n - input must fit into 184 bits"},"id":7105,"implemented":true,"kind":"function","modifiers":[],"name":"toUint184","nameLocation":"5710:9:27","nodeType":"FunctionDefinition","parameters":{"id":7081,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7080,"mutability":"mutable","name":"value","nameLocation":"5728:5:27","nodeType":"VariableDeclaration","scope":7105,"src":"5720:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7079,"name":"uint256","nodeType":"ElementaryTypeName","src":"5720:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5719:15:27"},"returnParameters":{"id":7084,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7083,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7105,"src":"5758:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint184","typeString":"uint184"},"typeName":{"id":7082,"name":"uint184","nodeType":"ElementaryTypeName","src":"5758:7:27","typeDescriptions":{"typeIdentifier":"t_uint184","typeString":"uint184"}},"visibility":"internal"}],"src":"5757:9:27"},"scope":8591,"src":"5701:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7132,"nodeType":"Block","src":"6276:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7119,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7113,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7108,"src":"6290:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7116,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6303:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint176_$","typeString":"type(uint176)"},"typeName":{"id":7115,"name":"uint176","nodeType":"ElementaryTypeName","src":"6303:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint176_$","typeString":"type(uint176)"}],"id":7114,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6298:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7117,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6298:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint176","typeString":"type(uint176)"}},"id":7118,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6312:3:27","memberName":"max","nodeType":"MemberAccess","src":"6298:17:27","typeDescriptions":{"typeIdentifier":"t_uint176","typeString":"uint176"}},"src":"6290:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7126,"nodeType":"IfStatement","src":"6286:105:27","trueBody":{"id":7125,"nodeType":"Block","src":"6317:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313736","id":7121,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6369:3:27","typeDescriptions":{"typeIdentifier":"t_rational_176_by_1","typeString":"int_const 176"},"value":"176"},{"id":7122,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7108,"src":"6374:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_176_by_1","typeString":"int_const 176"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7120,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"6338:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7123,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6338:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7124,"nodeType":"RevertStatement","src":"6331:49:27"}]}},{"expression":{"arguments":[{"id":7129,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7108,"src":"6415:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7128,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6407:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint176_$","typeString":"type(uint176)"},"typeName":{"id":7127,"name":"uint176","nodeType":"ElementaryTypeName","src":"6407:7:27","typeDescriptions":{}}},"id":7130,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6407:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint176","typeString":"uint176"}},"functionReturnParameters":7112,"id":7131,"nodeType":"Return","src":"6400:21:27"}]},"documentation":{"id":7106,"nodeType":"StructuredDocumentation","src":"5925:280:27","text":" @dev Returns the downcasted uint176 from uint256, reverting on\n overflow (when the input is greater than largest uint176).\n Counterpart to Solidity's `uint176` operator.\n Requirements:\n - input must fit into 176 bits"},"id":7133,"implemented":true,"kind":"function","modifiers":[],"name":"toUint176","nameLocation":"6219:9:27","nodeType":"FunctionDefinition","parameters":{"id":7109,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7108,"mutability":"mutable","name":"value","nameLocation":"6237:5:27","nodeType":"VariableDeclaration","scope":7133,"src":"6229:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7107,"name":"uint256","nodeType":"ElementaryTypeName","src":"6229:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6228:15:27"},"returnParameters":{"id":7112,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7111,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7133,"src":"6267:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint176","typeString":"uint176"},"typeName":{"id":7110,"name":"uint176","nodeType":"ElementaryTypeName","src":"6267:7:27","typeDescriptions":{"typeIdentifier":"t_uint176","typeString":"uint176"}},"visibility":"internal"}],"src":"6266:9:27"},"scope":8591,"src":"6210:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7160,"nodeType":"Block","src":"6785:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7141,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7136,"src":"6799:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7144,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6812:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint168_$","typeString":"type(uint168)"},"typeName":{"id":7143,"name":"uint168","nodeType":"ElementaryTypeName","src":"6812:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint168_$","typeString":"type(uint168)"}],"id":7142,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"6807:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7145,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6807:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint168","typeString":"type(uint168)"}},"id":7146,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"6821:3:27","memberName":"max","nodeType":"MemberAccess","src":"6807:17:27","typeDescriptions":{"typeIdentifier":"t_uint168","typeString":"uint168"}},"src":"6799:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7154,"nodeType":"IfStatement","src":"6795:105:27","trueBody":{"id":7153,"nodeType":"Block","src":"6826:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313638","id":7149,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6878:3:27","typeDescriptions":{"typeIdentifier":"t_rational_168_by_1","typeString":"int_const 168"},"value":"168"},{"id":7150,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7136,"src":"6883:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_168_by_1","typeString":"int_const 168"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7148,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"6847:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7151,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6847:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7152,"nodeType":"RevertStatement","src":"6840:49:27"}]}},{"expression":{"arguments":[{"id":7157,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7136,"src":"6924:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7156,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6916:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint168_$","typeString":"type(uint168)"},"typeName":{"id":7155,"name":"uint168","nodeType":"ElementaryTypeName","src":"6916:7:27","typeDescriptions":{}}},"id":7158,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6916:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint168","typeString":"uint168"}},"functionReturnParameters":7140,"id":7159,"nodeType":"Return","src":"6909:21:27"}]},"documentation":{"id":7134,"nodeType":"StructuredDocumentation","src":"6434:280:27","text":" @dev Returns the downcasted uint168 from uint256, reverting on\n overflow (when the input is greater than largest uint168).\n Counterpart to Solidity's `uint168` operator.\n Requirements:\n - input must fit into 168 bits"},"id":7161,"implemented":true,"kind":"function","modifiers":[],"name":"toUint168","nameLocation":"6728:9:27","nodeType":"FunctionDefinition","parameters":{"id":7137,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7136,"mutability":"mutable","name":"value","nameLocation":"6746:5:27","nodeType":"VariableDeclaration","scope":7161,"src":"6738:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7135,"name":"uint256","nodeType":"ElementaryTypeName","src":"6738:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6737:15:27"},"returnParameters":{"id":7140,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7139,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7161,"src":"6776:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint168","typeString":"uint168"},"typeName":{"id":7138,"name":"uint168","nodeType":"ElementaryTypeName","src":"6776:7:27","typeDescriptions":{"typeIdentifier":"t_uint168","typeString":"uint168"}},"visibility":"internal"}],"src":"6775:9:27"},"scope":8591,"src":"6719:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7188,"nodeType":"Block","src":"7294:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7175,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7169,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7164,"src":"7308:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7172,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7321:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":7171,"name":"uint160","nodeType":"ElementaryTypeName","src":"7321:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"}],"id":7170,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"7316:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7316:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint160","typeString":"type(uint160)"}},"id":7174,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7330:3:27","memberName":"max","nodeType":"MemberAccess","src":"7316:17:27","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"src":"7308:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7182,"nodeType":"IfStatement","src":"7304:105:27","trueBody":{"id":7181,"nodeType":"Block","src":"7335:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313630","id":7177,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7387:3:27","typeDescriptions":{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},"value":"160"},{"id":7178,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7164,"src":"7392:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7176,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"7356:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7179,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7356:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7180,"nodeType":"RevertStatement","src":"7349:49:27"}]}},{"expression":{"arguments":[{"id":7185,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7164,"src":"7433:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7184,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7425:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint160_$","typeString":"type(uint160)"},"typeName":{"id":7183,"name":"uint160","nodeType":"ElementaryTypeName","src":"7425:7:27","typeDescriptions":{}}},"id":7186,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7425:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"functionReturnParameters":7168,"id":7187,"nodeType":"Return","src":"7418:21:27"}]},"documentation":{"id":7162,"nodeType":"StructuredDocumentation","src":"6943:280:27","text":" @dev Returns the downcasted uint160 from uint256, reverting on\n overflow (when the input is greater than largest uint160).\n Counterpart to Solidity's `uint160` operator.\n Requirements:\n - input must fit into 160 bits"},"id":7189,"implemented":true,"kind":"function","modifiers":[],"name":"toUint160","nameLocation":"7237:9:27","nodeType":"FunctionDefinition","parameters":{"id":7165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7164,"mutability":"mutable","name":"value","nameLocation":"7255:5:27","nodeType":"VariableDeclaration","scope":7189,"src":"7247:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7163,"name":"uint256","nodeType":"ElementaryTypeName","src":"7247:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7246:15:27"},"returnParameters":{"id":7168,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7167,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7189,"src":"7285:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"},"typeName":{"id":7166,"name":"uint160","nodeType":"ElementaryTypeName","src":"7285:7:27","typeDescriptions":{"typeIdentifier":"t_uint160","typeString":"uint160"}},"visibility":"internal"}],"src":"7284:9:27"},"scope":8591,"src":"7228:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7216,"nodeType":"Block","src":"7803:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7197,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7192,"src":"7817:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7200,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7830:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint152_$","typeString":"type(uint152)"},"typeName":{"id":7199,"name":"uint152","nodeType":"ElementaryTypeName","src":"7830:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint152_$","typeString":"type(uint152)"}],"id":7198,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"7825:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7201,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7825:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint152","typeString":"type(uint152)"}},"id":7202,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"7839:3:27","memberName":"max","nodeType":"MemberAccess","src":"7825:17:27","typeDescriptions":{"typeIdentifier":"t_uint152","typeString":"uint152"}},"src":"7817:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7210,"nodeType":"IfStatement","src":"7813:105:27","trueBody":{"id":7209,"nodeType":"Block","src":"7844:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313532","id":7205,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7896:3:27","typeDescriptions":{"typeIdentifier":"t_rational_152_by_1","typeString":"int_const 152"},"value":"152"},{"id":7206,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7192,"src":"7901:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_152_by_1","typeString":"int_const 152"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7204,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"7865:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7207,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7865:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7208,"nodeType":"RevertStatement","src":"7858:49:27"}]}},{"expression":{"arguments":[{"id":7213,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7192,"src":"7942:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7212,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7934:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint152_$","typeString":"type(uint152)"},"typeName":{"id":7211,"name":"uint152","nodeType":"ElementaryTypeName","src":"7934:7:27","typeDescriptions":{}}},"id":7214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7934:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint152","typeString":"uint152"}},"functionReturnParameters":7196,"id":7215,"nodeType":"Return","src":"7927:21:27"}]},"documentation":{"id":7190,"nodeType":"StructuredDocumentation","src":"7452:280:27","text":" @dev Returns the downcasted uint152 from uint256, reverting on\n overflow (when the input is greater than largest uint152).\n Counterpart to Solidity's `uint152` operator.\n Requirements:\n - input must fit into 152 bits"},"id":7217,"implemented":true,"kind":"function","modifiers":[],"name":"toUint152","nameLocation":"7746:9:27","nodeType":"FunctionDefinition","parameters":{"id":7193,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7192,"mutability":"mutable","name":"value","nameLocation":"7764:5:27","nodeType":"VariableDeclaration","scope":7217,"src":"7756:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7191,"name":"uint256","nodeType":"ElementaryTypeName","src":"7756:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7755:15:27"},"returnParameters":{"id":7196,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7195,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7217,"src":"7794:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint152","typeString":"uint152"},"typeName":{"id":7194,"name":"uint152","nodeType":"ElementaryTypeName","src":"7794:7:27","typeDescriptions":{"typeIdentifier":"t_uint152","typeString":"uint152"}},"visibility":"internal"}],"src":"7793:9:27"},"scope":8591,"src":"7737:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7244,"nodeType":"Block","src":"8312:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7225,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"8326:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7228,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8339:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint144_$","typeString":"type(uint144)"},"typeName":{"id":7227,"name":"uint144","nodeType":"ElementaryTypeName","src":"8339:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint144_$","typeString":"type(uint144)"}],"id":7226,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"8334:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7229,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8334:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint144","typeString":"type(uint144)"}},"id":7230,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8348:3:27","memberName":"max","nodeType":"MemberAccess","src":"8334:17:27","typeDescriptions":{"typeIdentifier":"t_uint144","typeString":"uint144"}},"src":"8326:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7238,"nodeType":"IfStatement","src":"8322:105:27","trueBody":{"id":7237,"nodeType":"Block","src":"8353:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313434","id":7233,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8405:3:27","typeDescriptions":{"typeIdentifier":"t_rational_144_by_1","typeString":"int_const 144"},"value":"144"},{"id":7234,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"8410:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_144_by_1","typeString":"int_const 144"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7232,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"8374:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7235,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8374:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7236,"nodeType":"RevertStatement","src":"8367:49:27"}]}},{"expression":{"arguments":[{"id":7241,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7220,"src":"8451:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7240,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8443:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint144_$","typeString":"type(uint144)"},"typeName":{"id":7239,"name":"uint144","nodeType":"ElementaryTypeName","src":"8443:7:27","typeDescriptions":{}}},"id":7242,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8443:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint144","typeString":"uint144"}},"functionReturnParameters":7224,"id":7243,"nodeType":"Return","src":"8436:21:27"}]},"documentation":{"id":7218,"nodeType":"StructuredDocumentation","src":"7961:280:27","text":" @dev Returns the downcasted uint144 from uint256, reverting on\n overflow (when the input is greater than largest uint144).\n Counterpart to Solidity's `uint144` operator.\n Requirements:\n - input must fit into 144 bits"},"id":7245,"implemented":true,"kind":"function","modifiers":[],"name":"toUint144","nameLocation":"8255:9:27","nodeType":"FunctionDefinition","parameters":{"id":7221,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7220,"mutability":"mutable","name":"value","nameLocation":"8273:5:27","nodeType":"VariableDeclaration","scope":7245,"src":"8265:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7219,"name":"uint256","nodeType":"ElementaryTypeName","src":"8265:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8264:15:27"},"returnParameters":{"id":7224,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7223,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7245,"src":"8303:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint144","typeString":"uint144"},"typeName":{"id":7222,"name":"uint144","nodeType":"ElementaryTypeName","src":"8303:7:27","typeDescriptions":{"typeIdentifier":"t_uint144","typeString":"uint144"}},"visibility":"internal"}],"src":"8302:9:27"},"scope":8591,"src":"8246:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7272,"nodeType":"Block","src":"8821:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7259,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7253,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7248,"src":"8835:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7256,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8848:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint136_$","typeString":"type(uint136)"},"typeName":{"id":7255,"name":"uint136","nodeType":"ElementaryTypeName","src":"8848:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint136_$","typeString":"type(uint136)"}],"id":7254,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"8843:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7257,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8843:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint136","typeString":"type(uint136)"}},"id":7258,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"8857:3:27","memberName":"max","nodeType":"MemberAccess","src":"8843:17:27","typeDescriptions":{"typeIdentifier":"t_uint136","typeString":"uint136"}},"src":"8835:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7266,"nodeType":"IfStatement","src":"8831:105:27","trueBody":{"id":7265,"nodeType":"Block","src":"8862:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313336","id":7261,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8914:3:27","typeDescriptions":{"typeIdentifier":"t_rational_136_by_1","typeString":"int_const 136"},"value":"136"},{"id":7262,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7248,"src":"8919:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_136_by_1","typeString":"int_const 136"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7260,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"8883:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7263,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8883:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7264,"nodeType":"RevertStatement","src":"8876:49:27"}]}},{"expression":{"arguments":[{"id":7269,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7248,"src":"8960:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7268,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8952:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint136_$","typeString":"type(uint136)"},"typeName":{"id":7267,"name":"uint136","nodeType":"ElementaryTypeName","src":"8952:7:27","typeDescriptions":{}}},"id":7270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8952:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint136","typeString":"uint136"}},"functionReturnParameters":7252,"id":7271,"nodeType":"Return","src":"8945:21:27"}]},"documentation":{"id":7246,"nodeType":"StructuredDocumentation","src":"8470:280:27","text":" @dev Returns the downcasted uint136 from uint256, reverting on\n overflow (when the input is greater than largest uint136).\n Counterpart to Solidity's `uint136` operator.\n Requirements:\n - input must fit into 136 bits"},"id":7273,"implemented":true,"kind":"function","modifiers":[],"name":"toUint136","nameLocation":"8764:9:27","nodeType":"FunctionDefinition","parameters":{"id":7249,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7248,"mutability":"mutable","name":"value","nameLocation":"8782:5:27","nodeType":"VariableDeclaration","scope":7273,"src":"8774:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7247,"name":"uint256","nodeType":"ElementaryTypeName","src":"8774:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8773:15:27"},"returnParameters":{"id":7252,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7251,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7273,"src":"8812:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint136","typeString":"uint136"},"typeName":{"id":7250,"name":"uint136","nodeType":"ElementaryTypeName","src":"8812:7:27","typeDescriptions":{"typeIdentifier":"t_uint136","typeString":"uint136"}},"visibility":"internal"}],"src":"8811:9:27"},"scope":8591,"src":"8755:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7300,"nodeType":"Block","src":"9330:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7287,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7281,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7276,"src":"9344:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7284,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9357:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":7283,"name":"uint128","nodeType":"ElementaryTypeName","src":"9357:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"}],"id":7282,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"9352:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7285,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9352:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint128","typeString":"type(uint128)"}},"id":7286,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9366:3:27","memberName":"max","nodeType":"MemberAccess","src":"9352:17:27","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"src":"9344:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7294,"nodeType":"IfStatement","src":"9340:105:27","trueBody":{"id":7293,"nodeType":"Block","src":"9371:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313238","id":7289,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9423:3:27","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},{"id":7290,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7276,"src":"9428:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7288,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"9392:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7291,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9392:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7292,"nodeType":"RevertStatement","src":"9385:49:27"}]}},{"expression":{"arguments":[{"id":7297,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7276,"src":"9469:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7296,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9461:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint128_$","typeString":"type(uint128)"},"typeName":{"id":7295,"name":"uint128","nodeType":"ElementaryTypeName","src":"9461:7:27","typeDescriptions":{}}},"id":7298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9461:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"functionReturnParameters":7280,"id":7299,"nodeType":"Return","src":"9454:21:27"}]},"documentation":{"id":7274,"nodeType":"StructuredDocumentation","src":"8979:280:27","text":" @dev Returns the downcasted uint128 from uint256, reverting on\n overflow (when the input is greater than largest uint128).\n Counterpart to Solidity's `uint128` operator.\n Requirements:\n - input must fit into 128 bits"},"id":7301,"implemented":true,"kind":"function","modifiers":[],"name":"toUint128","nameLocation":"9273:9:27","nodeType":"FunctionDefinition","parameters":{"id":7277,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7276,"mutability":"mutable","name":"value","nameLocation":"9291:5:27","nodeType":"VariableDeclaration","scope":7301,"src":"9283:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7275,"name":"uint256","nodeType":"ElementaryTypeName","src":"9283:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9282:15:27"},"returnParameters":{"id":7280,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7279,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7301,"src":"9321:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"},"typeName":{"id":7278,"name":"uint128","nodeType":"ElementaryTypeName","src":"9321:7:27","typeDescriptions":{"typeIdentifier":"t_uint128","typeString":"uint128"}},"visibility":"internal"}],"src":"9320:9:27"},"scope":8591,"src":"9264:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7328,"nodeType":"Block","src":"9839:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7309,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7304,"src":"9853:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7312,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9866:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint120_$","typeString":"type(uint120)"},"typeName":{"id":7311,"name":"uint120","nodeType":"ElementaryTypeName","src":"9866:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint120_$","typeString":"type(uint120)"}],"id":7310,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"9861:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7313,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9861:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint120","typeString":"type(uint120)"}},"id":7314,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"9875:3:27","memberName":"max","nodeType":"MemberAccess","src":"9861:17:27","typeDescriptions":{"typeIdentifier":"t_uint120","typeString":"uint120"}},"src":"9853:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7322,"nodeType":"IfStatement","src":"9849:105:27","trueBody":{"id":7321,"nodeType":"Block","src":"9880:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313230","id":7317,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9932:3:27","typeDescriptions":{"typeIdentifier":"t_rational_120_by_1","typeString":"int_const 120"},"value":"120"},{"id":7318,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7304,"src":"9937:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_120_by_1","typeString":"int_const 120"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7316,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"9901:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9901:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7320,"nodeType":"RevertStatement","src":"9894:49:27"}]}},{"expression":{"arguments":[{"id":7325,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7304,"src":"9978:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7324,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9970:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint120_$","typeString":"type(uint120)"},"typeName":{"id":7323,"name":"uint120","nodeType":"ElementaryTypeName","src":"9970:7:27","typeDescriptions":{}}},"id":7326,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9970:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint120","typeString":"uint120"}},"functionReturnParameters":7308,"id":7327,"nodeType":"Return","src":"9963:21:27"}]},"documentation":{"id":7302,"nodeType":"StructuredDocumentation","src":"9488:280:27","text":" @dev Returns the downcasted uint120 from uint256, reverting on\n overflow (when the input is greater than largest uint120).\n Counterpart to Solidity's `uint120` operator.\n Requirements:\n - input must fit into 120 bits"},"id":7329,"implemented":true,"kind":"function","modifiers":[],"name":"toUint120","nameLocation":"9782:9:27","nodeType":"FunctionDefinition","parameters":{"id":7305,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7304,"mutability":"mutable","name":"value","nameLocation":"9800:5:27","nodeType":"VariableDeclaration","scope":7329,"src":"9792:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7303,"name":"uint256","nodeType":"ElementaryTypeName","src":"9792:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9791:15:27"},"returnParameters":{"id":7308,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7307,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7329,"src":"9830:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint120","typeString":"uint120"},"typeName":{"id":7306,"name":"uint120","nodeType":"ElementaryTypeName","src":"9830:7:27","typeDescriptions":{"typeIdentifier":"t_uint120","typeString":"uint120"}},"visibility":"internal"}],"src":"9829:9:27"},"scope":8591,"src":"9773:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7356,"nodeType":"Block","src":"10348:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7337,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7332,"src":"10362:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7340,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10375:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint112_$","typeString":"type(uint112)"},"typeName":{"id":7339,"name":"uint112","nodeType":"ElementaryTypeName","src":"10375:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint112_$","typeString":"type(uint112)"}],"id":7338,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"10370:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7341,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10370:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint112","typeString":"type(uint112)"}},"id":7342,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10384:3:27","memberName":"max","nodeType":"MemberAccess","src":"10370:17:27","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"src":"10362:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7350,"nodeType":"IfStatement","src":"10358:105:27","trueBody":{"id":7349,"nodeType":"Block","src":"10389:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313132","id":7345,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10441:3:27","typeDescriptions":{"typeIdentifier":"t_rational_112_by_1","typeString":"int_const 112"},"value":"112"},{"id":7346,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7332,"src":"10446:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_112_by_1","typeString":"int_const 112"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7344,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"10410:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7347,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10410:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7348,"nodeType":"RevertStatement","src":"10403:49:27"}]}},{"expression":{"arguments":[{"id":7353,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7332,"src":"10487:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7352,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10479:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint112_$","typeString":"type(uint112)"},"typeName":{"id":7351,"name":"uint112","nodeType":"ElementaryTypeName","src":"10479:7:27","typeDescriptions":{}}},"id":7354,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10479:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"functionReturnParameters":7336,"id":7355,"nodeType":"Return","src":"10472:21:27"}]},"documentation":{"id":7330,"nodeType":"StructuredDocumentation","src":"9997:280:27","text":" @dev Returns the downcasted uint112 from uint256, reverting on\n overflow (when the input is greater than largest uint112).\n Counterpart to Solidity's `uint112` operator.\n Requirements:\n - input must fit into 112 bits"},"id":7357,"implemented":true,"kind":"function","modifiers":[],"name":"toUint112","nameLocation":"10291:9:27","nodeType":"FunctionDefinition","parameters":{"id":7333,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7332,"mutability":"mutable","name":"value","nameLocation":"10309:5:27","nodeType":"VariableDeclaration","scope":7357,"src":"10301:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7331,"name":"uint256","nodeType":"ElementaryTypeName","src":"10301:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10300:15:27"},"returnParameters":{"id":7336,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7335,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7357,"src":"10339:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"},"typeName":{"id":7334,"name":"uint112","nodeType":"ElementaryTypeName","src":"10339:7:27","typeDescriptions":{"typeIdentifier":"t_uint112","typeString":"uint112"}},"visibility":"internal"}],"src":"10338:9:27"},"scope":8591,"src":"10282:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7384,"nodeType":"Block","src":"10857:152:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7371,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7365,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7360,"src":"10871:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7368,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10884:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint104_$","typeString":"type(uint104)"},"typeName":{"id":7367,"name":"uint104","nodeType":"ElementaryTypeName","src":"10884:7:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint104_$","typeString":"type(uint104)"}],"id":7366,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"10879:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7369,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10879:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint104","typeString":"type(uint104)"}},"id":7370,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10893:3:27","memberName":"max","nodeType":"MemberAccess","src":"10879:17:27","typeDescriptions":{"typeIdentifier":"t_uint104","typeString":"uint104"}},"src":"10871:25:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7378,"nodeType":"IfStatement","src":"10867:105:27","trueBody":{"id":7377,"nodeType":"Block","src":"10898:74:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313034","id":7373,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10950:3:27","typeDescriptions":{"typeIdentifier":"t_rational_104_by_1","typeString":"int_const 104"},"value":"104"},{"id":7374,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7360,"src":"10955:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_104_by_1","typeString":"int_const 104"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7372,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"10919:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7375,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10919:42:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7376,"nodeType":"RevertStatement","src":"10912:49:27"}]}},{"expression":{"arguments":[{"id":7381,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7360,"src":"10996:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7380,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10988:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint104_$","typeString":"type(uint104)"},"typeName":{"id":7379,"name":"uint104","nodeType":"ElementaryTypeName","src":"10988:7:27","typeDescriptions":{}}},"id":7382,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10988:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint104","typeString":"uint104"}},"functionReturnParameters":7364,"id":7383,"nodeType":"Return","src":"10981:21:27"}]},"documentation":{"id":7358,"nodeType":"StructuredDocumentation","src":"10506:280:27","text":" @dev Returns the downcasted uint104 from uint256, reverting on\n overflow (when the input is greater than largest uint104).\n Counterpart to Solidity's `uint104` operator.\n Requirements:\n - input must fit into 104 bits"},"id":7385,"implemented":true,"kind":"function","modifiers":[],"name":"toUint104","nameLocation":"10800:9:27","nodeType":"FunctionDefinition","parameters":{"id":7361,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7360,"mutability":"mutable","name":"value","nameLocation":"10818:5:27","nodeType":"VariableDeclaration","scope":7385,"src":"10810:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7359,"name":"uint256","nodeType":"ElementaryTypeName","src":"10810:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10809:15:27"},"returnParameters":{"id":7364,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7363,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7385,"src":"10848:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint104","typeString":"uint104"},"typeName":{"id":7362,"name":"uint104","nodeType":"ElementaryTypeName","src":"10848:7:27","typeDescriptions":{"typeIdentifier":"t_uint104","typeString":"uint104"}},"visibility":"internal"}],"src":"10847:9:27"},"scope":8591,"src":"10791:218:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7412,"nodeType":"Block","src":"11360:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7399,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7393,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7388,"src":"11374:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7396,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11387:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":7395,"name":"uint96","nodeType":"ElementaryTypeName","src":"11387:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"}],"id":7394,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"11382:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7397,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11382:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint96","typeString":"type(uint96)"}},"id":7398,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11395:3:27","memberName":"max","nodeType":"MemberAccess","src":"11382:16:27","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"src":"11374:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7406,"nodeType":"IfStatement","src":"11370:103:27","trueBody":{"id":7405,"nodeType":"Block","src":"11400:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3936","id":7401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11452:2:27","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},{"id":7402,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7388,"src":"11456:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7400,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"11421:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7403,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11421:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7404,"nodeType":"RevertStatement","src":"11414:48:27"}]}},{"expression":{"arguments":[{"id":7409,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7388,"src":"11496:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7408,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11489:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint96_$","typeString":"type(uint96)"},"typeName":{"id":7407,"name":"uint96","nodeType":"ElementaryTypeName","src":"11489:6:27","typeDescriptions":{}}},"id":7410,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11489:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"functionReturnParameters":7392,"id":7411,"nodeType":"Return","src":"11482:20:27"}]},"documentation":{"id":7386,"nodeType":"StructuredDocumentation","src":"11015:276:27","text":" @dev Returns the downcasted uint96 from uint256, reverting on\n overflow (when the input is greater than largest uint96).\n Counterpart to Solidity's `uint96` operator.\n Requirements:\n - input must fit into 96 bits"},"id":7413,"implemented":true,"kind":"function","modifiers":[],"name":"toUint96","nameLocation":"11305:8:27","nodeType":"FunctionDefinition","parameters":{"id":7389,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7388,"mutability":"mutable","name":"value","nameLocation":"11322:5:27","nodeType":"VariableDeclaration","scope":7413,"src":"11314:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7387,"name":"uint256","nodeType":"ElementaryTypeName","src":"11314:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11313:15:27"},"returnParameters":{"id":7392,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7391,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7413,"src":"11352:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"},"typeName":{"id":7390,"name":"uint96","nodeType":"ElementaryTypeName","src":"11352:6:27","typeDescriptions":{"typeIdentifier":"t_uint96","typeString":"uint96"}},"visibility":"internal"}],"src":"11351:8:27"},"scope":8591,"src":"11296:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7440,"nodeType":"Block","src":"11860:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7427,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7421,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7416,"src":"11874:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7424,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11887:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint88_$","typeString":"type(uint88)"},"typeName":{"id":7423,"name":"uint88","nodeType":"ElementaryTypeName","src":"11887:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint88_$","typeString":"type(uint88)"}],"id":7422,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"11882:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7425,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11882:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint88","typeString":"type(uint88)"}},"id":7426,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11895:3:27","memberName":"max","nodeType":"MemberAccess","src":"11882:16:27","typeDescriptions":{"typeIdentifier":"t_uint88","typeString":"uint88"}},"src":"11874:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7434,"nodeType":"IfStatement","src":"11870:103:27","trueBody":{"id":7433,"nodeType":"Block","src":"11900:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3838","id":7429,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11952:2:27","typeDescriptions":{"typeIdentifier":"t_rational_88_by_1","typeString":"int_const 88"},"value":"88"},{"id":7430,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7416,"src":"11956:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_88_by_1","typeString":"int_const 88"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7428,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"11921:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7431,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11921:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7432,"nodeType":"RevertStatement","src":"11914:48:27"}]}},{"expression":{"arguments":[{"id":7437,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7416,"src":"11996:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7436,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11989:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint88_$","typeString":"type(uint88)"},"typeName":{"id":7435,"name":"uint88","nodeType":"ElementaryTypeName","src":"11989:6:27","typeDescriptions":{}}},"id":7438,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11989:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint88","typeString":"uint88"}},"functionReturnParameters":7420,"id":7439,"nodeType":"Return","src":"11982:20:27"}]},"documentation":{"id":7414,"nodeType":"StructuredDocumentation","src":"11515:276:27","text":" @dev Returns the downcasted uint88 from uint256, reverting on\n overflow (when the input is greater than largest uint88).\n Counterpart to Solidity's `uint88` operator.\n Requirements:\n - input must fit into 88 bits"},"id":7441,"implemented":true,"kind":"function","modifiers":[],"name":"toUint88","nameLocation":"11805:8:27","nodeType":"FunctionDefinition","parameters":{"id":7417,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7416,"mutability":"mutable","name":"value","nameLocation":"11822:5:27","nodeType":"VariableDeclaration","scope":7441,"src":"11814:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7415,"name":"uint256","nodeType":"ElementaryTypeName","src":"11814:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11813:15:27"},"returnParameters":{"id":7420,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7419,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7441,"src":"11852:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint88","typeString":"uint88"},"typeName":{"id":7418,"name":"uint88","nodeType":"ElementaryTypeName","src":"11852:6:27","typeDescriptions":{"typeIdentifier":"t_uint88","typeString":"uint88"}},"visibility":"internal"}],"src":"11851:8:27"},"scope":8591,"src":"11796:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7468,"nodeType":"Block","src":"12360:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7455,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7449,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7444,"src":"12374:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7452,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12387:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint80_$","typeString":"type(uint80)"},"typeName":{"id":7451,"name":"uint80","nodeType":"ElementaryTypeName","src":"12387:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint80_$","typeString":"type(uint80)"}],"id":7450,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"12382:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7453,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12382:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint80","typeString":"type(uint80)"}},"id":7454,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12395:3:27","memberName":"max","nodeType":"MemberAccess","src":"12382:16:27","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"src":"12374:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7462,"nodeType":"IfStatement","src":"12370:103:27","trueBody":{"id":7461,"nodeType":"Block","src":"12400:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3830","id":7457,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12452:2:27","typeDescriptions":{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},"value":"80"},{"id":7458,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7444,"src":"12456:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7456,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"12421:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12421:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7460,"nodeType":"RevertStatement","src":"12414:48:27"}]}},{"expression":{"arguments":[{"id":7465,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7444,"src":"12496:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7464,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12489:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint80_$","typeString":"type(uint80)"},"typeName":{"id":7463,"name":"uint80","nodeType":"ElementaryTypeName","src":"12489:6:27","typeDescriptions":{}}},"id":7466,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12489:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"functionReturnParameters":7448,"id":7467,"nodeType":"Return","src":"12482:20:27"}]},"documentation":{"id":7442,"nodeType":"StructuredDocumentation","src":"12015:276:27","text":" @dev Returns the downcasted uint80 from uint256, reverting on\n overflow (when the input is greater than largest uint80).\n Counterpart to Solidity's `uint80` operator.\n Requirements:\n - input must fit into 80 bits"},"id":7469,"implemented":true,"kind":"function","modifiers":[],"name":"toUint80","nameLocation":"12305:8:27","nodeType":"FunctionDefinition","parameters":{"id":7445,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7444,"mutability":"mutable","name":"value","nameLocation":"12322:5:27","nodeType":"VariableDeclaration","scope":7469,"src":"12314:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7443,"name":"uint256","nodeType":"ElementaryTypeName","src":"12314:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12313:15:27"},"returnParameters":{"id":7448,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7447,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7469,"src":"12352:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"},"typeName":{"id":7446,"name":"uint80","nodeType":"ElementaryTypeName","src":"12352:6:27","typeDescriptions":{"typeIdentifier":"t_uint80","typeString":"uint80"}},"visibility":"internal"}],"src":"12351:8:27"},"scope":8591,"src":"12296:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7496,"nodeType":"Block","src":"12860:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7483,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7477,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7472,"src":"12874:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7480,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12887:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint72_$","typeString":"type(uint72)"},"typeName":{"id":7479,"name":"uint72","nodeType":"ElementaryTypeName","src":"12887:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint72_$","typeString":"type(uint72)"}],"id":7478,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"12882:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7481,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12882:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint72","typeString":"type(uint72)"}},"id":7482,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12895:3:27","memberName":"max","nodeType":"MemberAccess","src":"12882:16:27","typeDescriptions":{"typeIdentifier":"t_uint72","typeString":"uint72"}},"src":"12874:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7490,"nodeType":"IfStatement","src":"12870:103:27","trueBody":{"id":7489,"nodeType":"Block","src":"12900:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3732","id":7485,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12952:2:27","typeDescriptions":{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},"value":"72"},{"id":7486,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7472,"src":"12956:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7484,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"12921:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7487,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12921:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7488,"nodeType":"RevertStatement","src":"12914:48:27"}]}},{"expression":{"arguments":[{"id":7493,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7472,"src":"12996:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7492,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"12989:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint72_$","typeString":"type(uint72)"},"typeName":{"id":7491,"name":"uint72","nodeType":"ElementaryTypeName","src":"12989:6:27","typeDescriptions":{}}},"id":7494,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12989:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint72","typeString":"uint72"}},"functionReturnParameters":7476,"id":7495,"nodeType":"Return","src":"12982:20:27"}]},"documentation":{"id":7470,"nodeType":"StructuredDocumentation","src":"12515:276:27","text":" @dev Returns the downcasted uint72 from uint256, reverting on\n overflow (when the input is greater than largest uint72).\n Counterpart to Solidity's `uint72` operator.\n Requirements:\n - input must fit into 72 bits"},"id":7497,"implemented":true,"kind":"function","modifiers":[],"name":"toUint72","nameLocation":"12805:8:27","nodeType":"FunctionDefinition","parameters":{"id":7473,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7472,"mutability":"mutable","name":"value","nameLocation":"12822:5:27","nodeType":"VariableDeclaration","scope":7497,"src":"12814:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7471,"name":"uint256","nodeType":"ElementaryTypeName","src":"12814:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12813:15:27"},"returnParameters":{"id":7476,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7475,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7497,"src":"12852:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint72","typeString":"uint72"},"typeName":{"id":7474,"name":"uint72","nodeType":"ElementaryTypeName","src":"12852:6:27","typeDescriptions":{"typeIdentifier":"t_uint72","typeString":"uint72"}},"visibility":"internal"}],"src":"12851:8:27"},"scope":8591,"src":"12796:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7524,"nodeType":"Block","src":"13360:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7505,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7500,"src":"13374:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7508,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13387:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint64_$","typeString":"type(uint64)"},"typeName":{"id":7507,"name":"uint64","nodeType":"ElementaryTypeName","src":"13387:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint64_$","typeString":"type(uint64)"}],"id":7506,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"13382:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7509,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13382:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint64","typeString":"type(uint64)"}},"id":7510,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13395:3:27","memberName":"max","nodeType":"MemberAccess","src":"13382:16:27","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"src":"13374:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7518,"nodeType":"IfStatement","src":"13370:103:27","trueBody":{"id":7517,"nodeType":"Block","src":"13400:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3634","id":7513,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13452:2:27","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},{"id":7514,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7500,"src":"13456:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7512,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"13421:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7515,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13421:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7516,"nodeType":"RevertStatement","src":"13414:48:27"}]}},{"expression":{"arguments":[{"id":7521,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7500,"src":"13496:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7520,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13489:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint64_$","typeString":"type(uint64)"},"typeName":{"id":7519,"name":"uint64","nodeType":"ElementaryTypeName","src":"13489:6:27","typeDescriptions":{}}},"id":7522,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13489:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"functionReturnParameters":7504,"id":7523,"nodeType":"Return","src":"13482:20:27"}]},"documentation":{"id":7498,"nodeType":"StructuredDocumentation","src":"13015:276:27","text":" @dev Returns the downcasted uint64 from uint256, reverting on\n overflow (when the input is greater than largest uint64).\n Counterpart to Solidity's `uint64` operator.\n Requirements:\n - input must fit into 64 bits"},"id":7525,"implemented":true,"kind":"function","modifiers":[],"name":"toUint64","nameLocation":"13305:8:27","nodeType":"FunctionDefinition","parameters":{"id":7501,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7500,"mutability":"mutable","name":"value","nameLocation":"13322:5:27","nodeType":"VariableDeclaration","scope":7525,"src":"13314:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7499,"name":"uint256","nodeType":"ElementaryTypeName","src":"13314:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13313:15:27"},"returnParameters":{"id":7504,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7503,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7525,"src":"13352:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":7502,"name":"uint64","nodeType":"ElementaryTypeName","src":"13352:6:27","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"13351:8:27"},"scope":8591,"src":"13296:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7552,"nodeType":"Block","src":"13860:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7539,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7533,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7528,"src":"13874:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7536,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13887:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint56_$","typeString":"type(uint56)"},"typeName":{"id":7535,"name":"uint56","nodeType":"ElementaryTypeName","src":"13887:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint56_$","typeString":"type(uint56)"}],"id":7534,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"13882:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7537,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13882:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint56","typeString":"type(uint56)"}},"id":7538,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13895:3:27","memberName":"max","nodeType":"MemberAccess","src":"13882:16:27","typeDescriptions":{"typeIdentifier":"t_uint56","typeString":"uint56"}},"src":"13874:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7546,"nodeType":"IfStatement","src":"13870:103:27","trueBody":{"id":7545,"nodeType":"Block","src":"13900:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3536","id":7541,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13952:2:27","typeDescriptions":{"typeIdentifier":"t_rational_56_by_1","typeString":"int_const 56"},"value":"56"},{"id":7542,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7528,"src":"13956:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56_by_1","typeString":"int_const 56"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7540,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"13921:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7543,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13921:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7544,"nodeType":"RevertStatement","src":"13914:48:27"}]}},{"expression":{"arguments":[{"id":7549,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7528,"src":"13996:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7548,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13989:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint56_$","typeString":"type(uint56)"},"typeName":{"id":7547,"name":"uint56","nodeType":"ElementaryTypeName","src":"13989:6:27","typeDescriptions":{}}},"id":7550,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13989:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint56","typeString":"uint56"}},"functionReturnParameters":7532,"id":7551,"nodeType":"Return","src":"13982:20:27"}]},"documentation":{"id":7526,"nodeType":"StructuredDocumentation","src":"13515:276:27","text":" @dev Returns the downcasted uint56 from uint256, reverting on\n overflow (when the input is greater than largest uint56).\n Counterpart to Solidity's `uint56` operator.\n Requirements:\n - input must fit into 56 bits"},"id":7553,"implemented":true,"kind":"function","modifiers":[],"name":"toUint56","nameLocation":"13805:8:27","nodeType":"FunctionDefinition","parameters":{"id":7529,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7528,"mutability":"mutable","name":"value","nameLocation":"13822:5:27","nodeType":"VariableDeclaration","scope":7553,"src":"13814:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7527,"name":"uint256","nodeType":"ElementaryTypeName","src":"13814:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"13813:15:27"},"returnParameters":{"id":7532,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7531,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7553,"src":"13852:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint56","typeString":"uint56"},"typeName":{"id":7530,"name":"uint56","nodeType":"ElementaryTypeName","src":"13852:6:27","typeDescriptions":{"typeIdentifier":"t_uint56","typeString":"uint56"}},"visibility":"internal"}],"src":"13851:8:27"},"scope":8591,"src":"13796:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7580,"nodeType":"Block","src":"14360:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7567,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7561,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7556,"src":"14374:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7564,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14387:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint48_$","typeString":"type(uint48)"},"typeName":{"id":7563,"name":"uint48","nodeType":"ElementaryTypeName","src":"14387:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint48_$","typeString":"type(uint48)"}],"id":7562,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"14382:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7565,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14382:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint48","typeString":"type(uint48)"}},"id":7566,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14395:3:27","memberName":"max","nodeType":"MemberAccess","src":"14382:16:27","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"src":"14374:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7574,"nodeType":"IfStatement","src":"14370:103:27","trueBody":{"id":7573,"nodeType":"Block","src":"14400:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3438","id":7569,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14452:2:27","typeDescriptions":{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},"value":"48"},{"id":7570,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7556,"src":"14456:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7568,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"14421:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7571,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14421:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7572,"nodeType":"RevertStatement","src":"14414:48:27"}]}},{"expression":{"arguments":[{"id":7577,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7556,"src":"14496:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7576,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14489:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint48_$","typeString":"type(uint48)"},"typeName":{"id":7575,"name":"uint48","nodeType":"ElementaryTypeName","src":"14489:6:27","typeDescriptions":{}}},"id":7578,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14489:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"functionReturnParameters":7560,"id":7579,"nodeType":"Return","src":"14482:20:27"}]},"documentation":{"id":7554,"nodeType":"StructuredDocumentation","src":"14015:276:27","text":" @dev Returns the downcasted uint48 from uint256, reverting on\n overflow (when the input is greater than largest uint48).\n Counterpart to Solidity's `uint48` operator.\n Requirements:\n - input must fit into 48 bits"},"id":7581,"implemented":true,"kind":"function","modifiers":[],"name":"toUint48","nameLocation":"14305:8:27","nodeType":"FunctionDefinition","parameters":{"id":7557,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7556,"mutability":"mutable","name":"value","nameLocation":"14322:5:27","nodeType":"VariableDeclaration","scope":7581,"src":"14314:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7555,"name":"uint256","nodeType":"ElementaryTypeName","src":"14314:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14313:15:27"},"returnParameters":{"id":7560,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7559,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7581,"src":"14352:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"},"typeName":{"id":7558,"name":"uint48","nodeType":"ElementaryTypeName","src":"14352:6:27","typeDescriptions":{"typeIdentifier":"t_uint48","typeString":"uint48"}},"visibility":"internal"}],"src":"14351:8:27"},"scope":8591,"src":"14296:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7608,"nodeType":"Block","src":"14860:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7595,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7589,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7584,"src":"14874:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7592,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14887:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":7591,"name":"uint40","nodeType":"ElementaryTypeName","src":"14887:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"}],"id":7590,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"14882:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7593,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14882:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint40","typeString":"type(uint40)"}},"id":7594,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"14895:3:27","memberName":"max","nodeType":"MemberAccess","src":"14882:16:27","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"src":"14874:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7602,"nodeType":"IfStatement","src":"14870:103:27","trueBody":{"id":7601,"nodeType":"Block","src":"14900:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3430","id":7597,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14952:2:27","typeDescriptions":{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},"value":"40"},{"id":7598,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7584,"src":"14956:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7596,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"14921:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7599,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14921:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7600,"nodeType":"RevertStatement","src":"14914:48:27"}]}},{"expression":{"arguments":[{"id":7605,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7584,"src":"14996:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7604,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14989:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint40_$","typeString":"type(uint40)"},"typeName":{"id":7603,"name":"uint40","nodeType":"ElementaryTypeName","src":"14989:6:27","typeDescriptions":{}}},"id":7606,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14989:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"functionReturnParameters":7588,"id":7607,"nodeType":"Return","src":"14982:20:27"}]},"documentation":{"id":7582,"nodeType":"StructuredDocumentation","src":"14515:276:27","text":" @dev Returns the downcasted uint40 from uint256, reverting on\n overflow (when the input is greater than largest uint40).\n Counterpart to Solidity's `uint40` operator.\n Requirements:\n - input must fit into 40 bits"},"id":7609,"implemented":true,"kind":"function","modifiers":[],"name":"toUint40","nameLocation":"14805:8:27","nodeType":"FunctionDefinition","parameters":{"id":7585,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7584,"mutability":"mutable","name":"value","nameLocation":"14822:5:27","nodeType":"VariableDeclaration","scope":7609,"src":"14814:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7583,"name":"uint256","nodeType":"ElementaryTypeName","src":"14814:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14813:15:27"},"returnParameters":{"id":7588,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7587,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7609,"src":"14852:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"},"typeName":{"id":7586,"name":"uint40","nodeType":"ElementaryTypeName","src":"14852:6:27","typeDescriptions":{"typeIdentifier":"t_uint40","typeString":"uint40"}},"visibility":"internal"}],"src":"14851:8:27"},"scope":8591,"src":"14796:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7636,"nodeType":"Block","src":"15360:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7623,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7617,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7612,"src":"15374:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7620,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15387:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":7619,"name":"uint32","nodeType":"ElementaryTypeName","src":"15387:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"}],"id":7618,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"15382:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7621,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15382:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint32","typeString":"type(uint32)"}},"id":7622,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15395:3:27","memberName":"max","nodeType":"MemberAccess","src":"15382:16:27","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"15374:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7630,"nodeType":"IfStatement","src":"15370:103:27","trueBody":{"id":7629,"nodeType":"Block","src":"15400:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3332","id":7625,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15452:2:27","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},{"id":7626,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7612,"src":"15456:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7624,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"15421:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7627,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15421:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7628,"nodeType":"RevertStatement","src":"15414:48:27"}]}},{"expression":{"arguments":[{"id":7633,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7612,"src":"15496:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7632,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15489:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint32_$","typeString":"type(uint32)"},"typeName":{"id":7631,"name":"uint32","nodeType":"ElementaryTypeName","src":"15489:6:27","typeDescriptions":{}}},"id":7634,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15489:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"functionReturnParameters":7616,"id":7635,"nodeType":"Return","src":"15482:20:27"}]},"documentation":{"id":7610,"nodeType":"StructuredDocumentation","src":"15015:276:27","text":" @dev Returns the downcasted uint32 from uint256, reverting on\n overflow (when the input is greater than largest uint32).\n Counterpart to Solidity's `uint32` operator.\n Requirements:\n - input must fit into 32 bits"},"id":7637,"implemented":true,"kind":"function","modifiers":[],"name":"toUint32","nameLocation":"15305:8:27","nodeType":"FunctionDefinition","parameters":{"id":7613,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7612,"mutability":"mutable","name":"value","nameLocation":"15322:5:27","nodeType":"VariableDeclaration","scope":7637,"src":"15314:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7611,"name":"uint256","nodeType":"ElementaryTypeName","src":"15314:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15313:15:27"},"returnParameters":{"id":7616,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7615,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7637,"src":"15352:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":7614,"name":"uint32","nodeType":"ElementaryTypeName","src":"15352:6:27","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"15351:8:27"},"scope":8591,"src":"15296:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7664,"nodeType":"Block","src":"15860:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7651,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7645,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7640,"src":"15874:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7648,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15887:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":7647,"name":"uint24","nodeType":"ElementaryTypeName","src":"15887:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"}],"id":7646,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"15882:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7649,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15882:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint24","typeString":"type(uint24)"}},"id":7650,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"15895:3:27","memberName":"max","nodeType":"MemberAccess","src":"15882:16:27","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"src":"15874:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7658,"nodeType":"IfStatement","src":"15870:103:27","trueBody":{"id":7657,"nodeType":"Block","src":"15900:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3234","id":7653,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15952:2:27","typeDescriptions":{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},"value":"24"},{"id":7654,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7640,"src":"15956:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7652,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"15921:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7655,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15921:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7656,"nodeType":"RevertStatement","src":"15914:48:27"}]}},{"expression":{"arguments":[{"id":7661,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7640,"src":"15996:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7660,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"15989:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint24_$","typeString":"type(uint24)"},"typeName":{"id":7659,"name":"uint24","nodeType":"ElementaryTypeName","src":"15989:6:27","typeDescriptions":{}}},"id":7662,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15989:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"functionReturnParameters":7644,"id":7663,"nodeType":"Return","src":"15982:20:27"}]},"documentation":{"id":7638,"nodeType":"StructuredDocumentation","src":"15515:276:27","text":" @dev Returns the downcasted uint24 from uint256, reverting on\n overflow (when the input is greater than largest uint24).\n Counterpart to Solidity's `uint24` operator.\n Requirements:\n - input must fit into 24 bits"},"id":7665,"implemented":true,"kind":"function","modifiers":[],"name":"toUint24","nameLocation":"15805:8:27","nodeType":"FunctionDefinition","parameters":{"id":7641,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7640,"mutability":"mutable","name":"value","nameLocation":"15822:5:27","nodeType":"VariableDeclaration","scope":7665,"src":"15814:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7639,"name":"uint256","nodeType":"ElementaryTypeName","src":"15814:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"15813:15:27"},"returnParameters":{"id":7644,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7643,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7665,"src":"15852:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"},"typeName":{"id":7642,"name":"uint24","nodeType":"ElementaryTypeName","src":"15852:6:27","typeDescriptions":{"typeIdentifier":"t_uint24","typeString":"uint24"}},"visibility":"internal"}],"src":"15851:8:27"},"scope":8591,"src":"15796:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7692,"nodeType":"Block","src":"16360:149:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7679,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7673,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7668,"src":"16374:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7676,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16387:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":7675,"name":"uint16","nodeType":"ElementaryTypeName","src":"16387:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"}],"id":7674,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"16382:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7677,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16382:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint16","typeString":"type(uint16)"}},"id":7678,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16395:3:27","memberName":"max","nodeType":"MemberAccess","src":"16382:16:27","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"16374:24:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7686,"nodeType":"IfStatement","src":"16370:103:27","trueBody":{"id":7685,"nodeType":"Block","src":"16400:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3136","id":7681,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16452:2:27","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},{"id":7682,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7668,"src":"16456:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7680,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"16421:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7683,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16421:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7684,"nodeType":"RevertStatement","src":"16414:48:27"}]}},{"expression":{"arguments":[{"id":7689,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7668,"src":"16496:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7688,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16489:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":7687,"name":"uint16","nodeType":"ElementaryTypeName","src":"16489:6:27","typeDescriptions":{}}},"id":7690,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16489:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"functionReturnParameters":7672,"id":7691,"nodeType":"Return","src":"16482:20:27"}]},"documentation":{"id":7666,"nodeType":"StructuredDocumentation","src":"16015:276:27","text":" @dev Returns the downcasted uint16 from uint256, reverting on\n overflow (when the input is greater than largest uint16).\n Counterpart to Solidity's `uint16` operator.\n Requirements:\n - input must fit into 16 bits"},"id":7693,"implemented":true,"kind":"function","modifiers":[],"name":"toUint16","nameLocation":"16305:8:27","nodeType":"FunctionDefinition","parameters":{"id":7669,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7668,"mutability":"mutable","name":"value","nameLocation":"16322:5:27","nodeType":"VariableDeclaration","scope":7693,"src":"16314:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7667,"name":"uint256","nodeType":"ElementaryTypeName","src":"16314:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16313:15:27"},"returnParameters":{"id":7672,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7671,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7693,"src":"16352:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":7670,"name":"uint16","nodeType":"ElementaryTypeName","src":"16352:6:27","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"16351:8:27"},"scope":8591,"src":"16296:213:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7720,"nodeType":"Block","src":"16854:146:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":7707,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7701,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7696,"src":"16868:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"arguments":[{"id":7704,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16881:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":7703,"name":"uint8","nodeType":"ElementaryTypeName","src":"16881:5:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":7702,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"16876:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":7705,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16876:11:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":7706,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16888:3:27","memberName":"max","nodeType":"MemberAccess","src":"16876:15:27","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"16868:23:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7714,"nodeType":"IfStatement","src":"16864:101:27","trueBody":{"id":7713,"nodeType":"Block","src":"16893:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"38","id":7709,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16945:1:27","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},{"id":7710,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7696,"src":"16948:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7708,"name":"SafeCastOverflowedUintDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6836,"src":"16914:30:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_uint256_$returns$_t_error_$","typeString":"function (uint8,uint256) pure returns (error)"}},"id":7711,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16914:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7712,"nodeType":"RevertStatement","src":"16907:47:27"}]}},{"expression":{"arguments":[{"id":7717,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7696,"src":"16987:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":7716,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16981:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":7715,"name":"uint8","nodeType":"ElementaryTypeName","src":"16981:5:27","typeDescriptions":{}}},"id":7718,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16981:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"functionReturnParameters":7700,"id":7719,"nodeType":"Return","src":"16974:19:27"}]},"documentation":{"id":7694,"nodeType":"StructuredDocumentation","src":"16515:272:27","text":" @dev Returns the downcasted uint8 from uint256, reverting on\n overflow (when the input is greater than largest uint8).\n Counterpart to Solidity's `uint8` operator.\n Requirements:\n - input must fit into 8 bits"},"id":7721,"implemented":true,"kind":"function","modifiers":[],"name":"toUint8","nameLocation":"16801:7:27","nodeType":"FunctionDefinition","parameters":{"id":7697,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7696,"mutability":"mutable","name":"value","nameLocation":"16817:5:27","nodeType":"VariableDeclaration","scope":7721,"src":"16809:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7695,"name":"uint256","nodeType":"ElementaryTypeName","src":"16809:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"16808:15:27"},"returnParameters":{"id":7700,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7699,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7721,"src":"16847:5:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":7698,"name":"uint8","nodeType":"ElementaryTypeName","src":"16847:5:27","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"16846:7:27"},"scope":8591,"src":"16792:208:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7743,"nodeType":"Block","src":"17236:128:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7731,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7729,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7724,"src":"17250:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"30","id":7730,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17258:1:27","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"17250:9:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7737,"nodeType":"IfStatement","src":"17246:81:27","trueBody":{"id":7736,"nodeType":"Block","src":"17261:66:27","statements":[{"errorCall":{"arguments":[{"id":7733,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7724,"src":"17310:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7732,"name":"SafeCastOverflowedIntToUint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6841,"src":"17282:27:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_int256_$returns$_t_error_$","typeString":"function (int256) pure returns (error)"}},"id":7734,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17282:34:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7735,"nodeType":"RevertStatement","src":"17275:41:27"}]}},{"expression":{"arguments":[{"id":7740,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7724,"src":"17351:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7739,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17343:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":7738,"name":"uint256","nodeType":"ElementaryTypeName","src":"17343:7:27","typeDescriptions":{}}},"id":7741,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17343:14:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":7728,"id":7742,"nodeType":"Return","src":"17336:21:27"}]},"documentation":{"id":7722,"nodeType":"StructuredDocumentation","src":"17006:160:27","text":" @dev Converts a signed int256 into an unsigned uint256.\n Requirements:\n - input must be greater than or equal to 0."},"id":7744,"implemented":true,"kind":"function","modifiers":[],"name":"toUint256","nameLocation":"17180:9:27","nodeType":"FunctionDefinition","parameters":{"id":7725,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7724,"mutability":"mutable","name":"value","nameLocation":"17197:5:27","nodeType":"VariableDeclaration","scope":7744,"src":"17190:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7723,"name":"int256","nodeType":"ElementaryTypeName","src":"17190:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"17189:14:27"},"returnParameters":{"id":7728,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7727,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":7744,"src":"17227:7:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":7726,"name":"uint256","nodeType":"ElementaryTypeName","src":"17227:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"17226:9:27"},"scope":8591,"src":"17171:193:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7769,"nodeType":"Block","src":"17761:150:27","statements":[{"expression":{"id":7757,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7752,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7750,"src":"17771:10:27","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7755,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7747,"src":"17791:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7754,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"17784:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int248_$","typeString":"type(int248)"},"typeName":{"id":7753,"name":"int248","nodeType":"ElementaryTypeName","src":"17784:6:27","typeDescriptions":{}}},"id":7756,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17784:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"src":"17771:26:27","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"id":7758,"nodeType":"ExpressionStatement","src":"17771:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7761,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7759,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7750,"src":"17811:10:27","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7760,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7747,"src":"17825:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"17811:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7768,"nodeType":"IfStatement","src":"17807:98:27","trueBody":{"id":7767,"nodeType":"Block","src":"17832:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323438","id":7763,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17883:3:27","typeDescriptions":{"typeIdentifier":"t_rational_248_by_1","typeString":"int_const 248"},"value":"248"},{"id":7764,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7747,"src":"17888:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_248_by_1","typeString":"int_const 248"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7762,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"17853:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7765,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17853:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7766,"nodeType":"RevertStatement","src":"17846:48:27"}]}}]},"documentation":{"id":7745,"nodeType":"StructuredDocumentation","src":"17370:312:27","text":" @dev Returns the downcasted int248 from int256, reverting on\n overflow (when the input is less than smallest int248 or\n greater than largest int248).\n Counterpart to Solidity's `int248` operator.\n Requirements:\n - input must fit into 248 bits"},"id":7770,"implemented":true,"kind":"function","modifiers":[],"name":"toInt248","nameLocation":"17696:8:27","nodeType":"FunctionDefinition","parameters":{"id":7748,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7747,"mutability":"mutable","name":"value","nameLocation":"17712:5:27","nodeType":"VariableDeclaration","scope":7770,"src":"17705:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7746,"name":"int256","nodeType":"ElementaryTypeName","src":"17705:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"17704:14:27"},"returnParameters":{"id":7751,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7750,"mutability":"mutable","name":"downcasted","nameLocation":"17749:10:27","nodeType":"VariableDeclaration","scope":7770,"src":"17742:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"},"typeName":{"id":7749,"name":"int248","nodeType":"ElementaryTypeName","src":"17742:6:27","typeDescriptions":{"typeIdentifier":"t_int248","typeString":"int248"}},"visibility":"internal"}],"src":"17741:19:27"},"scope":8591,"src":"17687:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7795,"nodeType":"Block","src":"18308:150:27","statements":[{"expression":{"id":7783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7778,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7776,"src":"18318:10:27","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7781,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7773,"src":"18338:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7780,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"18331:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int240_$","typeString":"type(int240)"},"typeName":{"id":7779,"name":"int240","nodeType":"ElementaryTypeName","src":"18331:6:27","typeDescriptions":{}}},"id":7782,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18331:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"src":"18318:26:27","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"id":7784,"nodeType":"ExpressionStatement","src":"18318:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7785,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7776,"src":"18358:10:27","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7786,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7773,"src":"18372:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"18358:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7794,"nodeType":"IfStatement","src":"18354:98:27","trueBody":{"id":7793,"nodeType":"Block","src":"18379:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323430","id":7789,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18430:3:27","typeDescriptions":{"typeIdentifier":"t_rational_240_by_1","typeString":"int_const 240"},"value":"240"},{"id":7790,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7773,"src":"18435:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_240_by_1","typeString":"int_const 240"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7788,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"18400:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7791,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18400:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7792,"nodeType":"RevertStatement","src":"18393:48:27"}]}}]},"documentation":{"id":7771,"nodeType":"StructuredDocumentation","src":"17917:312:27","text":" @dev Returns the downcasted int240 from int256, reverting on\n overflow (when the input is less than smallest int240 or\n greater than largest int240).\n Counterpart to Solidity's `int240` operator.\n Requirements:\n - input must fit into 240 bits"},"id":7796,"implemented":true,"kind":"function","modifiers":[],"name":"toInt240","nameLocation":"18243:8:27","nodeType":"FunctionDefinition","parameters":{"id":7774,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7773,"mutability":"mutable","name":"value","nameLocation":"18259:5:27","nodeType":"VariableDeclaration","scope":7796,"src":"18252:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7772,"name":"int256","nodeType":"ElementaryTypeName","src":"18252:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"18251:14:27"},"returnParameters":{"id":7777,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7776,"mutability":"mutable","name":"downcasted","nameLocation":"18296:10:27","nodeType":"VariableDeclaration","scope":7796,"src":"18289:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"},"typeName":{"id":7775,"name":"int240","nodeType":"ElementaryTypeName","src":"18289:6:27","typeDescriptions":{"typeIdentifier":"t_int240","typeString":"int240"}},"visibility":"internal"}],"src":"18288:19:27"},"scope":8591,"src":"18234:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7821,"nodeType":"Block","src":"18855:150:27","statements":[{"expression":{"id":7809,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7804,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7802,"src":"18865:10:27","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7807,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7799,"src":"18885:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7806,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"18878:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int232_$","typeString":"type(int232)"},"typeName":{"id":7805,"name":"int232","nodeType":"ElementaryTypeName","src":"18878:6:27","typeDescriptions":{}}},"id":7808,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18878:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"src":"18865:26:27","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"id":7810,"nodeType":"ExpressionStatement","src":"18865:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7811,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7802,"src":"18905:10:27","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7812,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7799,"src":"18919:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"18905:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7820,"nodeType":"IfStatement","src":"18901:98:27","trueBody":{"id":7819,"nodeType":"Block","src":"18926:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323332","id":7815,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18977:3:27","typeDescriptions":{"typeIdentifier":"t_rational_232_by_1","typeString":"int_const 232"},"value":"232"},{"id":7816,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7799,"src":"18982:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_232_by_1","typeString":"int_const 232"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7814,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"18947:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7817,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18947:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7818,"nodeType":"RevertStatement","src":"18940:48:27"}]}}]},"documentation":{"id":7797,"nodeType":"StructuredDocumentation","src":"18464:312:27","text":" @dev Returns the downcasted int232 from int256, reverting on\n overflow (when the input is less than smallest int232 or\n greater than largest int232).\n Counterpart to Solidity's `int232` operator.\n Requirements:\n - input must fit into 232 bits"},"id":7822,"implemented":true,"kind":"function","modifiers":[],"name":"toInt232","nameLocation":"18790:8:27","nodeType":"FunctionDefinition","parameters":{"id":7800,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7799,"mutability":"mutable","name":"value","nameLocation":"18806:5:27","nodeType":"VariableDeclaration","scope":7822,"src":"18799:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7798,"name":"int256","nodeType":"ElementaryTypeName","src":"18799:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"18798:14:27"},"returnParameters":{"id":7803,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7802,"mutability":"mutable","name":"downcasted","nameLocation":"18843:10:27","nodeType":"VariableDeclaration","scope":7822,"src":"18836:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"},"typeName":{"id":7801,"name":"int232","nodeType":"ElementaryTypeName","src":"18836:6:27","typeDescriptions":{"typeIdentifier":"t_int232","typeString":"int232"}},"visibility":"internal"}],"src":"18835:19:27"},"scope":8591,"src":"18781:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7847,"nodeType":"Block","src":"19402:150:27","statements":[{"expression":{"id":7835,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7830,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7828,"src":"19412:10:27","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7833,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7825,"src":"19432:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7832,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19425:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int224_$","typeString":"type(int224)"},"typeName":{"id":7831,"name":"int224","nodeType":"ElementaryTypeName","src":"19425:6:27","typeDescriptions":{}}},"id":7834,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19425:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"src":"19412:26:27","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"id":7836,"nodeType":"ExpressionStatement","src":"19412:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7839,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7837,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7828,"src":"19452:10:27","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7838,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7825,"src":"19466:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"19452:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7846,"nodeType":"IfStatement","src":"19448:98:27","trueBody":{"id":7845,"nodeType":"Block","src":"19473:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323234","id":7841,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"19524:3:27","typeDescriptions":{"typeIdentifier":"t_rational_224_by_1","typeString":"int_const 224"},"value":"224"},{"id":7842,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7825,"src":"19529:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_224_by_1","typeString":"int_const 224"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7840,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"19494:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7843,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19494:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7844,"nodeType":"RevertStatement","src":"19487:48:27"}]}}]},"documentation":{"id":7823,"nodeType":"StructuredDocumentation","src":"19011:312:27","text":" @dev Returns the downcasted int224 from int256, reverting on\n overflow (when the input is less than smallest int224 or\n greater than largest int224).\n Counterpart to Solidity's `int224` operator.\n Requirements:\n - input must fit into 224 bits"},"id":7848,"implemented":true,"kind":"function","modifiers":[],"name":"toInt224","nameLocation":"19337:8:27","nodeType":"FunctionDefinition","parameters":{"id":7826,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7825,"mutability":"mutable","name":"value","nameLocation":"19353:5:27","nodeType":"VariableDeclaration","scope":7848,"src":"19346:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7824,"name":"int256","nodeType":"ElementaryTypeName","src":"19346:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"19345:14:27"},"returnParameters":{"id":7829,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7828,"mutability":"mutable","name":"downcasted","nameLocation":"19390:10:27","nodeType":"VariableDeclaration","scope":7848,"src":"19383:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"},"typeName":{"id":7827,"name":"int224","nodeType":"ElementaryTypeName","src":"19383:6:27","typeDescriptions":{"typeIdentifier":"t_int224","typeString":"int224"}},"visibility":"internal"}],"src":"19382:19:27"},"scope":8591,"src":"19328:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7873,"nodeType":"Block","src":"19949:150:27","statements":[{"expression":{"id":7861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7856,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7854,"src":"19959:10:27","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7859,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7851,"src":"19979:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7858,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"19972:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int216_$","typeString":"type(int216)"},"typeName":{"id":7857,"name":"int216","nodeType":"ElementaryTypeName","src":"19972:6:27","typeDescriptions":{}}},"id":7860,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19972:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"src":"19959:26:27","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"id":7862,"nodeType":"ExpressionStatement","src":"19959:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7865,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7863,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7854,"src":"19999:10:27","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7864,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7851,"src":"20013:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"19999:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7872,"nodeType":"IfStatement","src":"19995:98:27","trueBody":{"id":7871,"nodeType":"Block","src":"20020:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323136","id":7867,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20071:3:27","typeDescriptions":{"typeIdentifier":"t_rational_216_by_1","typeString":"int_const 216"},"value":"216"},{"id":7868,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7851,"src":"20076:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_216_by_1","typeString":"int_const 216"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7866,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"20041:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7869,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20041:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7870,"nodeType":"RevertStatement","src":"20034:48:27"}]}}]},"documentation":{"id":7849,"nodeType":"StructuredDocumentation","src":"19558:312:27","text":" @dev Returns the downcasted int216 from int256, reverting on\n overflow (when the input is less than smallest int216 or\n greater than largest int216).\n Counterpart to Solidity's `int216` operator.\n Requirements:\n - input must fit into 216 bits"},"id":7874,"implemented":true,"kind":"function","modifiers":[],"name":"toInt216","nameLocation":"19884:8:27","nodeType":"FunctionDefinition","parameters":{"id":7852,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7851,"mutability":"mutable","name":"value","nameLocation":"19900:5:27","nodeType":"VariableDeclaration","scope":7874,"src":"19893:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7850,"name":"int256","nodeType":"ElementaryTypeName","src":"19893:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"19892:14:27"},"returnParameters":{"id":7855,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7854,"mutability":"mutable","name":"downcasted","nameLocation":"19937:10:27","nodeType":"VariableDeclaration","scope":7874,"src":"19930:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"},"typeName":{"id":7853,"name":"int216","nodeType":"ElementaryTypeName","src":"19930:6:27","typeDescriptions":{"typeIdentifier":"t_int216","typeString":"int216"}},"visibility":"internal"}],"src":"19929:19:27"},"scope":8591,"src":"19875:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7899,"nodeType":"Block","src":"20496:150:27","statements":[{"expression":{"id":7887,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7882,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7880,"src":"20506:10:27","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7885,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7877,"src":"20526:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7884,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"20519:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int208_$","typeString":"type(int208)"},"typeName":{"id":7883,"name":"int208","nodeType":"ElementaryTypeName","src":"20519:6:27","typeDescriptions":{}}},"id":7886,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20519:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"src":"20506:26:27","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"id":7888,"nodeType":"ExpressionStatement","src":"20506:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7891,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7889,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7880,"src":"20546:10:27","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7890,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7877,"src":"20560:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"20546:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7898,"nodeType":"IfStatement","src":"20542:98:27","trueBody":{"id":7897,"nodeType":"Block","src":"20567:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323038","id":7893,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"20618:3:27","typeDescriptions":{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},"value":"208"},{"id":7894,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7877,"src":"20623:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_208_by_1","typeString":"int_const 208"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7892,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"20588:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7895,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20588:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7896,"nodeType":"RevertStatement","src":"20581:48:27"}]}}]},"documentation":{"id":7875,"nodeType":"StructuredDocumentation","src":"20105:312:27","text":" @dev Returns the downcasted int208 from int256, reverting on\n overflow (when the input is less than smallest int208 or\n greater than largest int208).\n Counterpart to Solidity's `int208` operator.\n Requirements:\n - input must fit into 208 bits"},"id":7900,"implemented":true,"kind":"function","modifiers":[],"name":"toInt208","nameLocation":"20431:8:27","nodeType":"FunctionDefinition","parameters":{"id":7878,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7877,"mutability":"mutable","name":"value","nameLocation":"20447:5:27","nodeType":"VariableDeclaration","scope":7900,"src":"20440:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7876,"name":"int256","nodeType":"ElementaryTypeName","src":"20440:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"20439:14:27"},"returnParameters":{"id":7881,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7880,"mutability":"mutable","name":"downcasted","nameLocation":"20484:10:27","nodeType":"VariableDeclaration","scope":7900,"src":"20477:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"},"typeName":{"id":7879,"name":"int208","nodeType":"ElementaryTypeName","src":"20477:6:27","typeDescriptions":{"typeIdentifier":"t_int208","typeString":"int208"}},"visibility":"internal"}],"src":"20476:19:27"},"scope":8591,"src":"20422:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7925,"nodeType":"Block","src":"21043:150:27","statements":[{"expression":{"id":7913,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7908,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7906,"src":"21053:10:27","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7911,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7903,"src":"21073:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7910,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"21066:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int200_$","typeString":"type(int200)"},"typeName":{"id":7909,"name":"int200","nodeType":"ElementaryTypeName","src":"21066:6:27","typeDescriptions":{}}},"id":7912,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21066:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"src":"21053:26:27","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"id":7914,"nodeType":"ExpressionStatement","src":"21053:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7917,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7915,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7906,"src":"21093:10:27","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7916,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7903,"src":"21107:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"21093:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7924,"nodeType":"IfStatement","src":"21089:98:27","trueBody":{"id":7923,"nodeType":"Block","src":"21114:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"323030","id":7919,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21165:3:27","typeDescriptions":{"typeIdentifier":"t_rational_200_by_1","typeString":"int_const 200"},"value":"200"},{"id":7920,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7903,"src":"21170:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_200_by_1","typeString":"int_const 200"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7918,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"21135:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7921,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21135:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7922,"nodeType":"RevertStatement","src":"21128:48:27"}]}}]},"documentation":{"id":7901,"nodeType":"StructuredDocumentation","src":"20652:312:27","text":" @dev Returns the downcasted int200 from int256, reverting on\n overflow (when the input is less than smallest int200 or\n greater than largest int200).\n Counterpart to Solidity's `int200` operator.\n Requirements:\n - input must fit into 200 bits"},"id":7926,"implemented":true,"kind":"function","modifiers":[],"name":"toInt200","nameLocation":"20978:8:27","nodeType":"FunctionDefinition","parameters":{"id":7904,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7903,"mutability":"mutable","name":"value","nameLocation":"20994:5:27","nodeType":"VariableDeclaration","scope":7926,"src":"20987:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7902,"name":"int256","nodeType":"ElementaryTypeName","src":"20987:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"20986:14:27"},"returnParameters":{"id":7907,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7906,"mutability":"mutable","name":"downcasted","nameLocation":"21031:10:27","nodeType":"VariableDeclaration","scope":7926,"src":"21024:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"},"typeName":{"id":7905,"name":"int200","nodeType":"ElementaryTypeName","src":"21024:6:27","typeDescriptions":{"typeIdentifier":"t_int200","typeString":"int200"}},"visibility":"internal"}],"src":"21023:19:27"},"scope":8591,"src":"20969:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7951,"nodeType":"Block","src":"21590:150:27","statements":[{"expression":{"id":7939,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7934,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7932,"src":"21600:10:27","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7937,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7929,"src":"21620:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7936,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"21613:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int192_$","typeString":"type(int192)"},"typeName":{"id":7935,"name":"int192","nodeType":"ElementaryTypeName","src":"21613:6:27","typeDescriptions":{}}},"id":7938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21613:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"src":"21600:26:27","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"id":7940,"nodeType":"ExpressionStatement","src":"21600:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7943,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7941,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7932,"src":"21640:10:27","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7942,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7929,"src":"21654:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"21640:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7950,"nodeType":"IfStatement","src":"21636:98:27","trueBody":{"id":7949,"nodeType":"Block","src":"21661:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313932","id":7945,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"21712:3:27","typeDescriptions":{"typeIdentifier":"t_rational_192_by_1","typeString":"int_const 192"},"value":"192"},{"id":7946,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7929,"src":"21717:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_192_by_1","typeString":"int_const 192"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7944,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"21682:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7947,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21682:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7948,"nodeType":"RevertStatement","src":"21675:48:27"}]}}]},"documentation":{"id":7927,"nodeType":"StructuredDocumentation","src":"21199:312:27","text":" @dev Returns the downcasted int192 from int256, reverting on\n overflow (when the input is less than smallest int192 or\n greater than largest int192).\n Counterpart to Solidity's `int192` operator.\n Requirements:\n - input must fit into 192 bits"},"id":7952,"implemented":true,"kind":"function","modifiers":[],"name":"toInt192","nameLocation":"21525:8:27","nodeType":"FunctionDefinition","parameters":{"id":7930,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7929,"mutability":"mutable","name":"value","nameLocation":"21541:5:27","nodeType":"VariableDeclaration","scope":7952,"src":"21534:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7928,"name":"int256","nodeType":"ElementaryTypeName","src":"21534:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"21533:14:27"},"returnParameters":{"id":7933,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7932,"mutability":"mutable","name":"downcasted","nameLocation":"21578:10:27","nodeType":"VariableDeclaration","scope":7952,"src":"21571:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"},"typeName":{"id":7931,"name":"int192","nodeType":"ElementaryTypeName","src":"21571:6:27","typeDescriptions":{"typeIdentifier":"t_int192","typeString":"int192"}},"visibility":"internal"}],"src":"21570:19:27"},"scope":8591,"src":"21516:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":7977,"nodeType":"Block","src":"22137:150:27","statements":[{"expression":{"id":7965,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7960,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7958,"src":"22147:10:27","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7963,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7955,"src":"22167:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7962,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"22160:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int184_$","typeString":"type(int184)"},"typeName":{"id":7961,"name":"int184","nodeType":"ElementaryTypeName","src":"22160:6:27","typeDescriptions":{}}},"id":7964,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22160:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"src":"22147:26:27","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"id":7966,"nodeType":"ExpressionStatement","src":"22147:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7969,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7967,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7958,"src":"22187:10:27","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7968,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7955,"src":"22201:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"22187:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":7976,"nodeType":"IfStatement","src":"22183:98:27","trueBody":{"id":7975,"nodeType":"Block","src":"22208:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313834","id":7971,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22259:3:27","typeDescriptions":{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},"value":"184"},{"id":7972,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7955,"src":"22264:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_184_by_1","typeString":"int_const 184"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7970,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"22229:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7973,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22229:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":7974,"nodeType":"RevertStatement","src":"22222:48:27"}]}}]},"documentation":{"id":7953,"nodeType":"StructuredDocumentation","src":"21746:312:27","text":" @dev Returns the downcasted int184 from int256, reverting on\n overflow (when the input is less than smallest int184 or\n greater than largest int184).\n Counterpart to Solidity's `int184` operator.\n Requirements:\n - input must fit into 184 bits"},"id":7978,"implemented":true,"kind":"function","modifiers":[],"name":"toInt184","nameLocation":"22072:8:27","nodeType":"FunctionDefinition","parameters":{"id":7956,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7955,"mutability":"mutable","name":"value","nameLocation":"22088:5:27","nodeType":"VariableDeclaration","scope":7978,"src":"22081:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7954,"name":"int256","nodeType":"ElementaryTypeName","src":"22081:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"22080:14:27"},"returnParameters":{"id":7959,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7958,"mutability":"mutable","name":"downcasted","nameLocation":"22125:10:27","nodeType":"VariableDeclaration","scope":7978,"src":"22118:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"},"typeName":{"id":7957,"name":"int184","nodeType":"ElementaryTypeName","src":"22118:6:27","typeDescriptions":{"typeIdentifier":"t_int184","typeString":"int184"}},"visibility":"internal"}],"src":"22117:19:27"},"scope":8591,"src":"22063:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8003,"nodeType":"Block","src":"22684:150:27","statements":[{"expression":{"id":7991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":7986,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7984,"src":"22694:10:27","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":7989,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7981,"src":"22714:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7988,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"22707:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int176_$","typeString":"type(int176)"},"typeName":{"id":7987,"name":"int176","nodeType":"ElementaryTypeName","src":"22707:6:27","typeDescriptions":{}}},"id":7990,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22707:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"src":"22694:26:27","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"id":7992,"nodeType":"ExpressionStatement","src":"22694:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":7995,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":7993,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7984,"src":"22734:10:27","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":7994,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7981,"src":"22748:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"22734:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8002,"nodeType":"IfStatement","src":"22730:98:27","trueBody":{"id":8001,"nodeType":"Block","src":"22755:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313736","id":7997,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"22806:3:27","typeDescriptions":{"typeIdentifier":"t_rational_176_by_1","typeString":"int_const 176"},"value":"176"},{"id":7998,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":7981,"src":"22811:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_176_by_1","typeString":"int_const 176"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":7996,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"22776:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":7999,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22776:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8000,"nodeType":"RevertStatement","src":"22769:48:27"}]}}]},"documentation":{"id":7979,"nodeType":"StructuredDocumentation","src":"22293:312:27","text":" @dev Returns the downcasted int176 from int256, reverting on\n overflow (when the input is less than smallest int176 or\n greater than largest int176).\n Counterpart to Solidity's `int176` operator.\n Requirements:\n - input must fit into 176 bits"},"id":8004,"implemented":true,"kind":"function","modifiers":[],"name":"toInt176","nameLocation":"22619:8:27","nodeType":"FunctionDefinition","parameters":{"id":7982,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7981,"mutability":"mutable","name":"value","nameLocation":"22635:5:27","nodeType":"VariableDeclaration","scope":8004,"src":"22628:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":7980,"name":"int256","nodeType":"ElementaryTypeName","src":"22628:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"22627:14:27"},"returnParameters":{"id":7985,"nodeType":"ParameterList","parameters":[{"constant":false,"id":7984,"mutability":"mutable","name":"downcasted","nameLocation":"22672:10:27","nodeType":"VariableDeclaration","scope":8004,"src":"22665:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"},"typeName":{"id":7983,"name":"int176","nodeType":"ElementaryTypeName","src":"22665:6:27","typeDescriptions":{"typeIdentifier":"t_int176","typeString":"int176"}},"visibility":"internal"}],"src":"22664:19:27"},"scope":8591,"src":"22610:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8029,"nodeType":"Block","src":"23231:150:27","statements":[{"expression":{"id":8017,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8012,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8010,"src":"23241:10:27","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8015,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8007,"src":"23261:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8014,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23254:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int168_$","typeString":"type(int168)"},"typeName":{"id":8013,"name":"int168","nodeType":"ElementaryTypeName","src":"23254:6:27","typeDescriptions":{}}},"id":8016,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23254:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"src":"23241:26:27","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"id":8018,"nodeType":"ExpressionStatement","src":"23241:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8021,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8019,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8010,"src":"23281:10:27","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8020,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8007,"src":"23295:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"23281:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8028,"nodeType":"IfStatement","src":"23277:98:27","trueBody":{"id":8027,"nodeType":"Block","src":"23302:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313638","id":8023,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23353:3:27","typeDescriptions":{"typeIdentifier":"t_rational_168_by_1","typeString":"int_const 168"},"value":"168"},{"id":8024,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8007,"src":"23358:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_168_by_1","typeString":"int_const 168"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8022,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"23323:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8025,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23323:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8026,"nodeType":"RevertStatement","src":"23316:48:27"}]}}]},"documentation":{"id":8005,"nodeType":"StructuredDocumentation","src":"22840:312:27","text":" @dev Returns the downcasted int168 from int256, reverting on\n overflow (when the input is less than smallest int168 or\n greater than largest int168).\n Counterpart to Solidity's `int168` operator.\n Requirements:\n - input must fit into 168 bits"},"id":8030,"implemented":true,"kind":"function","modifiers":[],"name":"toInt168","nameLocation":"23166:8:27","nodeType":"FunctionDefinition","parameters":{"id":8008,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8007,"mutability":"mutable","name":"value","nameLocation":"23182:5:27","nodeType":"VariableDeclaration","scope":8030,"src":"23175:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8006,"name":"int256","nodeType":"ElementaryTypeName","src":"23175:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"23174:14:27"},"returnParameters":{"id":8011,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8010,"mutability":"mutable","name":"downcasted","nameLocation":"23219:10:27","nodeType":"VariableDeclaration","scope":8030,"src":"23212:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"},"typeName":{"id":8009,"name":"int168","nodeType":"ElementaryTypeName","src":"23212:6:27","typeDescriptions":{"typeIdentifier":"t_int168","typeString":"int168"}},"visibility":"internal"}],"src":"23211:19:27"},"scope":8591,"src":"23157:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8055,"nodeType":"Block","src":"23778:150:27","statements":[{"expression":{"id":8043,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8038,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8036,"src":"23788:10:27","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8041,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8033,"src":"23808:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8040,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"23801:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int160_$","typeString":"type(int160)"},"typeName":{"id":8039,"name":"int160","nodeType":"ElementaryTypeName","src":"23801:6:27","typeDescriptions":{}}},"id":8042,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23801:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"src":"23788:26:27","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"id":8044,"nodeType":"ExpressionStatement","src":"23788:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8045,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8036,"src":"23828:10:27","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8046,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8033,"src":"23842:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"23828:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8054,"nodeType":"IfStatement","src":"23824:98:27","trueBody":{"id":8053,"nodeType":"Block","src":"23849:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313630","id":8049,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"23900:3:27","typeDescriptions":{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},"value":"160"},{"id":8050,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8033,"src":"23905:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_160_by_1","typeString":"int_const 160"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8048,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"23870:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8051,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23870:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8052,"nodeType":"RevertStatement","src":"23863:48:27"}]}}]},"documentation":{"id":8031,"nodeType":"StructuredDocumentation","src":"23387:312:27","text":" @dev Returns the downcasted int160 from int256, reverting on\n overflow (when the input is less than smallest int160 or\n greater than largest int160).\n Counterpart to Solidity's `int160` operator.\n Requirements:\n - input must fit into 160 bits"},"id":8056,"implemented":true,"kind":"function","modifiers":[],"name":"toInt160","nameLocation":"23713:8:27","nodeType":"FunctionDefinition","parameters":{"id":8034,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8033,"mutability":"mutable","name":"value","nameLocation":"23729:5:27","nodeType":"VariableDeclaration","scope":8056,"src":"23722:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8032,"name":"int256","nodeType":"ElementaryTypeName","src":"23722:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"23721:14:27"},"returnParameters":{"id":8037,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8036,"mutability":"mutable","name":"downcasted","nameLocation":"23766:10:27","nodeType":"VariableDeclaration","scope":8056,"src":"23759:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"},"typeName":{"id":8035,"name":"int160","nodeType":"ElementaryTypeName","src":"23759:6:27","typeDescriptions":{"typeIdentifier":"t_int160","typeString":"int160"}},"visibility":"internal"}],"src":"23758:19:27"},"scope":8591,"src":"23704:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8081,"nodeType":"Block","src":"24325:150:27","statements":[{"expression":{"id":8069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8064,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8062,"src":"24335:10:27","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8067,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8059,"src":"24355:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8066,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"24348:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int152_$","typeString":"type(int152)"},"typeName":{"id":8065,"name":"int152","nodeType":"ElementaryTypeName","src":"24348:6:27","typeDescriptions":{}}},"id":8068,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24348:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"src":"24335:26:27","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"id":8070,"nodeType":"ExpressionStatement","src":"24335:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8073,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8071,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8062,"src":"24375:10:27","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8072,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8059,"src":"24389:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"24375:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8080,"nodeType":"IfStatement","src":"24371:98:27","trueBody":{"id":8079,"nodeType":"Block","src":"24396:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313532","id":8075,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24447:3:27","typeDescriptions":{"typeIdentifier":"t_rational_152_by_1","typeString":"int_const 152"},"value":"152"},{"id":8076,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8059,"src":"24452:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_152_by_1","typeString":"int_const 152"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8074,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"24417:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8077,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24417:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8078,"nodeType":"RevertStatement","src":"24410:48:27"}]}}]},"documentation":{"id":8057,"nodeType":"StructuredDocumentation","src":"23934:312:27","text":" @dev Returns the downcasted int152 from int256, reverting on\n overflow (when the input is less than smallest int152 or\n greater than largest int152).\n Counterpart to Solidity's `int152` operator.\n Requirements:\n - input must fit into 152 bits"},"id":8082,"implemented":true,"kind":"function","modifiers":[],"name":"toInt152","nameLocation":"24260:8:27","nodeType":"FunctionDefinition","parameters":{"id":8060,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8059,"mutability":"mutable","name":"value","nameLocation":"24276:5:27","nodeType":"VariableDeclaration","scope":8082,"src":"24269:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8058,"name":"int256","nodeType":"ElementaryTypeName","src":"24269:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"24268:14:27"},"returnParameters":{"id":8063,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8062,"mutability":"mutable","name":"downcasted","nameLocation":"24313:10:27","nodeType":"VariableDeclaration","scope":8082,"src":"24306:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"},"typeName":{"id":8061,"name":"int152","nodeType":"ElementaryTypeName","src":"24306:6:27","typeDescriptions":{"typeIdentifier":"t_int152","typeString":"int152"}},"visibility":"internal"}],"src":"24305:19:27"},"scope":8591,"src":"24251:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8107,"nodeType":"Block","src":"24872:150:27","statements":[{"expression":{"id":8095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8090,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8088,"src":"24882:10:27","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8093,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8085,"src":"24902:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8092,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"24895:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int144_$","typeString":"type(int144)"},"typeName":{"id":8091,"name":"int144","nodeType":"ElementaryTypeName","src":"24895:6:27","typeDescriptions":{}}},"id":8094,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24895:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"src":"24882:26:27","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"id":8096,"nodeType":"ExpressionStatement","src":"24882:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8099,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8097,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8088,"src":"24922:10:27","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8098,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8085,"src":"24936:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"24922:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8106,"nodeType":"IfStatement","src":"24918:98:27","trueBody":{"id":8105,"nodeType":"Block","src":"24943:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313434","id":8101,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24994:3:27","typeDescriptions":{"typeIdentifier":"t_rational_144_by_1","typeString":"int_const 144"},"value":"144"},{"id":8102,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8085,"src":"24999:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_144_by_1","typeString":"int_const 144"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8100,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"24964:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8103,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24964:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8104,"nodeType":"RevertStatement","src":"24957:48:27"}]}}]},"documentation":{"id":8083,"nodeType":"StructuredDocumentation","src":"24481:312:27","text":" @dev Returns the downcasted int144 from int256, reverting on\n overflow (when the input is less than smallest int144 or\n greater than largest int144).\n Counterpart to Solidity's `int144` operator.\n Requirements:\n - input must fit into 144 bits"},"id":8108,"implemented":true,"kind":"function","modifiers":[],"name":"toInt144","nameLocation":"24807:8:27","nodeType":"FunctionDefinition","parameters":{"id":8086,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8085,"mutability":"mutable","name":"value","nameLocation":"24823:5:27","nodeType":"VariableDeclaration","scope":8108,"src":"24816:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8084,"name":"int256","nodeType":"ElementaryTypeName","src":"24816:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"24815:14:27"},"returnParameters":{"id":8089,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8088,"mutability":"mutable","name":"downcasted","nameLocation":"24860:10:27","nodeType":"VariableDeclaration","scope":8108,"src":"24853:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"},"typeName":{"id":8087,"name":"int144","nodeType":"ElementaryTypeName","src":"24853:6:27","typeDescriptions":{"typeIdentifier":"t_int144","typeString":"int144"}},"visibility":"internal"}],"src":"24852:19:27"},"scope":8591,"src":"24798:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8133,"nodeType":"Block","src":"25419:150:27","statements":[{"expression":{"id":8121,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8116,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8114,"src":"25429:10:27","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8119,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8111,"src":"25449:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8118,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25442:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int136_$","typeString":"type(int136)"},"typeName":{"id":8117,"name":"int136","nodeType":"ElementaryTypeName","src":"25442:6:27","typeDescriptions":{}}},"id":8120,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25442:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"src":"25429:26:27","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"id":8122,"nodeType":"ExpressionStatement","src":"25429:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8125,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8123,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8114,"src":"25469:10:27","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8124,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8111,"src":"25483:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"25469:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8132,"nodeType":"IfStatement","src":"25465:98:27","trueBody":{"id":8131,"nodeType":"Block","src":"25490:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313336","id":8127,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25541:3:27","typeDescriptions":{"typeIdentifier":"t_rational_136_by_1","typeString":"int_const 136"},"value":"136"},{"id":8128,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8111,"src":"25546:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_136_by_1","typeString":"int_const 136"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8126,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"25511:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8129,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25511:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8130,"nodeType":"RevertStatement","src":"25504:48:27"}]}}]},"documentation":{"id":8109,"nodeType":"StructuredDocumentation","src":"25028:312:27","text":" @dev Returns the downcasted int136 from int256, reverting on\n overflow (when the input is less than smallest int136 or\n greater than largest int136).\n Counterpart to Solidity's `int136` operator.\n Requirements:\n - input must fit into 136 bits"},"id":8134,"implemented":true,"kind":"function","modifiers":[],"name":"toInt136","nameLocation":"25354:8:27","nodeType":"FunctionDefinition","parameters":{"id":8112,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8111,"mutability":"mutable","name":"value","nameLocation":"25370:5:27","nodeType":"VariableDeclaration","scope":8134,"src":"25363:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8110,"name":"int256","nodeType":"ElementaryTypeName","src":"25363:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"25362:14:27"},"returnParameters":{"id":8115,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8114,"mutability":"mutable","name":"downcasted","nameLocation":"25407:10:27","nodeType":"VariableDeclaration","scope":8134,"src":"25400:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"},"typeName":{"id":8113,"name":"int136","nodeType":"ElementaryTypeName","src":"25400:6:27","typeDescriptions":{"typeIdentifier":"t_int136","typeString":"int136"}},"visibility":"internal"}],"src":"25399:19:27"},"scope":8591,"src":"25345:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8159,"nodeType":"Block","src":"25966:150:27","statements":[{"expression":{"id":8147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8142,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8140,"src":"25976:10:27","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8145,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8137,"src":"25996:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8144,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25989:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int128_$","typeString":"type(int128)"},"typeName":{"id":8143,"name":"int128","nodeType":"ElementaryTypeName","src":"25989:6:27","typeDescriptions":{}}},"id":8146,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25989:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"src":"25976:26:27","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"id":8148,"nodeType":"ExpressionStatement","src":"25976:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8151,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8149,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8140,"src":"26016:10:27","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8150,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8137,"src":"26030:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"26016:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8158,"nodeType":"IfStatement","src":"26012:98:27","trueBody":{"id":8157,"nodeType":"Block","src":"26037:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313238","id":8153,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26088:3:27","typeDescriptions":{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},"value":"128"},{"id":8154,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8137,"src":"26093:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_128_by_1","typeString":"int_const 128"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8152,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"26058:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26058:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8156,"nodeType":"RevertStatement","src":"26051:48:27"}]}}]},"documentation":{"id":8135,"nodeType":"StructuredDocumentation","src":"25575:312:27","text":" @dev Returns the downcasted int128 from int256, reverting on\n overflow (when the input is less than smallest int128 or\n greater than largest int128).\n Counterpart to Solidity's `int128` operator.\n Requirements:\n - input must fit into 128 bits"},"id":8160,"implemented":true,"kind":"function","modifiers":[],"name":"toInt128","nameLocation":"25901:8:27","nodeType":"FunctionDefinition","parameters":{"id":8138,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8137,"mutability":"mutable","name":"value","nameLocation":"25917:5:27","nodeType":"VariableDeclaration","scope":8160,"src":"25910:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8136,"name":"int256","nodeType":"ElementaryTypeName","src":"25910:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"25909:14:27"},"returnParameters":{"id":8141,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8140,"mutability":"mutable","name":"downcasted","nameLocation":"25954:10:27","nodeType":"VariableDeclaration","scope":8160,"src":"25947:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"},"typeName":{"id":8139,"name":"int128","nodeType":"ElementaryTypeName","src":"25947:6:27","typeDescriptions":{"typeIdentifier":"t_int128","typeString":"int128"}},"visibility":"internal"}],"src":"25946:19:27"},"scope":8591,"src":"25892:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8185,"nodeType":"Block","src":"26513:150:27","statements":[{"expression":{"id":8173,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8168,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8166,"src":"26523:10:27","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8171,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8163,"src":"26543:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8170,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26536:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int120_$","typeString":"type(int120)"},"typeName":{"id":8169,"name":"int120","nodeType":"ElementaryTypeName","src":"26536:6:27","typeDescriptions":{}}},"id":8172,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26536:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"src":"26523:26:27","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"id":8174,"nodeType":"ExpressionStatement","src":"26523:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8177,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8175,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8166,"src":"26563:10:27","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8176,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8163,"src":"26577:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"26563:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8184,"nodeType":"IfStatement","src":"26559:98:27","trueBody":{"id":8183,"nodeType":"Block","src":"26584:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313230","id":8179,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26635:3:27","typeDescriptions":{"typeIdentifier":"t_rational_120_by_1","typeString":"int_const 120"},"value":"120"},{"id":8180,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8163,"src":"26640:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_120_by_1","typeString":"int_const 120"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8178,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"26605:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8181,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26605:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8182,"nodeType":"RevertStatement","src":"26598:48:27"}]}}]},"documentation":{"id":8161,"nodeType":"StructuredDocumentation","src":"26122:312:27","text":" @dev Returns the downcasted int120 from int256, reverting on\n overflow (when the input is less than smallest int120 or\n greater than largest int120).\n Counterpart to Solidity's `int120` operator.\n Requirements:\n - input must fit into 120 bits"},"id":8186,"implemented":true,"kind":"function","modifiers":[],"name":"toInt120","nameLocation":"26448:8:27","nodeType":"FunctionDefinition","parameters":{"id":8164,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8163,"mutability":"mutable","name":"value","nameLocation":"26464:5:27","nodeType":"VariableDeclaration","scope":8186,"src":"26457:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8162,"name":"int256","nodeType":"ElementaryTypeName","src":"26457:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"26456:14:27"},"returnParameters":{"id":8167,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8166,"mutability":"mutable","name":"downcasted","nameLocation":"26501:10:27","nodeType":"VariableDeclaration","scope":8186,"src":"26494:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"},"typeName":{"id":8165,"name":"int120","nodeType":"ElementaryTypeName","src":"26494:6:27","typeDescriptions":{"typeIdentifier":"t_int120","typeString":"int120"}},"visibility":"internal"}],"src":"26493:19:27"},"scope":8591,"src":"26439:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8211,"nodeType":"Block","src":"27060:150:27","statements":[{"expression":{"id":8199,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8194,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8192,"src":"27070:10:27","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8197,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8189,"src":"27090:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8196,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27083:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int112_$","typeString":"type(int112)"},"typeName":{"id":8195,"name":"int112","nodeType":"ElementaryTypeName","src":"27083:6:27","typeDescriptions":{}}},"id":8198,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27083:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"src":"27070:26:27","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"id":8200,"nodeType":"ExpressionStatement","src":"27070:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8201,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8192,"src":"27110:10:27","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8202,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8189,"src":"27124:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"27110:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8210,"nodeType":"IfStatement","src":"27106:98:27","trueBody":{"id":8209,"nodeType":"Block","src":"27131:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313132","id":8205,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27182:3:27","typeDescriptions":{"typeIdentifier":"t_rational_112_by_1","typeString":"int_const 112"},"value":"112"},{"id":8206,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8189,"src":"27187:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_112_by_1","typeString":"int_const 112"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8204,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"27152:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8207,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27152:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8208,"nodeType":"RevertStatement","src":"27145:48:27"}]}}]},"documentation":{"id":8187,"nodeType":"StructuredDocumentation","src":"26669:312:27","text":" @dev Returns the downcasted int112 from int256, reverting on\n overflow (when the input is less than smallest int112 or\n greater than largest int112).\n Counterpart to Solidity's `int112` operator.\n Requirements:\n - input must fit into 112 bits"},"id":8212,"implemented":true,"kind":"function","modifiers":[],"name":"toInt112","nameLocation":"26995:8:27","nodeType":"FunctionDefinition","parameters":{"id":8190,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8189,"mutability":"mutable","name":"value","nameLocation":"27011:5:27","nodeType":"VariableDeclaration","scope":8212,"src":"27004:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8188,"name":"int256","nodeType":"ElementaryTypeName","src":"27004:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"27003:14:27"},"returnParameters":{"id":8193,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8192,"mutability":"mutable","name":"downcasted","nameLocation":"27048:10:27","nodeType":"VariableDeclaration","scope":8212,"src":"27041:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"},"typeName":{"id":8191,"name":"int112","nodeType":"ElementaryTypeName","src":"27041:6:27","typeDescriptions":{"typeIdentifier":"t_int112","typeString":"int112"}},"visibility":"internal"}],"src":"27040:19:27"},"scope":8591,"src":"26986:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8237,"nodeType":"Block","src":"27607:150:27","statements":[{"expression":{"id":8225,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8220,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8218,"src":"27617:10:27","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8223,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8215,"src":"27637:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8222,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27630:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int104_$","typeString":"type(int104)"},"typeName":{"id":8221,"name":"int104","nodeType":"ElementaryTypeName","src":"27630:6:27","typeDescriptions":{}}},"id":8224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27630:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"src":"27617:26:27","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"id":8226,"nodeType":"ExpressionStatement","src":"27617:26:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8229,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8227,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8218,"src":"27657:10:27","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8228,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8215,"src":"27671:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"27657:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8236,"nodeType":"IfStatement","src":"27653:98:27","trueBody":{"id":8235,"nodeType":"Block","src":"27678:73:27","statements":[{"errorCall":{"arguments":[{"hexValue":"313034","id":8231,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27729:3:27","typeDescriptions":{"typeIdentifier":"t_rational_104_by_1","typeString":"int_const 104"},"value":"104"},{"id":8232,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8215,"src":"27734:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_104_by_1","typeString":"int_const 104"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8230,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"27699:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8233,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27699:41:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8234,"nodeType":"RevertStatement","src":"27692:48:27"}]}}]},"documentation":{"id":8213,"nodeType":"StructuredDocumentation","src":"27216:312:27","text":" @dev Returns the downcasted int104 from int256, reverting on\n overflow (when the input is less than smallest int104 or\n greater than largest int104).\n Counterpart to Solidity's `int104` operator.\n Requirements:\n - input must fit into 104 bits"},"id":8238,"implemented":true,"kind":"function","modifiers":[],"name":"toInt104","nameLocation":"27542:8:27","nodeType":"FunctionDefinition","parameters":{"id":8216,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8215,"mutability":"mutable","name":"value","nameLocation":"27558:5:27","nodeType":"VariableDeclaration","scope":8238,"src":"27551:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8214,"name":"int256","nodeType":"ElementaryTypeName","src":"27551:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"27550:14:27"},"returnParameters":{"id":8219,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8218,"mutability":"mutable","name":"downcasted","nameLocation":"27595:10:27","nodeType":"VariableDeclaration","scope":8238,"src":"27588:17:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"},"typeName":{"id":8217,"name":"int104","nodeType":"ElementaryTypeName","src":"27588:6:27","typeDescriptions":{"typeIdentifier":"t_int104","typeString":"int104"}},"visibility":"internal"}],"src":"27587:19:27"},"scope":8591,"src":"27533:224:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8263,"nodeType":"Block","src":"28147:148:27","statements":[{"expression":{"id":8251,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8246,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8244,"src":"28157:10:27","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8249,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8241,"src":"28176:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8248,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"28170:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int96_$","typeString":"type(int96)"},"typeName":{"id":8247,"name":"int96","nodeType":"ElementaryTypeName","src":"28170:5:27","typeDescriptions":{}}},"id":8250,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28170:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"src":"28157:25:27","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"id":8252,"nodeType":"ExpressionStatement","src":"28157:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8255,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8253,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8244,"src":"28196:10:27","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8254,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8241,"src":"28210:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"28196:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8262,"nodeType":"IfStatement","src":"28192:97:27","trueBody":{"id":8261,"nodeType":"Block","src":"28217:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3936","id":8257,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28268:2:27","typeDescriptions":{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},"value":"96"},{"id":8258,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8241,"src":"28272:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_96_by_1","typeString":"int_const 96"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8256,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"28238:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8259,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28238:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8260,"nodeType":"RevertStatement","src":"28231:47:27"}]}}]},"documentation":{"id":8239,"nodeType":"StructuredDocumentation","src":"27763:307:27","text":" @dev Returns the downcasted int96 from int256, reverting on\n overflow (when the input is less than smallest int96 or\n greater than largest int96).\n Counterpart to Solidity's `int96` operator.\n Requirements:\n - input must fit into 96 bits"},"id":8264,"implemented":true,"kind":"function","modifiers":[],"name":"toInt96","nameLocation":"28084:7:27","nodeType":"FunctionDefinition","parameters":{"id":8242,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8241,"mutability":"mutable","name":"value","nameLocation":"28099:5:27","nodeType":"VariableDeclaration","scope":8264,"src":"28092:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8240,"name":"int256","nodeType":"ElementaryTypeName","src":"28092:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"28091:14:27"},"returnParameters":{"id":8245,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8244,"mutability":"mutable","name":"downcasted","nameLocation":"28135:10:27","nodeType":"VariableDeclaration","scope":8264,"src":"28129:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"},"typeName":{"id":8243,"name":"int96","nodeType":"ElementaryTypeName","src":"28129:5:27","typeDescriptions":{"typeIdentifier":"t_int96","typeString":"int96"}},"visibility":"internal"}],"src":"28128:18:27"},"scope":8591,"src":"28075:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8289,"nodeType":"Block","src":"28685:148:27","statements":[{"expression":{"id":8277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8272,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8270,"src":"28695:10:27","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8275,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8267,"src":"28714:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8274,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"28708:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int88_$","typeString":"type(int88)"},"typeName":{"id":8273,"name":"int88","nodeType":"ElementaryTypeName","src":"28708:5:27","typeDescriptions":{}}},"id":8276,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28708:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"src":"28695:25:27","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"id":8278,"nodeType":"ExpressionStatement","src":"28695:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8281,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8279,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8270,"src":"28734:10:27","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8280,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8267,"src":"28748:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"28734:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8288,"nodeType":"IfStatement","src":"28730:97:27","trueBody":{"id":8287,"nodeType":"Block","src":"28755:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3838","id":8283,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28806:2:27","typeDescriptions":{"typeIdentifier":"t_rational_88_by_1","typeString":"int_const 88"},"value":"88"},{"id":8284,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8267,"src":"28810:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_88_by_1","typeString":"int_const 88"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8282,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"28776:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8285,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28776:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8286,"nodeType":"RevertStatement","src":"28769:47:27"}]}}]},"documentation":{"id":8265,"nodeType":"StructuredDocumentation","src":"28301:307:27","text":" @dev Returns the downcasted int88 from int256, reverting on\n overflow (when the input is less than smallest int88 or\n greater than largest int88).\n Counterpart to Solidity's `int88` operator.\n Requirements:\n - input must fit into 88 bits"},"id":8290,"implemented":true,"kind":"function","modifiers":[],"name":"toInt88","nameLocation":"28622:7:27","nodeType":"FunctionDefinition","parameters":{"id":8268,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8267,"mutability":"mutable","name":"value","nameLocation":"28637:5:27","nodeType":"VariableDeclaration","scope":8290,"src":"28630:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8266,"name":"int256","nodeType":"ElementaryTypeName","src":"28630:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"28629:14:27"},"returnParameters":{"id":8271,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8270,"mutability":"mutable","name":"downcasted","nameLocation":"28673:10:27","nodeType":"VariableDeclaration","scope":8290,"src":"28667:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"},"typeName":{"id":8269,"name":"int88","nodeType":"ElementaryTypeName","src":"28667:5:27","typeDescriptions":{"typeIdentifier":"t_int88","typeString":"int88"}},"visibility":"internal"}],"src":"28666:18:27"},"scope":8591,"src":"28613:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8315,"nodeType":"Block","src":"29223:148:27","statements":[{"expression":{"id":8303,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8298,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8296,"src":"29233:10:27","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8301,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8293,"src":"29252:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8300,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"29246:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int80_$","typeString":"type(int80)"},"typeName":{"id":8299,"name":"int80","nodeType":"ElementaryTypeName","src":"29246:5:27","typeDescriptions":{}}},"id":8302,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29246:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"src":"29233:25:27","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"id":8304,"nodeType":"ExpressionStatement","src":"29233:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8305,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8296,"src":"29272:10:27","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8306,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8293,"src":"29286:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"29272:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8314,"nodeType":"IfStatement","src":"29268:97:27","trueBody":{"id":8313,"nodeType":"Block","src":"29293:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3830","id":8309,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29344:2:27","typeDescriptions":{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},"value":"80"},{"id":8310,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8293,"src":"29348:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_80_by_1","typeString":"int_const 80"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8308,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"29314:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8311,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29314:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8312,"nodeType":"RevertStatement","src":"29307:47:27"}]}}]},"documentation":{"id":8291,"nodeType":"StructuredDocumentation","src":"28839:307:27","text":" @dev Returns the downcasted int80 from int256, reverting on\n overflow (when the input is less than smallest int80 or\n greater than largest int80).\n Counterpart to Solidity's `int80` operator.\n Requirements:\n - input must fit into 80 bits"},"id":8316,"implemented":true,"kind":"function","modifiers":[],"name":"toInt80","nameLocation":"29160:7:27","nodeType":"FunctionDefinition","parameters":{"id":8294,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8293,"mutability":"mutable","name":"value","nameLocation":"29175:5:27","nodeType":"VariableDeclaration","scope":8316,"src":"29168:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8292,"name":"int256","nodeType":"ElementaryTypeName","src":"29168:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"29167:14:27"},"returnParameters":{"id":8297,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8296,"mutability":"mutable","name":"downcasted","nameLocation":"29211:10:27","nodeType":"VariableDeclaration","scope":8316,"src":"29205:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"},"typeName":{"id":8295,"name":"int80","nodeType":"ElementaryTypeName","src":"29205:5:27","typeDescriptions":{"typeIdentifier":"t_int80","typeString":"int80"}},"visibility":"internal"}],"src":"29204:18:27"},"scope":8591,"src":"29151:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8341,"nodeType":"Block","src":"29761:148:27","statements":[{"expression":{"id":8329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8324,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8322,"src":"29771:10:27","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8327,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8319,"src":"29790:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8326,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"29784:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int72_$","typeString":"type(int72)"},"typeName":{"id":8325,"name":"int72","nodeType":"ElementaryTypeName","src":"29784:5:27","typeDescriptions":{}}},"id":8328,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29784:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"src":"29771:25:27","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"id":8330,"nodeType":"ExpressionStatement","src":"29771:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8333,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8331,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8322,"src":"29810:10:27","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8332,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8319,"src":"29824:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"29810:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8340,"nodeType":"IfStatement","src":"29806:97:27","trueBody":{"id":8339,"nodeType":"Block","src":"29831:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3732","id":8335,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29882:2:27","typeDescriptions":{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},"value":"72"},{"id":8336,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8319,"src":"29886:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_72_by_1","typeString":"int_const 72"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8334,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"29852:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8337,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29852:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8338,"nodeType":"RevertStatement","src":"29845:47:27"}]}}]},"documentation":{"id":8317,"nodeType":"StructuredDocumentation","src":"29377:307:27","text":" @dev Returns the downcasted int72 from int256, reverting on\n overflow (when the input is less than smallest int72 or\n greater than largest int72).\n Counterpart to Solidity's `int72` operator.\n Requirements:\n - input must fit into 72 bits"},"id":8342,"implemented":true,"kind":"function","modifiers":[],"name":"toInt72","nameLocation":"29698:7:27","nodeType":"FunctionDefinition","parameters":{"id":8320,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8319,"mutability":"mutable","name":"value","nameLocation":"29713:5:27","nodeType":"VariableDeclaration","scope":8342,"src":"29706:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8318,"name":"int256","nodeType":"ElementaryTypeName","src":"29706:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"29705:14:27"},"returnParameters":{"id":8323,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8322,"mutability":"mutable","name":"downcasted","nameLocation":"29749:10:27","nodeType":"VariableDeclaration","scope":8342,"src":"29743:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"},"typeName":{"id":8321,"name":"int72","nodeType":"ElementaryTypeName","src":"29743:5:27","typeDescriptions":{"typeIdentifier":"t_int72","typeString":"int72"}},"visibility":"internal"}],"src":"29742:18:27"},"scope":8591,"src":"29689:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8367,"nodeType":"Block","src":"30299:148:27","statements":[{"expression":{"id":8355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8350,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8348,"src":"30309:10:27","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8353,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8345,"src":"30328:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8352,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"30322:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int64_$","typeString":"type(int64)"},"typeName":{"id":8351,"name":"int64","nodeType":"ElementaryTypeName","src":"30322:5:27","typeDescriptions":{}}},"id":8354,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30322:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"src":"30309:25:27","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"id":8356,"nodeType":"ExpressionStatement","src":"30309:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8359,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8357,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8348,"src":"30348:10:27","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8358,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8345,"src":"30362:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"30348:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8366,"nodeType":"IfStatement","src":"30344:97:27","trueBody":{"id":8365,"nodeType":"Block","src":"30369:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3634","id":8361,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30420:2:27","typeDescriptions":{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},"value":"64"},{"id":8362,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8345,"src":"30424:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_64_by_1","typeString":"int_const 64"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8360,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"30390:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8363,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30390:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8364,"nodeType":"RevertStatement","src":"30383:47:27"}]}}]},"documentation":{"id":8343,"nodeType":"StructuredDocumentation","src":"29915:307:27","text":" @dev Returns the downcasted int64 from int256, reverting on\n overflow (when the input is less than smallest int64 or\n greater than largest int64).\n Counterpart to Solidity's `int64` operator.\n Requirements:\n - input must fit into 64 bits"},"id":8368,"implemented":true,"kind":"function","modifiers":[],"name":"toInt64","nameLocation":"30236:7:27","nodeType":"FunctionDefinition","parameters":{"id":8346,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8345,"mutability":"mutable","name":"value","nameLocation":"30251:5:27","nodeType":"VariableDeclaration","scope":8368,"src":"30244:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8344,"name":"int256","nodeType":"ElementaryTypeName","src":"30244:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"30243:14:27"},"returnParameters":{"id":8349,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8348,"mutability":"mutable","name":"downcasted","nameLocation":"30287:10:27","nodeType":"VariableDeclaration","scope":8368,"src":"30281:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"},"typeName":{"id":8347,"name":"int64","nodeType":"ElementaryTypeName","src":"30281:5:27","typeDescriptions":{"typeIdentifier":"t_int64","typeString":"int64"}},"visibility":"internal"}],"src":"30280:18:27"},"scope":8591,"src":"30227:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8393,"nodeType":"Block","src":"30837:148:27","statements":[{"expression":{"id":8381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8376,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8374,"src":"30847:10:27","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8379,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8371,"src":"30866:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8378,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"30860:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int56_$","typeString":"type(int56)"},"typeName":{"id":8377,"name":"int56","nodeType":"ElementaryTypeName","src":"30860:5:27","typeDescriptions":{}}},"id":8380,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30860:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"src":"30847:25:27","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"id":8382,"nodeType":"ExpressionStatement","src":"30847:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8385,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8383,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8374,"src":"30886:10:27","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8384,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8371,"src":"30900:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"30886:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8392,"nodeType":"IfStatement","src":"30882:97:27","trueBody":{"id":8391,"nodeType":"Block","src":"30907:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3536","id":8387,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30958:2:27","typeDescriptions":{"typeIdentifier":"t_rational_56_by_1","typeString":"int_const 56"},"value":"56"},{"id":8388,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8371,"src":"30962:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_56_by_1","typeString":"int_const 56"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8386,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"30928:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8389,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30928:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8390,"nodeType":"RevertStatement","src":"30921:47:27"}]}}]},"documentation":{"id":8369,"nodeType":"StructuredDocumentation","src":"30453:307:27","text":" @dev Returns the downcasted int56 from int256, reverting on\n overflow (when the input is less than smallest int56 or\n greater than largest int56).\n Counterpart to Solidity's `int56` operator.\n Requirements:\n - input must fit into 56 bits"},"id":8394,"implemented":true,"kind":"function","modifiers":[],"name":"toInt56","nameLocation":"30774:7:27","nodeType":"FunctionDefinition","parameters":{"id":8372,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8371,"mutability":"mutable","name":"value","nameLocation":"30789:5:27","nodeType":"VariableDeclaration","scope":8394,"src":"30782:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8370,"name":"int256","nodeType":"ElementaryTypeName","src":"30782:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"30781:14:27"},"returnParameters":{"id":8375,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8374,"mutability":"mutable","name":"downcasted","nameLocation":"30825:10:27","nodeType":"VariableDeclaration","scope":8394,"src":"30819:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"},"typeName":{"id":8373,"name":"int56","nodeType":"ElementaryTypeName","src":"30819:5:27","typeDescriptions":{"typeIdentifier":"t_int56","typeString":"int56"}},"visibility":"internal"}],"src":"30818:18:27"},"scope":8591,"src":"30765:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8419,"nodeType":"Block","src":"31375:148:27","statements":[{"expression":{"id":8407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8402,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8400,"src":"31385:10:27","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8405,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8397,"src":"31404:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8404,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"31398:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int48_$","typeString":"type(int48)"},"typeName":{"id":8403,"name":"int48","nodeType":"ElementaryTypeName","src":"31398:5:27","typeDescriptions":{}}},"id":8406,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31398:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"src":"31385:25:27","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"id":8408,"nodeType":"ExpressionStatement","src":"31385:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8411,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8409,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8400,"src":"31424:10:27","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8410,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8397,"src":"31438:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"31424:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8418,"nodeType":"IfStatement","src":"31420:97:27","trueBody":{"id":8417,"nodeType":"Block","src":"31445:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3438","id":8413,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31496:2:27","typeDescriptions":{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},"value":"48"},{"id":8414,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8397,"src":"31500:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_48_by_1","typeString":"int_const 48"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8412,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"31466:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8415,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31466:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8416,"nodeType":"RevertStatement","src":"31459:47:27"}]}}]},"documentation":{"id":8395,"nodeType":"StructuredDocumentation","src":"30991:307:27","text":" @dev Returns the downcasted int48 from int256, reverting on\n overflow (when the input is less than smallest int48 or\n greater than largest int48).\n Counterpart to Solidity's `int48` operator.\n Requirements:\n - input must fit into 48 bits"},"id":8420,"implemented":true,"kind":"function","modifiers":[],"name":"toInt48","nameLocation":"31312:7:27","nodeType":"FunctionDefinition","parameters":{"id":8398,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8397,"mutability":"mutable","name":"value","nameLocation":"31327:5:27","nodeType":"VariableDeclaration","scope":8420,"src":"31320:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8396,"name":"int256","nodeType":"ElementaryTypeName","src":"31320:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"31319:14:27"},"returnParameters":{"id":8401,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8400,"mutability":"mutable","name":"downcasted","nameLocation":"31363:10:27","nodeType":"VariableDeclaration","scope":8420,"src":"31357:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"},"typeName":{"id":8399,"name":"int48","nodeType":"ElementaryTypeName","src":"31357:5:27","typeDescriptions":{"typeIdentifier":"t_int48","typeString":"int48"}},"visibility":"internal"}],"src":"31356:18:27"},"scope":8591,"src":"31303:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8445,"nodeType":"Block","src":"31913:148:27","statements":[{"expression":{"id":8433,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8428,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8426,"src":"31923:10:27","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8431,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8423,"src":"31942:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8430,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"31936:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int40_$","typeString":"type(int40)"},"typeName":{"id":8429,"name":"int40","nodeType":"ElementaryTypeName","src":"31936:5:27","typeDescriptions":{}}},"id":8432,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31936:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"src":"31923:25:27","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"id":8434,"nodeType":"ExpressionStatement","src":"31923:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8437,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8435,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8426,"src":"31962:10:27","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8436,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8423,"src":"31976:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"31962:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8444,"nodeType":"IfStatement","src":"31958:97:27","trueBody":{"id":8443,"nodeType":"Block","src":"31983:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3430","id":8439,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32034:2:27","typeDescriptions":{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},"value":"40"},{"id":8440,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8423,"src":"32038:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_40_by_1","typeString":"int_const 40"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8438,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"32004:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32004:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8442,"nodeType":"RevertStatement","src":"31997:47:27"}]}}]},"documentation":{"id":8421,"nodeType":"StructuredDocumentation","src":"31529:307:27","text":" @dev Returns the downcasted int40 from int256, reverting on\n overflow (when the input is less than smallest int40 or\n greater than largest int40).\n Counterpart to Solidity's `int40` operator.\n Requirements:\n - input must fit into 40 bits"},"id":8446,"implemented":true,"kind":"function","modifiers":[],"name":"toInt40","nameLocation":"31850:7:27","nodeType":"FunctionDefinition","parameters":{"id":8424,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8423,"mutability":"mutable","name":"value","nameLocation":"31865:5:27","nodeType":"VariableDeclaration","scope":8446,"src":"31858:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8422,"name":"int256","nodeType":"ElementaryTypeName","src":"31858:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"31857:14:27"},"returnParameters":{"id":8427,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8426,"mutability":"mutable","name":"downcasted","nameLocation":"31901:10:27","nodeType":"VariableDeclaration","scope":8446,"src":"31895:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"},"typeName":{"id":8425,"name":"int40","nodeType":"ElementaryTypeName","src":"31895:5:27","typeDescriptions":{"typeIdentifier":"t_int40","typeString":"int40"}},"visibility":"internal"}],"src":"31894:18:27"},"scope":8591,"src":"31841:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8471,"nodeType":"Block","src":"32451:148:27","statements":[{"expression":{"id":8459,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8454,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8452,"src":"32461:10:27","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8457,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8449,"src":"32480:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8456,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"32474:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int32_$","typeString":"type(int32)"},"typeName":{"id":8455,"name":"int32","nodeType":"ElementaryTypeName","src":"32474:5:27","typeDescriptions":{}}},"id":8458,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32474:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"src":"32461:25:27","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"id":8460,"nodeType":"ExpressionStatement","src":"32461:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8461,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8452,"src":"32500:10:27","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8462,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8449,"src":"32514:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"32500:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8470,"nodeType":"IfStatement","src":"32496:97:27","trueBody":{"id":8469,"nodeType":"Block","src":"32521:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3332","id":8465,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32572:2:27","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},{"id":8466,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8449,"src":"32576:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8464,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"32542:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8467,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32542:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8468,"nodeType":"RevertStatement","src":"32535:47:27"}]}}]},"documentation":{"id":8447,"nodeType":"StructuredDocumentation","src":"32067:307:27","text":" @dev Returns the downcasted int32 from int256, reverting on\n overflow (when the input is less than smallest int32 or\n greater than largest int32).\n Counterpart to Solidity's `int32` operator.\n Requirements:\n - input must fit into 32 bits"},"id":8472,"implemented":true,"kind":"function","modifiers":[],"name":"toInt32","nameLocation":"32388:7:27","nodeType":"FunctionDefinition","parameters":{"id":8450,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8449,"mutability":"mutable","name":"value","nameLocation":"32403:5:27","nodeType":"VariableDeclaration","scope":8472,"src":"32396:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8448,"name":"int256","nodeType":"ElementaryTypeName","src":"32396:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"32395:14:27"},"returnParameters":{"id":8453,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8452,"mutability":"mutable","name":"downcasted","nameLocation":"32439:10:27","nodeType":"VariableDeclaration","scope":8472,"src":"32433:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"},"typeName":{"id":8451,"name":"int32","nodeType":"ElementaryTypeName","src":"32433:5:27","typeDescriptions":{"typeIdentifier":"t_int32","typeString":"int32"}},"visibility":"internal"}],"src":"32432:18:27"},"scope":8591,"src":"32379:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8497,"nodeType":"Block","src":"32989:148:27","statements":[{"expression":{"id":8485,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8480,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8478,"src":"32999:10:27","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8483,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8475,"src":"33018:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8482,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"33012:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int24_$","typeString":"type(int24)"},"typeName":{"id":8481,"name":"int24","nodeType":"ElementaryTypeName","src":"33012:5:27","typeDescriptions":{}}},"id":8484,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33012:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"src":"32999:25:27","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"id":8486,"nodeType":"ExpressionStatement","src":"32999:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8489,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8487,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8478,"src":"33038:10:27","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8488,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8475,"src":"33052:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"33038:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8496,"nodeType":"IfStatement","src":"33034:97:27","trueBody":{"id":8495,"nodeType":"Block","src":"33059:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3234","id":8491,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"33110:2:27","typeDescriptions":{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},"value":"24"},{"id":8492,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8475,"src":"33114:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_24_by_1","typeString":"int_const 24"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8490,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"33080:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8493,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33080:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8494,"nodeType":"RevertStatement","src":"33073:47:27"}]}}]},"documentation":{"id":8473,"nodeType":"StructuredDocumentation","src":"32605:307:27","text":" @dev Returns the downcasted int24 from int256, reverting on\n overflow (when the input is less than smallest int24 or\n greater than largest int24).\n Counterpart to Solidity's `int24` operator.\n Requirements:\n - input must fit into 24 bits"},"id":8498,"implemented":true,"kind":"function","modifiers":[],"name":"toInt24","nameLocation":"32926:7:27","nodeType":"FunctionDefinition","parameters":{"id":8476,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8475,"mutability":"mutable","name":"value","nameLocation":"32941:5:27","nodeType":"VariableDeclaration","scope":8498,"src":"32934:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8474,"name":"int256","nodeType":"ElementaryTypeName","src":"32934:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"32933:14:27"},"returnParameters":{"id":8479,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8478,"mutability":"mutable","name":"downcasted","nameLocation":"32977:10:27","nodeType":"VariableDeclaration","scope":8498,"src":"32971:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"},"typeName":{"id":8477,"name":"int24","nodeType":"ElementaryTypeName","src":"32971:5:27","typeDescriptions":{"typeIdentifier":"t_int24","typeString":"int24"}},"visibility":"internal"}],"src":"32970:18:27"},"scope":8591,"src":"32917:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8523,"nodeType":"Block","src":"33527:148:27","statements":[{"expression":{"id":8511,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8506,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8504,"src":"33537:10:27","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8509,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8501,"src":"33556:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8508,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"33550:5:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int16_$","typeString":"type(int16)"},"typeName":{"id":8507,"name":"int16","nodeType":"ElementaryTypeName","src":"33550:5:27","typeDescriptions":{}}},"id":8510,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33550:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"src":"33537:25:27","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"id":8512,"nodeType":"ExpressionStatement","src":"33537:25:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8515,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8513,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8504,"src":"33576:10:27","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8514,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8501,"src":"33590:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"33576:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8522,"nodeType":"IfStatement","src":"33572:97:27","trueBody":{"id":8521,"nodeType":"Block","src":"33597:72:27","statements":[{"errorCall":{"arguments":[{"hexValue":"3136","id":8517,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"33648:2:27","typeDescriptions":{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},"value":"16"},{"id":8518,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8501,"src":"33652:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_16_by_1","typeString":"int_const 16"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8516,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"33618:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8519,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33618:40:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8520,"nodeType":"RevertStatement","src":"33611:47:27"}]}}]},"documentation":{"id":8499,"nodeType":"StructuredDocumentation","src":"33143:307:27","text":" @dev Returns the downcasted int16 from int256, reverting on\n overflow (when the input is less than smallest int16 or\n greater than largest int16).\n Counterpart to Solidity's `int16` operator.\n Requirements:\n - input must fit into 16 bits"},"id":8524,"implemented":true,"kind":"function","modifiers":[],"name":"toInt16","nameLocation":"33464:7:27","nodeType":"FunctionDefinition","parameters":{"id":8502,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8501,"mutability":"mutable","name":"value","nameLocation":"33479:5:27","nodeType":"VariableDeclaration","scope":8524,"src":"33472:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8500,"name":"int256","nodeType":"ElementaryTypeName","src":"33472:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"33471:14:27"},"returnParameters":{"id":8505,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8504,"mutability":"mutable","name":"downcasted","nameLocation":"33515:10:27","nodeType":"VariableDeclaration","scope":8524,"src":"33509:16:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"},"typeName":{"id":8503,"name":"int16","nodeType":"ElementaryTypeName","src":"33509:5:27","typeDescriptions":{"typeIdentifier":"t_int16","typeString":"int16"}},"visibility":"internal"}],"src":"33508:18:27"},"scope":8591,"src":"33455:220:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8549,"nodeType":"Block","src":"34058:146:27","statements":[{"expression":{"id":8537,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":8532,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8530,"src":"34068:10:27","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":8535,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8527,"src":"34086:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8534,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"34081:4:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int8_$","typeString":"type(int8)"},"typeName":{"id":8533,"name":"int8","nodeType":"ElementaryTypeName","src":"34081:4:27","typeDescriptions":{}}},"id":8536,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34081:11:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"src":"34068:24:27","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"id":8538,"nodeType":"ExpressionStatement","src":"34068:24:27"},{"condition":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8541,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8539,"name":"downcasted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8530,"src":"34106:10:27","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":8540,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8527,"src":"34120:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"34106:19:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8548,"nodeType":"IfStatement","src":"34102:96:27","trueBody":{"id":8547,"nodeType":"Block","src":"34127:71:27","statements":[{"errorCall":{"arguments":[{"hexValue":"38","id":8543,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"34178:1:27","typeDescriptions":{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},"value":"8"},{"id":8544,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8527,"src":"34181:5:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_8_by_1","typeString":"int_const 8"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8542,"name":"SafeCastOverflowedIntDowncast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6848,"src":"34148:29:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint8_$_t_int256_$returns$_t_error_$","typeString":"function (uint8,int256) pure returns (error)"}},"id":8545,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34148:39:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8546,"nodeType":"RevertStatement","src":"34141:46:27"}]}}]},"documentation":{"id":8525,"nodeType":"StructuredDocumentation","src":"33681:302:27","text":" @dev Returns the downcasted int8 from int256, reverting on\n overflow (when the input is less than smallest int8 or\n greater than largest int8).\n Counterpart to Solidity's `int8` operator.\n Requirements:\n - input must fit into 8 bits"},"id":8550,"implemented":true,"kind":"function","modifiers":[],"name":"toInt8","nameLocation":"33997:6:27","nodeType":"FunctionDefinition","parameters":{"id":8528,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8527,"mutability":"mutable","name":"value","nameLocation":"34011:5:27","nodeType":"VariableDeclaration","scope":8550,"src":"34004:12:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8526,"name":"int256","nodeType":"ElementaryTypeName","src":"34004:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"34003:14:27"},"returnParameters":{"id":8531,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8530,"mutability":"mutable","name":"downcasted","nameLocation":"34046:10:27","nodeType":"VariableDeclaration","scope":8550,"src":"34041:15:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"},"typeName":{"id":8529,"name":"int8","nodeType":"ElementaryTypeName","src":"34041:4:27","typeDescriptions":{"typeIdentifier":"t_int8","typeString":"int8"}},"visibility":"internal"}],"src":"34040:17:27"},"scope":8591,"src":"33988:216:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8579,"nodeType":"Block","src":"34444:250:27","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8567,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8558,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8553,"src":"34557:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"arguments":[{"expression":{"arguments":[{"id":8563,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"34578:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":8562,"name":"int256","nodeType":"ElementaryTypeName","src":"34578:6:27","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"}],"id":8561,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"34573:4:27","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":8564,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34573:12:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_int256","typeString":"type(int256)"}},"id":8565,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"34586:3:27","memberName":"max","nodeType":"MemberAccess","src":"34573:16:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8560,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"34565:7:27","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8559,"name":"uint256","nodeType":"ElementaryTypeName","src":"34565:7:27","typeDescriptions":{}}},"id":8566,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34565:25:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"34557:33:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8573,"nodeType":"IfStatement","src":"34553:105:27","trueBody":{"id":8572,"nodeType":"Block","src":"34592:66:27","statements":[{"errorCall":{"arguments":[{"id":8569,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8553,"src":"34641:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8568,"name":"SafeCastOverflowedUintToInt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6853,"src":"34613:27:27","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":8570,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34613:34:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":8571,"nodeType":"RevertStatement","src":"34606:41:27"}]}},{"expression":{"arguments":[{"id":8576,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8553,"src":"34681:5:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8575,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"34674:6:27","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":8574,"name":"int256","nodeType":"ElementaryTypeName","src":"34674:6:27","typeDescriptions":{}}},"id":8577,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34674:13:27","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":8557,"id":8578,"nodeType":"Return","src":"34667:20:27"}]},"documentation":{"id":8551,"nodeType":"StructuredDocumentation","src":"34210:165:27","text":" @dev Converts an unsigned uint256 into a signed int256.\n Requirements:\n - input must be less than or equal to maxInt256."},"id":8580,"implemented":true,"kind":"function","modifiers":[],"name":"toInt256","nameLocation":"34389:8:27","nodeType":"FunctionDefinition","parameters":{"id":8554,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8553,"mutability":"mutable","name":"value","nameLocation":"34406:5:27","nodeType":"VariableDeclaration","scope":8580,"src":"34398:13:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8552,"name":"uint256","nodeType":"ElementaryTypeName","src":"34398:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"34397:15:27"},"returnParameters":{"id":8557,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8556,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8580,"src":"34436:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8555,"name":"int256","nodeType":"ElementaryTypeName","src":"34436:6:27","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"34435:8:27"},"scope":8591,"src":"34380:314:27","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8589,"nodeType":"Block","src":"34853:87:27","statements":[{"AST":{"nativeSrc":"34888:46:27","nodeType":"YulBlock","src":"34888:46:27","statements":[{"nativeSrc":"34902:22:27","nodeType":"YulAssignment","src":"34902:22:27","value":{"arguments":[{"arguments":[{"name":"b","nativeSrc":"34921:1:27","nodeType":"YulIdentifier","src":"34921:1:27"}],"functionName":{"name":"iszero","nativeSrc":"34914:6:27","nodeType":"YulIdentifier","src":"34914:6:27"},"nativeSrc":"34914:9:27","nodeType":"YulFunctionCall","src":"34914:9:27"}],"functionName":{"name":"iszero","nativeSrc":"34907:6:27","nodeType":"YulIdentifier","src":"34907:6:27"},"nativeSrc":"34907:17:27","nodeType":"YulFunctionCall","src":"34907:17:27"},"variableNames":[{"name":"u","nativeSrc":"34902:1:27","nodeType":"YulIdentifier","src":"34902:1:27"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":8583,"isOffset":false,"isSlot":false,"src":"34921:1:27","valueSize":1},{"declaration":8586,"isOffset":false,"isSlot":false,"src":"34902:1:27","valueSize":1}],"flags":["memory-safe"],"id":8588,"nodeType":"InlineAssembly","src":"34863:71:27"}]},"documentation":{"id":8581,"nodeType":"StructuredDocumentation","src":"34700:90:27","text":" @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump."},"id":8590,"implemented":true,"kind":"function","modifiers":[],"name":"toUint","nameLocation":"34804:6:27","nodeType":"FunctionDefinition","parameters":{"id":8584,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8583,"mutability":"mutable","name":"b","nameLocation":"34816:1:27","nodeType":"VariableDeclaration","scope":8590,"src":"34811:6:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8582,"name":"bool","nodeType":"ElementaryTypeName","src":"34811:4:27","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"34810:8:27"},"returnParameters":{"id":8587,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8586,"mutability":"mutable","name":"u","nameLocation":"34850:1:27","nodeType":"VariableDeclaration","scope":8590,"src":"34842:9:27","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8585,"name":"uint256","nodeType":"ElementaryTypeName","src":"34842:7:27","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"34841:11:27"},"scope":8591,"src":"34795:145:27","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":8592,"src":"769:34173:27","usedErrors":[6836,6841,6848,6853],"usedEvents":[]}],"src":"192:34751:27"},"id":27},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"ast":{"absolutePath":"@openzeppelin/contracts/utils/math/SignedMath.sol","exportedSymbols":{"SafeCast":[8591],"SignedMath":[8735]},"id":8736,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":8593,"literals":["solidity","^","0.8",".20"],"nodeType":"PragmaDirective","src":"109:24:28"},{"absolutePath":"@openzeppelin/contracts/utils/math/SafeCast.sol","file":"./SafeCast.sol","id":8595,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":8736,"sourceUnit":8592,"src":"135:40:28","symbolAliases":[{"foreign":{"id":8594,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"143:8:28","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"SignedMath","contractDependencies":[],"contractKind":"library","documentation":{"id":8596,"nodeType":"StructuredDocumentation","src":"177:80:28","text":" @dev Standard signed math utilities missing in the Solidity language."},"fullyImplemented":true,"id":8735,"linearizedBaseContracts":[8735],"name":"SignedMath","nameLocation":"266:10:28","nodeType":"ContractDefinition","nodes":[{"body":{"id":8625,"nodeType":"Block","src":"746:215:28","statements":[{"id":8624,"nodeType":"UncheckedBlock","src":"756:199:28","statements":[{"expression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8608,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8603,"src":"894:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8620,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8611,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8609,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8601,"src":"900:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":8610,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8603,"src":"904:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"900:5:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":8612,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"899:7:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"arguments":[{"id":8617,"name":"condition","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8599,"src":"932:9:28","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"}],"expression":{"id":8615,"name":"SafeCast","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8591,"src":"916:8:28","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_SafeCast_$8591_$","typeString":"type(library SafeCast)"}},"id":8616,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"925:6:28","memberName":"toUint","nodeType":"MemberAccess","referencedDeclaration":8590,"src":"916:15:28","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$returns$_t_uint256_$","typeString":"function (bool) pure returns (uint256)"}},"id":8618,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"916:26:28","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8614,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"909:6:28","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":8613,"name":"int256","nodeType":"ElementaryTypeName","src":"909:6:28","typeDescriptions":{}}},"id":8619,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"909:34:28","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"899:44:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":8621,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"898:46:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"894:50:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":8607,"id":8623,"nodeType":"Return","src":"887:57:28"}]}]},"documentation":{"id":8597,"nodeType":"StructuredDocumentation","src":"283:374:28","text":" @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n one branch when needed, making this function more expensive."},"id":8626,"implemented":true,"kind":"function","modifiers":[],"name":"ternary","nameLocation":"671:7:28","nodeType":"FunctionDefinition","parameters":{"id":8604,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8599,"mutability":"mutable","name":"condition","nameLocation":"684:9:28","nodeType":"VariableDeclaration","scope":8626,"src":"679:14:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8598,"name":"bool","nodeType":"ElementaryTypeName","src":"679:4:28","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":8601,"mutability":"mutable","name":"a","nameLocation":"702:1:28","nodeType":"VariableDeclaration","scope":8626,"src":"695:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8600,"name":"int256","nodeType":"ElementaryTypeName","src":"695:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":8603,"mutability":"mutable","name":"b","nameLocation":"712:1:28","nodeType":"VariableDeclaration","scope":8626,"src":"705:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8602,"name":"int256","nodeType":"ElementaryTypeName","src":"705:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"678:36:28"},"returnParameters":{"id":8607,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8606,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8626,"src":"738:6:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8605,"name":"int256","nodeType":"ElementaryTypeName","src":"738:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"737:8:28"},"scope":8735,"src":"662:299:28","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8644,"nodeType":"Block","src":"1102:44:28","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8637,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8629,"src":"1127:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":8638,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8631,"src":"1131:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1127:5:28","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":8640,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8629,"src":"1134:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":8641,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8631,"src":"1137:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8636,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8626,"src":"1119:7:28","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_int256_$_t_int256_$returns$_t_int256_$","typeString":"function (bool,int256,int256) pure returns (int256)"}},"id":8642,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1119:20:28","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":8635,"id":8643,"nodeType":"Return","src":"1112:27:28"}]},"documentation":{"id":8627,"nodeType":"StructuredDocumentation","src":"967:66:28","text":" @dev Returns the largest of two signed numbers."},"id":8645,"implemented":true,"kind":"function","modifiers":[],"name":"max","nameLocation":"1047:3:28","nodeType":"FunctionDefinition","parameters":{"id":8632,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8629,"mutability":"mutable","name":"a","nameLocation":"1058:1:28","nodeType":"VariableDeclaration","scope":8645,"src":"1051:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8628,"name":"int256","nodeType":"ElementaryTypeName","src":"1051:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":8631,"mutability":"mutable","name":"b","nameLocation":"1068:1:28","nodeType":"VariableDeclaration","scope":8645,"src":"1061:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8630,"name":"int256","nodeType":"ElementaryTypeName","src":"1061:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1050:20:28"},"returnParameters":{"id":8635,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8634,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8645,"src":"1094:6:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8633,"name":"int256","nodeType":"ElementaryTypeName","src":"1094:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1093:8:28"},"scope":8735,"src":"1038:108:28","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8663,"nodeType":"Block","src":"1288:44:28","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8658,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8656,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8648,"src":"1313:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":8657,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8650,"src":"1317:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1313:5:28","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":8659,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8648,"src":"1320:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},{"id":8660,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8650,"src":"1323:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_int256","typeString":"int256"},{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8655,"name":"ternary","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8626,"src":"1305:7:28","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_int256_$_t_int256_$returns$_t_int256_$","typeString":"function (bool,int256,int256) pure returns (int256)"}},"id":8661,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1305:20:28","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":8654,"id":8662,"nodeType":"Return","src":"1298:27:28"}]},"documentation":{"id":8646,"nodeType":"StructuredDocumentation","src":"1152:67:28","text":" @dev Returns the smallest of two signed numbers."},"id":8664,"implemented":true,"kind":"function","modifiers":[],"name":"min","nameLocation":"1233:3:28","nodeType":"FunctionDefinition","parameters":{"id":8651,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8648,"mutability":"mutable","name":"a","nameLocation":"1244:1:28","nodeType":"VariableDeclaration","scope":8664,"src":"1237:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8647,"name":"int256","nodeType":"ElementaryTypeName","src":"1237:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":8650,"mutability":"mutable","name":"b","nameLocation":"1254:1:28","nodeType":"VariableDeclaration","scope":8664,"src":"1247:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8649,"name":"int256","nodeType":"ElementaryTypeName","src":"1247:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1236:20:28"},"returnParameters":{"id":8654,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8653,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8664,"src":"1280:6:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8652,"name":"int256","nodeType":"ElementaryTypeName","src":"1280:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1279:8:28"},"scope":8735,"src":"1224:108:28","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8707,"nodeType":"Block","src":"1537:162:28","statements":[{"assignments":[8675],"declarations":[{"constant":false,"id":8675,"mutability":"mutable","name":"x","nameLocation":"1606:1:28","nodeType":"VariableDeclaration","scope":8707,"src":"1599:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8674,"name":"int256","nodeType":"ElementaryTypeName","src":"1599:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":8688,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8687,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8676,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8667,"src":"1611:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"id":8677,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8669,"src":"1615:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1611:5:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":8679,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1610:7:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8682,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8680,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8667,"src":"1622:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":8681,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8669,"src":"1626:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1622:5:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":8683,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1621:7:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"31","id":8684,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1632:1:28","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"1621:12:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":8686,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1620:14:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1610:24:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"1599:35:28"},{"expression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8705,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8689,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8675,"src":"1651:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8703,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":8697,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":8694,"name":"x","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8675,"src":"1671:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8693,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1663:7:28","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8692,"name":"uint256","nodeType":"ElementaryTypeName","src":"1663:7:28","typeDescriptions":{}}},"id":8695,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1663:10:28","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"323535","id":8696,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1677:3:28","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"},"src":"1663:17:28","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":8691,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1656:6:28","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":8690,"name":"int256","nodeType":"ElementaryTypeName","src":"1656:6:28","typeDescriptions":{}}},"id":8698,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1656:25:28","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8699,"name":"a","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8667,"src":"1685:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":8700,"name":"b","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8669,"src":"1689:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1685:5:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":8702,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1684:7:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1656:35:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":8704,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"1655:37:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"1651:41:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"functionReturnParameters":8673,"id":8706,"nodeType":"Return","src":"1644:48:28"}]},"documentation":{"id":8665,"nodeType":"StructuredDocumentation","src":"1338:126:28","text":" @dev Returns the average of two signed numbers without overflow.\n The result is rounded towards zero."},"id":8708,"implemented":true,"kind":"function","modifiers":[],"name":"average","nameLocation":"1478:7:28","nodeType":"FunctionDefinition","parameters":{"id":8670,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8667,"mutability":"mutable","name":"a","nameLocation":"1493:1:28","nodeType":"VariableDeclaration","scope":8708,"src":"1486:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8666,"name":"int256","nodeType":"ElementaryTypeName","src":"1486:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"},{"constant":false,"id":8669,"mutability":"mutable","name":"b","nameLocation":"1503:1:28","nodeType":"VariableDeclaration","scope":8708,"src":"1496:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8668,"name":"int256","nodeType":"ElementaryTypeName","src":"1496:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1485:20:28"},"returnParameters":{"id":8673,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8672,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8708,"src":"1529:6:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8671,"name":"int256","nodeType":"ElementaryTypeName","src":"1529:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1528:8:28"},"scope":8735,"src":"1469:230:28","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":8733,"nodeType":"Block","src":"1843:767:28","statements":[{"id":8732,"nodeType":"UncheckedBlock","src":"1853:751:28","statements":[{"assignments":[8717],"declarations":[{"constant":false,"id":8717,"mutability":"mutable","name":"mask","nameLocation":"2424:4:28","nodeType":"VariableDeclaration","scope":8732,"src":"2417:11:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8716,"name":"int256","nodeType":"ElementaryTypeName","src":"2417:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":8721,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8720,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8718,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8711,"src":"2431:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">>","rightExpression":{"hexValue":"323535","id":8719,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2436:3:28","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"},"src":"2431:8:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"2417:22:28"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8729,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":8726,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":8724,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8711,"src":"2576:1:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":8725,"name":"mask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8717,"src":"2580:4:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"2576:8:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"id":8727,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"2575:10:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"^","rightExpression":{"id":8728,"name":"mask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8717,"src":"2588:4:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"2575:17:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":8723,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2567:7:28","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":8722,"name":"uint256","nodeType":"ElementaryTypeName","src":"2567:7:28","typeDescriptions":{}}},"id":8730,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2567:26:28","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":8715,"id":8731,"nodeType":"Return","src":"2560:33:28"}]}]},"documentation":{"id":8709,"nodeType":"StructuredDocumentation","src":"1705:78:28","text":" @dev Returns the absolute unsigned value of a signed value."},"id":8734,"implemented":true,"kind":"function","modifiers":[],"name":"abs","nameLocation":"1797:3:28","nodeType":"FunctionDefinition","parameters":{"id":8712,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8711,"mutability":"mutable","name":"n","nameLocation":"1808:1:28","nodeType":"VariableDeclaration","scope":8734,"src":"1801:8:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":8710,"name":"int256","nodeType":"ElementaryTypeName","src":"1801:6:28","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"src":"1800:10:28"},"returnParameters":{"id":8715,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8714,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":8734,"src":"1834:7:28","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8713,"name":"uint256","nodeType":"ElementaryTypeName","src":"1834:7:28","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1833:9:28"},"scope":8735,"src":"1788:822:28","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":8736,"src":"258:2354:28","usedErrors":[],"usedEvents":[]}],"src":"109:2504:28"},"id":28},"contracts/CyberValley.sol":{"ast":{"absolutePath":"contracts/CyberValley.sol","exportedSymbols":{"CyberValley":[8745]},"id":8746,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":8737,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"32:23:29"},{"abstract":false,"baseContracts":[],"canonicalName":"CyberValley","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":8745,"linearizedBaseContracts":[8745],"name":"CyberValley","nameLocation":"65:11:29","nodeType":"ContractDefinition","nodes":[{"canonicalName":"CyberValley.Multihash","id":8744,"members":[{"constant":false,"id":8739,"mutability":"mutable","name":"digest","nameLocation":"118:6:29","nodeType":"VariableDeclaration","scope":8744,"src":"110:14:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8738,"name":"bytes32","nodeType":"ElementaryTypeName","src":"110:7:29","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":8741,"mutability":"mutable","name":"hashFunction","nameLocation":"140:12:29","nodeType":"VariableDeclaration","scope":8744,"src":"134:18:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8740,"name":"uint8","nodeType":"ElementaryTypeName","src":"134:5:29","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8743,"mutability":"mutable","name":"size","nameLocation":"168:4:29","nodeType":"VariableDeclaration","scope":8744,"src":"162:10:29","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8742,"name":"uint8","nodeType":"ElementaryTypeName","src":"162:5:29","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"name":"Multihash","nameLocation":"90:9:29","nodeType":"StructDefinition","scope":8745,"src":"83:96:29","visibility":"public"}],"scope":8746,"src":"57:124:29","usedErrors":[],"usedEvents":[]}],"src":"32:150:29"},"id":29},"contracts/CyberValleyEventManager.sol":{"ast":{"absolutePath":"contracts/CyberValleyEventManager.sol","exportedSymbols":{"AccessControl":[295],"Base58":[12390],"Context":[2576],"CyberValley":[8745],"CyberValleyEventManager":[11595],"CyberValleyEventTicket":[12160],"DateOverlapChecker":[12874],"ERC165":[5193],"ERC721":[2306],"ERC721Utils":[2546],"IAccessControl":[378],"IDynamicRevenueSplitter":[14870],"IERC165":[5205],"IERC20":[1133],"IERC721":[2423],"IERC721Errors":[493],"IERC721Metadata":[2469],"IReferralRewards":[14893],"Math":[6826],"Panic":[2696],"SafeCast":[8591],"Strings":[4508]},"id":11596,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":8747,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"32:23:30"},{"absolutePath":"@openzeppelin/contracts/access/AccessControl.sol","file":"@openzeppelin/contracts/access/AccessControl.sol","id":8748,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11596,"sourceUnit":296,"src":"57:58:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"@openzeppelin/contracts/token/ERC20/IERC20.sol","id":8749,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11596,"sourceUnit":1134,"src":"116:56:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/CyberValleyEventTicket.sol","file":"./CyberValleyEventTicket.sol","id":8750,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11596,"sourceUnit":12391,"src":"173:38:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/DateOverlapChecker.sol","file":"./DateOverlapChecker.sol","id":8751,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11596,"sourceUnit":12875,"src":"212:34:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/CyberValley.sol","file":"./CyberValley.sol","id":8752,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11596,"sourceUnit":8746,"src":"247:27:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/IDynamicRevenueSplitter.sol","file":"./IDynamicRevenueSplitter.sol","id":8753,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11596,"sourceUnit":14871,"src":"275:39:30","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/IReferralRewards.sol","file":"./IReferralRewards.sol","id":8754,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":11596,"sourceUnit":14894,"src":"315:32:30","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":8755,"name":"AccessControl","nameLocations":["431:13:30"],"nodeType":"IdentifierPath","referencedDeclaration":295,"src":"431:13:30"},"id":8756,"nodeType":"InheritanceSpecifier","src":"431:13:30"},{"baseName":{"id":8757,"name":"DateOverlapChecker","nameLocations":["446:18:30"],"nodeType":"IdentifierPath","referencedDeclaration":12874,"src":"446:18:30"},"id":8758,"nodeType":"InheritanceSpecifier","src":"446:18:30"}],"canonicalName":"CyberValleyEventManager","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":11595,"linearizedBaseContracts":[11595,12874,295,5193,5205,378,2576],"name":"CyberValleyEventManager","nameLocation":"404:23:30","nodeType":"ContractDefinition","nodes":[{"global":false,"id":8762,"libraryName":{"id":8759,"name":"CyberValley","nameLocations":["477:11:30"],"nodeType":"IdentifierPath","referencedDeclaration":8745,"src":"477:11:30"},"nodeType":"UsingForDirective","src":"471:44:30","typeName":{"id":8761,"nodeType":"UserDefinedTypeName","pathNode":{"id":8760,"name":"CyberValley.Multihash","nameLocations":["493:11:30","505:9:30"],"nodeType":"IdentifierPath","referencedDeclaration":8744,"src":"493:21:30"},"referencedDeclaration":8744,"src":"493:21:30","typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_storage_ptr","typeString":"struct CyberValley.Multihash"}}},{"constant":true,"functionSelector":"dc224863","id":8767,"mutability":"constant","name":"MASTER_ROLE","nameLocation":"545:11:30","nodeType":"VariableDeclaration","scope":11595,"src":"521:62:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8763,"name":"bytes32","nodeType":"ElementaryTypeName","src":"521:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"4d41535445525f524f4c45","id":8765,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"569:13:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_8b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4c","typeString":"literal_string \"MASTER_ROLE\""},"value":"MASTER_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4c","typeString":"literal_string \"MASTER_ROLE\""}],"id":8764,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"559:9:30","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":8766,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"559:24:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"d8b03fa4","id":8772,"mutability":"constant","name":"LOCAL_PROVIDER_ROLE","nameLocation":"613:19:30","nodeType":"VariableDeclaration","scope":11595,"src":"589:78:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8768,"name":"bytes32","nodeType":"ElementaryTypeName","src":"589:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"4c4f43414c5f50524f56494445525f524f4c45","id":8770,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"645:21:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_15b2da25ad3ad17b120bdf62bcb1d99394802408e2ec63d9836ecfe4af9a5ebc","typeString":"literal_string \"LOCAL_PROVIDER_ROLE\""},"value":"LOCAL_PROVIDER_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_15b2da25ad3ad17b120bdf62bcb1d99394802408e2ec63d9836ecfe4af9a5ebc","typeString":"literal_string \"LOCAL_PROVIDER_ROLE\""}],"id":8769,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"635:9:30","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":8771,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"635:32:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"39ee53b1","id":8777,"mutability":"constant","name":"VERIFIED_SHAMAN_ROLE","nameLocation":"697:20:30","nodeType":"VariableDeclaration","scope":11595,"src":"673:80:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8773,"name":"bytes32","nodeType":"ElementaryTypeName","src":"673:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"56455249464945445f5348414d414e5f524f4c45","id":8775,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"730:22:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_cc097f9ad0fe95e9677eb635e08a2eafd1be1982e54ebbbe025d4d82046f8da8","typeString":"literal_string \"VERIFIED_SHAMAN_ROLE\""},"value":"VERIFIED_SHAMAN_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_cc097f9ad0fe95e9677eb635e08a2eafd1be1982e54ebbbe025d4d82046f8da8","typeString":"literal_string \"VERIFIED_SHAMAN_ROLE\""}],"id":8774,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"720:9:30","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":8776,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"720:33:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"92c2becc","id":8782,"mutability":"constant","name":"BACKEND_ROLE","nameLocation":"783:12:30","nodeType":"VariableDeclaration","scope":11595,"src":"759:64:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8778,"name":"bytes32","nodeType":"ElementaryTypeName","src":"759:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"4241434b454e445f524f4c45","id":8780,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"808:14:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_25cf2b509f2a7f322675b2a5322b182f44ad2c03ac941a0af17c9b178f5d5d5f","typeString":"literal_string \"BACKEND_ROLE\""},"value":"BACKEND_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_25cf2b509f2a7f322675b2a5322b182f44ad2c03ac941a0af17c9b178f5d5d5f","typeString":"literal_string \"BACKEND_ROLE\""}],"id":8779,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"798:9:30","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":8781,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"798:25:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"body":{"id":8797,"nodeType":"Block","src":"1039:122:30","statements":[{"condition":{"id":8789,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"1053:33:30","subExpression":{"arguments":[{"id":8785,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8767,"src":"1062:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":8786,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1075:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":8787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1079:6:30","memberName":"sender","nodeType":"MemberAccess","src":"1075:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":8784,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"1054:7:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":8788,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1054:32:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":8795,"nodeType":"IfStatement","src":"1049:95:30","trueBody":{"id":8794,"nodeType":"Block","src":"1088:56:30","statements":[{"expression":{"arguments":[{"id":8791,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"1113:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":8790,"name":"_checkRole","nodeType":"Identifier","overloadedDeclarations":[93,114],"referencedDeclaration":93,"src":"1102:10:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$returns$__$","typeString":"function (bytes32) view"}},"id":8792,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1102:31:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":8793,"nodeType":"ExpressionStatement","src":"1102:31:30"}]}},{"id":8796,"nodeType":"PlaceholderStatement","src":"1153:1:30"}]},"id":8798,"name":"onlyLocalProviderOrMaster","nameLocation":"1011:25:30","nodeType":"ModifierDefinition","parameters":{"id":8783,"nodeType":"ParameterList","parameters":[],"src":"1036:2:30"},"src":"1002:159:30","virtual":false,"visibility":"internal"},{"canonicalName":"CyberValleyEventManager.EventPlaceStatus","id":8802,"members":[{"id":8799,"name":"Submitted","nameLocation":"1199:9:30","nodeType":"EnumValue","src":"1199:9:30"},{"id":8800,"name":"Approved","nameLocation":"1218:8:30","nodeType":"EnumValue","src":"1218:8:30"},{"id":8801,"name":"Declined","nameLocation":"1236:8:30","nodeType":"EnumValue","src":"1236:8:30"}],"name":"EventPlaceStatus","nameLocation":"1172:16:30","nodeType":"EnumDefinition","src":"1167:83:30"},{"canonicalName":"CyberValleyEventManager.EventPlace","id":8827,"members":[{"constant":false,"id":8804,"mutability":"mutable","name":"requester","nameLocation":"1292:9:30","nodeType":"VariableDeclaration","scope":8827,"src":"1284:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8803,"name":"address","nodeType":"ElementaryTypeName","src":"1284:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8806,"mutability":"mutable","name":"provider","nameLocation":"1319:8:30","nodeType":"VariableDeclaration","scope":8827,"src":"1311:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8805,"name":"address","nodeType":"ElementaryTypeName","src":"1311:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8808,"mutability":"mutable","name":"maxTickets","nameLocation":"1344:10:30","nodeType":"VariableDeclaration","scope":8827,"src":"1337:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8807,"name":"uint16","nodeType":"ElementaryTypeName","src":"1337:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8810,"mutability":"mutable","name":"minTickets","nameLocation":"1371:10:30","nodeType":"VariableDeclaration","scope":8827,"src":"1364:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8809,"name":"uint16","nodeType":"ElementaryTypeName","src":"1364:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8812,"mutability":"mutable","name":"minPrice","nameLocation":"1399:8:30","nodeType":"VariableDeclaration","scope":8827,"src":"1391:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8811,"name":"uint256","nodeType":"ElementaryTypeName","src":"1391:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8814,"mutability":"mutable","name":"daysBeforeCancel","nameLocation":"1423:16:30","nodeType":"VariableDeclaration","scope":8827,"src":"1417:22:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8813,"name":"uint8","nodeType":"ElementaryTypeName","src":"1417:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8816,"mutability":"mutable","name":"minDays","nameLocation":"1455:7:30","nodeType":"VariableDeclaration","scope":8827,"src":"1449:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8815,"name":"uint8","nodeType":"ElementaryTypeName","src":"1449:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8818,"mutability":"mutable","name":"available","nameLocation":"1477:9:30","nodeType":"VariableDeclaration","scope":8827,"src":"1472:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8817,"name":"bool","nodeType":"ElementaryTypeName","src":"1472:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":8821,"mutability":"mutable","name":"status","nameLocation":"1513:6:30","nodeType":"VariableDeclaration","scope":8827,"src":"1496:23:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},"typeName":{"id":8820,"nodeType":"UserDefinedTypeName","pathNode":{"id":8819,"name":"EventPlaceStatus","nameLocations":["1496:16:30"],"nodeType":"IdentifierPath","referencedDeclaration":8802,"src":"1496:16:30"},"referencedDeclaration":8802,"src":"1496:16:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17118802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"visibility":"internal"},{"constant":false,"id":8824,"mutability":"mutable","name":"meta","nameLocation":"1551:4:30","nodeType":"VariableDeclaration","scope":8827,"src":"1529:26:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_17128744_storage_ptr","typeString":"struct CyberValley.Multihash"},"typeName":{"id":8823,"nodeType":"UserDefinedTypeName","pathNode":{"id":8822,"name":"CyberValley.Multihash","nameLocations":["1529:11:30","1541:9:30"],"nodeType":"IdentifierPath","referencedDeclaration":8744,"src":"1529:21:30"},"referencedDeclaration":8744,"src":"1529:21:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_17138744_storage_ptr","typeString":"struct CyberValley.Multihash"}},"visibility":"internal"},{"constant":false,"id":8826,"mutability":"mutable","name":"eventDepositSize","nameLocation":"1573:16:30","nodeType":"VariableDeclaration","scope":8827,"src":"1565:24:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8825,"name":"uint256","nodeType":"ElementaryTypeName","src":"1565:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"EventPlace","nameLocation":"1263:10:30","nodeType":"StructDefinition","scope":11595,"src":"1256:340:30","visibility":"public"},{"canonicalName":"CyberValleyEventManager.EventStatus","id":8833,"members":[{"id":8828,"name":"Submitted","nameLocation":"1629:9:30","nodeType":"EnumValue","src":"1629:9:30"},{"id":8829,"name":"Approved","nameLocation":"1648:8:30","nodeType":"EnumValue","src":"1648:8:30"},{"id":8830,"name":"Declined","nameLocation":"1666:8:30","nodeType":"EnumValue","src":"1666:8:30"},{"id":8831,"name":"Cancelled","nameLocation":"1684:9:30","nodeType":"EnumValue","src":"1684:9:30"},{"id":8832,"name":"Closed","nameLocation":"1703:6:30","nodeType":"EnumValue","src":"1703:6:30"}],"name":"EventStatus","nameLocation":"1607:11:30","nodeType":"EnumDefinition","src":"1602:113:30"},{"canonicalName":"CyberValleyEventManager.TicketCategory","id":8846,"members":[{"constant":false,"id":8835,"mutability":"mutable","name":"name","nameLocation":"1792:4:30","nodeType":"VariableDeclaration","scope":8846,"src":"1785:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":8834,"name":"string","nodeType":"ElementaryTypeName","src":"1785:6:30","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":8837,"mutability":"mutable","name":"eventId","nameLocation":"1814:7:30","nodeType":"VariableDeclaration","scope":8846,"src":"1806:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8836,"name":"uint256","nodeType":"ElementaryTypeName","src":"1806:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8839,"mutability":"mutable","name":"discountPercentage","nameLocation":"1838:18:30","nodeType":"VariableDeclaration","scope":8846,"src":"1831:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8838,"name":"uint16","nodeType":"ElementaryTypeName","src":"1831:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8841,"mutability":"mutable","name":"quota","nameLocation":"1873:5:30","nodeType":"VariableDeclaration","scope":8846,"src":"1866:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8840,"name":"uint16","nodeType":"ElementaryTypeName","src":"1866:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8843,"mutability":"mutable","name":"hasQuota","nameLocation":"1893:8:30","nodeType":"VariableDeclaration","scope":8846,"src":"1888:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8842,"name":"bool","nodeType":"ElementaryTypeName","src":"1888:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":8845,"mutability":"mutable","name":"sold","nameLocation":"1918:4:30","nodeType":"VariableDeclaration","scope":8846,"src":"1911:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8844,"name":"uint16","nodeType":"ElementaryTypeName","src":"1911:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"name":"TicketCategory","nameLocation":"1760:14:30","nodeType":"StructDefinition","scope":11595,"src":"1753:176:30","visibility":"public"},{"canonicalName":"CyberValleyEventManager.CategoryInput","id":8855,"members":[{"constant":false,"id":8848,"mutability":"mutable","name":"name","nameLocation":"2041:4:30","nodeType":"VariableDeclaration","scope":8855,"src":"2034:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"},"typeName":{"id":8847,"name":"string","nodeType":"ElementaryTypeName","src":"2034:6:30","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":8850,"mutability":"mutable","name":"discountPercentage","nameLocation":"2062:18:30","nodeType":"VariableDeclaration","scope":8855,"src":"2055:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8849,"name":"uint16","nodeType":"ElementaryTypeName","src":"2055:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8852,"mutability":"mutable","name":"quota","nameLocation":"2097:5:30","nodeType":"VariableDeclaration","scope":8855,"src":"2090:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8851,"name":"uint16","nodeType":"ElementaryTypeName","src":"2090:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8854,"mutability":"mutable","name":"hasQuota","nameLocation":"2117:8:30","nodeType":"VariableDeclaration","scope":8855,"src":"2112:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8853,"name":"bool","nodeType":"ElementaryTypeName","src":"2112:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"name":"CategoryInput","nameLocation":"2010:13:30","nodeType":"StructDefinition","scope":11595,"src":"2003:129:30","visibility":"public"},{"canonicalName":"CyberValleyEventManager.Event","id":8879,"members":[{"constant":false,"id":8857,"mutability":"mutable","name":"creator","nameLocation":"2169:7:30","nodeType":"VariableDeclaration","scope":8879,"src":"2161:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8856,"name":"address","nodeType":"ElementaryTypeName","src":"2161:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8859,"mutability":"mutable","name":"eventPlaceId","nameLocation":"2194:12:30","nodeType":"VariableDeclaration","scope":8879,"src":"2186:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8858,"name":"uint256","nodeType":"ElementaryTypeName","src":"2186:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8861,"mutability":"mutable","name":"ticketPrice","nameLocation":"2224:11:30","nodeType":"VariableDeclaration","scope":8879,"src":"2216:19:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8860,"name":"uint256","nodeType":"ElementaryTypeName","src":"2216:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8863,"mutability":"mutable","name":"startDate","nameLocation":"2253:9:30","nodeType":"VariableDeclaration","scope":8879,"src":"2245:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8862,"name":"uint256","nodeType":"ElementaryTypeName","src":"2245:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8865,"mutability":"mutable","name":"daysAmount","nameLocation":"2279:10:30","nodeType":"VariableDeclaration","scope":8879,"src":"2272:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8864,"name":"uint16","nodeType":"ElementaryTypeName","src":"2272:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8868,"mutability":"mutable","name":"status","nameLocation":"2311:6:30","nodeType":"VariableDeclaration","scope":8879,"src":"2299:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17148833","typeString":"enum CyberValleyEventManager.EventStatus"},"typeName":{"id":8867,"nodeType":"UserDefinedTypeName","pathNode":{"id":8866,"name":"EventStatus","nameLocations":["2299:11:30"],"nodeType":"IdentifierPath","referencedDeclaration":8833,"src":"2299:11:30"},"referencedDeclaration":8833,"src":"2299:11:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17158833","typeString":"enum CyberValleyEventManager.EventStatus"}},"visibility":"internal"},{"constant":false,"id":8871,"mutability":"mutable","name":"customers","nameLocation":"2337:9:30","nodeType":"VariableDeclaration","scope":8879,"src":"2327:19:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":8869,"name":"address","nodeType":"ElementaryTypeName","src":"2327:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":8870,"nodeType":"ArrayTypeName","src":"2327:9:30","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":8874,"mutability":"mutable","name":"meta","nameLocation":"2378:4:30","nodeType":"VariableDeclaration","scope":8879,"src":"2356:26:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_17188744_storage_ptr","typeString":"struct CyberValley.Multihash"},"typeName":{"id":8873,"nodeType":"UserDefinedTypeName","pathNode":{"id":8872,"name":"CyberValley.Multihash","nameLocations":["2356:11:30","2368:9:30"],"nodeType":"IdentifierPath","referencedDeclaration":8744,"src":"2356:21:30"},"referencedDeclaration":8744,"src":"2356:21:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_17198744_storage_ptr","typeString":"struct CyberValley.Multihash"}},"visibility":"internal"},{"constant":false,"id":8876,"mutability":"mutable","name":"networth","nameLocation":"2400:8:30","nodeType":"VariableDeclaration","scope":8879,"src":"2392:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8875,"name":"uint256","nodeType":"ElementaryTypeName","src":"2392:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8878,"mutability":"mutable","name":"totalCategoryQuota","nameLocation":"2426:18:30","nodeType":"VariableDeclaration","scope":8879,"src":"2418:26:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8877,"name":"uint256","nodeType":"ElementaryTypeName","src":"2418:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"name":"Event","nameLocation":"2145:5:30","nodeType":"StructDefinition","scope":11595,"src":"2138:358:30","visibility":"public"},{"anonymous":false,"eventSelector":"9ff4f860dc119dff15347f57fad0189a16d6940238a52efe730908119a17450c","id":8903,"name":"NewEventPlaceRequest","nameLocation":"2508:20:30","nodeType":"EventDefinition","parameters":{"id":8902,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8881,"indexed":false,"mutability":"mutable","name":"id","nameLocation":"2546:2:30","nodeType":"VariableDeclaration","scope":8903,"src":"2538:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8880,"name":"uint256","nodeType":"ElementaryTypeName","src":"2538:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8883,"indexed":false,"mutability":"mutable","name":"requester","nameLocation":"2566:9:30","nodeType":"VariableDeclaration","scope":8903,"src":"2558:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8882,"name":"address","nodeType":"ElementaryTypeName","src":"2558:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8885,"indexed":false,"mutability":"mutable","name":"maxTickets","nameLocation":"2592:10:30","nodeType":"VariableDeclaration","scope":8903,"src":"2585:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8884,"name":"uint16","nodeType":"ElementaryTypeName","src":"2585:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8887,"indexed":false,"mutability":"mutable","name":"minTickets","nameLocation":"2619:10:30","nodeType":"VariableDeclaration","scope":8903,"src":"2612:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8886,"name":"uint16","nodeType":"ElementaryTypeName","src":"2612:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8889,"indexed":false,"mutability":"mutable","name":"minPrice","nameLocation":"2647:8:30","nodeType":"VariableDeclaration","scope":8903,"src":"2639:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8888,"name":"uint256","nodeType":"ElementaryTypeName","src":"2639:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8891,"indexed":false,"mutability":"mutable","name":"daysBeforeCancel","nameLocation":"2671:16:30","nodeType":"VariableDeclaration","scope":8903,"src":"2665:22:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8890,"name":"uint8","nodeType":"ElementaryTypeName","src":"2665:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8893,"indexed":false,"mutability":"mutable","name":"minDays","nameLocation":"2703:7:30","nodeType":"VariableDeclaration","scope":8903,"src":"2697:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8892,"name":"uint8","nodeType":"ElementaryTypeName","src":"2697:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8895,"indexed":false,"mutability":"mutable","name":"available","nameLocation":"2725:9:30","nodeType":"VariableDeclaration","scope":8903,"src":"2720:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8894,"name":"bool","nodeType":"ElementaryTypeName","src":"2720:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":8897,"indexed":false,"mutability":"mutable","name":"digest","nameLocation":"2752:6:30","nodeType":"VariableDeclaration","scope":8903,"src":"2744:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8896,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2744:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":8899,"indexed":false,"mutability":"mutable","name":"hashFunction","nameLocation":"2774:12:30","nodeType":"VariableDeclaration","scope":8903,"src":"2768:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8898,"name":"uint8","nodeType":"ElementaryTypeName","src":"2768:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8901,"indexed":false,"mutability":"mutable","name":"size","nameLocation":"2802:4:30","nodeType":"VariableDeclaration","scope":8903,"src":"2796:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8900,"name":"uint8","nodeType":"ElementaryTypeName","src":"2796:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"2528:284:30"},"src":"2502:311:30"},{"anonymous":false,"eventSelector":"4d3ad87900ce51c248544f0024b48c13df583e7900eb6124202253f6c985b68e","id":8932,"name":"EventPlaceUpdated","nameLocation":"2824:17:30","nodeType":"EventDefinition","parameters":{"id":8931,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8905,"indexed":false,"mutability":"mutable","name":"provider","nameLocation":"2859:8:30","nodeType":"VariableDeclaration","scope":8932,"src":"2851:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8904,"name":"address","nodeType":"ElementaryTypeName","src":"2851:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8907,"indexed":false,"mutability":"mutable","name":"eventPlaceId","nameLocation":"2885:12:30","nodeType":"VariableDeclaration","scope":8932,"src":"2877:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8906,"name":"uint256","nodeType":"ElementaryTypeName","src":"2877:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8909,"indexed":false,"mutability":"mutable","name":"maxTickets","nameLocation":"2914:10:30","nodeType":"VariableDeclaration","scope":8932,"src":"2907:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8908,"name":"uint16","nodeType":"ElementaryTypeName","src":"2907:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8911,"indexed":false,"mutability":"mutable","name":"minTickets","nameLocation":"2941:10:30","nodeType":"VariableDeclaration","scope":8932,"src":"2934:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8910,"name":"uint16","nodeType":"ElementaryTypeName","src":"2934:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8913,"indexed":false,"mutability":"mutable","name":"minPrice","nameLocation":"2969:8:30","nodeType":"VariableDeclaration","scope":8932,"src":"2961:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8912,"name":"uint256","nodeType":"ElementaryTypeName","src":"2961:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8915,"indexed":false,"mutability":"mutable","name":"daysBeforeCancel","nameLocation":"2993:16:30","nodeType":"VariableDeclaration","scope":8932,"src":"2987:22:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8914,"name":"uint8","nodeType":"ElementaryTypeName","src":"2987:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8917,"indexed":false,"mutability":"mutable","name":"minDays","nameLocation":"3025:7:30","nodeType":"VariableDeclaration","scope":8932,"src":"3019:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8916,"name":"uint8","nodeType":"ElementaryTypeName","src":"3019:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8919,"indexed":false,"mutability":"mutable","name":"available","nameLocation":"3047:9:30","nodeType":"VariableDeclaration","scope":8932,"src":"3042:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8918,"name":"bool","nodeType":"ElementaryTypeName","src":"3042:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":8922,"indexed":false,"mutability":"mutable","name":"status","nameLocation":"3083:6:30","nodeType":"VariableDeclaration","scope":8932,"src":"3066:23:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17208802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},"typeName":{"id":8921,"nodeType":"UserDefinedTypeName","pathNode":{"id":8920,"name":"EventPlaceStatus","nameLocations":["3066:16:30"],"nodeType":"IdentifierPath","referencedDeclaration":8802,"src":"3066:16:30"},"referencedDeclaration":8802,"src":"3066:16:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17218802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"visibility":"internal"},{"constant":false,"id":8924,"indexed":false,"mutability":"mutable","name":"digest","nameLocation":"3107:6:30","nodeType":"VariableDeclaration","scope":8932,"src":"3099:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8923,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3099:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":8926,"indexed":false,"mutability":"mutable","name":"hashFunction","nameLocation":"3129:12:30","nodeType":"VariableDeclaration","scope":8932,"src":"3123:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8925,"name":"uint8","nodeType":"ElementaryTypeName","src":"3123:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8928,"indexed":false,"mutability":"mutable","name":"size","nameLocation":"3157:4:30","nodeType":"VariableDeclaration","scope":8932,"src":"3151:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8927,"name":"uint8","nodeType":"ElementaryTypeName","src":"3151:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8930,"indexed":false,"mutability":"mutable","name":"eventDepositSize","nameLocation":"3179:16:30","nodeType":"VariableDeclaration","scope":8932,"src":"3171:24:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8929,"name":"uint256","nodeType":"ElementaryTypeName","src":"3171:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2841:360:30"},"src":"2818:384:30"},{"anonymous":false,"eventSelector":"643a612289e1dd3493236d0c8a82f599690d576e4f1d8511e3ec6dc9ad28ebb9","id":8952,"name":"NewEventRequest","nameLocation":"3213:15:30","nodeType":"EventDefinition","parameters":{"id":8951,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8934,"indexed":false,"mutability":"mutable","name":"id","nameLocation":"3246:2:30","nodeType":"VariableDeclaration","scope":8952,"src":"3238:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8933,"name":"uint256","nodeType":"ElementaryTypeName","src":"3238:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8936,"indexed":false,"mutability":"mutable","name":"creator","nameLocation":"3266:7:30","nodeType":"VariableDeclaration","scope":8952,"src":"3258:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":8935,"name":"address","nodeType":"ElementaryTypeName","src":"3258:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":8938,"indexed":false,"mutability":"mutable","name":"eventPlaceId","nameLocation":"3291:12:30","nodeType":"VariableDeclaration","scope":8952,"src":"3283:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8937,"name":"uint256","nodeType":"ElementaryTypeName","src":"3283:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8940,"indexed":false,"mutability":"mutable","name":"ticketPrice","nameLocation":"3321:11:30","nodeType":"VariableDeclaration","scope":8952,"src":"3313:19:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8939,"name":"uint256","nodeType":"ElementaryTypeName","src":"3313:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8942,"indexed":false,"mutability":"mutable","name":"startDate","nameLocation":"3350:9:30","nodeType":"VariableDeclaration","scope":8952,"src":"3342:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8941,"name":"uint256","nodeType":"ElementaryTypeName","src":"3342:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8944,"indexed":false,"mutability":"mutable","name":"daysAmount","nameLocation":"3376:10:30","nodeType":"VariableDeclaration","scope":8952,"src":"3369:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8943,"name":"uint16","nodeType":"ElementaryTypeName","src":"3369:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8946,"indexed":false,"mutability":"mutable","name":"digest","nameLocation":"3404:6:30","nodeType":"VariableDeclaration","scope":8952,"src":"3396:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8945,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3396:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":8948,"indexed":false,"mutability":"mutable","name":"hashFunction","nameLocation":"3426:12:30","nodeType":"VariableDeclaration","scope":8952,"src":"3420:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8947,"name":"uint8","nodeType":"ElementaryTypeName","src":"3420:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8950,"indexed":false,"mutability":"mutable","name":"size","nameLocation":"3454:4:30","nodeType":"VariableDeclaration","scope":8952,"src":"3448:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8949,"name":"uint8","nodeType":"ElementaryTypeName","src":"3448:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"3228:236:30"},"src":"3207:258:30"},{"anonymous":false,"eventSelector":"9d8cf36abe2d20e715d261aa411007463c15b28ebb52d1841ab9ac22aae66510","id":8959,"name":"EventStatusChanged","nameLocation":"3476:18:30","nodeType":"EventDefinition","parameters":{"id":8958,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8954,"indexed":false,"mutability":"mutable","name":"eventId","nameLocation":"3503:7:30","nodeType":"VariableDeclaration","scope":8959,"src":"3495:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8953,"name":"uint256","nodeType":"ElementaryTypeName","src":"3495:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8957,"indexed":false,"mutability":"mutable","name":"status","nameLocation":"3524:6:30","nodeType":"VariableDeclaration","scope":8959,"src":"3512:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17228833","typeString":"enum CyberValleyEventManager.EventStatus"},"typeName":{"id":8956,"nodeType":"UserDefinedTypeName","pathNode":{"id":8955,"name":"EventStatus","nameLocations":["3512:11:30"],"nodeType":"IdentifierPath","referencedDeclaration":8833,"src":"3512:11:30"},"referencedDeclaration":8833,"src":"3512:11:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17238833","typeString":"enum CyberValleyEventManager.EventStatus"}},"visibility":"internal"}],"src":"3494:37:30"},"src":"3470:62:30"},{"anonymous":false,"eventSelector":"0a77f211d2fe7b0b3c4d15f44cbd0b7b5a47a486439226b2a844d951df1f7215","id":8977,"name":"EventUpdated","nameLocation":"3543:12:30","nodeType":"EventDefinition","parameters":{"id":8976,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8961,"indexed":false,"mutability":"mutable","name":"id","nameLocation":"3573:2:30","nodeType":"VariableDeclaration","scope":8977,"src":"3565:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8960,"name":"uint256","nodeType":"ElementaryTypeName","src":"3565:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8963,"indexed":false,"mutability":"mutable","name":"eventPlaceId","nameLocation":"3593:12:30","nodeType":"VariableDeclaration","scope":8977,"src":"3585:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8962,"name":"uint256","nodeType":"ElementaryTypeName","src":"3585:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8965,"indexed":false,"mutability":"mutable","name":"ticketPrice","nameLocation":"3623:11:30","nodeType":"VariableDeclaration","scope":8977,"src":"3615:19:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8964,"name":"uint256","nodeType":"ElementaryTypeName","src":"3615:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8967,"indexed":false,"mutability":"mutable","name":"startDate","nameLocation":"3652:9:30","nodeType":"VariableDeclaration","scope":8977,"src":"3644:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8966,"name":"uint256","nodeType":"ElementaryTypeName","src":"3644:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8969,"indexed":false,"mutability":"mutable","name":"daysAmount","nameLocation":"3678:10:30","nodeType":"VariableDeclaration","scope":8977,"src":"3671:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8968,"name":"uint16","nodeType":"ElementaryTypeName","src":"3671:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8971,"indexed":false,"mutability":"mutable","name":"digest","nameLocation":"3706:6:30","nodeType":"VariableDeclaration","scope":8977,"src":"3698:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":8970,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3698:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":8973,"indexed":false,"mutability":"mutable","name":"hashFunction","nameLocation":"3728:12:30","nodeType":"VariableDeclaration","scope":8977,"src":"3722:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8972,"name":"uint8","nodeType":"ElementaryTypeName","src":"3722:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":8975,"indexed":false,"mutability":"mutable","name":"size","nameLocation":"3756:4:30","nodeType":"VariableDeclaration","scope":8977,"src":"3750:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":8974,"name":"uint8","nodeType":"ElementaryTypeName","src":"3750:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"3555:211:30"},"src":"3537:230:30"},{"anonymous":false,"eventSelector":"38843ab3179a92751852dad2d565eda39a3a8d374f1e44c33cac29d2c9d86372","id":8981,"name":"EventTicketVerified","nameLocation":"3778:19:30","nodeType":"EventDefinition","parameters":{"id":8980,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8979,"indexed":false,"mutability":"mutable","name":"tokenId","nameLocation":"3806:7:30","nodeType":"VariableDeclaration","scope":8981,"src":"3798:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8978,"name":"uint256","nodeType":"ElementaryTypeName","src":"3798:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3797:17:30"},"src":"3772:43:30"},{"anonymous":false,"eventSelector":"54d2df69997747c3ef7cf04a5c9f979d39ed128d21af00034e2f660262a8aabb","id":8995,"name":"TicketCategoryCreated","nameLocation":"3827:21:30","nodeType":"EventDefinition","parameters":{"id":8994,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8983,"indexed":false,"mutability":"mutable","name":"categoryId","nameLocation":"3866:10:30","nodeType":"VariableDeclaration","scope":8995,"src":"3858:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8982,"name":"uint256","nodeType":"ElementaryTypeName","src":"3858:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8985,"indexed":true,"mutability":"mutable","name":"eventId","nameLocation":"3902:7:30","nodeType":"VariableDeclaration","scope":8995,"src":"3886:23:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8984,"name":"uint256","nodeType":"ElementaryTypeName","src":"3886:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8987,"indexed":false,"mutability":"mutable","name":"name","nameLocation":"3926:4:30","nodeType":"VariableDeclaration","scope":8995,"src":"3919:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":8986,"name":"string","nodeType":"ElementaryTypeName","src":"3919:6:30","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":8989,"indexed":false,"mutability":"mutable","name":"discountPercentage","nameLocation":"3947:18:30","nodeType":"VariableDeclaration","scope":8995,"src":"3940:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8988,"name":"uint16","nodeType":"ElementaryTypeName","src":"3940:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8991,"indexed":false,"mutability":"mutable","name":"quota","nameLocation":"3982:5:30","nodeType":"VariableDeclaration","scope":8995,"src":"3975:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":8990,"name":"uint16","nodeType":"ElementaryTypeName","src":"3975:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":8993,"indexed":false,"mutability":"mutable","name":"hasQuota","nameLocation":"4002:8:30","nodeType":"VariableDeclaration","scope":8995,"src":"3997:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":8992,"name":"bool","nodeType":"ElementaryTypeName","src":"3997:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3848:168:30"},"src":"3821:196:30"},{"anonymous":false,"eventSelector":"10911411b2f44e2516f7dd0deb300cad44abf67ade2e67b6883bd6d43605435c","id":9009,"name":"TicketCategoryUpdated","nameLocation":"4028:21:30","nodeType":"EventDefinition","parameters":{"id":9008,"nodeType":"ParameterList","parameters":[{"constant":false,"id":8997,"indexed":false,"mutability":"mutable","name":"categoryId","nameLocation":"4067:10:30","nodeType":"VariableDeclaration","scope":9009,"src":"4059:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8996,"name":"uint256","nodeType":"ElementaryTypeName","src":"4059:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":8999,"indexed":true,"mutability":"mutable","name":"eventId","nameLocation":"4103:7:30","nodeType":"VariableDeclaration","scope":9009,"src":"4087:23:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":8998,"name":"uint256","nodeType":"ElementaryTypeName","src":"4087:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9001,"indexed":false,"mutability":"mutable","name":"name","nameLocation":"4127:4:30","nodeType":"VariableDeclaration","scope":9009,"src":"4120:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":9000,"name":"string","nodeType":"ElementaryTypeName","src":"4120:6:30","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":9003,"indexed":false,"mutability":"mutable","name":"discountPercentage","nameLocation":"4148:18:30","nodeType":"VariableDeclaration","scope":9009,"src":"4141:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":9002,"name":"uint16","nodeType":"ElementaryTypeName","src":"4141:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":9005,"indexed":false,"mutability":"mutable","name":"quota","nameLocation":"4183:5:30","nodeType":"VariableDeclaration","scope":9009,"src":"4176:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":9004,"name":"uint16","nodeType":"ElementaryTypeName","src":"4176:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":9007,"indexed":false,"mutability":"mutable","name":"hasQuota","nameLocation":"4203:8:30","nodeType":"VariableDeclaration","scope":9009,"src":"4198:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9006,"name":"bool","nodeType":"ElementaryTypeName","src":"4198:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4049:168:30"},"src":"4022:196:30"},{"anonymous":false,"eventSelector":"94a541ed5bd917fc5c41e47580a934608eeeac1ff9780b05684b239d3069b114","id":9013,"name":"ReferralRewardsUpdated","nameLocation":"4229:22:30","nodeType":"EventDefinition","parameters":{"id":9012,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9011,"indexed":false,"mutability":"mutable","name":"referralRewards","nameLocation":"4260:15:30","nodeType":"VariableDeclaration","scope":9013,"src":"4252:23:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9010,"name":"address","nodeType":"ElementaryTypeName","src":"4252:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"4251:25:30"},"src":"4223:54:30"},{"constant":false,"functionSelector":"5c517ad2","id":9016,"mutability":"mutable","name":"usdtTokenContract","nameLocation":"4297:17:30","nodeType":"VariableDeclaration","scope":11595,"src":"4283:31:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_17241133","typeString":"contract IERC20"},"typeName":{"id":9015,"nodeType":"UserDefinedTypeName","pathNode":{"id":9014,"name":"IERC20","nameLocations":["4283:6:30"],"nodeType":"IdentifierPath","referencedDeclaration":1133,"src":"4283:6:30"},"referencedDeclaration":1133,"src":"4283:6:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_17251133","typeString":"contract IERC20"}},"visibility":"public"},{"constant":false,"functionSelector":"26fd1078","id":9019,"mutability":"mutable","name":"eventTicketContract","nameLocation":"4350:19:30","nodeType":"VariableDeclaration","scope":11595,"src":"4320:49:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_172612160","typeString":"contract CyberValleyEventTicket"},"typeName":{"id":9018,"nodeType":"UserDefinedTypeName","pathNode":{"id":9017,"name":"CyberValleyEventTicket","nameLocations":["4320:22:30"],"nodeType":"IdentifierPath","referencedDeclaration":12160,"src":"4320:22:30"},"referencedDeclaration":12160,"src":"4320:22:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_172712160","typeString":"contract CyberValleyEventTicket"}},"visibility":"public"},{"constant":false,"functionSelector":"ee97f7f3","id":9021,"mutability":"mutable","name":"master","nameLocation":"4391:6:30","nodeType":"VariableDeclaration","scope":11595,"src":"4376:21:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9020,"name":"address","nodeType":"ElementaryTypeName","src":"4376:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"functionSelector":"9d2b86f6","id":9023,"mutability":"mutable","name":"revenueSplitter","nameLocation":"4418:15:30","nodeType":"VariableDeclaration","scope":11595,"src":"4403:30:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9022,"name":"address","nodeType":"ElementaryTypeName","src":"4403:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"functionSelector":"995deaba","id":9026,"mutability":"mutable","name":"referralRewards","nameLocation":"4463:15:30","nodeType":"VariableDeclaration","scope":11595,"src":"4439:39:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_172814893","typeString":"contract IReferralRewards"},"typeName":{"id":9025,"nodeType":"UserDefinedTypeName","pathNode":{"id":9024,"name":"IReferralRewards","nameLocations":["4439:16:30"],"nodeType":"IdentifierPath","referencedDeclaration":14893,"src":"4439:16:30"},"referencedDeclaration":14893,"src":"4439:16:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_172914893","typeString":"contract IReferralRewards"}},"visibility":"public"},{"constant":false,"functionSelector":"3bf00de6","id":9030,"mutability":"mutable","name":"eventPlaces","nameLocation":"4505:11:30","nodeType":"VariableDeclaration","scope":11595,"src":"4485:31:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace[]"},"typeName":{"baseType":{"id":9028,"nodeType":"UserDefinedTypeName","pathNode":{"id":9027,"name":"EventPlace","nameLocations":["4485:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"4485:10:30"},"referencedDeclaration":8827,"src":"4485:10:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"id":9029,"nodeType":"ArrayTypeName","src":"4485:12:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace[]"}},"visibility":"public"},{"constant":false,"functionSelector":"0b791430","id":9034,"mutability":"mutable","name":"events","nameLocation":"4537:6:30","nodeType":"VariableDeclaration","scope":11595,"src":"4522:21:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_17348879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event[]"},"typeName":{"baseType":{"id":9032,"nodeType":"UserDefinedTypeName","pathNode":{"id":9031,"name":"Event","nameLocations":["4522:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"4522:5:30"},"referencedDeclaration":8879,"src":"4522:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"id":9033,"nodeType":"ArrayTypeName","src":"4522:7:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage_ptr","typeString":"struct CyberValleyEventManager.Event[]"}},"visibility":"public"},{"constant":false,"functionSelector":"c6cdbe5e","id":9038,"mutability":"mutable","name":"categories","nameLocation":"4573:10:30","nodeType":"VariableDeclaration","scope":11595,"src":"4549:34:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_17388846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory[]"},"typeName":{"baseType":{"id":9036,"nodeType":"UserDefinedTypeName","pathNode":{"id":9035,"name":"TicketCategory","nameLocations":["4549:14:30"],"nodeType":"IdentifierPath","referencedDeclaration":8846,"src":"4549:14:30"},"referencedDeclaration":8846,"src":"4549:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory"}},"id":9037,"nodeType":"ArrayTypeName","src":"4549:16:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory[]"}},"visibility":"public"},{"constant":false,"functionSelector":"df71e9a7","id":9043,"mutability":"mutable","name":"categoryCounters","nameLocation":"4626:16:30","nodeType":"VariableDeclaration","scope":11595,"src":"4589:53:30","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[])"},"typeName":{"id":9042,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":9039,"name":"uint256","nodeType":"ElementaryTypeName","src":"4597:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"4589:29:30","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[])"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"baseType":{"id":9040,"name":"uint256","nodeType":"ElementaryTypeName","src":"4608:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9041,"nodeType":"ArrayTypeName","src":"4608:9:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}}},"visibility":"public"},{"body":{"id":9056,"nodeType":"Block","src":"4781:98:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9051,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9048,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9045,"src":"4799:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":9049,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"4809:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_17488879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":9050,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4816:6:30","memberName":"length","nodeType":"MemberAccess","src":"4809:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4799:23:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74207769746820676976656e20696420646f6573206e6f74206578697374","id":9052,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4824:36:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_3d4b37f982b90f5b15074d68cac4afb1d752eb32d060184e2eef3550d84e5155","typeString":"literal_string \"Event with given id does not exist\""},"value":"Event with given id does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_3d4b37f982b90f5b15074d68cac4afb1d752eb32d060184e2eef3550d84e5155","typeString":"literal_string \"Event with given id does not exist\""}],"id":9047,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4791:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9053,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4791:70:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9054,"nodeType":"ExpressionStatement","src":"4791:70:30"},{"id":9055,"nodeType":"PlaceholderStatement","src":"4871:1:30"}]},"id":9057,"name":"onlyExistingEvent","nameLocation":"4746:17:30","nodeType":"ModifierDefinition","parameters":{"id":9046,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9045,"mutability":"mutable","name":"eventId","nameLocation":"4772:7:30","nodeType":"VariableDeclaration","scope":9057,"src":"4764:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9044,"name":"uint256","nodeType":"ElementaryTypeName","src":"4764:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4763:17:30"},"src":"4737:142:30","virtual":false,"visibility":"internal"},{"body":{"id":9107,"nodeType":"Block","src":"5177:325:30","statements":[{"body":{"id":9103,"nodeType":"Block","src":"5231:243:30","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":9076,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"5249:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":9078,"indexExpression":{"id":9077,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9066,"src":"5256:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5249:9:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"id":9079,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5259:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"5249:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":9080,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9060,"src":"5275:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5249:38:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9102,"nodeType":"IfStatement","src":"5245:219:30","trueBody":{"id":9101,"nodeType":"Block","src":"5289:175:30","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":9096,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17558833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":9088,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":9082,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"5311:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":9084,"indexExpression":{"id":9083,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9066,"src":"5318:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5311:9:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"id":9085,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5321:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"5311:16:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17588833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":9086,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"5331:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":9087,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5343:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8828,"src":"5331:21:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"5311:41:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17618833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":9095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":9089,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"5356:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":9091,"indexExpression":{"id":9090,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9066,"src":"5363:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5356:9:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"id":9092,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"5366:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"5356:16:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_17648833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":9093,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"5376:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":9094,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"5388:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8829,"src":"5376:20:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"5356:40:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5311:85:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9100,"nodeType":"IfStatement","src":"5307:143:30","trueBody":{"id":9099,"nodeType":"Block","src":"5398:52:30","statements":[{"expression":{"hexValue":"74727565","id":9097,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5427:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":9064,"id":9098,"nodeType":"Return","src":"5420:11:30"}]}}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9072,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9069,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9066,"src":"5207:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":9070,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"5211:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":9071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5218:6:30","memberName":"length","nodeType":"MemberAccess","src":"5211:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5207:17:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9104,"initializationExpression":{"assignments":[9066],"declarations":[{"constant":false,"id":9066,"mutability":"mutable","name":"i","nameLocation":"5200:1:30","nodeType":"VariableDeclaration","scope":9104,"src":"5192:9:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9065,"name":"uint256","nodeType":"ElementaryTypeName","src":"5192:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9068,"initialValue":{"hexValue":"30","id":9067,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5204:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"5192:13:30"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":9074,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"5226:3:30","subExpression":{"id":9073,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9066,"src":"5226:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9075,"nodeType":"ExpressionStatement","src":"5226:3:30"},"nodeType":"ForStatement","src":"5187:287:30"},{"expression":{"hexValue":"66616c7365","id":9105,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"5490:5:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":9064,"id":9106,"nodeType":"Return","src":"5483:12:30"}]},"documentation":{"id":9058,"nodeType":"StructuredDocumentation","src":"4885:210:30","text":" @notice Check if a place has any active events (submitted or approved status)\n @param eventPlaceId The ID of the event place\n @return true if there are active events at this place"},"id":9108,"implemented":true,"kind":"function","modifiers":[],"name":"_hasActiveEvents","nameLocation":"5109:16:30","nodeType":"FunctionDefinition","parameters":{"id":9061,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9060,"mutability":"mutable","name":"eventPlaceId","nameLocation":"5134:12:30","nodeType":"VariableDeclaration","scope":9108,"src":"5126:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9059,"name":"uint256","nodeType":"ElementaryTypeName","src":"5126:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5125:22:30"},"returnParameters":{"id":9064,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9063,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":9108,"src":"5171:4:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9062,"name":"bool","nodeType":"ElementaryTypeName","src":"5171:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"5170:6:30"},"scope":11595,"src":"5100:402:30","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":9158,"nodeType":"Block","src":"5692:366:30","statements":[{"expression":{"id":9126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9122,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"5702:17:30","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1133","typeString":"contract IERC20"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9124,"name":"_usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9110,"src":"5729:18:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":9123,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1133,"src":"5722:6:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20_$1133_$","typeString":"type(contract IERC20)"}},"id":9125,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5722:26:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1133","typeString":"contract IERC20"}},"src":"5702:46:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_17711133","typeString":"contract IERC20"}},"id":9127,"nodeType":"ExpressionStatement","src":"5702:46:30"},{"expression":{"id":9132,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9128,"name":"eventTicketContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9019,"src":"5758:19:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_177212160","typeString":"contract CyberValleyEventTicket"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9130,"name":"_eventTicketContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9112,"src":"5803:20:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":9129,"name":"CyberValleyEventTicket","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12160,"src":"5780:22:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CyberValleyEventTicket_$12160_$","typeString":"type(contract CyberValleyEventTicket)"}},"id":9131,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5780:44:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_CyberValleyEventTicket_$12160","typeString":"contract CyberValleyEventTicket"}},"src":"5758:66:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_177512160","typeString":"contract CyberValleyEventTicket"}},"id":9133,"nodeType":"ExpressionStatement","src":"5758:66:30"},{"expression":{"id":9136,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9134,"name":"master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9021,"src":"5834:6:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9135,"name":"_master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9114,"src":"5843:7:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5834:16:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":9137,"nodeType":"ExpressionStatement","src":"5834:16:30"},{"expression":{"arguments":[{"id":9139,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"5872:18:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9140,"name":"_master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9114,"src":"5892:7:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":9138,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"5861:10:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":9141,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5861:39:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9142,"nodeType":"ExpressionStatement","src":"5861:39:30"},{"expression":{"arguments":[{"id":9144,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8767,"src":"5921:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9145,"name":"_master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9114,"src":"5934:7:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":9143,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"5910:10:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":9146,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5910:32:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9147,"nodeType":"ExpressionStatement","src":"5910:32:30"},{"expression":{"arguments":[{"id":9149,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"5963:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9150,"name":"_master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9114,"src":"5984:7:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":9148,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"5952:10:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":9151,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5952:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9152,"nodeType":"ExpressionStatement","src":"5952:40:30"},{"expression":{"arguments":[{"id":9154,"name":"VERIFIED_SHAMAN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8777,"src":"6016:20:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9155,"name":"BACKEND_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8782,"src":"6038:12:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"id":9153,"name":"_setRoleAdmin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":217,"src":"6002:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$returns$__$","typeString":"function (bytes32,bytes32)"}},"id":9156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6002:49:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9157,"nodeType":"ExpressionStatement","src":"6002:49:30"}]},"id":9159,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":9119,"name":"_initialOffest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9116,"src":"5676:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":9120,"kind":"baseConstructorSpecifier","modifierName":{"id":9118,"name":"DateOverlapChecker","nameLocations":["5657:18:30"],"nodeType":"IdentifierPath","referencedDeclaration":12874,"src":"5657:18:30"},"nodeType":"ModifierInvocation","src":"5657:34:30"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":9117,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9110,"mutability":"mutable","name":"_usdtTokenContract","nameLocation":"5537:18:30","nodeType":"VariableDeclaration","scope":9159,"src":"5529:26:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9109,"name":"address","nodeType":"ElementaryTypeName","src":"5529:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":9112,"mutability":"mutable","name":"_eventTicketContract","nameLocation":"5573:20:30","nodeType":"VariableDeclaration","scope":9159,"src":"5565:28:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9111,"name":"address","nodeType":"ElementaryTypeName","src":"5565:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":9114,"mutability":"mutable","name":"_master","nameLocation":"5611:7:30","nodeType":"VariableDeclaration","scope":9159,"src":"5603:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9113,"name":"address","nodeType":"ElementaryTypeName","src":"5603:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":9116,"mutability":"mutable","name":"_initialOffest","nameLocation":"5636:14:30","nodeType":"VariableDeclaration","scope":9159,"src":"5628:22:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9115,"name":"uint256","nodeType":"ElementaryTypeName","src":"5628:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5519:137:30"},"returnParameters":{"id":9121,"nodeType":"ParameterList","parameters":[],"src":"5692:0:30"},"scope":11595,"src":"5508:550:30","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":9177,"nodeType":"Block","src":"6149:124:30","statements":[{"expression":{"id":9171,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9167,"name":"referralRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9026,"src":"6159:15:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_178714893","typeString":"contract IReferralRewards"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9169,"name":"_referralRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9161,"src":"6194:16:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":9168,"name":"IReferralRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14893,"src":"6177:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IReferralRewards_$14893_$","typeString":"type(contract IReferralRewards)"}},"id":9170,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6177:34:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IReferralRewards_$14893","typeString":"contract IReferralRewards"}},"src":"6159:52:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_179014893","typeString":"contract IReferralRewards"}},"id":9172,"nodeType":"ExpressionStatement","src":"6159:52:30"},{"eventCall":{"arguments":[{"id":9174,"name":"_referralRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9161,"src":"6249:16:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":9173,"name":"ReferralRewardsUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9013,"src":"6226:22:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":9175,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6226:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9176,"nodeType":"EmitStatement","src":"6221:45:30"}]},"functionSelector":"eeb58da5","id":9178,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":9164,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8767,"src":"6136:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":9165,"kind":"modifierInvocation","modifierName":{"id":9163,"name":"onlyRole","nameLocations":["6127:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"6127:8:30"},"nodeType":"ModifierInvocation","src":"6127:21:30"}],"name":"setReferralRewards","nameLocation":"6073:18:30","nodeType":"FunctionDefinition","parameters":{"id":9162,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9161,"mutability":"mutable","name":"_referralRewards","nameLocation":"6100:16:30","nodeType":"VariableDeclaration","scope":9178,"src":"6092:24:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9160,"name":"address","nodeType":"ElementaryTypeName","src":"6092:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6091:26:30"},"returnParameters":{"id":9166,"nodeType":"ParameterList","parameters":[],"src":"6149:0:30"},"scope":11595,"src":"6064:209:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9222,"nodeType":"Block","src":"6799:435:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":9195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9190,"name":"eoa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9181,"src":"6817:3:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":9193,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6832:1:30","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":9192,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6824:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":9191,"name":"address","nodeType":"ElementaryTypeName","src":"6824:7:30","typeDescriptions":{}}},"id":9194,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6824:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6817:17:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4c6f63616c2070726f76696465722063616e6e6f74206265207a65726f2061646472657373","id":9196,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6836:39:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_732b9f6eec8da71b43c0a62de30773dd1f707c304f6442d5111baa886c896259","typeString":"literal_string \"Local provider cannot be zero address\""},"value":"Local provider cannot be zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_732b9f6eec8da71b43c0a62de30773dd1f707c304f6442d5111baa886c896259","typeString":"literal_string \"Local provider cannot be zero address\""}],"id":9189,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"6809:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6809:67:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9198,"nodeType":"ExpressionStatement","src":"6809:67:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":9205,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9200,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"6894:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":9203,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6921:1:30","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":9202,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6913:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":9201,"name":"address","nodeType":"ElementaryTypeName","src":"6913:7:30","typeDescriptions":{}}},"id":9204,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6913:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6894:29:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"526576656e75652073706c6974746572206e6f7420736574","id":9206,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6925:26:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_000068b901cd3896c9aea89fa2b1c6a0fe50befea77b92434d2318c11aa125cd","typeString":"literal_string \"Revenue splitter not set\""},"value":"Revenue splitter not set"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_000068b901cd3896c9aea89fa2b1c6a0fe50befea77b92434d2318c11aa125cd","typeString":"literal_string \"Revenue splitter not set\""}],"id":9199,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"6886:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9207,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6886:66:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9208,"nodeType":"ExpressionStatement","src":"6886:66:30"},{"expression":{"arguments":[{"id":9210,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"6973:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9211,"name":"eoa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9181,"src":"6994:3:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":9209,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"6962:10:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":9212,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6962:36:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9213,"nodeType":"ExpressionStatement","src":"6962:36:30"},{"expression":{"arguments":[{"id":9218,"name":"eoa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9181,"src":"7218:3:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9219,"name":"bps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9183,"src":"7223:3:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":9215,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"7181:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":9214,"name":"IDynamicRevenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14870,"src":"7157:23:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_180614870_$","typeString":"type(contract IDynamicRevenueSplitter)"}},"id":9216,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7157:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IDynamicRevenueSplitter_$14870","typeString":"contract IDynamicRevenueSplitter"}},"id":9217,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7198:19:30","memberName":"grantProfileManager","nodeType":"MemberAccess","referencedDeclaration":14869,"src":"7157:60:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256) external"}},"id":9220,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7157:70:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9221,"nodeType":"ExpressionStatement","src":"7157:70:30"}]},"documentation":{"id":9179,"nodeType":"StructuredDocumentation","src":"6279:430:30","text":" @notice Grants local provider role and sets their bps share in RevenueSplitter\n @param eoa The address to grant LOCAL_PROVIDER_ROLE to\n @param bps The basis points (0-8500) this provider receives from each distribution.\n Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before \n profile recipients. Provider cannot add themselves to distribution profiles."},"functionSelector":"33dcc3b0","id":9223,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":9186,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8767,"src":"6786:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":9187,"kind":"modifierInvocation","modifierName":{"id":9185,"name":"onlyRole","nameLocations":["6777:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"6777:8:30"},"nodeType":"ModifierInvocation","src":"6777:21:30"}],"name":"grantLocalProvider","nameLocation":"6723:18:30","nodeType":"FunctionDefinition","parameters":{"id":9184,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9181,"mutability":"mutable","name":"eoa","nameLocation":"6750:3:30","nodeType":"VariableDeclaration","scope":9223,"src":"6742:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9180,"name":"address","nodeType":"ElementaryTypeName","src":"6742:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":9183,"mutability":"mutable","name":"bps","nameLocation":"6763:3:30","nodeType":"VariableDeclaration","scope":9223,"src":"6755:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9182,"name":"uint256","nodeType":"ElementaryTypeName","src":"6755:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6741:26:30"},"returnParameters":{"id":9188,"nodeType":"ParameterList","parameters":[],"src":"6799:0:30"},"scope":11595,"src":"6714:520:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9324,"nodeType":"Block","src":"7313:1170:30","statements":[{"body":{"id":9309,"nodeType":"Block","src":"7445:826:30","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":9247,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":9242,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7463:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_18128827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9244,"indexExpression":{"id":9243,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7475:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7463:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9245,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7478:8:30","memberName":"provider","nodeType":"MemberAccess","referencedDeclaration":8806,"src":"7463:23:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":9246,"name":"eoa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9225,"src":"7490:3:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7463:30:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9308,"nodeType":"IfStatement","src":"7459:802:30","trueBody":{"id":9307,"nodeType":"Block","src":"7495:766:30","statements":[{"expression":{"id":9253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":9248,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7513:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9250,"indexExpression":{"id":9249,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7525:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7513:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9251,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"7528:8:30","memberName":"provider","nodeType":"MemberAccess","referencedDeclaration":8806,"src":"7513:23:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9252,"name":"master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9021,"src":"7539:6:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7513:32:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":9254,"nodeType":"ExpressionStatement","src":"7513:32:30"},{"eventCall":{"arguments":[{"id":9256,"name":"master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9021,"src":"7673:6:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9257,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7701:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"baseExpression":{"id":9258,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7724:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9260,"indexExpression":{"id":9259,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7736:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7724:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9261,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7739:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"7724:25:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"baseExpression":{"id":9262,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7771:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9264,"indexExpression":{"id":9263,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7783:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7771:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9265,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7786:10:30","memberName":"minTickets","nodeType":"MemberAccess","referencedDeclaration":8810,"src":"7771:25:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"baseExpression":{"id":9266,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7818:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9268,"indexExpression":{"id":9267,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7830:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7818:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9269,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7833:8:30","memberName":"minPrice","nodeType":"MemberAccess","referencedDeclaration":8812,"src":"7818:23:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"baseExpression":{"id":9270,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7863:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9272,"indexExpression":{"id":9271,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7875:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7863:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9273,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7878:16:30","memberName":"daysBeforeCancel","nodeType":"MemberAccess","referencedDeclaration":8814,"src":"7863:31:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"baseExpression":{"id":9274,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7916:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9276,"indexExpression":{"id":9275,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7928:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7916:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9277,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7931:7:30","memberName":"minDays","nodeType":"MemberAccess","referencedDeclaration":8816,"src":"7916:22:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"baseExpression":{"id":9278,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7960:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9280,"indexExpression":{"id":9279,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7972:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7960:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9281,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7975:9:30","memberName":"available","nodeType":"MemberAccess","referencedDeclaration":8818,"src":"7960:24:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"baseExpression":{"id":9282,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"8006:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9284,"indexExpression":{"id":9283,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"8018:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8006:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9285,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8021:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"8006:21:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_18308802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},{"expression":{"expression":{"baseExpression":{"id":9286,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"8049:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9288,"indexExpression":{"id":9287,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"8061:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8049:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9289,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8064:4:30","memberName":"meta","nodeType":"MemberAccess","referencedDeclaration":8824,"src":"8049:19:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_18338744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":9290,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8069:6:30","memberName":"digest","nodeType":"MemberAccess","referencedDeclaration":8739,"src":"8049:26:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"expression":{"baseExpression":{"id":9291,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"8097:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9293,"indexExpression":{"id":9292,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"8109:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8097:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9294,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8112:4:30","memberName":"meta","nodeType":"MemberAccess","referencedDeclaration":8824,"src":"8097:19:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_18368744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":9295,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8117:12:30","memberName":"hashFunction","nodeType":"MemberAccess","referencedDeclaration":8741,"src":"8097:32:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"expression":{"baseExpression":{"id":9296,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"8151:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9298,"indexExpression":{"id":9297,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"8163:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8151:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9299,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8166:4:30","memberName":"meta","nodeType":"MemberAccess","referencedDeclaration":8824,"src":"8151:19:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_18398744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":9300,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8171:4:30","memberName":"size","nodeType":"MemberAccess","referencedDeclaration":8743,"src":"8151:24:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"baseExpression":{"id":9301,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"8197:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9303,"indexExpression":{"id":9302,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"8209:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8197:14:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":9304,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8212:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"8197:31:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_18428802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9255,"name":"EventPlaceUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8932,"src":"7634:17:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint16_$_t_uint16_$_t_uint256_$_t_uint8_$_t_uint8_$_t_bool_$_t_enum$_EventPlaceStatus_$8802_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_uint256_$returns$__$","typeString":"function (address,uint256,uint16,uint16,uint256,uint8,uint8,bool,enum CyberValleyEventManager.EventPlaceStatus,bytes32,uint8,uint8,uint256)"}},"id":9305,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7634:612:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9306,"nodeType":"EmitStatement","src":"7629:617:30"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9238,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9235,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7416:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":9236,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"7420:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_18538827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9237,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7432:6:30","memberName":"length","nodeType":"MemberAccess","src":"7420:18:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7416:22:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9310,"initializationExpression":{"assignments":[9232],"declarations":[{"constant":false,"id":9232,"mutability":"mutable","name":"i","nameLocation":"7409:1:30","nodeType":"VariableDeclaration","scope":9310,"src":"7401:9:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9231,"name":"uint256","nodeType":"ElementaryTypeName","src":"7401:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9234,"initialValue":{"hexValue":"30","id":9233,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7413:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"7401:13:30"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":9240,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"7440:3:30","subExpression":{"id":9239,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9232,"src":"7440:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9241,"nodeType":"ExpressionStatement","src":"7440:3:30"},"nodeType":"ForStatement","src":"7396:875:30"},{"expression":{"arguments":[{"id":9315,"name":"eoa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9225,"src":"8416:3:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9316,"name":"master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9021,"src":"8421:6:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":9312,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"8379:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":9311,"name":"IDynamicRevenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14870,"src":"8355:23:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_185514870_$","typeString":"type(contract IDynamicRevenueSplitter)"}},"id":9313,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8355:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IDynamicRevenueSplitter_$14870","typeString":"contract IDynamicRevenueSplitter"}},"id":9314,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8396:19:30","memberName":"transferAllProfiles","nodeType":"MemberAccess","referencedDeclaration":14856,"src":"8355:60:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address) external"}},"id":9317,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8355:73:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9318,"nodeType":"ExpressionStatement","src":"8355:73:30"},{"expression":{"arguments":[{"id":9320,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"8451:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9321,"name":"eoa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9225,"src":"8472:3:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":9319,"name":"_revokeRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":294,"src":"8439:11:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":9322,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8439:37:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9323,"nodeType":"ExpressionStatement","src":"8439:37:30"}]},"functionSelector":"c511eef8","id":9325,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":9228,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8767,"src":"7300:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":9229,"kind":"modifierInvocation","modifierName":{"id":9227,"name":"onlyRole","nameLocations":["7291:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"7291:8:30"},"nodeType":"ModifierInvocation","src":"7291:21:30"}],"name":"revokeLocalProvider","nameLocation":"7249:19:30","nodeType":"FunctionDefinition","parameters":{"id":9226,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9225,"mutability":"mutable","name":"eoa","nameLocation":"7277:3:30","nodeType":"VariableDeclaration","scope":9325,"src":"7269:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9224,"name":"address","nodeType":"ElementaryTypeName","src":"7269:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7268:13:30"},"returnParameters":{"id":9230,"nodeType":"ParameterList","parameters":[],"src":"7313:0:30"},"scope":11595,"src":"7240:1243:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9338,"nodeType":"Block","src":"8571:55:30","statements":[{"expression":{"arguments":[{"id":9334,"name":"VERIFIED_SHAMAN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8777,"src":"8593:20:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9335,"name":"eoa","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9327,"src":"8615:3:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":9333,"name":"_revokeRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":294,"src":"8581:11:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":9336,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8581:38:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9337,"nodeType":"ExpressionStatement","src":"8581:38:30"}]},"functionSelector":"cf6272a2","id":9339,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":9330,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"8550:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":9331,"kind":"modifierInvocation","modifierName":{"id":9329,"name":"onlyRole","nameLocations":["8541:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"8541:8:30"},"nodeType":"ModifierInvocation","src":"8541:29:30"}],"name":"revokeVerifiedShaman","nameLocation":"8498:20:30","nodeType":"FunctionDefinition","parameters":{"id":9328,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9327,"mutability":"mutable","name":"eoa","nameLocation":"8527:3:30","nodeType":"VariableDeclaration","scope":9339,"src":"8519:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9326,"name":"address","nodeType":"ElementaryTypeName","src":"8519:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8518:13:30"},"returnParameters":{"id":9332,"nodeType":"ParameterList","parameters":[],"src":"8571:0:30"},"scope":11595,"src":"8489:137:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9361,"nodeType":"Block","src":"8710:121:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":9353,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9348,"name":"_splitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9341,"src":"8728:9:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":9351,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8749:1:30","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":9350,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8741:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":9349,"name":"address","nodeType":"ElementaryTypeName","src":"8741:7:30","typeDescriptions":{}}},"id":9352,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8741:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8728:23:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"53706c697474657220616464726573732063616e6e6f74206265207a65726f","id":9354,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"8753:33:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_372379a1548bbc11d2d9bc3ff0a369acfcfdc613a7ee6076414c38c1ebe53d1b","typeString":"literal_string \"Splitter address cannot be zero\""},"value":"Splitter address cannot be zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_372379a1548bbc11d2d9bc3ff0a369acfcfdc613a7ee6076414c38c1ebe53d1b","typeString":"literal_string \"Splitter address cannot be zero\""}],"id":9347,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"8720:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9355,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8720:67:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9356,"nodeType":"ExpressionStatement","src":"8720:67:30"},{"expression":{"id":9359,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":9357,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"8797:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9358,"name":"_splitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9341,"src":"8815:9:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8797:27:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":9360,"nodeType":"ExpressionStatement","src":"8797:27:30"}]},"functionSelector":"c785d4e7","id":9362,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":9344,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8767,"src":"8697:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":9345,"kind":"modifierInvocation","modifierName":{"id":9343,"name":"onlyRole","nameLocations":["8688:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"8688:8:30"},"nodeType":"ModifierInvocation","src":"8688:21:30"}],"name":"setRevenueSplitter","nameLocation":"8641:18:30","nodeType":"FunctionDefinition","parameters":{"id":9342,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9341,"mutability":"mutable","name":"_splitter","nameLocation":"8668:9:30","nodeType":"VariableDeclaration","scope":9362,"src":"8660:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9340,"name":"address","nodeType":"ElementaryTypeName","src":"8660:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8659:19:30"},"returnParameters":{"id":9346,"nodeType":"ParameterList","parameters":[],"src":"8710:0:30"},"scope":11595,"src":"8632:199:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9500,"nodeType":"Block","src":"9157:2082:30","statements":[{"assignments":[9386],"declarations":[{"constant":false,"id":9386,"mutability":"mutable","name":"isLocalProvider","nameLocation":"9172:15:30","nodeType":"VariableDeclaration","scope":9500,"src":"9167:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9385,"name":"bool","nodeType":"ElementaryTypeName","src":"9167:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":9392,"initialValue":{"arguments":[{"id":9388,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"9198:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":9389,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9219:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9390,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9223:6:30","memberName":"sender","nodeType":"MemberAccess","src":"9219:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":9387,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"9190:7:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":9391,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9190:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"9167:63:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":9400,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9394,"name":"isLocalProvider","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9386,"src":"9241:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":9396,"name":"VERIFIED_SHAMAN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8777,"src":"9268:20:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":9397,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9290:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9294:6:30","memberName":"sender","nodeType":"MemberAccess","src":"9290:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":9395,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"9260:7:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":9399,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9260:41:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"9241:60:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"6163636573732064656e696564","id":9401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9303:15:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_cba8a57ccb1594d7138ca5e2a9216c55d23151b53a95734bafda4b812e3786ff","typeString":"literal_string \"access denied\""},"value":"access denied"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_cba8a57ccb1594d7138ca5e2a9216c55d23151b53a95734bafda4b812e3786ff","typeString":"literal_string \"access denied\""}],"id":9393,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"9233:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9402,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9233:86:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9403,"nodeType":"ExpressionStatement","src":"9233:86:30"},{"condition":{"id":9404,"name":"isLocalProvider","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9386,"src":"9479:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9413,"nodeType":"IfStatement","src":"9475:113:30","trueBody":{"id":9412,"nodeType":"Block","src":"9496:92:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9408,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9406,"name":"_eventDepositSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9382,"src":"9518:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9538:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9518:21:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4465706f736974206d7573742062652067726561746572207468616e207a65726f","id":9409,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"9541:35:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_c1134f70d5c2aa04d1aecbf00d778343a03bd9a235386712a5b49138ef1ea03d","typeString":"literal_string \"Deposit must be greater than zero\""},"value":"Deposit must be greater than zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c1134f70d5c2aa04d1aecbf00d778343a03bd9a235386712a5b49138ef1ea03d","typeString":"literal_string \"Deposit must be greater than zero\""}],"id":9405,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"9510:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9410,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9510:67:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9411,"nodeType":"ExpressionStatement","src":"9510:67:30"}]}},{"expression":{"arguments":[{"arguments":[{"expression":{"id":9418,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9651:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9419,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9655:6:30","memberName":"sender","nodeType":"MemberAccess","src":"9651:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"condition":{"id":9420,"name":"isLocalProvider","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9386,"src":"9685:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"arguments":[{"hexValue":"30","id":9425,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9724:1:30","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":9424,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9716:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":9423,"name":"address","nodeType":"ElementaryTypeName","src":"9716:7:30","typeDescriptions":{}}},"id":9426,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9716:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":9427,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"9685:41:30","trueExpression":{"expression":{"id":9421,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"9703:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9422,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9707:6:30","memberName":"sender","nodeType":"MemberAccess","src":"9703:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9428,"name":"_maxTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9364,"src":"9752:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":9429,"name":"_minTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9366,"src":"9789:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":9430,"name":"_minPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9368,"src":"9824:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9431,"name":"_daysBeforeCancel","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9370,"src":"9865:17:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9432,"name":"_minDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9372,"src":"9905:8:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9433,"name":"_available","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9374,"src":"9938:10:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"condition":{"id":9434,"name":"isLocalProvider","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9386,"src":"9970:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"expression":{"id":9437,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"10016:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventPlaceStatus_$8802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":9438,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10033:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8799,"src":"10016:26:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"id":9439,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"9970:72:30","trueExpression":{"expression":{"id":9435,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"9988:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventPlaceStatus_$8802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":9436,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10005:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8800,"src":"9988:25:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_18878802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},{"arguments":[{"id":9442,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9376,"src":"10110:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9443,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9378,"src":"10148:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9444,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9380,"src":"10184:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"id":9440,"name":"CyberValley","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8745,"src":"10062:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CyberValley_$8745_$","typeString":"type(library CyberValley)"}},"id":9441,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10074:9:30","memberName":"Multihash","nodeType":"MemberAccess","referencedDeclaration":8744,"src":"10062:21:30","typeDescriptions":{"typeIdentifier":"t_type$_t_structMATH_PLACEHOLDER_18908744_storage_ptr_$","typeString":"type(struct CyberValley.Multihash storage pointer)"}},"id":9445,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["10102:6:30","10134:12:30","10178:4:30"],"names":["digest","hashFunction","size"],"nodeType":"FunctionCall","src":"10062:141:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},{"id":9446,"name":"_eventDepositSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9382,"src":"10235:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_18928802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},{"typeIdentifier":"t_structMATH_PLACEHOLDER_18938744_memory_ptr","typeString":"struct CyberValley.Multihash memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9417,"name":"EventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8827,"src":"9615:10:30","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_EventPlace_$8827_storage_ptr_$","typeString":"type(struct CyberValleyEventManager.EventPlace storage pointer)"}},"id":9447,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["9640:9:30","9675:8:30","9740:10:30","9777:10:30","9814:8:30","9847:16:30","9896:7:30","9927:9:30","9962:6:30","10056:4:30","10217:16:30"],"names":["requester","provider","maxTickets","minTickets","minPrice","daysBeforeCancel","minDays","available","status","meta","eventDepositSize"],"nodeType":"FunctionCall","src":"9615:648:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_18968827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}],"expression":{"id":9414,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"9598:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9416,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"9610:4:30","memberName":"push","nodeType":"MemberAccess","src":"9598:16:30","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage_ptr_$_t_structMATH_PLACEHOLDER_19018827_storage_$returns$__$attached_to$_t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage_ptr_$","typeString":"function (struct CyberValleyEventManager.EventPlace storage ref[] storage pointer,struct CyberValleyEventManager.EventPlace storage ref)"}},"id":9448,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9598:666:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9449,"nodeType":"ExpressionStatement","src":"9598:666:30"},{"assignments":[9451],"declarations":[{"constant":false,"id":9451,"mutability":"mutable","name":"eventPlaceId","nameLocation":"10283:12:30","nodeType":"VariableDeclaration","scope":9500,"src":"10275:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9450,"name":"uint256","nodeType":"ElementaryTypeName","src":"10275:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9456,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9455,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9452,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"10298:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10310:6:30","memberName":"length","nodeType":"MemberAccess","src":"10298:18:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":9454,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10319:1:30","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10298:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"10275:45:30"},{"expression":{"arguments":[{"baseExpression":{"id":9458,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"10350:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_19098827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9460,"indexExpression":{"id":9459,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9451,"src":"10362:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"10350:25:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_19118827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}],"id":9457,"name":"_validateEventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9837,"src":"10330:19:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_EventPlace_$8827_memory_ptr_$returns$__$","typeString":"function (struct CyberValleyEventManager.EventPlace memory) pure"}},"id":9461,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10330:46:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9462,"nodeType":"ExpressionStatement","src":"10330:46:30"},{"condition":{"id":9463,"name":"isLocalProvider","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9386,"src":"10391:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":9498,"nodeType":"Block","src":"10861:372:30","statements":[{"eventCall":{"arguments":[{"id":9484,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9451,"src":"10918:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":9485,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"10948:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9486,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10952:6:30","memberName":"sender","nodeType":"MemberAccess","src":"10948:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9487,"name":"_maxTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9364,"src":"10976:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":9488,"name":"_minTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9366,"src":"11005:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":9489,"name":"_minPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9368,"src":"11034:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9490,"name":"_daysBeforeCancel","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9370,"src":"11061:17:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9491,"name":"_minDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9372,"src":"11096:8:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9492,"name":"_available","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9374,"src":"11122:10:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":9493,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9376,"src":"11150:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9494,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9378,"src":"11174:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9495,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9380,"src":"11204:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":9483,"name":"NewEventPlaceRequest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8903,"src":"10880:20:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_address_$_t_uint16_$_t_uint16_$_t_uint256_$_t_uint8_$_t_uint8_$_t_bool_$_t_bytes32_$_t_uint8_$_t_uint8_$returns$__$","typeString":"function (uint256,address,uint16,uint16,uint256,uint8,uint8,bool,bytes32,uint8,uint8)"}},"id":9496,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10880:342:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9497,"nodeType":"EmitStatement","src":"10875:347:30"}]},"id":9499,"nodeType":"IfStatement","src":"10387:846:30","trueBody":{"id":9482,"nodeType":"Block","src":"10408:447:30","statements":[{"eventCall":{"arguments":[{"expression":{"id":9465,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"10462:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9466,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10466:6:30","memberName":"sender","nodeType":"MemberAccess","src":"10462:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9467,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9451,"src":"10490:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9468,"name":"_maxTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9364,"src":"10520:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":9469,"name":"_minTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9366,"src":"10549:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":9470,"name":"_minPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9368,"src":"10578:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9471,"name":"_daysBeforeCancel","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9370,"src":"10605:17:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9472,"name":"_minDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9372,"src":"10640:8:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9473,"name":"_available","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9374,"src":"10666:10:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":9474,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"10694:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enumMATH_PLACEHOLDER_19248802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":9475,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"10711:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8800,"src":"10694:25:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},{"id":9476,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9376,"src":"10737:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9477,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9378,"src":"10761:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9478,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9380,"src":"10791:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9479,"name":"_eventDepositSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9382,"src":"10813:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_19268802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9464,"name":"EventPlaceUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8932,"src":"10427:17:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint16_$_t_uint16_$_t_uint256_$_t_uint8_$_t_uint8_$_t_bool_$_t_enum$_EventPlaceStatus_$8802_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_uint256_$returns$__$","typeString":"function (address,uint256,uint16,uint16,uint256,uint8,uint8,bool,enum CyberValleyEventManager.EventPlaceStatus,bytes32,uint8,uint8,uint256)"}},"id":9480,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10427:417:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9481,"nodeType":"EmitStatement","src":"10422:422:30"}]}}]},"functionSelector":"080a5a19","id":9501,"implemented":true,"kind":"function","modifiers":[],"name":"submitEventPlaceRequest","nameLocation":"8846:23:30","nodeType":"FunctionDefinition","parameters":{"id":9383,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9364,"mutability":"mutable","name":"_maxTickets","nameLocation":"8886:11:30","nodeType":"VariableDeclaration","scope":9501,"src":"8879:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":9363,"name":"uint16","nodeType":"ElementaryTypeName","src":"8879:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":9366,"mutability":"mutable","name":"_minTickets","nameLocation":"8914:11:30","nodeType":"VariableDeclaration","scope":9501,"src":"8907:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":9365,"name":"uint16","nodeType":"ElementaryTypeName","src":"8907:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":9368,"mutability":"mutable","name":"_minPrice","nameLocation":"8943:9:30","nodeType":"VariableDeclaration","scope":9501,"src":"8935:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9367,"name":"uint256","nodeType":"ElementaryTypeName","src":"8935:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9370,"mutability":"mutable","name":"_daysBeforeCancel","nameLocation":"8968:17:30","nodeType":"VariableDeclaration","scope":9501,"src":"8962:23:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9369,"name":"uint8","nodeType":"ElementaryTypeName","src":"8962:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9372,"mutability":"mutable","name":"_minDays","nameLocation":"9001:8:30","nodeType":"VariableDeclaration","scope":9501,"src":"8995:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9371,"name":"uint8","nodeType":"ElementaryTypeName","src":"8995:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9374,"mutability":"mutable","name":"_available","nameLocation":"9024:10:30","nodeType":"VariableDeclaration","scope":9501,"src":"9019:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9373,"name":"bool","nodeType":"ElementaryTypeName","src":"9019:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":9376,"mutability":"mutable","name":"digest","nameLocation":"9052:6:30","nodeType":"VariableDeclaration","scope":9501,"src":"9044:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9375,"name":"bytes32","nodeType":"ElementaryTypeName","src":"9044:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":9378,"mutability":"mutable","name":"hashFunction","nameLocation":"9074:12:30","nodeType":"VariableDeclaration","scope":9501,"src":"9068:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9377,"name":"uint8","nodeType":"ElementaryTypeName","src":"9068:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9380,"mutability":"mutable","name":"size","nameLocation":"9102:4:30","nodeType":"VariableDeclaration","scope":9501,"src":"9096:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9379,"name":"uint8","nodeType":"ElementaryTypeName","src":"9096:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9382,"mutability":"mutable","name":"_eventDepositSize","nameLocation":"9124:17:30","nodeType":"VariableDeclaration","scope":9501,"src":"9116:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9381,"name":"uint256","nodeType":"ElementaryTypeName","src":"9116:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8869:278:30"},"returnParameters":{"id":9384,"nodeType":"ParameterList","parameters":[],"src":"9157:0:30"},"scope":11595,"src":"8837:2402:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9593,"nodeType":"Block","src":"11382:936:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9515,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9512,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9503,"src":"11400:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":9513,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"11415:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_19378827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9514,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11427:6:30","memberName":"length","nodeType":"MemberAccess","src":"11415:18:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11400:33:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c61636520646f6573206e6f74206578697374","id":9516,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11435:27:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_5bc1be60014ce6181b47aec0698cd26396a8885d0ebd9d68715148d32f0bcddf","typeString":"literal_string \"EventPlace does not exist\""},"value":"EventPlace does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5bc1be60014ce6181b47aec0698cd26396a8885d0ebd9d68715148d32f0bcddf","typeString":"literal_string \"EventPlace does not exist\""}],"id":9511,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"11392:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9517,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11392:71:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9518,"nodeType":"ExpressionStatement","src":"11392:71:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9520,"name":"_eventDepositSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9505,"src":"11481:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9521,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11501:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"11481:21:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4465706f736974206d7573742062652067726561746572207468616e207a65726f","id":9523,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11504:35:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_c1134f70d5c2aa04d1aecbf00d778343a03bd9a235386712a5b49138ef1ea03d","typeString":"literal_string \"Deposit must be greater than zero\""},"value":"Deposit must be greater than zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c1134f70d5c2aa04d1aecbf00d778343a03bd9a235386712a5b49138ef1ea03d","typeString":"literal_string \"Deposit must be greater than zero\""}],"id":9519,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"11473:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11473:67:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9525,"nodeType":"ExpressionStatement","src":"11473:67:30"},{"assignments":[9528],"declarations":[{"constant":false,"id":9528,"mutability":"mutable","name":"place","nameLocation":"11569:5:30","nodeType":"VariableDeclaration","scope":9593,"src":"11550:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":9527,"nodeType":"UserDefinedTypeName","pathNode":{"id":9526,"name":"EventPlace","nameLocations":["11550:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"11550:10:30"},"referencedDeclaration":8827,"src":"11550:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19468827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":9532,"initialValue":{"baseExpression":{"id":9529,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"11577:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9531,"indexExpression":{"id":9530,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9503,"src":"11589:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"11577:25:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"11550:52:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_19498802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},"id":9538,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9534,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"11633:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19508827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9535,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11639:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"11633:12:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_19518802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":9536,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"11649:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventPlaceStatus_$8802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":9537,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11666:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8799,"src":"11649:26:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"src":"11633:42:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c6163652073746174757320646966666572732066726f6d207375626d6974746564","id":9539,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11689:42:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_3fc319e3cd3f34b0c1f2ba8b09df59a4630b1f8fe40c908a504046cd69cf843d","typeString":"literal_string \"EventPlace status differs from submitted\""},"value":"EventPlace status differs from submitted"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_3fc319e3cd3f34b0c1f2ba8b09df59a4630b1f8fe40c908a504046cd69cf843d","typeString":"literal_string \"EventPlace status differs from submitted\""}],"id":9533,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"11612:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9540,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11612:129:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9541,"nodeType":"ExpressionStatement","src":"11612:129:30"},{"expression":{"id":9547,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9542,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"11751:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9544,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"11757:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"11751:12:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_19588802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":9545,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"11766:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventPlaceStatus_$8802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":9546,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"11783:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8800,"src":"11766:25:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"src":"11751:40:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_19618802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"id":9548,"nodeType":"ExpressionStatement","src":"11751:40:30"},{"expression":{"id":9554,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9549,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"11801:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19628827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9551,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"11807:8:30","memberName":"provider","nodeType":"MemberAccess","referencedDeclaration":8806,"src":"11801:14:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":9552,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"11818:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9553,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11822:6:30","memberName":"sender","nodeType":"MemberAccess","src":"11818:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11801:27:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":9555,"nodeType":"ExpressionStatement","src":"11801:27:30"},{"expression":{"id":9560,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9556,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"11838:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19638827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9558,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"11844:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"11838:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9559,"name":"_eventDepositSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9505,"src":"11863:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11838:42:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9561,"nodeType":"ExpressionStatement","src":"11838:42:30"},{"eventCall":{"arguments":[{"expression":{"id":9563,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"11926:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9564,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11930:6:30","memberName":"sender","nodeType":"MemberAccess","src":"11926:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9565,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9503,"src":"11950:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":9566,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"11976:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19648827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9567,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"11982:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"11976:16:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"id":9568,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12006:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19658827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9569,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12012:10:30","memberName":"minTickets","nodeType":"MemberAccess","referencedDeclaration":8810,"src":"12006:16:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"id":9570,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12036:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19668827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9571,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12042:8:30","memberName":"minPrice","nodeType":"MemberAccess","referencedDeclaration":8812,"src":"12036:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":9572,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12064:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19678827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9573,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12070:16:30","memberName":"daysBeforeCancel","nodeType":"MemberAccess","referencedDeclaration":8814,"src":"12064:22:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"id":9574,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12100:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19688827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9575,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12106:7:30","memberName":"minDays","nodeType":"MemberAccess","referencedDeclaration":8816,"src":"12100:13:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"id":9576,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12127:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19698827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9577,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12133:9:30","memberName":"available","nodeType":"MemberAccess","referencedDeclaration":8818,"src":"12127:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":9578,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12156:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19708827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9579,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12162:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"12156:12:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_19718802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},{"expression":{"expression":{"id":9580,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12182:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19728827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9581,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12188:4:30","memberName":"meta","nodeType":"MemberAccess","referencedDeclaration":8824,"src":"12182:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19738744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":9582,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12193:6:30","memberName":"digest","nodeType":"MemberAccess","referencedDeclaration":8739,"src":"12182:17:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"expression":{"id":9583,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12213:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19748827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9584,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12219:4:30","memberName":"meta","nodeType":"MemberAccess","referencedDeclaration":8824,"src":"12213:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19758744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":9585,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12224:12:30","memberName":"hashFunction","nodeType":"MemberAccess","referencedDeclaration":8741,"src":"12213:23:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"expression":{"id":9586,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12250:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19768827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9587,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12256:4:30","memberName":"meta","nodeType":"MemberAccess","referencedDeclaration":8824,"src":"12250:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19778744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":9588,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12261:4:30","memberName":"size","nodeType":"MemberAccess","referencedDeclaration":8743,"src":"12250:15:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"id":9589,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9528,"src":"12279:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19788827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9590,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12285:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"12279:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_19798802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9562,"name":"EventPlaceUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8932,"src":"11895:17:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint16_$_t_uint16_$_t_uint256_$_t_uint8_$_t_uint8_$_t_bool_$_t_enum$_EventPlaceStatus_$8802_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_uint256_$returns$__$","typeString":"function (address,uint256,uint16,uint16,uint256,uint8,uint8,bool,enum CyberValleyEventManager.EventPlaceStatus,bytes32,uint8,uint8,uint256)"}},"id":9591,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11895:416:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9592,"nodeType":"EmitStatement","src":"11890:421:30"}]},"functionSelector":"90cb9845","id":9594,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":9508,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"11361:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":9509,"kind":"modifierInvocation","modifierName":{"id":9507,"name":"onlyRole","nameLocations":["11352:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"11352:8:30"},"nodeType":"ModifierInvocation","src":"11352:29:30"}],"name":"approveEventPlace","nameLocation":"11254:17:30","nodeType":"FunctionDefinition","parameters":{"id":9506,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9503,"mutability":"mutable","name":"eventPlaceId","nameLocation":"11289:12:30","nodeType":"VariableDeclaration","scope":9594,"src":"11281:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9502,"name":"uint256","nodeType":"ElementaryTypeName","src":"11281:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9505,"mutability":"mutable","name":"_eventDepositSize","nameLocation":"11319:17:30","nodeType":"VariableDeclaration","scope":9594,"src":"11311:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9504,"name":"uint256","nodeType":"ElementaryTypeName","src":"11311:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11271:71:30"},"returnParameters":{"id":9510,"nodeType":"ParameterList","parameters":[],"src":"11382:0:30"},"scope":11595,"src":"11245:1073:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9633,"nodeType":"Block","src":"12426:387:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9606,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9603,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9596,"src":"12444:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":9604,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"12459:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_19908827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9605,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12471:6:30","memberName":"length","nodeType":"MemberAccess","src":"12459:18:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12444:33:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c61636520646f6573206e6f74206578697374","id":9607,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"12479:27:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_5bc1be60014ce6181b47aec0698cd26396a8885d0ebd9d68715148d32f0bcddf","typeString":"literal_string \"EventPlace does not exist\""},"value":"EventPlace does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5bc1be60014ce6181b47aec0698cd26396a8885d0ebd9d68715148d32f0bcddf","typeString":"literal_string \"EventPlace does not exist\""}],"id":9602,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"12436:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9608,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12436:71:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9609,"nodeType":"ExpressionStatement","src":"12436:71:30"},{"assignments":[9612],"declarations":[{"constant":false,"id":9612,"mutability":"mutable","name":"place","nameLocation":"12536:5:30","nodeType":"VariableDeclaration","scope":9633,"src":"12517:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19958827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":9611,"nodeType":"UserDefinedTypeName","pathNode":{"id":9610,"name":"EventPlace","nameLocations":["12517:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"12517:10:30"},"referencedDeclaration":8827,"src":"12517:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_19968827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":9616,"initialValue":{"baseExpression":{"id":9613,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"12544:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9615,"indexExpression":{"id":9614,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9596,"src":"12556:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"12544:25:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"12517:52:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_19998802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},"id":9622,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9618,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9612,"src":"12600:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20008827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9619,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"12606:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"12600:12:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_20018802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":9620,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"12616:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventPlaceStatus_$8802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":9621,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12633:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8799,"src":"12616:26:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"src":"12600:42:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c6163652073746174757320646966666572732066726f6d207375626d6974746564","id":9623,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"12656:42:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_3fc319e3cd3f34b0c1f2ba8b09df59a4630b1f8fe40c908a504046cd69cf843d","typeString":"literal_string \"EventPlace status differs from submitted\""},"value":"EventPlace status differs from submitted"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_3fc319e3cd3f34b0c1f2ba8b09df59a4630b1f8fe40c908a504046cd69cf843d","typeString":"literal_string \"EventPlace status differs from submitted\""}],"id":9617,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"12579:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9624,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12579:129:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9625,"nodeType":"ExpressionStatement","src":"12579:129:30"},{"expression":{"id":9631,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9626,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9612,"src":"12718:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9628,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"12724:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"12718:12:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_20088802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":9629,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"12733:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventPlaceStatus_$8802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":9630,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"12750:8:30","memberName":"Declined","nodeType":"MemberAccess","referencedDeclaration":8801,"src":"12733:25:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"src":"12718:40:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_20118802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"id":9632,"nodeType":"ExpressionStatement","src":"12718:40:30"}]},"functionSelector":"b02dfa8f","id":9634,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":9599,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"12405:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":9600,"kind":"modifierInvocation","modifierName":{"id":9598,"name":"onlyRole","nameLocations":["12396:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"12396:8:30"},"nodeType":"ModifierInvocation","src":"12396:29:30"}],"name":"declineEventPlace","nameLocation":"12333:17:30","nodeType":"FunctionDefinition","parameters":{"id":9597,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9596,"mutability":"mutable","name":"eventPlaceId","nameLocation":"12368:12:30","nodeType":"VariableDeclaration","scope":9634,"src":"12360:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9595,"name":"uint256","nodeType":"ElementaryTypeName","src":"12360:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12350:36:30"},"returnParameters":{"id":9601,"nodeType":"ParameterList","parameters":[],"src":"12426:0:30"},"scope":11595,"src":"12324:489:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9792,"nodeType":"Block","src":"13192:1642:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9666,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9663,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9636,"src":"13210:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":9664,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"13225:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9665,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13237:6:30","memberName":"length","nodeType":"MemberAccess","src":"13225:18:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13210:33:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"6576656e74506c61636549642073686f756c64206578697374","id":9667,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13245:27:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_2cd74961a31960f1688d3a2d0d9ffb413e514e1ae1c4eff0c27dd28a65c176ab","typeString":"literal_string \"eventPlaceId should exist\""},"value":"eventPlaceId should exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_2cd74961a31960f1688d3a2d0d9ffb413e514e1ae1c4eff0c27dd28a65c176ab","typeString":"literal_string \"eventPlaceId should exist\""}],"id":9662,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13202:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9668,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13202:71:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9669,"nodeType":"ExpressionStatement","src":"13202:71:30"},{"assignments":[9672],"declarations":[{"constant":false,"id":9672,"mutability":"mutable","name":"place","nameLocation":"13302:5:30","nodeType":"VariableDeclaration","scope":9792,"src":"13283:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20178827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":9671,"nodeType":"UserDefinedTypeName","pathNode":{"id":9670,"name":"EventPlace","nameLocations":["13283:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"13283:10:30"},"referencedDeclaration":8827,"src":"13283:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20188827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":9676,"initialValue":{"baseExpression":{"id":9673,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"13310:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9675,"indexExpression":{"id":9674,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9636,"src":"13322:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13310:25:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"13283:52:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":9682,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9678,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"13366:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20218827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9679,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"13372:8:30","memberName":"provider","nodeType":"MemberAccess","referencedDeclaration":8806,"src":"13366:14:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":9680,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"13384:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9681,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13388:6:30","memberName":"sender","nodeType":"MemberAccess","src":"13384:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"13366:28:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"476976656e206576656e7420706c6163652062656c6f6e677320746f20616e6f746865722070726f7669646572","id":9683,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13408:47:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_953fcfb9ff1c51a4997bf5564ce813dfab5199db6481772cc9e22fce3df2ba8c","typeString":"literal_string \"Given event place belongs to another provider\""},"value":"Given event place belongs to another provider"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_953fcfb9ff1c51a4997bf5564ce813dfab5199db6481772cc9e22fce3df2ba8c","typeString":"literal_string \"Given event place belongs to another provider\""}],"id":9677,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13345:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9684,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13345:120:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9685,"nodeType":"ExpressionStatement","src":"13345:120:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},"id":9691,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9687,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"13496:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20268827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9688,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"13502:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"13496:12:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_20278802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":9689,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"13512:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventPlaceStatus_$8802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":9690,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"13529:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8800,"src":"13512:25:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"src":"13496:41:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c616365206d75737420626520617070726f76656420746f2062652075706461746564","id":9692,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13551:43:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_4316ba0dee9e2a12fc7bbeb8f892f3a7584e77d87d16ae204868c1159084bb15","typeString":"literal_string \"EventPlace must be approved to be updated\""},"value":"EventPlace must be approved to be updated"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_4316ba0dee9e2a12fc7bbeb8f892f3a7584e77d87d16ae204868c1159084bb15","typeString":"literal_string \"EventPlace must be approved to be updated\""}],"id":9686,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13475:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9693,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13475:129:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9694,"nodeType":"ExpressionStatement","src":"13475:129:30"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9698,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9695,"name":"_eventDepositSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9656,"src":"13686:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"id":9696,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"13707:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9697,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"13713:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"13707:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13686:43:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9721,"nodeType":"IfStatement","src":"13682:352:30","trueBody":{"id":9720,"nodeType":"Block","src":"13731:303:30","statements":[{"expression":{"arguments":[{"id":9703,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"13770:31:30","subExpression":{"arguments":[{"id":9701,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9636,"src":"13788:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9700,"name":"_hasActiveEvents","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9108,"src":"13771:16:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256) view returns (bool)"}},"id":9702,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13771:30:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43616e6e6f74206368616e6765206465706f736974207768696c652074686572652061726520616374697665206576656e7473","id":9704,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13819:53:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_ddf9acdf0d29b71488cd7c8a144c29ec7438664a378ae2ffd878f03c3bf421a9","typeString":"literal_string \"Cannot change deposit while there are active events\""},"value":"Cannot change deposit while there are active events"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ddf9acdf0d29b71488cd7c8a144c29ec7438664a378ae2ffd878f03c3bf421a9","typeString":"literal_string \"Cannot change deposit while there are active events\""}],"id":9699,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13745:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9705,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13745:141:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9706,"nodeType":"ExpressionStatement","src":"13745:141:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9710,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9708,"name":"_eventDepositSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9656,"src":"13908:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9709,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13928:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13908:21:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4465706f736974206d7573742062652067726561746572207468616e207a65726f","id":9711,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13931:35:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_c1134f70d5c2aa04d1aecbf00d778343a03bd9a235386712a5b49138ef1ea03d","typeString":"literal_string \"Deposit must be greater than zero\""},"value":"Deposit must be greater than zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c1134f70d5c2aa04d1aecbf00d778343a03bd9a235386712a5b49138ef1ea03d","typeString":"literal_string \"Deposit must be greater than zero\""}],"id":9707,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13900:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9712,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13900:67:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9713,"nodeType":"ExpressionStatement","src":"13900:67:30"},{"expression":{"id":9718,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9714,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"13981:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20438827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9716,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"13987:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"13981:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9717,"name":"_eventDepositSize","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9656,"src":"14006:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13981:42:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9719,"nodeType":"ExpressionStatement","src":"13981:42:30"}]}},{"expression":{"id":9726,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9722,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14044:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20448827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9724,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14050:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"14044:16:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9725,"name":"_maxTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9638,"src":"14063:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"14044:30:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":9727,"nodeType":"ExpressionStatement","src":"14044:30:30"},{"expression":{"id":9732,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9728,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14084:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20458827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9730,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14090:10:30","memberName":"minTickets","nodeType":"MemberAccess","referencedDeclaration":8810,"src":"14084:16:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9731,"name":"_minTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9640,"src":"14103:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"14084:30:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":9733,"nodeType":"ExpressionStatement","src":"14084:30:30"},{"expression":{"id":9738,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9734,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14124:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20468827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9736,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14130:8:30","memberName":"minPrice","nodeType":"MemberAccess","referencedDeclaration":8812,"src":"14124:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9737,"name":"_minPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9642,"src":"14141:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14124:26:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9739,"nodeType":"ExpressionStatement","src":"14124:26:30"},{"expression":{"id":9744,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9740,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14160:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20478827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9742,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14166:16:30","memberName":"daysBeforeCancel","nodeType":"MemberAccess","referencedDeclaration":8814,"src":"14160:22:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9743,"name":"_daysBeforeCancel","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9644,"src":"14185:17:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"14160:42:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":9745,"nodeType":"ExpressionStatement","src":"14160:42:30"},{"expression":{"id":9750,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9746,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14212:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20488827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9748,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14218:7:30","memberName":"minDays","nodeType":"MemberAccess","referencedDeclaration":8816,"src":"14212:13:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9749,"name":"_minDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9646,"src":"14228:8:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"14212:24:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":9751,"nodeType":"ExpressionStatement","src":"14212:24:30"},{"expression":{"id":9756,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9752,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14246:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20498827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9754,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14252:9:30","memberName":"available","nodeType":"MemberAccess","referencedDeclaration":8818,"src":"14246:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":9755,"name":"_available","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9648,"src":"14264:10:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"14246:28:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":9757,"nodeType":"ExpressionStatement","src":"14246:28:30"},{"expression":{"id":9767,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":9758,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14284:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20508827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9760,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14290:4:30","memberName":"meta","nodeType":"MemberAccess","referencedDeclaration":8824,"src":"14284:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20518744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":9763,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9650,"src":"14341:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9764,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9652,"src":"14375:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9765,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9654,"src":"14407:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"id":9761,"name":"CyberValley","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8745,"src":"14297:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CyberValley_$8745_$","typeString":"type(library CyberValley)"}},"id":9762,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14309:9:30","memberName":"Multihash","nodeType":"MemberAccess","referencedDeclaration":8744,"src":"14297:21:30","typeDescriptions":{"typeIdentifier":"t_type$_t_structMATH_PLACEHOLDER_20548744_storage_ptr_$","typeString":"type(struct CyberValley.Multihash storage pointer)"}},"id":9766,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["14333:6:30","14361:12:30","14401:4:30"],"names":["digest","hashFunction","size"],"nodeType":"FunctionCall","src":"14297:125:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},"src":"14284:138:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20568744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":9768,"nodeType":"ExpressionStatement","src":"14284:138:30"},{"expression":{"arguments":[{"id":9770,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14453:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20578827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_20588827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}],"id":9769,"name":"_validateEventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9837,"src":"14433:19:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_struct$_EventPlace_$8827_memory_ptr_$returns$__$","typeString":"function (struct CyberValleyEventManager.EventPlace memory) pure"}},"id":9771,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14433:26:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9772,"nodeType":"ExpressionStatement","src":"14433:26:30"},{"eventCall":{"arguments":[{"expression":{"id":9774,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"14505:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9775,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14509:6:30","memberName":"sender","nodeType":"MemberAccess","src":"14505:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9776,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9636,"src":"14529:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9777,"name":"_maxTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9638,"src":"14555:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":9778,"name":"_minTickets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9640,"src":"14580:11:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":9779,"name":"_minPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9642,"src":"14605:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9780,"name":"_daysBeforeCancel","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9644,"src":"14628:17:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9781,"name":"_minDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9646,"src":"14659:8:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9782,"name":"_available","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9648,"src":"14681:10:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":9783,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14705:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9784,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14711:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"14705:12:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_20638802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},{"id":9785,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9650,"src":"14731:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9786,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9652,"src":"14751:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9787,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9654,"src":"14777:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"id":9788,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9672,"src":"14795:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20648827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9789,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14801:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"14795:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_20658802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9773,"name":"EventPlaceUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8932,"src":"14474:17:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint16_$_t_uint16_$_t_uint256_$_t_uint8_$_t_uint8_$_t_bool_$_t_enum$_EventPlaceStatus_$8802_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_uint256_$returns$__$","typeString":"function (address,uint256,uint16,uint16,uint256,uint8,uint8,bool,enum CyberValleyEventManager.EventPlaceStatus,bytes32,uint8,uint8,uint256)"}},"id":9790,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14474:353:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9791,"nodeType":"EmitStatement","src":"14469:358:30"}]},"functionSelector":"9ec47d74","id":9793,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":9659,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"13171:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":9660,"kind":"modifierInvocation","modifierName":{"id":9658,"name":"onlyRole","nameLocations":["13162:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"13162:8:30"},"nodeType":"ModifierInvocation","src":"13162:29:30"}],"name":"updateEventPlace","nameLocation":"12828:16:30","nodeType":"FunctionDefinition","parameters":{"id":9657,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9636,"mutability":"mutable","name":"eventPlaceId","nameLocation":"12862:12:30","nodeType":"VariableDeclaration","scope":9793,"src":"12854:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9635,"name":"uint256","nodeType":"ElementaryTypeName","src":"12854:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9638,"mutability":"mutable","name":"_maxTickets","nameLocation":"12891:11:30","nodeType":"VariableDeclaration","scope":9793,"src":"12884:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":9637,"name":"uint16","nodeType":"ElementaryTypeName","src":"12884:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":9640,"mutability":"mutable","name":"_minTickets","nameLocation":"12919:11:30","nodeType":"VariableDeclaration","scope":9793,"src":"12912:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":9639,"name":"uint16","nodeType":"ElementaryTypeName","src":"12912:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":9642,"mutability":"mutable","name":"_minPrice","nameLocation":"12948:9:30","nodeType":"VariableDeclaration","scope":9793,"src":"12940:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9641,"name":"uint256","nodeType":"ElementaryTypeName","src":"12940:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9644,"mutability":"mutable","name":"_daysBeforeCancel","nameLocation":"12973:17:30","nodeType":"VariableDeclaration","scope":9793,"src":"12967:23:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9643,"name":"uint8","nodeType":"ElementaryTypeName","src":"12967:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9646,"mutability":"mutable","name":"_minDays","nameLocation":"13006:8:30","nodeType":"VariableDeclaration","scope":9793,"src":"13000:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9645,"name":"uint8","nodeType":"ElementaryTypeName","src":"13000:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9648,"mutability":"mutable","name":"_available","nameLocation":"13029:10:30","nodeType":"VariableDeclaration","scope":9793,"src":"13024:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":9647,"name":"bool","nodeType":"ElementaryTypeName","src":"13024:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":9650,"mutability":"mutable","name":"digest","nameLocation":"13057:6:30","nodeType":"VariableDeclaration","scope":9793,"src":"13049:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9649,"name":"bytes32","nodeType":"ElementaryTypeName","src":"13049:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":9652,"mutability":"mutable","name":"hashFunction","nameLocation":"13079:12:30","nodeType":"VariableDeclaration","scope":9793,"src":"13073:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9651,"name":"uint8","nodeType":"ElementaryTypeName","src":"13073:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9654,"mutability":"mutable","name":"size","nameLocation":"13107:4:30","nodeType":"VariableDeclaration","scope":9793,"src":"13101:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9653,"name":"uint8","nodeType":"ElementaryTypeName","src":"13101:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9656,"mutability":"mutable","name":"_eventDepositSize","nameLocation":"13129:17:30","nodeType":"VariableDeclaration","scope":9793,"src":"13121:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9655,"name":"uint256","nodeType":"ElementaryTypeName","src":"13121:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"12844:308:30"},"returnParameters":{"id":9661,"nodeType":"ParameterList","parameters":[],"src":"13192:0:30"},"scope":11595,"src":"12819:2015:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":9836,"nodeType":"Block","src":"14913:453:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":9804,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9800,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9796,"src":"14944:10:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}},"id":9801,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14955:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"14944:21:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":9802,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9796,"src":"14969:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20768827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}},"id":9803,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14980:10:30","memberName":"minTickets","nodeType":"MemberAccess","referencedDeclaration":8810,"src":"14969:21:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"14944:46:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4d6178207469636b657473206d7573742062652067726561746572206f7220657175616c206d696e207469636b657473","id":9805,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"15004:50:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_e6247578cc95223671728cec15cd57fe6a65cbaa5c469e1f442d8241b7f5efa6","typeString":"literal_string \"Max tickets must be greater or equal min tickets\""},"value":"Max tickets must be greater or equal min tickets"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e6247578cc95223671728cec15cd57fe6a65cbaa5c469e1f442d8241b7f5efa6","typeString":"literal_string \"Max tickets must be greater or equal min tickets\""}],"id":9799,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"14923:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9806,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14923:141:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9807,"nodeType":"ExpressionStatement","src":"14923:141:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":9832,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":9827,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":9822,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":9817,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":9812,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9809,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9796,"src":"15095:10:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}},"id":9810,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15106:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"15095:21:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9811,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15119:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15095:25:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":9816,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9813,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9796,"src":"15140:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20818827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}},"id":9814,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15151:10:30","memberName":"minTickets","nodeType":"MemberAccess","referencedDeclaration":8810,"src":"15140:21:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9815,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15164:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15140:25:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15095:70:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9821,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9818,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9796,"src":"15185:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20828827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}},"id":9819,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15196:8:30","memberName":"minPrice","nodeType":"MemberAccess","referencedDeclaration":8812,"src":"15185:19:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9820,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15207:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15185:23:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15095:113:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":9826,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9823,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9796,"src":"15228:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20838827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}},"id":9824,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15239:16:30","memberName":"daysBeforeCancel","nodeType":"MemberAccess","referencedDeclaration":8814,"src":"15228:27:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9825,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15258:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15228:31:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15095:164:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":9831,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9828,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9796,"src":"15279:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20848827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace memory"}},"id":9829,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15290:7:30","memberName":"minDays","nodeType":"MemberAccess","referencedDeclaration":8816,"src":"15279:18:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9830,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15300:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15279:22:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"15095:206:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"56616c756573206d7573742062652067726561746572207468616e207a65726f","id":9833,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"15315:34:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_c62e93399e6dd885117f82f3f076af025296850420cba05e1d8740f1530a701f","typeString":"literal_string \"Values must be greater than zero\""},"value":"Values must be greater than zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c62e93399e6dd885117f82f3f076af025296850420cba05e1d8740f1530a701f","typeString":"literal_string \"Values must be greater than zero\""}],"id":9808,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"15074:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9834,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15074:285:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9835,"nodeType":"ExpressionStatement","src":"15074:285:30"}]},"id":9837,"implemented":true,"kind":"function","modifiers":[],"name":"_validateEventPlace","nameLocation":"14849:19:30","nodeType":"FunctionDefinition","parameters":{"id":9797,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9796,"mutability":"mutable","name":"eventPlace","nameLocation":"14887:10:30","nodeType":"VariableDeclaration","scope":9837,"src":"14869:28:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_memory_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":9795,"nodeType":"UserDefinedTypeName","pathNode":{"id":9794,"name":"EventPlace","nameLocations":["14869:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"14869:10:30"},"referencedDeclaration":8827,"src":"14869:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20898827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"src":"14868:30:30"},"returnParameters":{"id":9798,"nodeType":"ParameterList","parameters":[],"src":"14913:0:30"},"scope":11595,"src":"14840:526:30","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10063,"nodeType":"Block","src":"15650:2864:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9859,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9839,"src":"15668:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":9860,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"15683:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9861,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15695:6:30","memberName":"length","nodeType":"MemberAccess","src":"15683:18:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15668:33:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c61636520646f6573206e6f74206578697374","id":9863,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"15703:27:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_5bc1be60014ce6181b47aec0698cd26396a8885d0ebd9d68715148d32f0bcddf","typeString":"literal_string \"EventPlace does not exist\""},"value":"EventPlace does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5bc1be60014ce6181b47aec0698cd26396a8885d0ebd9d68715148d32f0bcddf","typeString":"literal_string \"EventPlace does not exist\""}],"id":9858,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"15660:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9864,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15660:71:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9865,"nodeType":"ExpressionStatement","src":"15660:71:30"},{"assignments":[9868],"declarations":[{"constant":false,"id":9868,"mutability":"mutable","name":"place","nameLocation":"15760:5:30","nodeType":"VariableDeclaration","scope":10063,"src":"15741:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20958827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":9867,"nodeType":"UserDefinedTypeName","pathNode":{"id":9866,"name":"EventPlace","nameLocations":["15741:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"15741:10:30"},"referencedDeclaration":8827,"src":"15741:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20968827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":9872,"initialValue":{"baseExpression":{"id":9869,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"15768:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":9871,"indexExpression":{"id":9870,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9839,"src":"15780:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"15768:25:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"15741:52:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9877,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9874,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9868,"src":"15824:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_20998827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9875,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15830:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"15824:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9876,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"15849:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"15824:26:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c616365206465706f736974206d75737420626520736574","id":9878,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"15864:32:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_e5f525992c0fe86df542465a63255d590acdbe93bec7a7dc36c5953dd3fd2a86","typeString":"literal_string \"EventPlace deposit must be set\""},"value":"EventPlace deposit must be set"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e5f525992c0fe86df542465a63255d590acdbe93bec7a7dc36c5953dd3fd2a86","typeString":"literal_string \"EventPlace deposit must be set\""}],"id":9873,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"15803:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9879,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15803:103:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9880,"nodeType":"ExpressionStatement","src":"15803:103:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9889,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":9884,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"15965:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9885,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15969:6:30","memberName":"sender","nodeType":"MemberAccess","src":"15965:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":9882,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"15937:17:30","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1133","typeString":"contract IERC20"}},"id":9883,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15955:9:30","memberName":"balanceOf","nodeType":"MemberAccess","referencedDeclaration":1090,"src":"15937:27:30","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":9886,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15937:39:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":9887,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9868,"src":"15980:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21068827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9888,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"15986:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"15980:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"15937:65:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e6f7420656e6f75676820746f6b656e73","id":9890,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"16016:19:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_e6a4c292a2678b9c898d987106e4b784681d3ef40e71d741a89ab96444ddb55d","typeString":"literal_string \"Not enough tokens\""},"value":"Not enough tokens"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e6a4c292a2678b9c898d987106e4b784681d3ef40e71d741a89ab96444ddb55d","typeString":"literal_string \"Not enough tokens\""}],"id":9881,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"15916:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9891,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15916:129:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9892,"nodeType":"ExpressionStatement","src":"15916:129:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":9896,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"16104:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9897,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16108:6:30","memberName":"sender","nodeType":"MemberAccess","src":"16104:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":9900,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"16124:4:30","typeDescriptions":{"typeIdentifier":"t_contract$_CyberValleyEventManager_$11595","typeString":"contract CyberValleyEventManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_211111595","typeString":"contract CyberValleyEventManager"}],"id":9899,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16116:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":9898,"name":"address","nodeType":"ElementaryTypeName","src":"16116:7:30","typeDescriptions":{}}},"id":9901,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16116:13:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":9894,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"16076:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_21131133","typeString":"contract IERC20"}},"id":9895,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16094:9:30","memberName":"allowance","nodeType":"MemberAccess","referencedDeclaration":1110,"src":"16076:27:30","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$","typeString":"function (address,address) view external returns (uint256)"}},"id":9902,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16076:54:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":9903,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9868,"src":"16150:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9904,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16156:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"16150:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"16076:96:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"526571756972656420616d6f756e7420776173206e6f7420616c6c6f776564","id":9906,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"16186:33:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_99b68ba3e0e357bf9044b92c78e3bdf0dc0916b5bc25079922e8f66c488cb621","typeString":"literal_string \"Required amount was not allowed\""},"value":"Required amount was not allowed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_99b68ba3e0e357bf9044b92c78e3bdf0dc0916b5bc25079922e8f66c488cb621","typeString":"literal_string \"Required amount was not allowed\""}],"id":9893,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"16055:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9907,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16055:174:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9908,"nodeType":"ExpressionStatement","src":"16055:174:30"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":9912,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"16308:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9913,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16312:6:30","memberName":"sender","nodeType":"MemberAccess","src":"16308:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":9916,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"16344:4:30","typeDescriptions":{"typeIdentifier":"t_contract$_CyberValleyEventManager_$11595","typeString":"contract CyberValleyEventManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_212111595","typeString":"contract CyberValleyEventManager"}],"id":9915,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"16336:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":9914,"name":"address","nodeType":"ElementaryTypeName","src":"16336:7:30","typeDescriptions":{}}},"id":9917,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16336:13:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":9918,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9868,"src":"16367:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21238827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":9919,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"16373:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"16367:22:30","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":9910,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"16260:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_21241133","typeString":"contract IERC20"}},"id":9911,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16278:12:30","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":1132,"src":"16260:30:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,address,uint256) external returns (bool)"}},"id":9920,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16260:143:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e742072657175657374207061796d656e74206661696c6564","id":9921,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"16417:30:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_37cb0ba0d91211a2d6952d558e0fd80e854bccf3b7976b855b836040bbce535e","typeString":"literal_string \"Event request payment failed\""},"value":"Event request payment failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_37cb0ba0d91211a2d6952d558e0fd80e854bccf3b7976b855b836040bbce535e","typeString":"literal_string \"Event request payment failed\""}],"id":9909,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"16239:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9922,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16239:218:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9923,"nodeType":"ExpressionStatement","src":"16239:218:30"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":9928,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"16525:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":9929,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16529:6:30","memberName":"sender","nodeType":"MemberAccess","src":"16525:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":9930,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9839,"src":"16567:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9931,"name":"ticketPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9841,"src":"16610:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":9933,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9843,"src":"16671:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":9932,"name":"floorTimestampToDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11055,"src":"16650:20:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":9934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16650:31:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":9935,"name":"daysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9845,"src":"16711:10:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"id":9936,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"16747:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enumMATH_PLACEHOLDER_21348833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":9937,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"16759:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8828,"src":"16747:21:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},{"arguments":[{"hexValue":"30","id":9941,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"16811:1:30","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":9940,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"16797:13:30","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (address[] memory)"},"typeName":{"baseType":{"id":9938,"name":"address","nodeType":"ElementaryTypeName","src":"16801:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":9939,"nodeType":"ArrayTypeName","src":"16801:9:30","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}}},"id":9942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16797:16:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},{"arguments":[{"id":9945,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9847,"src":"16889:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":9946,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9849,"src":"16931:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":9947,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9851,"src":"16971:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"id":9943,"name":"CyberValley","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8745,"src":"16837:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CyberValley_$8745_$","typeString":"type(library CyberValley)"}},"id":9944,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16849:9:30","memberName":"Multihash","nodeType":"MemberAccess","referencedDeclaration":8744,"src":"16837:21:30","typeDescriptions":{"typeIdentifier":"t_type$_t_structMATH_PLACEHOLDER_21438744_storage_ptr_$","typeString":"type(struct CyberValley.Multihash storage pointer)"}},"id":9948,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["16881:6:30","16917:12:30","16965:4:30"],"names":["digest","hashFunction","size"],"nodeType":"FunctionCall","src":"16837:157:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},{"hexValue":"30","id":9949,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17022:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"hexValue":"30","id":9950,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17061:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_21458833","typeString":"enum CyberValleyEventManager.EventStatus"},{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"},{"typeIdentifier":"t_structMATH_PLACEHOLDER_21478744_memory_ptr","typeString":"struct CyberValley.Multihash memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":9927,"name":"Event","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8879,"src":"16492:5:30","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_Event_$8879_storage_ptr_$","typeString":"type(struct CyberValleyEventManager.Event storage pointer)"}},"id":9951,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["16516:7:30","16553:12:30","16597:11:30","16639:9:30","16699:10:30","16739:6:30","16786:9:30","16831:4:30","17012:8:30","17041:18:30"],"names":["creator","eventPlaceId","ticketPrice","startDate","daysAmount","status","customers","meta","networth","totalCategoryQuota"],"nodeType":"FunctionCall","src":"16492:585:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_memory_ptr","typeString":"struct CyberValleyEventManager.Event memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_21508879_memory_ptr","typeString":"struct CyberValleyEventManager.Event memory"}],"expression":{"id":9924,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"16467:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":9926,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"16474:4:30","memberName":"push","nodeType":"MemberAccess","src":"16467:11:30","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_struct$_Event_$8879_storage_$dyn_storage_ptr_$_t_structMATH_PLACEHOLDER_21558879_storage_$returns$__$attached_to$_t_array$_t_struct$_Event_$8879_storage_$dyn_storage_ptr_$","typeString":"function (struct CyberValleyEventManager.Event storage ref[] storage pointer,struct CyberValleyEventManager.Event storage ref)"}},"id":9952,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"16467:620:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9953,"nodeType":"ExpressionStatement","src":"16467:620:30"},{"assignments":[9955],"declarations":[{"constant":false,"id":9955,"mutability":"mutable","name":"eventId","nameLocation":"17105:7:30","nodeType":"VariableDeclaration","scope":10063,"src":"17097:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9954,"name":"uint256","nodeType":"ElementaryTypeName","src":"17097:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9960,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9956,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"17115:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":9957,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17122:6:30","memberName":"length","nodeType":"MemberAccess","src":"17115:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":9958,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17131:1:30","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"17115:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"17097:35:30"},{"expression":{"arguments":[{"baseExpression":{"id":9962,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"17156:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_21638879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":9964,"indexExpression":{"id":9963,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9955,"src":"17163:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"17156:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_21658879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}],"id":9961,"name":"validateEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10479,"src":"17142:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Event_$8879_storage_ptr_$returns$__$","typeString":"function (struct CyberValleyEventManager.Event storage pointer) view"}},"id":9965,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17142:30:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9966,"nodeType":"ExpressionStatement","src":"17142:30:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9971,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":9968,"name":"categoriesInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9855,"src":"17246:15:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_21708855_calldata_ptr_$dyn_calldata_ptr","typeString":"struct CyberValleyEventManager.CategoryInput calldata[] calldata"}},"id":9969,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17262:6:30","memberName":"length","nodeType":"MemberAccess","src":"17246:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":9970,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17271:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"17246:26:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4174206c65617374206f6e652063617465676f7279206973207265717569726564","id":9972,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"17274:35:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_7692087af21acadb416d38c150497d51afde62a077a2a6f706d124420de2ab36","typeString":"literal_string \"At least one category is required\""},"value":"At least one category is required"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_7692087af21acadb416d38c150497d51afde62a077a2a6f706d124420de2ab36","typeString":"literal_string \"At least one category is required\""}],"id":9967,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"17238:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":9973,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17238:72:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":9974,"nodeType":"ExpressionStatement","src":"17238:72:30"},{"body":{"id":10005,"nodeType":"Block","src":"17373:269:30","statements":[{"assignments":[9988],"declarations":[{"constant":false,"id":9988,"mutability":"mutable","name":"cat","nameLocation":"17408:3:30","nodeType":"VariableDeclaration","scope":10005,"src":"17387:24:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21758855_memory_ptr","typeString":"struct CyberValleyEventManager.CategoryInput"},"typeName":{"id":9987,"nodeType":"UserDefinedTypeName","pathNode":{"id":9986,"name":"CategoryInput","nameLocations":["17387:13:30"],"nodeType":"IdentifierPath","referencedDeclaration":8855,"src":"17387:13:30"},"referencedDeclaration":8855,"src":"17387:13:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21768855_storage_ptr","typeString":"struct CyberValleyEventManager.CategoryInput"}},"visibility":"internal"}],"id":9992,"initialValue":{"baseExpression":{"id":9989,"name":"categoriesInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9855,"src":"17414:15:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_CategoryInput_$8855_calldata_ptr_$dyn_calldata_ptr","typeString":"struct CyberValleyEventManager.CategoryInput calldata[] calldata"}},"id":9991,"indexExpression":{"id":9990,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9976,"src":"17430:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"17414:18:30","typeDescriptions":{"typeIdentifier":"t_struct$_CategoryInput_$8855_calldata_ptr","typeString":"struct CyberValleyEventManager.CategoryInput calldata"}},"nodeType":"VariableDeclarationStatement","src":"17387:45:30"},{"expression":{"arguments":[{"id":9994,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9955,"src":"17487:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":9995,"name":"cat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9988,"src":"17512:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21798855_memory_ptr","typeString":"struct CyberValleyEventManager.CategoryInput memory"}},"id":9996,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17516:4:30","memberName":"name","nodeType":"MemberAccess","referencedDeclaration":8848,"src":"17512:8:30","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"expression":{"id":9997,"name":"cat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9988,"src":"17538:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21808855_memory_ptr","typeString":"struct CyberValleyEventManager.CategoryInput memory"}},"id":9998,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17542:18:30","memberName":"discountPercentage","nodeType":"MemberAccess","referencedDeclaration":8850,"src":"17538:22:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"id":9999,"name":"cat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9988,"src":"17578:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21818855_memory_ptr","typeString":"struct CyberValleyEventManager.CategoryInput memory"}},"id":10000,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17582:5:30","memberName":"quota","nodeType":"MemberAccess","referencedDeclaration":8852,"src":"17578:9:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"id":10001,"name":"cat","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9988,"src":"17605:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21828855_memory_ptr","typeString":"struct CyberValleyEventManager.CategoryInput memory"}},"id":10002,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17609:8:30","memberName":"hasQuota","nodeType":"MemberAccess","referencedDeclaration":8854,"src":"17605:12:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":9993,"name":"_createCategoryForEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11296,"src":"17446:23:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_uint16_$_t_uint16_$_t_bool_$returns$__$","typeString":"function (uint256,string memory,uint16,uint16,bool)"}},"id":10003,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17446:185:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10004,"nodeType":"ExpressionStatement","src":"17446:185:30"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":9982,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":9979,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9976,"src":"17340:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":9980,"name":"categoriesInput","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9855,"src":"17344:15:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_CategoryInput_$8855_calldata_ptr_$dyn_calldata_ptr","typeString":"struct CyberValleyEventManager.CategoryInput calldata[] calldata"}},"id":9981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"17360:6:30","memberName":"length","nodeType":"MemberAccess","src":"17344:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"17340:26:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10006,"initializationExpression":{"assignments":[9976],"declarations":[{"constant":false,"id":9976,"mutability":"mutable","name":"i","nameLocation":"17333:1:30","nodeType":"VariableDeclaration","scope":10006,"src":"17325:9:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9975,"name":"uint256","nodeType":"ElementaryTypeName","src":"17325:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":9978,"initialValue":{"hexValue":"30","id":9977,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"17337:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"17325:13:30"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":9984,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"17368:3:30","subExpression":{"id":9983,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9976,"src":"17368:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":9985,"nodeType":"ExpressionStatement","src":"17368:3:30"},"nodeType":"ForStatement","src":"17320:322:30"},{"assignments":[10009],"declarations":[{"constant":false,"id":10009,"mutability":"mutable","name":"newEvent","nameLocation":"17724:8:30","nodeType":"VariableDeclaration","scope":10063,"src":"17710:22:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":10008,"nodeType":"UserDefinedTypeName","pathNode":{"id":10007,"name":"Event","nameLocations":["17710:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"17710:5:30"},"referencedDeclaration":8879,"src":"17710:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21908879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":10013,"initialValue":{"baseExpression":{"id":10010,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"17735:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":10012,"indexExpression":{"id":10011,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9955,"src":"17742:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"17735:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"17710:40:30"},{"assignments":[10016],"declarations":[{"constant":false,"id":10016,"mutability":"mutable","name":"eventPlace","nameLocation":"17779:10:30","nodeType":"VariableDeclaration","scope":10063,"src":"17760:29:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21938827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":10015,"nodeType":"UserDefinedTypeName","pathNode":{"id":10014,"name":"EventPlace","nameLocations":["17760:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"17760:10:30"},"referencedDeclaration":8827,"src":"17760:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21948827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":10021,"initialValue":{"baseExpression":{"id":10017,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"17792:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":10020,"indexExpression":{"expression":{"id":10018,"name":"newEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10009,"src":"17804:8:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10019,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17813:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"17804:21:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"17792:34:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_21978827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"17760:66:30"},{"assignments":[10023],"declarations":[{"constant":false,"id":10023,"mutability":"mutable","name":"hasUnlimited","nameLocation":"17841:12:30","nodeType":"VariableDeclaration","scope":10063,"src":"17836:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10022,"name":"bool","nodeType":"ElementaryTypeName","src":"17836:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":10027,"initialValue":{"arguments":[{"id":10025,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9955,"src":"17883:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10024,"name":"_eventHasUnlimitedCategory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11136,"src":"17856:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256) view returns (bool)"}},"id":10026,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17856:35:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"17836:55:30"},{"condition":{"id":10029,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"17905:13:30","subExpression":{"id":10028,"name":"hasUnlimited","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10023,"src":"17906:12:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10049,"nodeType":"IfStatement","src":"17901:359:30","trueBody":{"id":10048,"nodeType":"Block","src":"17920:340:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10035,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10031,"name":"newEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10009,"src":"17959:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22008879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10032,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"17968:18:30","memberName":"totalCategoryQuota","nodeType":"MemberAccess","referencedDeclaration":8878,"src":"17959:27:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":10033,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10016,"src":"17990:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22018827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10034,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18001:10:30","memberName":"minTickets","nodeType":"MemberAccess","referencedDeclaration":8810,"src":"17990:21:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"17959:52:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"546f74616c207469636b657473206d757374206265206174206c65617374206d696e5469636b657473","id":10036,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"18029:43:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_0f7fc12fcea63edeb4f828e1595038bb9fbf8ba7b17fa3275761ddf60e4673b6","typeString":"literal_string \"Total tickets must be at least minTickets\""},"value":"Total tickets must be at least minTickets"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_0f7fc12fcea63edeb4f828e1595038bb9fbf8ba7b17fa3275761ddf60e4673b6","typeString":"literal_string \"Total tickets must be at least minTickets\""}],"id":10030,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"17934:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"17934:152:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10038,"nodeType":"ExpressionStatement","src":"17934:152:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10044,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10040,"name":"newEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10009,"src":"18125:8:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10041,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18134:18:30","memberName":"totalCategoryQuota","nodeType":"MemberAccess","referencedDeclaration":8878,"src":"18125:27:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":10042,"name":"eventPlace","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10016,"src":"18156:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22068827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10043,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18167:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"18156:21:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"18125:52:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"546f74616c207469636b6574732063616e6e6f7420657863656564206d61785469636b657473","id":10045,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"18195:40:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_e1a0467b570b305add24a7581ab6e7db23d458ac054104b82e0b08da90318c69","typeString":"literal_string \"Total tickets cannot exceed maxTickets\""},"value":"Total tickets cannot exceed maxTickets"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e1a0467b570b305add24a7581ab6e7db23d458ac054104b82e0b08da90318c69","typeString":"literal_string \"Total tickets cannot exceed maxTickets\""}],"id":10039,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"18100:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10046,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18100:149:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10047,"nodeType":"ExpressionStatement","src":"18100:149:30"}]}},{"eventCall":{"arguments":[{"id":10051,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9955,"src":"18304:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10052,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"18325:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":10053,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18329:6:30","memberName":"sender","nodeType":"MemberAccess","src":"18325:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":10054,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9839,"src":"18349:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10055,"name":"ticketPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9841,"src":"18375:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10056,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9843,"src":"18400:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10057,"name":"daysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9845,"src":"18423:10:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":10058,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9847,"src":"18447:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":10059,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9849,"src":"18467:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10060,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9851,"src":"18493:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":10050,"name":"NewEventRequest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8952,"src":"18275:15:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint16_$_t_bytes32_$_t_uint8_$_t_uint8_$returns$__$","typeString":"function (uint256,address,uint256,uint256,uint256,uint16,bytes32,uint8,uint8)"}},"id":10061,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18275:232:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10062,"nodeType":"EmitStatement","src":"18270:237:30"}]},"functionSelector":"a74d237a","id":10064,"implemented":true,"kind":"function","modifiers":[],"name":"submitEventRequest","nameLocation":"15381:18:30","nodeType":"FunctionDefinition","parameters":{"id":9856,"nodeType":"ParameterList","parameters":[{"constant":false,"id":9839,"mutability":"mutable","name":"eventPlaceId","nameLocation":"15417:12:30","nodeType":"VariableDeclaration","scope":10064,"src":"15409:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9838,"name":"uint256","nodeType":"ElementaryTypeName","src":"15409:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9841,"mutability":"mutable","name":"ticketPrice","nameLocation":"15447:11:30","nodeType":"VariableDeclaration","scope":10064,"src":"15439:19:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9840,"name":"uint256","nodeType":"ElementaryTypeName","src":"15439:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9843,"mutability":"mutable","name":"startDate","nameLocation":"15476:9:30","nodeType":"VariableDeclaration","scope":10064,"src":"15468:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":9842,"name":"uint256","nodeType":"ElementaryTypeName","src":"15468:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":9845,"mutability":"mutable","name":"daysAmount","nameLocation":"15502:10:30","nodeType":"VariableDeclaration","scope":10064,"src":"15495:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":9844,"name":"uint16","nodeType":"ElementaryTypeName","src":"15495:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":9847,"mutability":"mutable","name":"digest","nameLocation":"15530:6:30","nodeType":"VariableDeclaration","scope":10064,"src":"15522:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":9846,"name":"bytes32","nodeType":"ElementaryTypeName","src":"15522:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":9849,"mutability":"mutable","name":"hashFunction","nameLocation":"15552:12:30","nodeType":"VariableDeclaration","scope":10064,"src":"15546:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9848,"name":"uint8","nodeType":"ElementaryTypeName","src":"15546:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9851,"mutability":"mutable","name":"size","nameLocation":"15580:4:30","nodeType":"VariableDeclaration","scope":10064,"src":"15574:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":9850,"name":"uint8","nodeType":"ElementaryTypeName","src":"15574:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":9855,"mutability":"mutable","name":"categoriesInput","nameLocation":"15619:15:30","nodeType":"VariableDeclaration","scope":10064,"src":"15594:40:30","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_22188855_calldata_ptr_$dyn_calldata_ptr","typeString":"struct CyberValleyEventManager.CategoryInput[]"},"typeName":{"baseType":{"id":9853,"nodeType":"UserDefinedTypeName","pathNode":{"id":9852,"name":"CategoryInput","nameLocations":["15594:13:30"],"nodeType":"IdentifierPath","referencedDeclaration":8855,"src":"15594:13:30"},"referencedDeclaration":8855,"src":"15594:13:30","typeDescriptions":{"typeIdentifier":"t_struct$_CategoryInput_$8855_storage_ptr","typeString":"struct CyberValleyEventManager.CategoryInput"}},"id":9854,"nodeType":"ArrayTypeName","src":"15594:15:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_CategoryInput_$8855_storage_$dyn_storage_ptr","typeString":"struct CyberValleyEventManager.CategoryInput[]"}},"visibility":"internal"}],"src":"15399:241:30"},"returnParameters":{"id":9857,"nodeType":"ParameterList","parameters":[],"src":"15650:0:30"},"scope":11595,"src":"15372:3142:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":10153,"nodeType":"Block","src":"18674:1107:30","statements":[{"assignments":[10078],"declarations":[{"constant":false,"id":10078,"mutability":"mutable","name":"evt","nameLocation":"18698:3:30","nodeType":"VariableDeclaration","scope":10153,"src":"18684:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":10077,"nodeType":"UserDefinedTypeName","pathNode":{"id":10076,"name":"Event","nameLocations":["18684:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"18684:5:30"},"referencedDeclaration":8879,"src":"18684:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22228879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":10082,"initialValue":{"baseExpression":{"id":10079,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"18704:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":10081,"indexExpression":{"id":10080,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10066,"src":"18711:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"18704:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"18684:35:30"},{"expression":{"arguments":[{"expression":{"id":10084,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10078,"src":"18766:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22258879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10085,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18770:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"18766:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10083,"name":"ensureEventBelongsToProviderOrMaster","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11171,"src":"18729:36:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":10086,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18729:54:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10087,"nodeType":"ExpressionStatement","src":"18729:54:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_22298833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":10093,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10089,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10078,"src":"18814:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22308879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10090,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"18818:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"18814:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_22318833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":10091,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"18828:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10092,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"18840:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8828,"src":"18828:21:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"18814:35:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e742073746174757320646966666572732066726f6d207375626d6974746564","id":10094,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"18863:37:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_06224f1432fedde1c063e2ca67d8bee0a134c248b1a13cebd578e08bbaa2f7cb","typeString":"literal_string \"Event status differs from submitted\""},"value":"Event status differs from submitted"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_06224f1432fedde1c063e2ca67d8bee0a134c248b1a13cebd578e08bbaa2f7cb","typeString":"literal_string \"Event status differs from submitted\""}],"id":10088,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"18793:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10095,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18793:117:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10096,"nodeType":"ExpressionStatement","src":"18793:117:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10103,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":10098,"name":"categoryCounters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9043,"src":"18941:16:30","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[] storage ref)"}},"id":10100,"indexExpression":{"id":10099,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10066,"src":"18958:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"18941:25:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":10101,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"18967:6:30","memberName":"length","nodeType":"MemberAccess","src":"18941:32:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":10102,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"18976:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"18941:36:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74206d7573742068617665206174206c65617374206f6e652063617465676f7279","id":10104,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"18991:39:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_736c06774e50a7a0449c963a1dee8c2f5dd3cdef2943c2bc5623b51dbbbe0bf4","typeString":"literal_string \"Event must have at least one category\""},"value":"Event must have at least one category"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_736c06774e50a7a0449c963a1dee8c2f5dd3cdef2943c2bc5623b51dbbbe0bf4","typeString":"literal_string \"Event must have at least one category\""}],"id":10097,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"18920:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10105,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"18920:120:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10106,"nodeType":"ExpressionStatement","src":"18920:120:30"},{"expression":{"arguments":[{"arguments":[{"id":10112,"name":"distributionProfileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10068,"src":"19213:21:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10113,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"19252:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":10114,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19256:6:30","memberName":"sender","nodeType":"MemberAccess","src":"19252:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":10109,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"19164:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":10108,"name":"IDynamicRevenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14870,"src":"19140:23:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_224514870_$","typeString":"type(contract IDynamicRevenueSplitter)"}},"id":10110,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19140:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IDynamicRevenueSplitter_$14870","typeString":"contract IDynamicRevenueSplitter"}},"id":10111,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19181:14:30","memberName":"isProfileOwner","nodeType":"MemberAccess","referencedDeclaration":14849,"src":"19140:55:30","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_uint256_$_t_address_$returns$_t_bool_$","typeString":"function (uint256,address) view external returns (bool)"}},"id":10115,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19140:136:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43616c6c6572206d757374206f776e2074686520646973747269627574696f6e2070726f66696c65","id":10116,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"19290:42:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_c7b8b80b4251af47992e78e217976da6fb745b11109bf11e15a9d453fc26f65c","typeString":"literal_string \"Caller must own the distribution profile\""},"value":"Caller must own the distribution profile"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c7b8b80b4251af47992e78e217976da6fb745b11109bf11e15a9d453fc26f65c","typeString":"literal_string \"Caller must own the distribution profile\""}],"id":10107,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"19119:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10117,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19119:223:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10118,"nodeType":"ExpressionStatement","src":"19119:223:30"},{"expression":{"arguments":[{"id":10123,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10066,"src":"19472:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10124,"name":"distributionProfileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10068,"src":"19493:21:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":10120,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"19426:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":10119,"name":"IDynamicRevenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14870,"src":"19402:23:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IDynamicRevenueSplitter_$14870_$","typeString":"type(contract IDynamicRevenueSplitter)"}},"id":10121,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19402:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IDynamicRevenueSplitter_$14870","typeString":"contract IDynamicRevenueSplitter"}},"id":10122,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"19443:15:30","memberName":"setEventProfile","nodeType":"MemberAccess","referencedDeclaration":14840,"src":"19402:56:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256) external"}},"id":10125,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19402:122:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10126,"nodeType":"ExpressionStatement","src":"19402:122:30"},{"expression":{"arguments":[{"expression":{"id":10128,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10078,"src":"19566:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10129,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19570:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"19566:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10130,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10078,"src":"19596:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22598879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10131,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19600:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"19596:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"expression":{"id":10133,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10078,"src":"19637:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22608879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10134,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19641:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"19637:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10135,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10078,"src":"19652:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22618879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10136,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19656:10:30","memberName":"daysAmount","nodeType":"MemberAccess","referencedDeclaration":8865,"src":"19652:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":10132,"name":"calcDaysAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11074,"src":"19623:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":10137,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19623:44:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10127,"name":"allocateDateRange","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12743,"src":"19535:17:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256,uint256,uint256) returns (bool)"}},"id":10138,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19535:142:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10139,"nodeType":"ExpressionStatement","src":"19535:142:30"},{"expression":{"id":10145,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10140,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10078,"src":"19687:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10142,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"19691:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"19687:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_22688833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":10143,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"19700:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10144,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"19712:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8829,"src":"19700:20:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"19687:33:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_22718833","typeString":"enum CyberValleyEventManager.EventStatus"}},"id":10146,"nodeType":"ExpressionStatement","src":"19687:33:30"},{"eventCall":{"arguments":[{"id":10148,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10066,"src":"19754:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10149,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10078,"src":"19763:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22728879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10150,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19767:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"19763:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_22738833","typeString":"enum CyberValleyEventManager.EventStatus"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_22748833","typeString":"enum CyberValleyEventManager.EventStatus"}],"id":10147,"name":"EventStatusChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8959,"src":"19735:18:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_enumMATH_PLACEHOLDER_22768833_$returns$__$","typeString":"function (uint256,enum CyberValleyEventManager.EventStatus)"}},"id":10151,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19735:39:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10152,"nodeType":"EmitStatement","src":"19730:44:30"}]},"functionSelector":"af1194be","id":10154,"implemented":true,"kind":"function","modifiers":[{"id":10071,"kind":"modifierInvocation","modifierName":{"id":10070,"name":"onlyLocalProviderOrMaster","nameLocations":["18621:25:30"],"nodeType":"IdentifierPath","referencedDeclaration":8798,"src":"18621:25:30"},"nodeType":"ModifierInvocation","src":"18621:25:30"},{"arguments":[{"id":10073,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10066,"src":"18665:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10074,"kind":"modifierInvocation","modifierName":{"id":10072,"name":"onlyExistingEvent","nameLocations":["18647:17:30"],"nodeType":"IdentifierPath","referencedDeclaration":9057,"src":"18647:17:30"},"nodeType":"ModifierInvocation","src":"18647:26:30"}],"name":"approveEvent","nameLocation":"18529:12:30","nodeType":"FunctionDefinition","parameters":{"id":10069,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10066,"mutability":"mutable","name":"eventId","nameLocation":"18559:7:30","nodeType":"VariableDeclaration","scope":10154,"src":"18551:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10065,"name":"uint256","nodeType":"ElementaryTypeName","src":"18551:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10068,"mutability":"mutable","name":"distributionProfileId","nameLocation":"18584:21:30","nodeType":"VariableDeclaration","scope":10154,"src":"18576:29:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10067,"name":"uint256","nodeType":"ElementaryTypeName","src":"18576:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"18541:70:30"},"returnParameters":{"id":10075,"nodeType":"ParameterList","parameters":[],"src":"18674:0:30"},"scope":11595,"src":"18520:1261:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":10230,"nodeType":"Block","src":"19902:704:30","statements":[{"assignments":[10166],"declarations":[{"constant":false,"id":10166,"mutability":"mutable","name":"evt","nameLocation":"19926:3:30","nodeType":"VariableDeclaration","scope":10230,"src":"19912:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":10165,"nodeType":"UserDefinedTypeName","pathNode":{"id":10164,"name":"Event","nameLocations":["19912:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"19912:5:30"},"referencedDeclaration":8879,"src":"19912:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22808879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":10170,"initialValue":{"baseExpression":{"id":10167,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"19932:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":10169,"indexExpression":{"id":10168,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10156,"src":"19939:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"19932:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"19912:35:30"},{"expression":{"arguments":[{"expression":{"id":10172,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"19994:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22838879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10173,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"19998:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"19994:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10171,"name":"ensureEventBelongsToProviderOrMaster","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11171,"src":"19957:36:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":10174,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"19957:54:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10175,"nodeType":"ExpressionStatement","src":"19957:54:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_22878833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":10181,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10177,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20042:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22888879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10178,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20046:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"20042:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_22898833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":10179,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"20056:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10180,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"20068:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8828,"src":"20056:21:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"20042:35:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e742073746174757320646966666572732066726f6d207375626d6974746564","id":10182,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"20091:37:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_06224f1432fedde1c063e2ca67d8bee0a134c248b1a13cebd578e08bbaa2f7cb","typeString":"literal_string \"Event status differs from submitted\""},"value":"Event status differs from submitted"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_06224f1432fedde1c063e2ca67d8bee0a134c248b1a13cebd578e08bbaa2f7cb","typeString":"literal_string \"Event status differs from submitted\""}],"id":10176,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"20021:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10183,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20021:117:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10184,"nodeType":"ExpressionStatement","src":"20021:117:30"},{"assignments":[10187],"declarations":[{"constant":false,"id":10187,"mutability":"mutable","name":"place","nameLocation":"20167:5:30","nodeType":"VariableDeclaration","scope":10230,"src":"20148:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":10186,"nodeType":"UserDefinedTypeName","pathNode":{"id":10185,"name":"EventPlace","nameLocations":["20148:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"20148:10:30"},"referencedDeclaration":8827,"src":"20148:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22968827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":10192,"initialValue":{"baseExpression":{"id":10188,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"20175:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":10191,"indexExpression":{"expression":{"id":10189,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20187:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10190,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20191:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"20187:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"20175:29:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_22998827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"20148:56:30"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":10196,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20262:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23008879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10197,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20266:7:30","memberName":"creator","nodeType":"MemberAccess","referencedDeclaration":8857,"src":"20262:11:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":10198,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10187,"src":"20275:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23018827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10199,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20281:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"20275:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":10194,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"20235:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_23021133","typeString":"contract IERC20"}},"id":10195,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"20253:8:30","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":1100,"src":"20235:26:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":10200,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20235:63:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4661696c656420746f20726566756e64206576656e742072657175657374","id":10201,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"20312:32:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_ec35b5d5aca7ef809f1b197c1e9edd9eba87b845e9b6e97a6dab757b1f9be765","typeString":"literal_string \"Failed to refund event request\""},"value":"Failed to refund event request"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ec35b5d5aca7ef809f1b197c1e9edd9eba87b845e9b6e97a6dab757b1f9be765","typeString":"literal_string \"Failed to refund event request\""}],"id":10193,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"20214:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10202,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20214:140:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10203,"nodeType":"ExpressionStatement","src":"20214:140:30"},{"expression":{"id":10209,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10204,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20364:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23098879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10206,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"20368:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"20364:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_23108833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":10207,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"20377:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10208,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"20389:8:30","memberName":"Declined","nodeType":"MemberAccess","referencedDeclaration":8830,"src":"20377:20:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"20364:33:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_23138833","typeString":"enum CyberValleyEventManager.EventStatus"}},"id":10210,"nodeType":"ExpressionStatement","src":"20364:33:30"},{"expression":{"arguments":[{"expression":{"id":10212,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20434:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23148879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10213,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20438:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"20434:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10214,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20464:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23158879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10215,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20468:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"20464:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"expression":{"id":10217,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20505:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23168879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10218,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20509:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"20505:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10219,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20520:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23178879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10220,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20524:10:30","memberName":"daysAmount","nodeType":"MemberAccess","referencedDeclaration":8865,"src":"20520:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":10216,"name":"calcDaysAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11074,"src":"20491:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":10221,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20491:44:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10211,"name":"freeDateRange","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12646,"src":"20407:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256,uint256,uint256) returns (bool)"}},"id":10222,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20407:138:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10223,"nodeType":"ExpressionStatement","src":"20407:138:30"},{"eventCall":{"arguments":[{"id":10225,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10156,"src":"20579:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10226,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10166,"src":"20588:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10227,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"20592:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"20588:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_23248833","typeString":"enum CyberValleyEventManager.EventStatus"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_23258833","typeString":"enum CyberValleyEventManager.EventStatus"}],"id":10224,"name":"EventStatusChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8959,"src":"20560:18:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_enumMATH_PLACEHOLDER_23278833_$returns$__$","typeString":"function (uint256,enum CyberValleyEventManager.EventStatus)"}},"id":10228,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20560:39:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10229,"nodeType":"EmitStatement","src":"20555:44:30"}]},"functionSelector":"c31da59b","id":10231,"implemented":true,"kind":"function","modifiers":[{"id":10159,"kind":"modifierInvocation","modifierName":{"id":10158,"name":"onlyLocalProviderOrMaster","nameLocations":["19849:25:30"],"nodeType":"IdentifierPath","referencedDeclaration":8798,"src":"19849:25:30"},"nodeType":"ModifierInvocation","src":"19849:25:30"},{"arguments":[{"id":10161,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10156,"src":"19893:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10162,"kind":"modifierInvocation","modifierName":{"id":10160,"name":"onlyExistingEvent","nameLocations":["19875:17:30"],"nodeType":"IdentifierPath","referencedDeclaration":9057,"src":"19875:17:30"},"nodeType":"ModifierInvocation","src":"19875:26:30"}],"name":"declineEvent","nameLocation":"19796:12:30","nodeType":"FunctionDefinition","parameters":{"id":10157,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10156,"mutability":"mutable","name":"eventId","nameLocation":"19826:7:30","nodeType":"VariableDeclaration","scope":10231,"src":"19818:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10155,"name":"uint256","nodeType":"ElementaryTypeName","src":"19818:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"19808:31:30"},"returnParameters":{"id":10163,"nodeType":"ParameterList","parameters":[],"src":"19902:0:30"},"scope":11595,"src":"19787:819:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":10373,"nodeType":"Block","src":"20915:1523:30","statements":[{"assignments":[10258],"declarations":[{"constant":false,"id":10258,"mutability":"mutable","name":"evt","nameLocation":"20939:3:30","nodeType":"VariableDeclaration","scope":10373,"src":"20925:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":10257,"nodeType":"UserDefinedTypeName","pathNode":{"id":10256,"name":"Event","nameLocations":["20925:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"20925:5:30"},"referencedDeclaration":8879,"src":"20925:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23318879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":10262,"initialValue":{"baseExpression":{"id":10259,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"20945:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":10261,"indexExpression":{"id":10260,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10233,"src":"20952:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"20945:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"20925:35:30"},{"expression":{"arguments":[{"expression":{"id":10264,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"20999:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23348879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10265,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"21003:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"20999:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10263,"name":"ensureEventBelongsToProvider","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11153,"src":"20970:28:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":10266,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"20970:46:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10267,"nodeType":"ExpressionStatement","src":"20970:46:30"},{"assignments":[10269],"declarations":[{"constant":false,"id":10269,"mutability":"mutable","name":"oldEventPlaceId","nameLocation":"21094:15:30","nodeType":"VariableDeclaration","scope":10373,"src":"21086:23:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10268,"name":"uint256","nodeType":"ElementaryTypeName","src":"21086:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10272,"initialValue":{"expression":{"id":10270,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21112:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23388879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10271,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"21116:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"21112:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"21086:42:30"},{"assignments":[10274],"declarations":[{"constant":false,"id":10274,"mutability":"mutable","name":"oldStartDate","nameLocation":"21146:12:30","nodeType":"VariableDeclaration","scope":10373,"src":"21138:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10273,"name":"uint256","nodeType":"ElementaryTypeName","src":"21138:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10277,"initialValue":{"expression":{"id":10275,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21161:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23398879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10276,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"21165:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"21161:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"21138:36:30"},{"assignments":[10279],"declarations":[{"constant":false,"id":10279,"mutability":"mutable","name":"oldDaysAmount","nameLocation":"21192:13:30","nodeType":"VariableDeclaration","scope":10373,"src":"21184:21:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10278,"name":"uint256","nodeType":"ElementaryTypeName","src":"21184:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10282,"initialValue":{"expression":{"id":10280,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21208:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23408879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10281,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"21212:10:30","memberName":"daysAmount","nodeType":"MemberAccess","referencedDeclaration":8865,"src":"21208:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"VariableDeclarationStatement","src":"21184:38:30"},{"assignments":[10284],"declarations":[{"constant":false,"id":10284,"mutability":"mutable","name":"realloc","nameLocation":"21246:7:30","nodeType":"VariableDeclaration","scope":10373,"src":"21241:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":10283,"name":"bool","nodeType":"ElementaryTypeName","src":"21241:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":10296,"initialValue":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":10295,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":10291,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10287,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10285,"name":"oldEventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10269,"src":"21256:15:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":10286,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10235,"src":"21275:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"21256:31:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10290,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10288,"name":"oldStartDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10274,"src":"21303:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":10289,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10239,"src":"21319:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"21303:25:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"21256:72:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10294,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10292,"name":"oldDaysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10279,"src":"21344:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":10293,"name":"daysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10241,"src":"21361:10:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"21344:27:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"21256:115:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"21241:130:30"},{"expression":{"id":10301,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10297,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21390:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23418879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10299,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"21394:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"21390:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":10300,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10235,"src":"21409:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"21390:31:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10302,"nodeType":"ExpressionStatement","src":"21390:31:30"},{"expression":{"id":10307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10303,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21431:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23428879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10305,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"21435:11:30","memberName":"ticketPrice","nodeType":"MemberAccess","referencedDeclaration":8861,"src":"21431:15:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":10306,"name":"ticketPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10237,"src":"21449:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"21431:29:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10308,"nodeType":"ExpressionStatement","src":"21431:29:30"},{"expression":{"id":10315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10309,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21470:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23438879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10311,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"21474:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"21470:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":10313,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10239,"src":"21507:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10312,"name":"floorTimestampToDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11055,"src":"21486:20:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":10314,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21486:31:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"21470:47:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10316,"nodeType":"ExpressionStatement","src":"21470:47:30"},{"expression":{"id":10321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10317,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21527:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23468879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10319,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"21531:10:30","memberName":"daysAmount","nodeType":"MemberAccess","referencedDeclaration":8865,"src":"21527:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":10320,"name":"daysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10241,"src":"21544:10:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"21527:27:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":10322,"nodeType":"ExpressionStatement","src":"21527:27:30"},{"expression":{"id":10332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10323,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21564:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23478879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10325,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"21568:4:30","memberName":"meta","nodeType":"MemberAccess","referencedDeclaration":8874,"src":"21564:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23488744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":10328,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10243,"src":"21619:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":10329,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10245,"src":"21653:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10330,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10247,"src":"21685:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"id":10326,"name":"CyberValley","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8745,"src":"21575:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CyberValley_$8745_$","typeString":"type(library CyberValley)"}},"id":10327,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"21587:9:30","memberName":"Multihash","nodeType":"MemberAccess","referencedDeclaration":8744,"src":"21575:21:30","typeDescriptions":{"typeIdentifier":"t_type$_t_structMATH_PLACEHOLDER_23518744_storage_ptr_$","typeString":"type(struct CyberValley.Multihash storage pointer)"}},"id":10331,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["21611:6:30","21639:12:30","21679:4:30"],"names":["digest","hashFunction","size"],"nodeType":"FunctionCall","src":"21575:125:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},"src":"21564:136:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23538744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":10333,"nodeType":"ExpressionStatement","src":"21564:136:30"},{"expression":{"arguments":[{"id":10335,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"21724:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23548879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_23558879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}],"id":10334,"name":"validateEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10479,"src":"21710:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_struct$_Event_$8879_storage_ptr_$returns$__$","typeString":"function (struct CyberValleyEventManager.Event storage pointer) view"}},"id":10336,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21710:18:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10337,"nodeType":"ExpressionStatement","src":"21710:18:30"},{"condition":{"id":10338,"name":"realloc","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10284,"src":"21742:7:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10361,"nodeType":"IfStatement","src":"21738:474:30","trueBody":{"id":10360,"nodeType":"Block","src":"21751:461:30","statements":[{"expression":{"arguments":[{"id":10340,"name":"oldEventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10269,"src":"21854:15:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10341,"name":"oldStartDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10274,"src":"21887:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"id":10343,"name":"oldStartDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10274,"src":"21931:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10344,"name":"oldDaysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10279,"src":"21945:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10342,"name":"calcDaysAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11074,"src":"21917:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":10345,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21917:42:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10339,"name":"freeDateRange","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12646,"src":"21823:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256,uint256,uint256) returns (bool)"}},"id":10346,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"21823:150:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10347,"nodeType":"ExpressionStatement","src":"21823:150:30"},{"expression":{"arguments":[{"id":10349,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10235,"src":"22082:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10350,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"22112:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23658879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10351,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22116:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"22112:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"expression":{"id":10353,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"22157:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23668879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10354,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22161:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"22157:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10355,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10258,"src":"22172:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23678879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10356,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22176:10:30","memberName":"daysAmount","nodeType":"MemberAccess","referencedDeclaration":8865,"src":"22172:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":10352,"name":"calcDaysAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11074,"src":"22143:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":10357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22143:44:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10348,"name":"allocateDateRange","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12743,"src":"22047:17:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256,uint256,uint256) returns (bool)"}},"id":10358,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22047:154:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10359,"nodeType":"ExpressionStatement","src":"22047:154:30"}]}},{"eventCall":{"arguments":[{"id":10363,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10233,"src":"22252:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10364,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10235,"src":"22273:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10365,"name":"ticketPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10237,"src":"22299:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10366,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10239,"src":"22324:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10367,"name":"daysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10241,"src":"22347:10:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":10368,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10243,"src":"22371:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":10369,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10245,"src":"22391:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10370,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10247,"src":"22417:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":10362,"name":"EventUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8977,"src":"22226:12:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint256_$_t_uint16_$_t_bytes32_$_t_uint8_$_t_uint8_$returns$__$","typeString":"function (uint256,uint256,uint256,uint256,uint16,bytes32,uint8,uint8)"}},"id":10371,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22226:205:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10372,"nodeType":"EmitStatement","src":"22221:210:30"}]},"functionSelector":"d7a8d96f","id":10374,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":10250,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"20867:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":10251,"kind":"modifierInvocation","modifierName":{"id":10249,"name":"onlyRole","nameLocations":["20858:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"20858:8:30"},"nodeType":"ModifierInvocation","src":"20858:29:30"},{"arguments":[{"id":10253,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10233,"src":"20906:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10254,"kind":"modifierInvocation","modifierName":{"id":10252,"name":"onlyExistingEvent","nameLocations":["20888:17:30"],"nodeType":"IdentifierPath","referencedDeclaration":9057,"src":"20888:17:30"},"nodeType":"ModifierInvocation","src":"20888:26:30"}],"name":"updateEvent","nameLocation":"20621:11:30","nodeType":"FunctionDefinition","parameters":{"id":10248,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10233,"mutability":"mutable","name":"eventId","nameLocation":"20650:7:30","nodeType":"VariableDeclaration","scope":10374,"src":"20642:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10232,"name":"uint256","nodeType":"ElementaryTypeName","src":"20642:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10235,"mutability":"mutable","name":"eventPlaceId","nameLocation":"20675:12:30","nodeType":"VariableDeclaration","scope":10374,"src":"20667:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10234,"name":"uint256","nodeType":"ElementaryTypeName","src":"20667:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10237,"mutability":"mutable","name":"ticketPrice","nameLocation":"20705:11:30","nodeType":"VariableDeclaration","scope":10374,"src":"20697:19:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10236,"name":"uint256","nodeType":"ElementaryTypeName","src":"20697:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10239,"mutability":"mutable","name":"startDate","nameLocation":"20734:9:30","nodeType":"VariableDeclaration","scope":10374,"src":"20726:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10238,"name":"uint256","nodeType":"ElementaryTypeName","src":"20726:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10241,"mutability":"mutable","name":"daysAmount","nameLocation":"20760:10:30","nodeType":"VariableDeclaration","scope":10374,"src":"20753:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":10240,"name":"uint16","nodeType":"ElementaryTypeName","src":"20753:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":10243,"mutability":"mutable","name":"digest","nameLocation":"20788:6:30","nodeType":"VariableDeclaration","scope":10374,"src":"20780:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":10242,"name":"bytes32","nodeType":"ElementaryTypeName","src":"20780:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":10245,"mutability":"mutable","name":"hashFunction","nameLocation":"20810:12:30","nodeType":"VariableDeclaration","scope":10374,"src":"20804:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":10244,"name":"uint8","nodeType":"ElementaryTypeName","src":"20804:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":10247,"mutability":"mutable","name":"size","nameLocation":"20838:4:30","nodeType":"VariableDeclaration","scope":10374,"src":"20832:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":10246,"name":"uint8","nodeType":"ElementaryTypeName","src":"20832:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"20632:216:30"},"returnParameters":{"id":10255,"nodeType":"ParameterList","parameters":[],"src":"20915:0:30"},"scope":11595,"src":"20612:1826:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":10478,"nodeType":"Block","src":"22500:1454:30","statements":[{"assignments":[10382],"declarations":[{"constant":false,"id":10382,"mutability":"mutable","name":"place","nameLocation":"22529:5:30","nodeType":"VariableDeclaration","scope":10478,"src":"22510:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23808827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":10381,"nodeType":"UserDefinedTypeName","pathNode":{"id":10380,"name":"EventPlace","nameLocations":["22510:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"22510:10:30"},"referencedDeclaration":8827,"src":"22510:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23818827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":10387,"initialValue":{"baseExpression":{"id":10383,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"22537:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":10386,"indexExpression":{"expression":{"id":10384,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"22549:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10385,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22553:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"22549:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"22537:29:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23848827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"22510:56:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_23858833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":10393,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10389,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"22584:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23868879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10390,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22588:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"22584:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_23878833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":10391,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"22598:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10392,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"22610:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8829,"src":"22598:20:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"22584:34:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74206973206e6f7420617661696c61626c65","id":10394,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"22620:24:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_bf0f8f006f244064de7812dcc07337d3cf591fdb19f762573db90f707d327d5b","typeString":"literal_string \"Event is not available\""},"value":"Event is not available"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_bf0f8f006f244064de7812dcc07337d3cf591fdb19f762573db90f707d327d5b","typeString":"literal_string \"Event is not available\""}],"id":10388,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"22576:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10395,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22576:69:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10396,"nodeType":"ExpressionStatement","src":"22576:69:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"},"id":10402,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10398,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10382,"src":"22676:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_23948827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10399,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22682:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8821,"src":"22676:12:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_23958802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":10400,"name":"EventPlaceStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8802,"src":"22692:16:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventPlaceStatus_$8802_$","typeString":"type(enum CyberValleyEventManager.EventPlaceStatus)"}},"id":10401,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"22709:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8800,"src":"22692:25:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventPlaceStatus_$8802","typeString":"enum CyberValleyEventManager.EventPlaceStatus"}},"src":"22676:41:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c616365206d75737420626520617070726f766564","id":10403,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"22731:29:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_ab28c35b17d003266a672f4ba7faa150329e33c8def779b183b5ae475cf3cb4e","typeString":"literal_string \"EventPlace must be approved\""},"value":"EventPlace must be approved"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ab28c35b17d003266a672f4ba7faa150329e33c8def779b183b5ae475cf3cb4e","typeString":"literal_string \"EventPlace must be approved\""}],"id":10397,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"22655:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10404,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22655:115:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10405,"nodeType":"ExpressionStatement","src":"22655:115:30"},{"expression":{"arguments":[{"expression":{"id":10407,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10382,"src":"22801:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10408,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22807:9:30","memberName":"available","nodeType":"MemberAccess","referencedDeclaration":8818,"src":"22801:15:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74506c616365206973206e6f7420617661696c61626c65","id":10409,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"22830:29:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_e0be45dbdef55a342ddc6be8f6beeac54017fc83d593cd78d0244f518039d847","typeString":"literal_string \"EventPlace is not available\""},"value":"EventPlace is not available"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e0be45dbdef55a342ddc6be8f6beeac54017fc83d593cd78d0244f518039d847","typeString":"literal_string \"EventPlace is not available\""}],"id":10406,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"22780:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10410,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22780:89:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10411,"nodeType":"ExpressionStatement","src":"22780:89:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10417,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10413,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10382,"src":"22900:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10414,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22906:8:30","memberName":"minPrice","nodeType":"MemberAccess","referencedDeclaration":8812,"src":"22900:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":10415,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"22918:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24068879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10416,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"22922:11:30","memberName":"ticketPrice","nodeType":"MemberAccess","referencedDeclaration":8861,"src":"22918:15:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"22900:33:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5469636b6574207072696365206973206c657373207468616e20616c6c6f776564","id":10418,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"22947:35:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_e3b70648ee83f3858912b548177bbc90be280129335d1b71b6c790a383f6209f","typeString":"literal_string \"Ticket price is less than allowed\""},"value":"Ticket price is less than allowed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e3b70648ee83f3858912b548177bbc90be280129335d1b71b6c790a383f6209f","typeString":"literal_string \"Ticket price is less than allowed\""}],"id":10412,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"22879:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10419,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"22879:113:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10420,"nodeType":"ExpressionStatement","src":"22879:113:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":10426,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10422,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10382,"src":"23023:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10423,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23029:7:30","memberName":"minDays","nodeType":"MemberAccess","referencedDeclaration":8816,"src":"23023:13:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":10424,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"23040:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24118879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10425,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23044:10:30","memberName":"daysAmount","nodeType":"MemberAccess","referencedDeclaration":8865,"src":"23040:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"23023:31:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4461797320616d6f756e74206973206c657373207468616e20616c6c6f776564","id":10427,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"23068:34:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_9570867c1f7687ec86981da43fc229a62b386c06800df1892319db9847e5f186","typeString":"literal_string \"Days amount is less than allowed\""},"value":"Days amount is less than allowed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_9570867c1f7687ec86981da43fc229a62b386c06800df1892319db9847e5f186","typeString":"literal_string \"Days amount is less than allowed\""}],"id":10421,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"23002:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10428,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23002:110:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10429,"nodeType":"ExpressionStatement","src":"23002:110:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10440,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":10432,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"23164:5:30","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":10433,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23170:9:30","memberName":"timestamp","nodeType":"MemberAccess","src":"23164:15:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10431,"name":"floorTimestampToDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11055,"src":"23143:20:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":10434,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23143:37:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10439,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10435,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"23199:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"components":[{"expression":{"id":10436,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10382,"src":"23233:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10437,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23239:16:30","memberName":"daysBeforeCancel","nodeType":"MemberAccess","referencedDeclaration":8814,"src":"23233:22:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":10438,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"23232:24:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"23199:57:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23143:113:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":10441,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"23276:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24188879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10442,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23280:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"23276:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23143:146:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e6f7420656e6f7567682074696d6520746f2061766f69642063616e63656c6c696e67","id":10444,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"23303:37:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_99e5ea764033962931981b6b95bb326a566ab47d85edf2d9d9aee40b84f0b80b","typeString":"literal_string \"Not enough time to avoid cancelling\""},"value":"Not enough time to avoid cancelling"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_99e5ea764033962931981b6b95bb326a566ab47d85edf2d9d9aee40b84f0b80b","typeString":"literal_string \"Not enough time to avoid cancelling\""}],"id":10430,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"23122:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10445,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23122:228:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10446,"nodeType":"ExpressionStatement","src":"23122:228:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10448,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"23530:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10449,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23534:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"23530:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"arguments":[{"expression":{"id":10451,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"23567:5:30","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":10452,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"23573:9:30","memberName":"timestamp","nodeType":"MemberAccess","src":"23567:15:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10450,"name":"floorTimestampToDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11055,"src":"23546:20:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) pure returns (uint256)"}},"id":10453,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23546:37:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23530:53:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10457,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":10455,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"23603:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":10456,"name":"BUCKET_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12406,"src":"23620:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23603:28:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"23530:101:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"526571756573746564206576656e7420697320746f6f2066617220696e2074686520667574757265","id":10459,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"23645:42:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_d75525eefd3514936861347f5018a1c87f909bc49af025c3a793fa18f9f7e807","typeString":"literal_string \"Requested event is too far in the future\""},"value":"Requested event is too far in the future"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d75525eefd3514936861347f5018a1c87f909bc49af025c3a793fa18f9f7e807","typeString":"literal_string \"Requested event is too far in the future\""}],"id":10447,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"23509:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10460,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23509:188:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10461,"nodeType":"ExpressionStatement","src":"23509:188:30"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":10464,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"23760:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10465,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23764:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"23760:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10466,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"23794:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24298879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10467,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23798:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"23794:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"arguments":[{"expression":{"id":10469,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"23839:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24308879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10470,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23843:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"23839:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10471,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10377,"src":"23854:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24318879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10472,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"23858:10:30","memberName":"daysAmount","nodeType":"MemberAccess","referencedDeclaration":8865,"src":"23854:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":10468,"name":"calcDaysAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11074,"src":"23825:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":10473,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23825:44:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10463,"name":"checkNoOverlap","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12543,"src":"23728:14:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256,uint256,uint256) view returns (bool)"}},"id":10474,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23728:155:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"526571756573746564206576656e74206f7665726c6170732077697468206578697374696e67","id":10475,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"23897:40:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_aa9aeea58d8ee20742a9adf06e93e01f97f25d707acc7a9ccfd34f09061d9a1c","typeString":"literal_string \"Requested event overlaps with existing\""},"value":"Requested event overlaps with existing"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_aa9aeea58d8ee20742a9adf06e93e01f97f25d707acc7a9ccfd34f09061d9a1c","typeString":"literal_string \"Requested event overlaps with existing\""}],"id":10462,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"23707:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10476,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"23707:240:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10477,"nodeType":"ExpressionStatement","src":"23707:240:30"}]},"id":10479,"implemented":true,"kind":"function","modifiers":[],"name":"validateEvent","nameLocation":"22453:13:30","nodeType":"FunctionDefinition","parameters":{"id":10378,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10377,"mutability":"mutable","name":"evt","nameLocation":"22481:3:30","nodeType":"VariableDeclaration","scope":10479,"src":"22467:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24418879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":10376,"nodeType":"UserDefinedTypeName","pathNode":{"id":10375,"name":"Event","nameLocations":["22467:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"22467:5:30"},"referencedDeclaration":8879,"src":"22467:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24428879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"src":"22466:19:30"},"returnParameters":{"id":10379,"nodeType":"ParameterList","parameters":[],"src":"22500:0:30"},"scope":11595,"src":"22444:1510:30","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":10507,"nodeType":"Block","src":"24173:98:30","statements":[{"expression":{"arguments":[{"id":10498,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10481,"src":"24203:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10499,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10483,"src":"24212:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"31","id":10500,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24224:1:30","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},{"id":10501,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10485,"src":"24227:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":10502,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10487,"src":"24235:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10503,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10489,"src":"24249:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10504,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10491,"src":"24255:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_address","typeString":"address"}],"id":10497,"name":"_mintTicketInternal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10788,"src":"24183:19:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_address_$returns$__$","typeString":"function (uint256,uint256,uint256,bytes32,uint8,uint8,address)"}},"id":10505,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24183:81:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10506,"nodeType":"ExpressionStatement","src":"24183:81:30"}]},"functionSelector":"5d20248c","id":10508,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":10494,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10481,"src":"24164:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10495,"kind":"modifierInvocation","modifierName":{"id":10493,"name":"onlyExistingEvent","nameLocations":["24146:17:30"],"nodeType":"IdentifierPath","referencedDeclaration":9057,"src":"24146:17:30"},"nodeType":"ModifierInvocation","src":"24146:26:30"}],"name":"mintTicket","nameLocation":"23969:10:30","nodeType":"FunctionDefinition","parameters":{"id":10492,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10481,"mutability":"mutable","name":"eventId","nameLocation":"23997:7:30","nodeType":"VariableDeclaration","scope":10508,"src":"23989:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10480,"name":"uint256","nodeType":"ElementaryTypeName","src":"23989:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10483,"mutability":"mutable","name":"categoryId","nameLocation":"24022:10:30","nodeType":"VariableDeclaration","scope":10508,"src":"24014:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10482,"name":"uint256","nodeType":"ElementaryTypeName","src":"24014:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10485,"mutability":"mutable","name":"digest","nameLocation":"24050:6:30","nodeType":"VariableDeclaration","scope":10508,"src":"24042:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":10484,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24042:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":10487,"mutability":"mutable","name":"hashFunction","nameLocation":"24072:12:30","nodeType":"VariableDeclaration","scope":10508,"src":"24066:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":10486,"name":"uint8","nodeType":"ElementaryTypeName","src":"24066:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":10489,"mutability":"mutable","name":"size","nameLocation":"24100:4:30","nodeType":"VariableDeclaration","scope":10508,"src":"24094:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":10488,"name":"uint8","nodeType":"ElementaryTypeName","src":"24094:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":10491,"mutability":"mutable","name":"referrer","nameLocation":"24122:8:30","nodeType":"VariableDeclaration","scope":10508,"src":"24114:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":10490,"name":"address","nodeType":"ElementaryTypeName","src":"24114:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"23979:157:30"},"returnParameters":{"id":10496,"nodeType":"ParameterList","parameters":[],"src":"24173:0:30"},"scope":11595,"src":"23960:311:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":10538,"nodeType":"Block","src":"24515:103:30","statements":[{"expression":{"arguments":[{"id":10529,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10510,"src":"24545:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10530,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10512,"src":"24554:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10531,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10514,"src":"24566:6:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10532,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10516,"src":"24574:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":10533,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10518,"src":"24582:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10534,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10520,"src":"24596:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10535,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10522,"src":"24602:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_address","typeString":"address"}],"id":10528,"name":"_mintTicketInternal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10788,"src":"24525:19:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_address_$returns$__$","typeString":"function (uint256,uint256,uint256,bytes32,uint8,uint8,address)"}},"id":10536,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24525:86:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10537,"nodeType":"ExpressionStatement","src":"24525:86:30"}]},"functionSelector":"0ddee657","id":10539,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":10525,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10510,"src":"24506:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10526,"kind":"modifierInvocation","modifierName":{"id":10524,"name":"onlyExistingEvent","nameLocations":["24488:17:30"],"nodeType":"IdentifierPath","referencedDeclaration":9057,"src":"24488:17:30"},"nodeType":"ModifierInvocation","src":"24488:26:30"}],"name":"mintTickets","nameLocation":"24286:11:30","nodeType":"FunctionDefinition","parameters":{"id":10523,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10510,"mutability":"mutable","name":"eventId","nameLocation":"24315:7:30","nodeType":"VariableDeclaration","scope":10539,"src":"24307:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10509,"name":"uint256","nodeType":"ElementaryTypeName","src":"24307:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10512,"mutability":"mutable","name":"categoryId","nameLocation":"24340:10:30","nodeType":"VariableDeclaration","scope":10539,"src":"24332:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10511,"name":"uint256","nodeType":"ElementaryTypeName","src":"24332:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10514,"mutability":"mutable","name":"amount","nameLocation":"24368:6:30","nodeType":"VariableDeclaration","scope":10539,"src":"24360:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10513,"name":"uint256","nodeType":"ElementaryTypeName","src":"24360:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10516,"mutability":"mutable","name":"digest","nameLocation":"24392:6:30","nodeType":"VariableDeclaration","scope":10539,"src":"24384:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":10515,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24384:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":10518,"mutability":"mutable","name":"hashFunction","nameLocation":"24414:12:30","nodeType":"VariableDeclaration","scope":10539,"src":"24408:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":10517,"name":"uint8","nodeType":"ElementaryTypeName","src":"24408:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":10520,"mutability":"mutable","name":"size","nameLocation":"24442:4:30","nodeType":"VariableDeclaration","scope":10539,"src":"24436:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":10519,"name":"uint8","nodeType":"ElementaryTypeName","src":"24436:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":10522,"mutability":"mutable","name":"referrer","nameLocation":"24464:8:30","nodeType":"VariableDeclaration","scope":10539,"src":"24456:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":10521,"name":"address","nodeType":"ElementaryTypeName","src":"24456:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"24297:181:30"},"returnParameters":{"id":10527,"nodeType":"ParameterList","parameters":[],"src":"24515:0:30"},"scope":11595,"src":"24277:341:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":10787,"nodeType":"Block","src":"24870:2224:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10562,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10560,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10545,"src":"24888:6:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":10561,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"24897:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"24888:10:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416d6f756e74206d7573742062652067726561746572207468616e2030","id":10563,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"24900:31:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_3e76f273c719bb7d23db533a2dc9a822ae7d899fcd42eb8910272e24764e8296","typeString":"literal_string \"Amount must be greater than 0\""},"value":"Amount must be greater than 0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_3e76f273c719bb7d23db533a2dc9a822ae7d899fcd42eb8910272e24764e8296","typeString":"literal_string \"Amount must be greater than 0\""}],"id":10559,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"24880:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10564,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24880:52:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10565,"nodeType":"ExpressionStatement","src":"24880:52:30"},{"assignments":[10568],"declarations":[{"constant":false,"id":10568,"mutability":"mutable","name":"evt","nameLocation":"24957:3:30","nodeType":"VariableDeclaration","scope":10787,"src":"24943:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":10567,"nodeType":"UserDefinedTypeName","pathNode":{"id":10566,"name":"Event","nameLocations":["24943:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"24943:5:30"},"referencedDeclaration":8879,"src":"24943:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24598879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":10572,"initialValue":{"baseExpression":{"id":10569,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"24963:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":10571,"indexExpression":{"id":10570,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10541,"src":"24970:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"24963:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"24943:35:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_24628833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":10578,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10574,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10568,"src":"24996:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24638879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10575,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25000:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"24996:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_24648833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":10576,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"25010:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10577,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"25022:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8829,"src":"25010:20:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"24996:34:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74206973206e6f7420617070726f766564","id":10579,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"25032:23:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_be49c88bb3913a150e7c4386945b8590a6b1fb507f6f2c9f8e249fe45de3f501","typeString":"literal_string \"Event is not approved\""},"value":"Event is not approved"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_be49c88bb3913a150e7c4386945b8590a6b1fb507f6f2c9f8e249fe45de3f501","typeString":"literal_string \"Event is not approved\""}],"id":10573,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"24988:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10580,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"24988:68:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10581,"nodeType":"ExpressionStatement","src":"24988:68:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10586,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10583,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10543,"src":"25107:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":10584,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"25120:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_24718846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":10585,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25131:6:30","memberName":"length","nodeType":"MemberAccess","src":"25120:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25107:30:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43617465676f727920646f6573206e6f74206578697374","id":10587,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"25139:25:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_45af4e006b2e8a2ee5e9f88bbad638c061222f1ecd8db30b4b1a304f33b0ddb5","typeString":"literal_string \"Category does not exist\""},"value":"Category does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_45af4e006b2e8a2ee5e9f88bbad638c061222f1ecd8db30b4b1a304f33b0ddb5","typeString":"literal_string \"Category does not exist\""}],"id":10582,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"25099:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10588,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25099:66:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10589,"nodeType":"ExpressionStatement","src":"25099:66:30"},{"assignments":[10592],"declarations":[{"constant":false,"id":10592,"mutability":"mutable","name":"category","nameLocation":"25198:8:30","nodeType":"VariableDeclaration","scope":10787,"src":"25175:31:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24768846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory"},"typeName":{"id":10591,"nodeType":"UserDefinedTypeName","pathNode":{"id":10590,"name":"TicketCategory","nameLocations":["25175:14:30"],"nodeType":"IdentifierPath","referencedDeclaration":8846,"src":"25175:14:30"},"referencedDeclaration":8846,"src":"25175:14:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24778846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory"}},"visibility":"internal"}],"id":10596,"initialValue":{"baseExpression":{"id":10593,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"25209:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":10595,"indexExpression":{"id":10594,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10543,"src":"25220:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"25209:22:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref"}},"nodeType":"VariableDeclarationStatement","src":"25175:56:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10601,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10598,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10592,"src":"25249:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24808846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":10599,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25258:7:30","memberName":"eventId","nodeType":"MemberAccess","referencedDeclaration":8837,"src":"25249:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":10600,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10541,"src":"25269:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25249:27:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43617465676f727920646f6573206e6f742062656c6f6e6720746f2074686973206576656e74","id":10602,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"25278:40:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_6dbcf12983c9361256a5d71988fbcc175788efa0be95ad71baeb1eb1399ae368","typeString":"literal_string \"Category does not belong to this event\""},"value":"Category does not belong to this event"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_6dbcf12983c9361256a5d71988fbcc175788efa0be95ad71baeb1eb1399ae368","typeString":"literal_string \"Category does not belong to this event\""}],"id":10597,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"25241:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10603,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25241:78:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10604,"nodeType":"ExpressionStatement","src":"25241:78:30"},{"condition":{"expression":{"id":10605,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10592,"src":"25334:8:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":10606,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25343:8:30","memberName":"hasQuota","nodeType":"MemberAccess","referencedDeclaration":8843,"src":"25334:17:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10631,"nodeType":"IfStatement","src":"25330:177:30","trueBody":{"id":10630,"nodeType":"Block","src":"25353:154:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":10617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":10614,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10608,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10592,"src":"25375:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24858846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":10609,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25384:4:30","memberName":"sold","nodeType":"MemberAccess","referencedDeclaration":8845,"src":"25375:13:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"id":10612,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10545,"src":"25398:6:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10611,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25391:6:30","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":10610,"name":"uint16","nodeType":"ElementaryTypeName","src":"25391:6:30","typeDescriptions":{}}},"id":10613,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25391:14:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"25375:30:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":10615,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10592,"src":"25409:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24878846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":10616,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25418:5:30","memberName":"quota","nodeType":"MemberAccess","referencedDeclaration":8841,"src":"25409:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"25375:48:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43617465676f72792071756f7461206578636565646564","id":10618,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"25425:25:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_c64eb9401f385cf27335050fbb26580e3db5d43c2cf340a7c3c3b2f70d483525","typeString":"literal_string \"Category quota exceeded\""},"value":"Category quota exceeded"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c64eb9401f385cf27335050fbb26580e3db5d43c2cf340a7c3c3b2f70d483525","typeString":"literal_string \"Category quota exceeded\""}],"id":10607,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"25367:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10619,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25367:84:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10620,"nodeType":"ExpressionStatement","src":"25367:84:30"},{"expression":{"id":10628,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10621,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10592,"src":"25465:8:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":10623,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"25474:4:30","memberName":"sold","nodeType":"MemberAccess","referencedDeclaration":8845,"src":"25465:13:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"arguments":[{"id":10626,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10545,"src":"25489:6:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10625,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25482:6:30","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":10624,"name":"uint16","nodeType":"ElementaryTypeName","src":"25482:6:30","typeDescriptions":{}}},"id":10627,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25482:14:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"25465:31:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":10629,"nodeType":"ExpressionStatement","src":"25465:31:30"}]}},{"assignments":[10633],"declarations":[{"constant":false,"id":10633,"mutability":"mutable","name":"unitPrice","nameLocation":"25524:9:30","nodeType":"VariableDeclaration","scope":10787,"src":"25516:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10632,"name":"uint256","nodeType":"ElementaryTypeName","src":"25516:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10640,"initialValue":{"arguments":[{"expression":{"id":10635,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10568,"src":"25550:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24938879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10636,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25554:11:30","memberName":"ticketPrice","nodeType":"MemberAccess","referencedDeclaration":8861,"src":"25550:15:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10637,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10592,"src":"25567:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_24948846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":10638,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"25576:18:30","memberName":"discountPercentage","nodeType":"MemberAccess","referencedDeclaration":8839,"src":"25567:27:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":10634,"name":"applyDiscount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10821,"src":"25536:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint16_$returns$_t_uint256_$","typeString":"function (uint256,uint16) pure returns (uint256)"}},"id":10639,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25536:59:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"25516:79:30"},{"assignments":[10642],"declarations":[{"constant":false,"id":10642,"mutability":"mutable","name":"totalPrice","nameLocation":"25613:10:30","nodeType":"VariableDeclaration","scope":10787,"src":"25605:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10641,"name":"uint256","nodeType":"ElementaryTypeName","src":"25605:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10646,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10645,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10643,"name":"unitPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10633,"src":"25626:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":10644,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10545,"src":"25638:6:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"25626:18:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"25605:39:30"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":10650,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"25724:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":10651,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25728:6:30","memberName":"sender","nodeType":"MemberAccess","src":"25724:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":10654,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"25760:4:30","typeDescriptions":{"typeIdentifier":"t_contract$_CyberValleyEventManager_$11595","typeString":"contract CyberValleyEventManager"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_249811595","typeString":"contract CyberValleyEventManager"}],"id":10653,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25752:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10652,"name":"address","nodeType":"ElementaryTypeName","src":"25752:7:30","typeDescriptions":{}}},"id":10655,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25752:13:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":10656,"name":"totalPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10642,"src":"25783:10:30","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":10648,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"25676:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_25001133","typeString":"contract IERC20"}},"id":10649,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"25694:12:30","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":1132,"src":"25676:30:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,address,uint256) external returns (bool)"}},"id":10657,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25676:131:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4661696c656420746f207472616e7366657220746f6b656e73","id":10658,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"25821:27:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_23a9a6b5491b6c7f551486d95db2bf9d53e35a8061da0ba85b10a3015a078276","typeString":"literal_string \"Failed to transfer tokens\""},"value":"Failed to transfer tokens"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_23a9a6b5491b6c7f551486d95db2bf9d53e35a8061da0ba85b10a3015a078276","typeString":"literal_string \"Failed to transfer tokens\""}],"id":10647,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"25655:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10659,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25655:203:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10660,"nodeType":"ExpressionStatement","src":"25655:203:30"},{"assignments":[10662],"declarations":[{"constant":false,"id":10662,"mutability":"mutable","name":"referralPaid","nameLocation":"25962:12:30","nodeType":"VariableDeclaration","scope":10787,"src":"25954:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10661,"name":"uint256","nodeType":"ElementaryTypeName","src":"25954:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10664,"initialValue":{"hexValue":"30","id":10663,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"25977:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"25954:24:30"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":10673,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":10667,"name":"referralRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9026,"src":"26000:15:30","typeDescriptions":{"typeIdentifier":"t_contract$_IReferralRewards_$14893","typeString":"contract IReferralRewards"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_250814893","typeString":"contract IReferralRewards"}],"id":10666,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"25992:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10665,"name":"address","nodeType":"ElementaryTypeName","src":"25992:7:30","typeDescriptions":{}}},"id":10668,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"25992:24:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":10671,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26028:1:30","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":10670,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26020:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10669,"name":"address","nodeType":"ElementaryTypeName","src":"26020:7:30","typeDescriptions":{}}},"id":10672,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26020:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"25992:38:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10753,"nodeType":"IfStatement","src":"25988:673:30","trueBody":{"id":10752,"nodeType":"Block","src":"26032:629:30","statements":[{"assignments":[10675],"declarations":[{"constant":false,"id":10675,"mutability":"mutable","name":"safeReferrer","nameLocation":"26054:12:30","nodeType":"VariableDeclaration","scope":10752,"src":"26046:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":10674,"name":"address","nodeType":"ElementaryTypeName","src":"26046:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":10686,"initialValue":{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":10679,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10676,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10553,"src":"26069:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":10677,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"26081:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":10678,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26085:6:30","memberName":"sender","nodeType":"MemberAccess","src":"26081:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"26069:22:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"id":10684,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10553,"src":"26107:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":10685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"26069:46:30","trueExpression":{"arguments":[{"hexValue":"30","id":10682,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26102:1:30","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":10681,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26094:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10680,"name":"address","nodeType":"ElementaryTypeName","src":"26094:7:30","typeDescriptions":{}}},"id":10683,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26094:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"26046:69:30"},{"assignments":[10692,10696,10698],"declarations":[{"constant":false,"id":10692,"mutability":"mutable","name":"recipients","nameLocation":"26149:10:30","nodeType":"VariableDeclaration","scope":10752,"src":"26131:28:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_25123_memory_ptr","typeString":"address[3]"},"typeName":{"baseType":{"id":10690,"name":"address","nodeType":"ElementaryTypeName","src":"26131:7:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":10691,"length":{"hexValue":"33","id":10689,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26139:1:30","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"26131:10:30","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_25133_storage_ptr","typeString":"address[3]"}},"visibility":"internal"},{"constant":false,"id":10696,"mutability":"mutable","name":"bonuses","nameLocation":"26179:7:30","nodeType":"VariableDeclaration","scope":10752,"src":"26161:25:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_25143_memory_ptr","typeString":"uint256[3]"},"typeName":{"baseType":{"id":10693,"name":"uint256","nodeType":"ElementaryTypeName","src":"26161:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10695,"length":{"hexValue":"33","id":10694,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26169:1:30","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"26161:10:30","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_25153_storage_ptr","typeString":"uint256[3]"}},"visibility":"internal"},{"constant":false,"id":10698,"mutability":"mutable","name":"paid","nameLocation":"26196:4:30","nodeType":"VariableDeclaration","scope":10752,"src":"26188:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10697,"name":"uint256","nodeType":"ElementaryTypeName","src":"26188:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10706,"initialValue":{"arguments":[{"expression":{"id":10701,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"26252:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":10702,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26256:6:30","memberName":"sender","nodeType":"MemberAccess","src":"26252:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":10703,"name":"safeReferrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10675,"src":"26264:12:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":10704,"name":"totalPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10642,"src":"26278:10:30","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":10699,"name":"referralRewards","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9026,"src":"26220:15:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_251614893","typeString":"contract IReferralRewards"}},"id":10700,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26236:15:30","memberName":"processPurchase","nodeType":"MemberAccess","referencedDeclaration":14892,"src":"26220:31:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_array$_t_address_$3_memory_ptr_$_t_array$_t_uint256_$3_memory_ptr_$_t_uint256_$","typeString":"function (address,address,uint256) external returns (address[3] memory,uint256[3] memory,uint256)"}},"id":10705,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26220:69:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_array$_t_address_$3_memory_ptr_$_t_array$_t_uint256_$3_memory_ptr_$_t_uint256_$","typeString":"tuple(address[3] memory,uint256[3] memory,uint256)"}},"nodeType":"VariableDeclarationStatement","src":"26130:159:30"},{"expression":{"id":10709,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":10707,"name":"referralPaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10662,"src":"26303:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":10708,"name":"paid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10698,"src":"26318:4:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"26303:19:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10710,"nodeType":"ExpressionStatement","src":"26303:19:30"},{"body":{"id":10750,"nodeType":"Block","src":"26369:282:30","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":10734,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":10728,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":10721,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10692,"src":"26391:10:30","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_25253_memory_ptr","typeString":"address[3] memory"}},"id":10723,"indexExpression":{"id":10722,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10712,"src":"26402:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"26391:13:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":10726,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26416:1:30","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":10725,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"26408:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":10724,"name":"address","nodeType":"ElementaryTypeName","src":"26408:7:30","typeDescriptions":{}}},"id":10727,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26408:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"26391:27:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10733,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":10729,"name":"bonuses","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10696,"src":"26422:7:30","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_25273_memory_ptr","typeString":"uint256[3] memory"}},"id":10731,"indexExpression":{"id":10730,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10712,"src":"26430:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"26422:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":10732,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26435:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"26422:14:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"26391:45:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10749,"nodeType":"IfStatement","src":"26387:250:30","trueBody":{"id":10748,"nodeType":"Block","src":"26438:199:30","statements":[{"expression":{"arguments":[{"arguments":[{"baseExpression":{"id":10738,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10692,"src":"26520:10:30","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_25283_memory_ptr","typeString":"address[3] memory"}},"id":10740,"indexExpression":{"id":10739,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10712,"src":"26531:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"26520:13:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":10741,"name":"bonuses","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10696,"src":"26535:7:30","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_25293_memory_ptr","typeString":"uint256[3] memory"}},"id":10743,"indexExpression":{"id":10742,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10712,"src":"26543:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"26535:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":10736,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"26493:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_25301133","typeString":"contract IERC20"}},"id":10737,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26511:8:30","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":1100,"src":"26493:26:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":10744,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26493:53:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4661696c656420746f2070617920726566657272616c","id":10745,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"26572:24:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_f051de776373983b5032a7321fdb8a3c294353a5d00272b4663526910736ff43","typeString":"literal_string \"Failed to pay referral\""},"value":"Failed to pay referral"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f051de776373983b5032a7321fdb8a3c294353a5d00272b4663526910736ff43","typeString":"literal_string \"Failed to pay referral\""}],"id":10735,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"26460:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10746,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26460:158:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10747,"nodeType":"ExpressionStatement","src":"26460:158:30"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10717,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10715,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10712,"src":"26357:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"33","id":10716,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26361:1:30","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"26357:5:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10751,"initializationExpression":{"assignments":[10712],"declarations":[{"constant":false,"id":10712,"mutability":"mutable","name":"i","nameLocation":"26350:1:30","nodeType":"VariableDeclaration","scope":10751,"src":"26342:9:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10711,"name":"uint256","nodeType":"ElementaryTypeName","src":"26342:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10714,"initialValue":{"hexValue":"30","id":10713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"26354:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"26342:13:30"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":10719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"26364:3:30","subExpression":{"id":10718,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10712,"src":"26364:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10720,"nodeType":"ExpressionStatement","src":"26364:3:30"},"nodeType":"ForStatement","src":"26337:314:30"}]}},{"expression":{"arguments":[{"expression":{"id":10757,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"26714:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":10758,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26718:6:30","memberName":"sender","nodeType":"MemberAccess","src":"26714:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":10759,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10541,"src":"26738:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10760,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10543,"src":"26759:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10761,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10545,"src":"26783:6:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":10762,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10547,"src":"26803:6:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":10763,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10549,"src":"26823:12:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10764,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10551,"src":"26849:4:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":10765,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10553,"src":"26867:8:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":10766,"name":"unitPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10633,"src":"26975:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":10754,"name":"eventTicketContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9019,"src":"26671:19:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_253712160","typeString":"contract CyberValleyEventTicket"}},"id":10756,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"26691:9:30","memberName":"mintBatch","nodeType":"MemberAccess","referencedDeclaration":11908,"src":"26671:29:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256,uint256,uint256,bytes32,uint8,uint8,address,uint256) external"}},"id":10767,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"26671:323:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10768,"nodeType":"ExpressionStatement","src":"26671:323:30"},{"expression":{"arguments":[{"expression":{"id":10774,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"27023:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":10775,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27027:6:30","memberName":"sender","nodeType":"MemberAccess","src":"27023:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"expression":{"id":10769,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10568,"src":"27004:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25458879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10772,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"27008:9:30","memberName":"customers","nodeType":"MemberAccess","referencedDeclaration":8871,"src":"27004:13:30","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage","typeString":"address[] storage ref"}},"id":10773,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27018:4:30","memberName":"push","nodeType":"MemberAccess","src":"27004:18:30","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_address_$dyn_storage_ptr_$_t_address_$returns$__$attached_to$_t_array$_t_address_$dyn_storage_ptr_$","typeString":"function (address[] storage pointer,address)"}},"id":10776,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27004:30:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10777,"nodeType":"ExpressionStatement","src":"27004:30:30"},{"expression":{"id":10785,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10778,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10568,"src":"27044:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10780,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"27048:8:30","memberName":"networth","nodeType":"MemberAccess","referencedDeclaration":8876,"src":"27044:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10781,"name":"totalPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10642,"src":"27061:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":10782,"name":"referralPaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10662,"src":"27074:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27061:25:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10784,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27060:27:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27044:43:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10786,"nodeType":"ExpressionStatement","src":"27044:43:30"}]},"id":10788,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":10556,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10541,"src":"24861:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10557,"kind":"modifierInvocation","modifierName":{"id":10555,"name":"onlyExistingEvent","nameLocations":["24843:17:30"],"nodeType":"IdentifierPath","referencedDeclaration":9057,"src":"24843:17:30"},"nodeType":"ModifierInvocation","src":"24843:26:30"}],"name":"_mintTicketInternal","nameLocation":"24633:19:30","nodeType":"FunctionDefinition","parameters":{"id":10554,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10541,"mutability":"mutable","name":"eventId","nameLocation":"24670:7:30","nodeType":"VariableDeclaration","scope":10788,"src":"24662:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10540,"name":"uint256","nodeType":"ElementaryTypeName","src":"24662:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10543,"mutability":"mutable","name":"categoryId","nameLocation":"24695:10:30","nodeType":"VariableDeclaration","scope":10788,"src":"24687:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10542,"name":"uint256","nodeType":"ElementaryTypeName","src":"24687:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10545,"mutability":"mutable","name":"amount","nameLocation":"24723:6:30","nodeType":"VariableDeclaration","scope":10788,"src":"24715:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10544,"name":"uint256","nodeType":"ElementaryTypeName","src":"24715:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10547,"mutability":"mutable","name":"digest","nameLocation":"24747:6:30","nodeType":"VariableDeclaration","scope":10788,"src":"24739:14:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":10546,"name":"bytes32","nodeType":"ElementaryTypeName","src":"24739:7:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":10549,"mutability":"mutable","name":"hashFunction","nameLocation":"24769:12:30","nodeType":"VariableDeclaration","scope":10788,"src":"24763:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":10548,"name":"uint8","nodeType":"ElementaryTypeName","src":"24763:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":10551,"mutability":"mutable","name":"size","nameLocation":"24797:4:30","nodeType":"VariableDeclaration","scope":10788,"src":"24791:10:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":10550,"name":"uint8","nodeType":"ElementaryTypeName","src":"24791:5:30","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":10553,"mutability":"mutable","name":"referrer","nameLocation":"24819:8:30","nodeType":"VariableDeclaration","scope":10788,"src":"24811:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":10552,"name":"address","nodeType":"ElementaryTypeName","src":"24811:7:30","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"24652:181:30"},"returnParameters":{"id":10558,"nodeType":"ParameterList","parameters":[],"src":"24870:0:30"},"scope":11595,"src":"24624:2470:30","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":10820,"nodeType":"Block","src":"27205:213:30","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":10799,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10797,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10792,"src":"27219:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":10798,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27241:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"27219:23:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10803,"nodeType":"IfStatement","src":"27215:74:30","trueBody":{"id":10802,"nodeType":"Block","src":"27244:45:30","statements":[{"expression":{"id":10800,"name":"originalPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10790,"src":"27265:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":10796,"id":10801,"nodeType":"Return","src":"27258:20:30"}]}},{"assignments":[10805],"declarations":[{"constant":false,"id":10805,"mutability":"mutable","name":"discount","nameLocation":"27306:8:30","nodeType":"VariableDeclaration","scope":10820,"src":"27298:16:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10804,"name":"uint256","nodeType":"ElementaryTypeName","src":"27298:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10815,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10814,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10811,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10806,"name":"originalPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10790,"src":"27318:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":10809,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10792,"src":"27342:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":10808,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"27334:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":10807,"name":"uint256","nodeType":"ElementaryTypeName","src":"27334:7:30","typeDescriptions":{}}},"id":10810,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27334:27:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27318:43:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10812,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"27317:45:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"3130303030","id":10813,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"27365:5:30","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"value":"10000"},"src":"27317:53:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"27298:72:30"},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10818,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":10816,"name":"originalPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10790,"src":"27387:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":10817,"name":"discount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10805,"src":"27403:8:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27387:24:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":10796,"id":10819,"nodeType":"Return","src":"27380:31:30"}]},"id":10821,"implemented":true,"kind":"function","modifiers":[],"name":"applyDiscount","nameLocation":"27109:13:30","nodeType":"FunctionDefinition","parameters":{"id":10793,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10790,"mutability":"mutable","name":"originalPrice","nameLocation":"27131:13:30","nodeType":"VariableDeclaration","scope":10821,"src":"27123:21:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10789,"name":"uint256","nodeType":"ElementaryTypeName","src":"27123:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":10792,"mutability":"mutable","name":"discountPercentage","nameLocation":"27153:18:30","nodeType":"VariableDeclaration","scope":10821,"src":"27146:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":10791,"name":"uint16","nodeType":"ElementaryTypeName","src":"27146:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"27122:50:30"},"returnParameters":{"id":10796,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10795,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":10821,"src":"27196:7:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10794,"name":"uint256","nodeType":"ElementaryTypeName","src":"27196:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"27195:9:30"},"scope":11595,"src":"27100:318:30","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":10913,"nodeType":"Block","src":"27537:958:30","statements":[{"assignments":[10833],"declarations":[{"constant":false,"id":10833,"mutability":"mutable","name":"evt","nameLocation":"27561:3:30","nodeType":"VariableDeclaration","scope":10913,"src":"27547:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25558879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":10832,"nodeType":"UserDefinedTypeName","pathNode":{"id":10831,"name":"Event","nameLocations":["27547:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"27547:5:30"},"referencedDeclaration":8879,"src":"27547:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25568879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":10837,"initialValue":{"baseExpression":{"id":10834,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"27567:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":10836,"indexExpression":{"id":10835,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10823,"src":"27574:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"27567:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"27547:35:30"},{"expression":{"arguments":[{"expression":{"id":10839,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"27629:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25598879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10840,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"27633:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"27629:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10838,"name":"ensureEventBelongsToProviderOrMaster","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11171,"src":"27592:36:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":10841,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27592:54:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10842,"nodeType":"ExpressionStatement","src":"27592:54:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_25638833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":10848,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10844,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"27677:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25648879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10845,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"27681:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"27677:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_25658833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":10846,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"27691:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10847,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"27703:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8829,"src":"27691:20:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"27677:34:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c79206576656e7420696e20617070726f7665642073746174652063616e20626520636c6f736564","id":10849,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"27725:44:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_44f91fea733b62dace8b9e5a03c09de33b3dd60e10f4f0cf3d56cff273b41aa8","typeString":"literal_string \"Only event in approved state can be closed\""},"value":"Only event in approved state can be closed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_44f91fea733b62dace8b9e5a03c09de33b3dd60e10f4f0cf3d56cff273b41aa8","typeString":"literal_string \"Only event in approved state can be closed\""}],"id":10843,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"27656:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10850,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27656:123:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10851,"nodeType":"ExpressionStatement","src":"27656:123:30"},{"assignments":[10853],"declarations":[{"constant":false,"id":10853,"mutability":"mutable","name":"eventEndDate","nameLocation":"27797:12:30","nodeType":"VariableDeclaration","scope":10913,"src":"27789:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10852,"name":"uint256","nodeType":"ElementaryTypeName","src":"27789:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":10860,"initialValue":{"arguments":[{"expression":{"id":10855,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"27826:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10856,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"27830:9:30","memberName":"startDate","nodeType":"MemberAccess","referencedDeclaration":8863,"src":"27826:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10857,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"27841:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25728879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10858,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"27845:10:30","memberName":"daysAmount","nodeType":"MemberAccess","referencedDeclaration":8865,"src":"27841:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":10854,"name":"calcDaysAfter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11074,"src":"27812:13:30","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":10859,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27812:44:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"27789:67:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10865,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10862,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"27887:5:30","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":10863,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"27893:9:30","memberName":"timestamp","nodeType":"MemberAccess","src":"27887:15:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":10864,"name":"eventEndDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10853,"src":"27905:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"27887:30:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e7420686173206e6f74206265656e2066696e697368656420796574","id":10866,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"27931:33:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_1e4027fe3bd7c8a51f97c9388e45c34698fe5daebd9aebb73d46b46b0c89d156","typeString":"literal_string \"Event has not been finished yet\""},"value":"Event has not been finished yet"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_1e4027fe3bd7c8a51f97c9388e45c34698fe5daebd9aebb73d46b46b0c89d156","typeString":"literal_string \"Event has not been finished yet\""}],"id":10861,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"27866:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10867,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"27866:108:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10868,"nodeType":"ExpressionStatement","src":"27866:108:30"},{"assignments":[10871],"declarations":[{"constant":false,"id":10871,"mutability":"mutable","name":"place","nameLocation":"28003:5:30","nodeType":"VariableDeclaration","scope":10913,"src":"27984:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25798827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":10870,"nodeType":"UserDefinedTypeName","pathNode":{"id":10869,"name":"EventPlace","nameLocations":["27984:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"27984:10:30"},"referencedDeclaration":8827,"src":"27984:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25808827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":10876,"initialValue":{"baseExpression":{"id":10872,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"28011:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":10875,"indexExpression":{"expression":{"id":10873,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"28023:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10874,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28027:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"28023:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"28011:29:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25838827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"27984:56:30"},{"expression":{"arguments":[{"arguments":[{"expression":{"id":10880,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"28135:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25848879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10881,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28139:7:30","memberName":"creator","nodeType":"MemberAccess","referencedDeclaration":8857,"src":"28135:11:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":10882,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10871,"src":"28148:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25858827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10883,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28154:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"28148:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":10878,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"28108:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_25861133","typeString":"contract IERC20"}},"id":10879,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"28126:8:30","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":1100,"src":"28108:26:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":10884,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28108:63:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4661696c656420746f2072657475726e206465706f73697420746f2063726561746f72","id":10885,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"28185:37:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_b41c64bfaa55d7ca634c941fd75bf98ecdbe59d885a2ca61b1c1a269c4d98a2f","typeString":"literal_string \"Failed to return deposit to creator\""},"value":"Failed to return deposit to creator"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_b41c64bfaa55d7ca634c941fd75bf98ecdbe59d885a2ca61b1c1a269c4d98a2f","typeString":"literal_string \"Failed to return deposit to creator\""}],"id":10877,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"28087:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10886,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28087:145:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10887,"nodeType":"ExpressionStatement","src":"28087:145:30"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10891,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10888,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"28308:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25938879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10889,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28312:8:30","memberName":"networth","nodeType":"MemberAccess","referencedDeclaration":8876,"src":"28308:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":10890,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"28323:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"28308:16:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10899,"nodeType":"IfStatement","src":"28304:90:30","trueBody":{"id":10898,"nodeType":"Block","src":"28326:68:30","statements":[{"expression":{"arguments":[{"id":10893,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10823,"src":"28361:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10894,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"28370:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_25948879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10895,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28374:8:30","memberName":"networth","nodeType":"MemberAccess","referencedDeclaration":8876,"src":"28370:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10892,"name":"distributeEventFunds","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11040,"src":"28340:20:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":10896,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28340:43:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10897,"nodeType":"ExpressionStatement","src":"28340:43:30"}]}},{"expression":{"id":10905,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10900,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"28403:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10902,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"28407:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"28403:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_25998833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":10903,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"28416:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10904,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"28428:6:30","memberName":"Closed","nodeType":"MemberAccess","referencedDeclaration":8832,"src":"28416:18:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"28403:31:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26028833","typeString":"enum CyberValleyEventManager.EventStatus"}},"id":10906,"nodeType":"ExpressionStatement","src":"28403:31:30"},{"eventCall":{"arguments":[{"id":10908,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10823,"src":"28468:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":10909,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10833,"src":"28477:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26038879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10910,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28481:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"28477:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26048833","typeString":"enum CyberValleyEventManager.EventStatus"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26058833","typeString":"enum CyberValleyEventManager.EventStatus"}],"id":10907,"name":"EventStatusChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8959,"src":"28449:18:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_enumMATH_PLACEHOLDER_26078833_$returns$__$","typeString":"function (uint256,enum CyberValleyEventManager.EventStatus)"}},"id":10911,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28449:39:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10912,"nodeType":"EmitStatement","src":"28444:44:30"}]},"functionSelector":"2ee07c00","id":10914,"implemented":true,"kind":"function","modifiers":[{"id":10826,"kind":"modifierInvocation","modifierName":{"id":10825,"name":"onlyLocalProviderOrMaster","nameLocations":["27484:25:30"],"nodeType":"IdentifierPath","referencedDeclaration":8798,"src":"27484:25:30"},"nodeType":"ModifierInvocation","src":"27484:25:30"},{"arguments":[{"id":10828,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10823,"src":"27528:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10829,"kind":"modifierInvocation","modifierName":{"id":10827,"name":"onlyExistingEvent","nameLocations":["27510:17:30"],"nodeType":"IdentifierPath","referencedDeclaration":9057,"src":"27510:17:30"},"nodeType":"ModifierInvocation","src":"27510:26:30"}],"name":"closeEvent","nameLocation":"27433:10:30","nodeType":"FunctionDefinition","parameters":{"id":10824,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10823,"mutability":"mutable","name":"eventId","nameLocation":"27461:7:30","nodeType":"VariableDeclaration","scope":10914,"src":"27453:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10822,"name":"uint256","nodeType":"ElementaryTypeName","src":"27453:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"27443:31:30"},"returnParameters":{"id":10830,"nodeType":"ParameterList","parameters":[],"src":"27537:0:30"},"scope":11595,"src":"27424:1071:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":11006,"nodeType":"Block","src":"28615:1000:30","statements":[{"assignments":[10926],"declarations":[{"constant":false,"id":10926,"mutability":"mutable","name":"evt","nameLocation":"28639:3:30","nodeType":"VariableDeclaration","scope":11006,"src":"28625:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":10925,"nodeType":"UserDefinedTypeName","pathNode":{"id":10924,"name":"Event","nameLocations":["28625:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"28625:5:30"},"referencedDeclaration":8879,"src":"28625:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26118879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":10930,"initialValue":{"baseExpression":{"id":10927,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"28645:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":10929,"indexExpression":{"id":10928,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10916,"src":"28652:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"28645:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"28625:35:30"},{"expression":{"arguments":[{"expression":{"id":10932,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"28707:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26148879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10933,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28711:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"28707:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":10931,"name":"ensureEventBelongsToProviderOrMaster","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11171,"src":"28670:36:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":10934,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28670:54:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10935,"nodeType":"ExpressionStatement","src":"28670:54:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26188833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":10941,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10937,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"28755:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26198879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10938,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28759:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"28755:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26208833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":10939,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"28769:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10940,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"28781:8:30","memberName":"Approved","nodeType":"MemberAccess","referencedDeclaration":8829,"src":"28769:20:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"28755:34:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c79206576656e7420696e20617070726f7665642073746174652063616e2062652063616e63656c6c6564","id":10942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"28803:47:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_00a280071df07924c3c190cdb008ed78085526ea29b3197c75846bc85b2cd4c9","typeString":"literal_string \"Only event in approved state can be cancelled\""},"value":"Only event in approved state can be cancelled"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_00a280071df07924c3c190cdb008ed78085526ea29b3197c75846bc85b2cd4c9","typeString":"literal_string \"Only event in approved state can be cancelled\""}],"id":10936,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"28734:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10943,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"28734:126:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10944,"nodeType":"ExpressionStatement","src":"28734:126:30"},{"assignments":[10947],"declarations":[{"constant":false,"id":10947,"mutability":"mutable","name":"place","nameLocation":"28890:5:30","nodeType":"VariableDeclaration","scope":11006,"src":"28871:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":10946,"nodeType":"UserDefinedTypeName","pathNode":{"id":10945,"name":"EventPlace","nameLocations":["28871:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"28871:10:30"},"referencedDeclaration":8827,"src":"28871:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26278827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":10952,"initialValue":{"baseExpression":{"id":10948,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"28898:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":10951,"indexExpression":{"expression":{"id":10949,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"28910:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10950,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"28914:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"28910:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"28898:29:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26308827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"28871:56:30"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10956,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10953,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10947,"src":"29000:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26318827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10954,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29006:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"29000:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":10955,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29025:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"29000:26:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10969,"nodeType":"IfStatement","src":"28996:214:30","trueBody":{"id":10968,"nodeType":"Block","src":"29028:182:30","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":10960,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"29094:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26328879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10961,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29098:7:30","memberName":"creator","nodeType":"MemberAccess","referencedDeclaration":8857,"src":"29094:11:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":10962,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10947,"src":"29107:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26338827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10963,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29113:16:30","memberName":"eventDepositSize","nodeType":"MemberAccess","referencedDeclaration":8826,"src":"29107:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":10958,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"29067:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_26341133","typeString":"contract IERC20"}},"id":10959,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"29085:8:30","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":1100,"src":"29067:26:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":10964,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29067:63:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4661696c656420746f20726566756e64206465706f73697420746f2063726561746f72","id":10965,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"29148:37:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_34c28c71c7df1307355c705f329698101359f057dc866618d2953d649e26fb50","typeString":"literal_string \"Failed to refund deposit to creator\""},"value":"Failed to refund deposit to creator"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_34c28c71c7df1307355c705f329698101359f057dc866618d2953d649e26fb50","typeString":"literal_string \"Failed to refund deposit to creator\""}],"id":10957,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"29042:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10966,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29042:157:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10967,"nodeType":"ExpressionStatement","src":"29042:157:30"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":10973,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":10970,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"29281:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26418879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10971,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29285:8:30","memberName":"networth","nodeType":"MemberAccess","referencedDeclaration":8876,"src":"29281:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":10972,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29296:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"29281:16:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":10986,"nodeType":"IfStatement","src":"29277:207:30","trueBody":{"id":10985,"nodeType":"Block","src":"29299:185:30","statements":[{"expression":{"arguments":[{"arguments":[{"expression":{"id":10977,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10947,"src":"29365:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26428827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":10978,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29371:8:30","memberName":"provider","nodeType":"MemberAccess","referencedDeclaration":8806,"src":"29365:14:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":10979,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"29381:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26438879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10980,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29385:8:30","memberName":"networth","nodeType":"MemberAccess","referencedDeclaration":8876,"src":"29381:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":10975,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"29338:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_26441133","typeString":"contract IERC20"}},"id":10976,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"29356:8:30","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":1100,"src":"29338:26:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":10981,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29338:56:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4661696c656420746f207472616e73666572207469636b657420726576656e756520746f2070726f7669646572","id":10982,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"29412:47:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_d01986f5ba31585c6aef163bcff5507fd5d6c41d21ea13fb6f5f8fe8211bc2c3","typeString":"literal_string \"Failed to transfer ticket revenue to provider\""},"value":"Failed to transfer ticket revenue to provider"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d01986f5ba31585c6aef163bcff5507fd5d6c41d21ea13fb6f5f8fe8211bc2c3","typeString":"literal_string \"Failed to transfer ticket revenue to provider\""}],"id":10974,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"29313:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":10983,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29313:160:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":10984,"nodeType":"ExpressionStatement","src":"29313:160:30"}]}},{"expression":{"id":10991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10987,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"29494:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26518879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10989,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"29498:8:30","memberName":"networth","nodeType":"MemberAccess","referencedDeclaration":8876,"src":"29494:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"30","id":10990,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29509:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"29494:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":10992,"nodeType":"ExpressionStatement","src":"29494:16:30"},{"expression":{"id":10998,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":10993,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"29520:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26528879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":10995,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"29524:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"29520:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26538833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":10996,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"29533:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":10997,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"29545:9:30","memberName":"Cancelled","nodeType":"MemberAccess","referencedDeclaration":8831,"src":"29533:21:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"29520:34:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26568833","typeString":"enum CyberValleyEventManager.EventStatus"}},"id":10999,"nodeType":"ExpressionStatement","src":"29520:34:30"},{"eventCall":{"arguments":[{"id":11001,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10916,"src":"29588:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":11002,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10926,"src":"29597:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26578879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11003,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"29601:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"29597:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26588833","typeString":"enum CyberValleyEventManager.EventStatus"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_enumMATH_PLACEHOLDER_26598833","typeString":"enum CyberValleyEventManager.EventStatus"}],"id":11000,"name":"EventStatusChanged","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8959,"src":"29569:18:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_enumMATH_PLACEHOLDER_26618833_$returns$__$","typeString":"function (uint256,enum CyberValleyEventManager.EventStatus)"}},"id":11004,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29569:39:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11005,"nodeType":"EmitStatement","src":"29564:44:30"}]},"functionSelector":"3f69babd","id":11007,"implemented":true,"kind":"function","modifiers":[{"id":10919,"kind":"modifierInvocation","modifierName":{"id":10918,"name":"onlyLocalProviderOrMaster","nameLocations":["28562:25:30"],"nodeType":"IdentifierPath","referencedDeclaration":8798,"src":"28562:25:30"},"nodeType":"ModifierInvocation","src":"28562:25:30"},{"arguments":[{"id":10921,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10916,"src":"28606:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":10922,"kind":"modifierInvocation","modifierName":{"id":10920,"name":"onlyExistingEvent","nameLocations":["28588:17:30"],"nodeType":"IdentifierPath","referencedDeclaration":9057,"src":"28588:17:30"},"nodeType":"ModifierInvocation","src":"28588:26:30"}],"name":"cancelEvent","nameLocation":"28510:11:30","nodeType":"FunctionDefinition","parameters":{"id":10917,"nodeType":"ParameterList","parameters":[{"constant":false,"id":10916,"mutability":"mutable","name":"eventId","nameLocation":"28539:7:30","nodeType":"VariableDeclaration","scope":11007,"src":"28531:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":10915,"name":"uint256","nodeType":"ElementaryTypeName","src":"28531:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"28521:31:30"},"returnParameters":{"id":10923,"nodeType":"ParameterList","parameters":[],"src":"28615:0:30"},"scope":11595,"src":"28501:1114:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":11039,"nodeType":"Block","src":"29771:238:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":11020,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11015,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"29789:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":11018,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"29816:1:30","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":11017,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"29808:7:30","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":11016,"name":"address","nodeType":"ElementaryTypeName","src":"29808:7:30","typeDescriptions":{}}},"id":11019,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29808:10:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"29789:29:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"526576656e75652073706c6974746572206e6f7420736574","id":11021,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"29820:26:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_000068b901cd3896c9aea89fa2b1c6a0fe50befea77b92434d2318c11aa125cd","typeString":"literal_string \"Revenue splitter not set\""},"value":"Revenue splitter not set"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_000068b901cd3896c9aea89fa2b1c6a0fe50befea77b92434d2318c11aa125cd","typeString":"literal_string \"Revenue splitter not set\""}],"id":11014,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"29781:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11022,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29781:66:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11023,"nodeType":"ExpressionStatement","src":"29781:66:30"},{"expression":{"arguments":[{"id":11027,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"29883:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11028,"name":"totalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11011,"src":"29900:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":11024,"name":"usdtTokenContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9016,"src":"29857:17:30","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_26691133","typeString":"contract IERC20"}},"id":11026,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"29875:7:30","memberName":"approve","nodeType":"MemberAccess","referencedDeclaration":1120,"src":"29857:25:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":11029,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29857:55:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11030,"nodeType":"ExpressionStatement","src":"29857:55:30"},{"expression":{"arguments":[{"id":11035,"name":"totalAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11011,"src":"29981:11:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11036,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11009,"src":"29994:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"arguments":[{"id":11032,"name":"revenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9023,"src":"29946:15:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":11031,"name":"IDynamicRevenueSplitter","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14870,"src":"29922:23:30","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_267314870_$","typeString":"type(contract IDynamicRevenueSplitter)"}},"id":11033,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29922:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IDynamicRevenueSplitter_$14870","typeString":"contract IDynamicRevenueSplitter"}},"id":11034,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"29963:17:30","memberName":"distributeRevenue","nodeType":"MemberAccess","referencedDeclaration":14833,"src":"29922:58:30","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256) external"}},"id":11037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"29922:80:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11038,"nodeType":"ExpressionStatement","src":"29922:80:30"}]},"id":11040,"implemented":true,"kind":"function","modifiers":[],"name":"distributeEventFunds","nameLocation":"29681:20:30","nodeType":"FunctionDefinition","parameters":{"id":11012,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11009,"mutability":"mutable","name":"eventId","nameLocation":"29719:7:30","nodeType":"VariableDeclaration","scope":11040,"src":"29711:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11008,"name":"uint256","nodeType":"ElementaryTypeName","src":"29711:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11011,"mutability":"mutable","name":"totalAmount","nameLocation":"29744:11:30","nodeType":"VariableDeclaration","scope":11040,"src":"29736:19:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11010,"name":"uint256","nodeType":"ElementaryTypeName","src":"29736:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"29701:60:30"},"returnParameters":{"id":11013,"nodeType":"ParameterList","parameters":[],"src":"29771:0:30"},"scope":11595,"src":"29672:337:30","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":11054,"nodeType":"Block","src":"30110:69:30","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11052,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11049,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11047,"name":"timestamp","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11042,"src":"30128:9:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":11048,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"30140:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30128:26:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":11050,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"30127:28:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":11051,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"30158:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30127:45:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":11046,"id":11053,"nodeType":"Return","src":"30120:52:30"}]},"id":11055,"implemented":true,"kind":"function","modifiers":[],"name":"floorTimestampToDate","nameLocation":"30024:20:30","nodeType":"FunctionDefinition","parameters":{"id":11043,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11042,"mutability":"mutable","name":"timestamp","nameLocation":"30062:9:30","nodeType":"VariableDeclaration","scope":11055,"src":"30054:17:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11041,"name":"uint256","nodeType":"ElementaryTypeName","src":"30054:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30044:33:30"},"returnParameters":{"id":11046,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11045,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11055,"src":"30101:7:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11044,"name":"uint256","nodeType":"ElementaryTypeName","src":"30101:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30100:9:30"},"scope":11595,"src":"30015:164:30","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11073,"nodeType":"Block","src":"30296:64:30","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11064,"name":"date","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11057,"src":"30313:4:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11070,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11067,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11065,"name":"daysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11059,"src":"30321:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":11066,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30334:1:30","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"30321:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":11068,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"30320:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":11069,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"30339:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30320:33:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30313:40:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":11063,"id":11072,"nodeType":"Return","src":"30306:47:30"}]},"id":11074,"implemented":true,"kind":"function","modifiers":[],"name":"calcDaysAfter","nameLocation":"30194:13:30","nodeType":"FunctionDefinition","parameters":{"id":11060,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11057,"mutability":"mutable","name":"date","nameLocation":"30225:4:30","nodeType":"VariableDeclaration","scope":11074,"src":"30217:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11056,"name":"uint256","nodeType":"ElementaryTypeName","src":"30217:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11059,"mutability":"mutable","name":"daysAmount","nameLocation":"30247:10:30","nodeType":"VariableDeclaration","scope":11074,"src":"30239:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11058,"name":"uint256","nodeType":"ElementaryTypeName","src":"30239:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30207:56:30"},"returnParameters":{"id":11063,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11062,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11074,"src":"30287:7:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11061,"name":"uint256","nodeType":"ElementaryTypeName","src":"30287:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30286:9:30"},"scope":11595,"src":"30185:175:30","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11092,"nodeType":"Block","src":"30478:64:30","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11090,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11083,"name":"date","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11076,"src":"30495:4:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11089,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11086,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11084,"name":"daysAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11078,"src":"30503:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":11085,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30516:1:30","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"30503:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":11087,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"30502:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":11088,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"30521:14:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30502:33:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30495:40:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":11082,"id":11091,"nodeType":"Return","src":"30488:47:30"}]},"id":11093,"implemented":true,"kind":"function","modifiers":[],"name":"calcDaysBefore","nameLocation":"30375:14:30","nodeType":"FunctionDefinition","parameters":{"id":11079,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11076,"mutability":"mutable","name":"date","nameLocation":"30407:4:30","nodeType":"VariableDeclaration","scope":11093,"src":"30399:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11075,"name":"uint256","nodeType":"ElementaryTypeName","src":"30399:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11078,"mutability":"mutable","name":"daysAmount","nameLocation":"30429:10:30","nodeType":"VariableDeclaration","scope":11093,"src":"30421:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11077,"name":"uint256","nodeType":"ElementaryTypeName","src":"30421:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30389:56:30"},"returnParameters":{"id":11082,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11081,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11093,"src":"30469:7:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11080,"name":"uint256","nodeType":"ElementaryTypeName","src":"30469:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30468:9:30"},"scope":11595,"src":"30366:176:30","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":11135,"nodeType":"Block","src":"30630:276:30","statements":[{"assignments":[11104],"declarations":[{"constant":false,"id":11104,"mutability":"mutable","name":"eventCategories","nameLocation":"30658:15:30","nodeType":"VariableDeclaration","scope":11135,"src":"30640:33:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":11102,"name":"uint256","nodeType":"ElementaryTypeName","src":"30640:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11103,"nodeType":"ArrayTypeName","src":"30640:9:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":11108,"initialValue":{"baseExpression":{"id":11105,"name":"categoryCounters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9043,"src":"30676:16:30","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[] storage ref)"}},"id":11107,"indexExpression":{"id":11106,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11095,"src":"30693:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"30676:25:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"nodeType":"VariableDeclarationStatement","src":"30640:61:30"},{"body":{"id":11131,"nodeType":"Block","src":"30764:114:30","statements":[{"condition":{"id":11126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"30782:40:30","subExpression":{"expression":{"baseExpression":{"id":11120,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"30783:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":11124,"indexExpression":{"baseExpression":{"id":11121,"name":"eventCategories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11104,"src":"30794:15:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":11123,"indexExpression":{"id":11122,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11110,"src":"30810:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"30794:18:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"30783:30:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref"}},"id":11125,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"30814:8:30","memberName":"hasQuota","nodeType":"MemberAccess","referencedDeclaration":8843,"src":"30783:39:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11130,"nodeType":"IfStatement","src":"30778:90:30","trueBody":{"id":11129,"nodeType":"Block","src":"30824:44:30","statements":[{"expression":{"hexValue":"74727565","id":11127,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"30849:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":11099,"id":11128,"nodeType":"Return","src":"30842:11:30"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11116,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11113,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11110,"src":"30731:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":11114,"name":"eventCategories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11104,"src":"30735:15:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":11115,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"30751:6:30","memberName":"length","nodeType":"MemberAccess","src":"30735:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"30731:26:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11132,"initializationExpression":{"assignments":[11110],"declarations":[{"constant":false,"id":11110,"mutability":"mutable","name":"i","nameLocation":"30724:1:30","nodeType":"VariableDeclaration","scope":11132,"src":"30716:9:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11109,"name":"uint256","nodeType":"ElementaryTypeName","src":"30716:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11112,"initialValue":{"hexValue":"30","id":11111,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"30728:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"30716:13:30"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":11118,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"30759:3:30","subExpression":{"id":11117,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11110,"src":"30759:1:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11119,"nodeType":"ExpressionStatement","src":"30759:3:30"},"nodeType":"ForStatement","src":"30711:167:30"},{"expression":{"hexValue":"66616c7365","id":11133,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"30894:5:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":11099,"id":11134,"nodeType":"Return","src":"30887:12:30"}]},"id":11136,"implemented":true,"kind":"function","modifiers":[],"name":"_eventHasUnlimitedCategory","nameLocation":"30557:26:30","nodeType":"FunctionDefinition","parameters":{"id":11096,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11095,"mutability":"mutable","name":"eventId","nameLocation":"30592:7:30","nodeType":"VariableDeclaration","scope":11136,"src":"30584:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11094,"name":"uint256","nodeType":"ElementaryTypeName","src":"30584:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30583:17:30"},"returnParameters":{"id":11099,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11098,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11136,"src":"30624:4:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":11097,"name":"bool","nodeType":"ElementaryTypeName","src":"30624:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"30623:6:30"},"scope":11595,"src":"30548:358:30","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":11152,"nodeType":"Block","src":"30986:150:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":11148,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":11142,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"31017:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":11144,"indexExpression":{"id":11143,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11138,"src":"31029:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"31017:25:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"id":11145,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"31043:8:30","memberName":"provider","nodeType":"MemberAccess","referencedDeclaration":8806,"src":"31017:34:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11146,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"31055:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":11147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"31059:6:30","memberName":"sender","nodeType":"MemberAccess","src":"31055:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"31017:48:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"476976656e206576656e742062656c6f6e677320746f20616e6f746865722070726f7669646572","id":11149,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"31078:41:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_da943e681c94f8c67a1a0690d033ca2ab09670f9c67f5ba52c60fa9f1cd46237","typeString":"literal_string \"Given event belongs to another provider\""},"value":"Given event belongs to another provider"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_da943e681c94f8c67a1a0690d033ca2ab09670f9c67f5ba52c60fa9f1cd46237","typeString":"literal_string \"Given event belongs to another provider\""}],"id":11141,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"30996:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11150,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"30996:133:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11151,"nodeType":"ExpressionStatement","src":"30996:133:30"}]},"id":11153,"implemented":true,"kind":"function","modifiers":[],"name":"ensureEventBelongsToProvider","nameLocation":"30921:28:30","nodeType":"FunctionDefinition","parameters":{"id":11139,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11138,"mutability":"mutable","name":"eventPlaceId","nameLocation":"30958:12:30","nodeType":"VariableDeclaration","scope":11153,"src":"30950:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11137,"name":"uint256","nodeType":"ElementaryTypeName","src":"30950:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"30949:22:30"},"returnParameters":{"id":11140,"nodeType":"ParameterList","parameters":[],"src":"30986:0:30"},"scope":11595,"src":"30912:224:30","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":11170,"nodeType":"Block","src":"31224:137:30","statements":[{"condition":{"arguments":[{"id":11159,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8767,"src":"31246:11:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":11160,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"31259:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":11161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"31263:6:30","memberName":"sender","nodeType":"MemberAccess","src":"31259:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11158,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"31238:7:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":11162,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31238:32:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11165,"nodeType":"IfStatement","src":"31234:69:30","trueBody":{"id":11164,"nodeType":"Block","src":"31272:31:30","statements":[{"functionReturnParameters":11157,"id":11163,"nodeType":"Return","src":"31286:7:30"}]}},{"expression":{"arguments":[{"id":11167,"name":"eventPlaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11155,"src":"31341:12:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11166,"name":"ensureEventBelongsToProvider","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11153,"src":"31312:28:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$__$","typeString":"function (uint256) view"}},"id":11168,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31312:42:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11169,"nodeType":"ExpressionStatement","src":"31312:42:30"}]},"id":11171,"implemented":true,"kind":"function","modifiers":[],"name":"ensureEventBelongsToProviderOrMaster","nameLocation":"31151:36:30","nodeType":"FunctionDefinition","parameters":{"id":11156,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11155,"mutability":"mutable","name":"eventPlaceId","nameLocation":"31196:12:30","nodeType":"VariableDeclaration","scope":11171,"src":"31188:20:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11154,"name":"uint256","nodeType":"ElementaryTypeName","src":"31188:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"31187:22:30"},"returnParameters":{"id":11157,"nodeType":"ParameterList","parameters":[],"src":"31224:0:30"},"scope":11595,"src":"31142:219:30","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":11295,"nodeType":"Block","src":"31605:1442:30","statements":[{"assignments":[11186],"declarations":[{"constant":false,"id":11186,"mutability":"mutable","name":"evt","nameLocation":"31629:3:30","nodeType":"VariableDeclaration","scope":11295,"src":"31615:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_26998879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":11185,"nodeType":"UserDefinedTypeName","pathNode":{"id":11184,"name":"Event","nameLocations":["31615:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"31615:5:30"},"referencedDeclaration":8879,"src":"31615:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27008879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":11190,"initialValue":{"baseExpression":{"id":11187,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"31635:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":11189,"indexExpression":{"id":11188,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11173,"src":"31642:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"31635:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"31615:35:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_27038833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":11196,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":11192,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11186,"src":"31668:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27048879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11193,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"31672:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"31668:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_27058833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11194,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"31682:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":11195,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"31694:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8828,"src":"31682:21:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"31668:35:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74206d75737420626520696e207375626d6974746564207374617465","id":11197,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"31705:34:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_c584fc89535216349c450291df1ff67ca33f4dea9c052f94fce06d457a89d424","typeString":"literal_string \"Event must be in submitted state\""},"value":"Event must be in submitted state"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c584fc89535216349c450291df1ff67ca33f4dea9c052f94fce06d457a89d424","typeString":"literal_string \"Event must be in submitted state\""}],"id":11191,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"31660:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11198,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31660:80:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11199,"nodeType":"ExpressionStatement","src":"31660:80:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":11203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11201,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11177,"src":"31758:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"hexValue":"3130303030","id":11202,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31780:5:30","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"value":"10000"},"src":"31758:27:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"446973636f756e7420746f6f2068696768","id":11204,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"31787:19:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_5d480d8b2186831a81a9f592739f372616ceb614c605d5109402640632bc6d78","typeString":"literal_string \"Discount too high\""},"value":"Discount too high"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5d480d8b2186831a81a9f592739f372616ceb614c605d5109402640632bc6d78","typeString":"literal_string \"Discount too high\""}],"id":11200,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"31750:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11205,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31750:57:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11206,"nodeType":"ExpressionStatement","src":"31750:57:30"},{"condition":{"id":11207,"name":"hasQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11181,"src":"31896:8:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":11257,"nodeType":"Block","src":"32353:161:30","statements":[{"expression":{"arguments":[{"id":11253,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"32392:36:30","subExpression":{"arguments":[{"id":11251,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11173,"src":"32420:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11250,"name":"_eventHasUnlimitedCategory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11136,"src":"32393:26:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_bool_$","typeString":"function (uint256) view returns (bool)"}},"id":11252,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32393:35:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c79206f6e6520756e6c696d697465642071756f74612063617465676f727920616c6c6f776564","id":11254,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"32446:43:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_1e86ada4b6c8a41090cb113161f44950e40b1c925f3ea31957152b81c93db3d8","typeString":"literal_string \"Only one unlimited quota category allowed\""},"value":"Only one unlimited quota category allowed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_1e86ada4b6c8a41090cb113161f44950e40b1c925f3ea31957152b81c93db3d8","typeString":"literal_string \"Only one unlimited quota category allowed\""}],"id":11249,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"32367:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32367:136:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11256,"nodeType":"ExpressionStatement","src":"32367:136:30"}]},"id":11258,"nodeType":"IfStatement","src":"31892:622:30","trueBody":{"id":11248,"nodeType":"Block","src":"31906:441:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":11211,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11209,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11179,"src":"31928:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":11210,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"31936:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"31928:9:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"51756f7461206d7573742062652067726561746572207468616e2030","id":11212,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"31939:30:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_2cd1220afc297678adda5a82a4a6c69c31f9e09f36a4c067140c94c2441da77c","typeString":"literal_string \"Quota must be greater than 0\""},"value":"Quota must be greater than 0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_2cd1220afc297678adda5a82a4a6c69c31f9e09f36a4c067140c94c2441da77c","typeString":"literal_string \"Quota must be greater than 0\""}],"id":11208,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"31920:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11213,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"31920:50:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11214,"nodeType":"ExpressionStatement","src":"31920:50:30"},{"assignments":[11217],"declarations":[{"constant":false,"id":11217,"mutability":"mutable","name":"place","nameLocation":"32003:5:30","nodeType":"VariableDeclaration","scope":11248,"src":"31984:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27248827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":11216,"nodeType":"UserDefinedTypeName","pathNode":{"id":11215,"name":"EventPlace","nameLocations":["31984:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"31984:10:30"},"referencedDeclaration":8827,"src":"31984:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27258827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":11222,"initialValue":{"baseExpression":{"id":11218,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"32011:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":11221,"indexExpression":{"expression":{"id":11219,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11186,"src":"32023:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11220,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"32027:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"32023:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"32011:29:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27288827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"31984:56:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":11227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11224,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11179,"src":"32062:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":11225,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11217,"src":"32071:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27298827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":11226,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"32077:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"32071:16:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"32062:25:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"51756f74612065786365656473206576656e74206361706163697479","id":11228,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"32089:30:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_92d9fbb6ff80a07a07c75e96baab5c73c735c77d69a103d1ffd7d97eb370ba9f","typeString":"literal_string \"Quota exceeds event capacity\""},"value":"Quota exceeds event capacity"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_92d9fbb6ff80a07a07c75e96baab5c73c735c77d69a103d1ffd7d97eb370ba9f","typeString":"literal_string \"Quota exceeds event capacity\""}],"id":11223,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"32054:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11229,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32054:66:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11230,"nodeType":"ExpressionStatement","src":"32054:66:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11238,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11235,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":11232,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11186,"src":"32142:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11233,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"32146:18:30","memberName":"totalCategoryQuota","nodeType":"MemberAccess","referencedDeclaration":8878,"src":"32142:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":11234,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11179,"src":"32167:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"32142:30:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":11236,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11217,"src":"32176:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27348827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":11237,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"32182:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"32176:16:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"32142:50:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"546f74616c2063617465676f72792071756f74617320657863656564206576656e74206361706163697479","id":11239,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"32210:45:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_a2d01b5956abb49c9fc899fa56346c945b7106154c15b32668623e1cfb405469","typeString":"literal_string \"Total category quotas exceed event capacity\""},"value":"Total category quotas exceed event capacity"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_a2d01b5956abb49c9fc899fa56346c945b7106154c15b32668623e1cfb405469","typeString":"literal_string \"Total category quotas exceed event capacity\""}],"id":11231,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"32134:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11240,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32134:122:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11241,"nodeType":"ExpressionStatement","src":"32134:122:30"},{"expression":{"id":11246,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":11242,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11186,"src":"32305:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11244,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"32309:18:30","memberName":"totalCategoryQuota","nodeType":"MemberAccess","referencedDeclaration":8878,"src":"32305:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":11245,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11179,"src":"32331:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"32305:31:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11247,"nodeType":"ExpressionStatement","src":"32305:31:30"}]}},{"expression":{"arguments":[{"arguments":[{"id":11263,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11175,"src":"32575:4:30","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":11264,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11173,"src":"32602:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11265,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11177,"src":"32643:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":11266,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11179,"src":"32682:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":11267,"name":"hasQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11181,"src":"32711:8:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"30","id":11268,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32739:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":11262,"name":"TicketCategory","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8846,"src":"32540:14:30","typeDescriptions":{"typeIdentifier":"t_type$_t_struct$_TicketCategory_$8846_storage_ptr_$","typeString":"type(struct CyberValleyEventManager.TicketCategory storage pointer)"}},"id":11269,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["32569:4:30","32593:7:30","32623:18:30","32675:5:30","32701:8:30","32733:4:30"],"names":["name","eventId","discountPercentage","quota","hasQuota","sold"],"nodeType":"FunctionCall","src":"32540:211:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_memory_ptr","typeString":"struct CyberValleyEventManager.TicketCategory memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_27418846_memory_ptr","typeString":"struct CyberValleyEventManager.TicketCategory memory"}],"expression":{"id":11259,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"32524:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":11261,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"32535:4:30","memberName":"push","nodeType":"MemberAccess","src":"32524:15:30","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage_ptr_$_t_structMATH_PLACEHOLDER_27468846_storage_$returns$__$attached_to$_t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage_ptr_$","typeString":"function (struct CyberValleyEventManager.TicketCategory storage ref[] storage pointer,struct CyberValleyEventManager.TicketCategory storage ref)"}},"id":11270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32524:228:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11271,"nodeType":"ExpressionStatement","src":"32524:228:30"},{"assignments":[11273],"declarations":[{"constant":false,"id":11273,"mutability":"mutable","name":"categoryId","nameLocation":"32771:10:30","nodeType":"VariableDeclaration","scope":11295,"src":"32763:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11272,"name":"uint256","nodeType":"ElementaryTypeName","src":"32763:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11278,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":11274,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"32784:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":11275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"32795:6:30","memberName":"length","nodeType":"MemberAccess","src":"32784:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":11276,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"32804:1:30","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"32784:21:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"32763:42:30"},{"expression":{"arguments":[{"id":11283,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11273,"src":"32846:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"baseExpression":{"id":11279,"name":"categoryCounters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9043,"src":"32815:16:30","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[] storage ref)"}},"id":11281,"indexExpression":{"id":11280,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11173,"src":"32832:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"32815:25:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":11282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"32841:4:30","memberName":"push","nodeType":"MemberAccess","src":"32815:30:30","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$attached_to$_t_array$_t_uint256_$dyn_storage_ptr_$","typeString":"function (uint256[] storage pointer,uint256)"}},"id":11284,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32815:42:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11285,"nodeType":"ExpressionStatement","src":"32815:42:30"},{"eventCall":{"arguments":[{"id":11287,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11273,"src":"32908:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11288,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11173,"src":"32932:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11289,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11175,"src":"32953:4:30","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":11290,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11177,"src":"32971:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":11291,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11179,"src":"33003:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":11292,"name":"hasQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11181,"src":"33022:8:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":11286,"name":"TicketCategoryCreated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8995,"src":"32873:21:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint16_$_t_uint16_$_t_bool_$returns$__$","typeString":"function (uint256,uint256,string memory,uint16,uint16,bool)"}},"id":11293,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"32873:167:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11294,"nodeType":"EmitStatement","src":"32868:172:30"}]},"id":11296,"implemented":true,"kind":"function","modifiers":[],"name":"_createCategoryForEvent","nameLocation":"31433:23:30","nodeType":"FunctionDefinition","parameters":{"id":11182,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11173,"mutability":"mutable","name":"eventId","nameLocation":"31474:7:30","nodeType":"VariableDeclaration","scope":11296,"src":"31466:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11172,"name":"uint256","nodeType":"ElementaryTypeName","src":"31466:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11175,"mutability":"mutable","name":"name","nameLocation":"31505:4:30","nodeType":"VariableDeclaration","scope":11296,"src":"31491:18:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11174,"name":"string","nodeType":"ElementaryTypeName","src":"31491:6:30","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":11177,"mutability":"mutable","name":"discountPercentage","nameLocation":"31526:18:30","nodeType":"VariableDeclaration","scope":11296,"src":"31519:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11176,"name":"uint16","nodeType":"ElementaryTypeName","src":"31519:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":11179,"mutability":"mutable","name":"quota","nameLocation":"31561:5:30","nodeType":"VariableDeclaration","scope":11296,"src":"31554:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11178,"name":"uint16","nodeType":"ElementaryTypeName","src":"31554:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":11181,"mutability":"mutable","name":"hasQuota","nameLocation":"31581:8:30","nodeType":"VariableDeclaration","scope":11296,"src":"31576:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":11180,"name":"bool","nodeType":"ElementaryTypeName","src":"31576:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"31456:139:30"},"returnParameters":{"id":11183,"nodeType":"ParameterList","parameters":[],"src":"31605:0:30"},"scope":11595,"src":"31424:1623:30","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":11350,"nodeType":"Block","src":"33256:467:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11316,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11313,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11298,"src":"33274:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":11314,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"33284:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":11315,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"33291:6:30","memberName":"length","nodeType":"MemberAccess","src":"33284:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"33274:23:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e7420646f6573206e6f74206578697374","id":11317,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"33299:22:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_d6a0a1b0de2660245b1b2118b6d2e9d5a4b7d37cb6ad58f2fde377db8093825b","typeString":"literal_string \"Event does not exist\""},"value":"Event does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d6a0a1b0de2660245b1b2118b6d2e9d5a4b7d37cb6ad58f2fde377db8093825b","typeString":"literal_string \"Event does not exist\""}],"id":11312,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"33266:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11318,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33266:56:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11319,"nodeType":"ExpressionStatement","src":"33266:56:30"},{"assignments":[11322],"declarations":[{"constant":false,"id":11322,"mutability":"mutable","name":"evt","nameLocation":"33346:3:30","nodeType":"VariableDeclaration","scope":11350,"src":"33332:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27748879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":11321,"nodeType":"UserDefinedTypeName","pathNode":{"id":11320,"name":"Event","nameLocations":["33332:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"33332:5:30"},"referencedDeclaration":8879,"src":"33332:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27758879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":11326,"initialValue":{"baseExpression":{"id":11323,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"33352:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":11325,"indexExpression":{"id":11324,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11298,"src":"33359:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"33352:15:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"33332:35:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":11338,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":11332,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":11328,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11322,"src":"33481:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27788879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11329,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"33485:7:30","memberName":"creator","nodeType":"MemberAccess","referencedDeclaration":8857,"src":"33481:11:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11330,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"33496:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":11331,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"33500:6:30","memberName":"sender","nodeType":"MemberAccess","src":"33496:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"33481:25:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":11334,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"33518:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":11335,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"33539:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":11336,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"33543:6:30","memberName":"sender","nodeType":"MemberAccess","src":"33539:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11333,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"33510:7:30","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":11337,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33510:40:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"33481:69:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c79206576656e742063726561746f72206f72206c6f63616c2070726f76696465722063616e206164642063617465676f72696573","id":11339,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"33564:57:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_a19e8a08907b8eeaf14aeba99a4d98491e0f0b1ad837ea1c2be40428032d59f3","typeString":"literal_string \"Only event creator or local provider can add categories\""},"value":"Only event creator or local provider can add categories"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_a19e8a08907b8eeaf14aeba99a4d98491e0f0b1ad837ea1c2be40428032d59f3","typeString":"literal_string \"Only event creator or local provider can add categories\""}],"id":11327,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"33460:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11340,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33460:171:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11341,"nodeType":"ExpressionStatement","src":"33460:171:30"},{"expression":{"arguments":[{"id":11343,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11298,"src":"33665:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11344,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11300,"src":"33674:4:30","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":11345,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11302,"src":"33680:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":11346,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11304,"src":"33700:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":11347,"name":"hasQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11306,"src":"33707:8:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":11342,"name":"_createCategoryForEvent","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11296,"src":"33641:23:30","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_string_memory_ptr_$_t_uint16_$_t_uint16_$_t_bool_$returns$__$","typeString":"function (uint256,string memory,uint16,uint16,bool)"}},"id":11348,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33641:75:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11349,"nodeType":"ExpressionStatement","src":"33641:75:30"}]},"functionSelector":"a23ed0ea","id":11351,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":11309,"name":"VERIFIED_SHAMAN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8777,"src":"33234:20:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":11310,"kind":"modifierInvocation","modifierName":{"id":11308,"name":"onlyRole","nameLocations":["33225:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"33225:8:30"},"nodeType":"ModifierInvocation","src":"33225:30:30"}],"name":"createCategory","nameLocation":"33062:14:30","nodeType":"FunctionDefinition","parameters":{"id":11307,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11298,"mutability":"mutable","name":"eventId","nameLocation":"33094:7:30","nodeType":"VariableDeclaration","scope":11351,"src":"33086:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11297,"name":"uint256","nodeType":"ElementaryTypeName","src":"33086:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11300,"mutability":"mutable","name":"name","nameLocation":"33125:4:30","nodeType":"VariableDeclaration","scope":11351,"src":"33111:18:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11299,"name":"string","nodeType":"ElementaryTypeName","src":"33111:6:30","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":11302,"mutability":"mutable","name":"discountPercentage","nameLocation":"33146:18:30","nodeType":"VariableDeclaration","scope":11351,"src":"33139:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11301,"name":"uint16","nodeType":"ElementaryTypeName","src":"33139:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":11304,"mutability":"mutable","name":"quota","nameLocation":"33181:5:30","nodeType":"VariableDeclaration","scope":11351,"src":"33174:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11303,"name":"uint16","nodeType":"ElementaryTypeName","src":"33174:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":11306,"mutability":"mutable","name":"hasQuota","nameLocation":"33201:8:30","nodeType":"VariableDeclaration","scope":11351,"src":"33196:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":11305,"name":"bool","nodeType":"ElementaryTypeName","src":"33196:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"33076:139:30"},"returnParameters":{"id":11311,"nodeType":"ParameterList","parameters":[],"src":"33256:0:30"},"scope":11595,"src":"33053:670:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":11524,"nodeType":"Block","src":"33934:1858:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11371,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11368,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11353,"src":"33952:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":11369,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"33965:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":11370,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"33976:6:30","memberName":"length","nodeType":"MemberAccess","src":"33965:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"33952:30:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43617465676f727920646f6573206e6f74206578697374","id":11372,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"33984:25:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_45af4e006b2e8a2ee5e9f88bbad638c061222f1ecd8db30b4b1a304f33b0ddb5","typeString":"literal_string \"Category does not exist\""},"value":"Category does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_45af4e006b2e8a2ee5e9f88bbad638c061222f1ecd8db30b4b1a304f33b0ddb5","typeString":"literal_string \"Category does not exist\""}],"id":11367,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"33944:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11373,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"33944:66:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11374,"nodeType":"ExpressionStatement","src":"33944:66:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":11378,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11376,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11357,"src":"34028:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"hexValue":"3130303030","id":11377,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"34050:5:30","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"value":"10000"},"src":"34028:27:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"446973636f756e7420746f6f2068696768","id":11379,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"34057:19:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_5d480d8b2186831a81a9f592739f372616ceb614c605d5109402640632bc6d78","typeString":"literal_string \"Discount too high\""},"value":"Discount too high"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5d480d8b2186831a81a9f592739f372616ceb614c605d5109402640632bc6d78","typeString":"literal_string \"Discount too high\""}],"id":11375,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"34020:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11380,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34020:57:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11381,"nodeType":"ExpressionStatement","src":"34020:57:30"},{"assignments":[11384],"declarations":[{"constant":false,"id":11384,"mutability":"mutable","name":"category","nameLocation":"34110:8:30","nodeType":"VariableDeclaration","scope":11524,"src":"34087:31:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory"},"typeName":{"id":11383,"nodeType":"UserDefinedTypeName","pathNode":{"id":11382,"name":"TicketCategory","nameLocations":["34087:14:30"],"nodeType":"IdentifierPath","referencedDeclaration":8846,"src":"34087:14:30"},"referencedDeclaration":8846,"src":"34087:14:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_27998846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory"}},"visibility":"internal"}],"id":11388,"initialValue":{"baseExpression":{"id":11385,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"34121:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":11387,"indexExpression":{"id":11386,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11353,"src":"34132:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"34121:22:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref"}},"nodeType":"VariableDeclarationStatement","src":"34087:56:30"},{"assignments":[11391],"declarations":[{"constant":false,"id":11391,"mutability":"mutable","name":"evt","nameLocation":"34168:3:30","nodeType":"VariableDeclaration","scope":11524,"src":"34154:17:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28028879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"},"typeName":{"id":11390,"nodeType":"UserDefinedTypeName","pathNode":{"id":11389,"name":"Event","nameLocations":["34154:5:30"],"nodeType":"IdentifierPath","referencedDeclaration":8879,"src":"34154:5:30"},"referencedDeclaration":8879,"src":"34154:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28038879_storage_ptr","typeString":"struct CyberValleyEventManager.Event"}},"visibility":"internal"}],"id":11396,"initialValue":{"baseExpression":{"id":11392,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"34174:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":11395,"indexExpression":{"expression":{"id":11393,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"34181:8:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11394,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"34190:7:30","memberName":"eventId","nodeType":"MemberAccess","referencedDeclaration":8837,"src":"34181:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"34174:24:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28068879_storage","typeString":"struct CyberValleyEventManager.Event storage ref"}},"nodeType":"VariableDeclarationStatement","src":"34154:44:30"},{"assignments":[11399],"declarations":[{"constant":false,"id":11399,"mutability":"mutable","name":"place","nameLocation":"34227:5:30","nodeType":"VariableDeclaration","scope":11524,"src":"34208:24:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28078827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"},"typeName":{"id":11398,"nodeType":"UserDefinedTypeName","pathNode":{"id":11397,"name":"EventPlace","nameLocations":["34208:10:30"],"nodeType":"IdentifierPath","referencedDeclaration":8827,"src":"34208:10:30"},"referencedDeclaration":8827,"src":"34208:10:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28088827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace"}},"visibility":"internal"}],"id":11404,"initialValue":{"baseExpression":{"id":11400,"name":"eventPlaces","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9030,"src":"34235:11:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_EventPlace_$8827_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref[] storage ref"}},"id":11403,"indexExpression":{"expression":{"id":11401,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11391,"src":"34247:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11402,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"34251:12:30","memberName":"eventPlaceId","nodeType":"MemberAccess","referencedDeclaration":8859,"src":"34247:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"34235:29:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28118827_storage","typeString":"struct CyberValleyEventManager.EventPlace storage ref"}},"nodeType":"VariableDeclarationStatement","src":"34208:56:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":11410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":11406,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11399,"src":"34295:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28128827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":11407,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"34301:8:30","memberName":"provider","nodeType":"MemberAccess","referencedDeclaration":8806,"src":"34295:14:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11408,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"34313:3:30","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":11409,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"34317:6:30","memberName":"sender","nodeType":"MemberAccess","src":"34313:10:30","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"34295:28:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f6e6c7920746865206c6f63616c2070726f7669646572206f6620746865206576656e742063616e207570646174652063617465676f72696573","id":11411,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"34337:60:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_4350b2b5148d7cd8ae63e0570471ea639ae50378d5f3270762ed5d2263351542","typeString":"literal_string \"Only the local provider of the event can update categories\""},"value":"Only the local provider of the event can update categories"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_4350b2b5148d7cd8ae63e0570471ea639ae50378d5f3270762ed5d2263351542","typeString":"literal_string \"Only the local provider of the event can update categories\""}],"id":11405,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"34274:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11412,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34274:133:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11413,"nodeType":"ExpressionStatement","src":"34274:133:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"},"id":11419,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":11415,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11391,"src":"34425:3:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28178879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11416,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"34429:6:30","memberName":"status","nodeType":"MemberAccess","referencedDeclaration":8868,"src":"34425:10:30","typeDescriptions":{"typeIdentifier":"t_enumMATH_PLACEHOLDER_28188833","typeString":"enum CyberValleyEventManager.EventStatus"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":11417,"name":"EventStatus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8833,"src":"34439:11:30","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_EventStatus_$8833_$","typeString":"type(enum CyberValleyEventManager.EventStatus)"}},"id":11418,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"34451:9:30","memberName":"Submitted","nodeType":"MemberAccess","referencedDeclaration":8828,"src":"34439:21:30","typeDescriptions":{"typeIdentifier":"t_enum$_EventStatus_$8833","typeString":"enum CyberValleyEventManager.EventStatus"}},"src":"34425:35:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74206d75737420626520696e207375626d6974746564207374617465","id":11420,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"34462:34:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_c584fc89535216349c450291df1ff67ca33f4dea9c052f94fce06d457a89d424","typeString":"literal_string \"Event must be in submitted state\""},"value":"Event must be in submitted state"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c584fc89535216349c450291df1ff67ca33f4dea9c052f94fce06d457a89d424","typeString":"literal_string \"Event must be in submitted state\""}],"id":11414,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"34417:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11421,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34417:80:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11422,"nodeType":"ExpressionStatement","src":"34417:80:30"},{"condition":{"id":11423,"name":"hasQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11361,"src":"34586:8:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":11488,"nodeType":"Block","src":"35326:109:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":11484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":11481,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"35348:8:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11482,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"35357:8:30","memberName":"hasQuota","nodeType":"MemberAccess","referencedDeclaration":8843,"src":"35348:17:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"66616c7365","id":11483,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"35369:5:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"35348:26:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43616e6e6f74206368616e67652066726f6d206c696d6974656420746f20756e6c696d697465642071756f7461","id":11485,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"35376:47:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_4e7569950d9ae0d47fe05bb6a5795a65e86f06660cb0fa8cb48ca315e07348cd","typeString":"literal_string \"Cannot change from limited to unlimited quota\""},"value":"Cannot change from limited to unlimited quota"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_4e7569950d9ae0d47fe05bb6a5795a65e86f06660cb0fa8cb48ca315e07348cd","typeString":"literal_string \"Cannot change from limited to unlimited quota\""}],"id":11480,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"35340:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11486,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"35340:84:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11487,"nodeType":"ExpressionStatement","src":"35340:84:30"}]},"id":11489,"nodeType":"IfStatement","src":"34582:853:30","trueBody":{"id":11479,"nodeType":"Block","src":"34596:724:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":11427,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11425,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11359,"src":"34618:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":11426,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"34626:1:30","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"34618:9:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"51756f7461206d7573742062652067726561746572207468616e2030","id":11428,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"34629:30:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_2cd1220afc297678adda5a82a4a6c69c31f9e09f36a4c067140c94c2441da77c","typeString":"literal_string \"Quota must be greater than 0\""},"value":"Quota must be greater than 0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_2cd1220afc297678adda5a82a4a6c69c31f9e09f36a4c067140c94c2441da77c","typeString":"literal_string \"Quota must be greater than 0\""}],"id":11424,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"34610:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11429,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34610:50:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11430,"nodeType":"ExpressionStatement","src":"34610:50:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":11435,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11432,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11359,"src":"34682:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":11433,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"34691:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28328846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11434,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"34700:4:30","memberName":"sold","nodeType":"MemberAccess","referencedDeclaration":8845,"src":"34691:13:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"34682:22:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"51756f74612063616e6e6f74206265206c657373207468616e207469636b65747320616c726561647920736f6c64","id":11436,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"34706:48:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_18fe464cf9bfdf9118579f7f93020e692b37dfb10ec72e50aef8d72172f083b5","typeString":"literal_string \"Quota cannot be less than tickets already sold\""},"value":"Quota cannot be less than tickets already sold"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_18fe464cf9bfdf9118579f7f93020e692b37dfb10ec72e50aef8d72172f083b5","typeString":"literal_string \"Quota cannot be less than tickets already sold\""}],"id":11431,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"34674:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11437,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34674:81:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11438,"nodeType":"ExpressionStatement","src":"34674:81:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":11443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11440,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11359,"src":"34777:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":11441,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11399,"src":"34786:5:30","typeDescriptions":{"typeIdentifier":"t_struct$_EventPlace_$8827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":11442,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"34792:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"34786:16:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"34777:25:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"51756f74612065786365656473206576656e74206361706163697479","id":11444,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"34804:30:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_92d9fbb6ff80a07a07c75e96baab5c73c735c77d69a103d1ffd7d97eb370ba9f","typeString":"literal_string \"Quota exceeds event capacity\""},"value":"Quota exceeds event capacity"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_92d9fbb6ff80a07a07c75e96baab5c73c735c77d69a103d1ffd7d97eb370ba9f","typeString":"literal_string \"Quota exceeds event capacity\""}],"id":11439,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"34769:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11445,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"34769:66:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11446,"nodeType":"ExpressionStatement","src":"34769:66:30"},{"assignments":[11448],"declarations":[{"constant":false,"id":11448,"mutability":"mutable","name":"newTotalQuota","nameLocation":"34928:13:30","nodeType":"VariableDeclaration","scope":11479,"src":"34920:21:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11447,"name":"uint256","nodeType":"ElementaryTypeName","src":"34920:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11451,"initialValue":{"expression":{"id":11449,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11391,"src":"34944:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11450,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"34948:18:30","memberName":"totalCategoryQuota","nodeType":"MemberAccess","referencedDeclaration":8878,"src":"34944:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"34920:46:30"},{"condition":{"expression":{"id":11452,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"34984:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28418846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11453,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"34993:8:30","memberName":"hasQuota","nodeType":"MemberAccess","referencedDeclaration":8843,"src":"34984:17:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11460,"nodeType":"IfStatement","src":"34980:87:30","trueBody":{"id":11459,"nodeType":"Block","src":"35003:64:30","statements":[{"expression":{"id":11457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11454,"name":"newTotalQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11448,"src":"35021:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"-=","rightHandSide":{"expression":{"id":11455,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"35038:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28428846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11456,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"35047:5:30","memberName":"quota","nodeType":"MemberAccess","referencedDeclaration":8841,"src":"35038:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"35021:31:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11458,"nodeType":"ExpressionStatement","src":"35021:31:30"}]}},{"expression":{"id":11463,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11461,"name":"newTotalQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11448,"src":"35080:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":11462,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11359,"src":"35097:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"35080:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11464,"nodeType":"ExpressionStatement","src":"35080:22:30"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11469,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11466,"name":"newTotalQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11448,"src":"35124:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":11467,"name":"place","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11399,"src":"35141:5:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28438827_storage_ptr","typeString":"struct CyberValleyEventManager.EventPlace storage pointer"}},"id":11468,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"35147:10:30","memberName":"maxTickets","nodeType":"MemberAccess","referencedDeclaration":8808,"src":"35141:16:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"35124:33:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"546f74616c2063617465676f72792071756f74617320657863656564206576656e74206361706163697479","id":11470,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"35175:45:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_a2d01b5956abb49c9fc899fa56346c945b7106154c15b32668623e1cfb405469","typeString":"literal_string \"Total category quotas exceed event capacity\""},"value":"Total category quotas exceed event capacity"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_a2d01b5956abb49c9fc899fa56346c945b7106154c15b32668623e1cfb405469","typeString":"literal_string \"Total category quotas exceed event capacity\""}],"id":11465,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"35116:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11471,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"35116:105:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11472,"nodeType":"ExpressionStatement","src":"35116:105:30"},{"expression":{"id":11477,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":11473,"name":"evt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11391,"src":"35271:3:30","typeDescriptions":{"typeIdentifier":"t_struct$_Event_$8879_storage_ptr","typeString":"struct CyberValleyEventManager.Event storage pointer"}},"id":11475,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"35275:18:30","memberName":"totalCategoryQuota","nodeType":"MemberAccess","referencedDeclaration":8878,"src":"35271:22:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11476,"name":"newTotalQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11448,"src":"35296:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"35271:38:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11478,"nodeType":"ExpressionStatement","src":"35271:38:30"}]}},{"expression":{"id":11494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":11490,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"35445:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28488846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11492,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"35454:4:30","memberName":"name","nodeType":"MemberAccess","referencedDeclaration":8835,"src":"35445:13:30","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11493,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11355,"src":"35461:4:30","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"35445:20:30","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":11495,"nodeType":"ExpressionStatement","src":"35445:20:30"},{"expression":{"id":11500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":11496,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"35475:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28498846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11498,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"35484:18:30","memberName":"discountPercentage","nodeType":"MemberAccess","referencedDeclaration":8839,"src":"35475:27:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11499,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11357,"src":"35505:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"35475:48:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":11501,"nodeType":"ExpressionStatement","src":"35475:48:30"},{"expression":{"id":11506,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":11502,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"35533:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28508846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11504,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"35542:5:30","memberName":"quota","nodeType":"MemberAccess","referencedDeclaration":8841,"src":"35533:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11505,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11359,"src":"35550:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"35533:22:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":11507,"nodeType":"ExpressionStatement","src":"35533:22:30"},{"expression":{"id":11512,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":11508,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"35565:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28518846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11510,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"35574:8:30","memberName":"hasQuota","nodeType":"MemberAccess","referencedDeclaration":8843,"src":"35565:17:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11511,"name":"hasQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11361,"src":"35585:8:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"35565:28:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11513,"nodeType":"ExpressionStatement","src":"35565:28:30"},{"eventCall":{"arguments":[{"id":11515,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11353,"src":"35644:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":11516,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11384,"src":"35668:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28528846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11517,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"35677:7:30","memberName":"eventId","nodeType":"MemberAccess","referencedDeclaration":8837,"src":"35668:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11518,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11355,"src":"35698:4:30","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":11519,"name":"discountPercentage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11357,"src":"35716:18:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":11520,"name":"quota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11359,"src":"35748:5:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"id":11521,"name":"hasQuota","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11361,"src":"35767:8:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_uint16","typeString":"uint16"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":11514,"name":"TicketCategoryUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9009,"src":"35609:21:30","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_string_memory_ptr_$_t_uint16_$_t_uint16_$_t_bool_$returns$__$","typeString":"function (uint256,uint256,string memory,uint16,uint16,bool)"}},"id":11522,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"35609:176:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11523,"nodeType":"EmitStatement","src":"35604:181:30"}]},"functionSelector":"124f615b","id":11525,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":11364,"name":"LOCAL_PROVIDER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8772,"src":"33913:19:30","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":11365,"kind":"modifierInvocation","modifierName":{"id":11363,"name":"onlyRole","nameLocations":["33904:8:30"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"33904:8:30"},"nodeType":"ModifierInvocation","src":"33904:29:30"}],"name":"updateCategory","nameLocation":"33738:14:30","nodeType":"FunctionDefinition","parameters":{"id":11362,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11353,"mutability":"mutable","name":"categoryId","nameLocation":"33770:10:30","nodeType":"VariableDeclaration","scope":11525,"src":"33762:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11352,"name":"uint256","nodeType":"ElementaryTypeName","src":"33762:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11355,"mutability":"mutable","name":"name","nameLocation":"33804:4:30","nodeType":"VariableDeclaration","scope":11525,"src":"33790:18:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11354,"name":"string","nodeType":"ElementaryTypeName","src":"33790:6:30","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":11357,"mutability":"mutable","name":"discountPercentage","nameLocation":"33825:18:30","nodeType":"VariableDeclaration","scope":11525,"src":"33818:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11356,"name":"uint16","nodeType":"ElementaryTypeName","src":"33818:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":11359,"mutability":"mutable","name":"quota","nameLocation":"33860:5:30","nodeType":"VariableDeclaration","scope":11525,"src":"33853:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11358,"name":"uint16","nodeType":"ElementaryTypeName","src":"33853:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":11361,"mutability":"mutable","name":"hasQuota","nameLocation":"33880:8:30","nodeType":"VariableDeclaration","scope":11525,"src":"33875:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":11360,"name":"bool","nodeType":"ElementaryTypeName","src":"33875:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"33752:142:30"},"returnParameters":{"id":11366,"nodeType":"ParameterList","parameters":[],"src":"33934:0:30"},"scope":11595,"src":"33729:2063:30","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":11571,"nodeType":"Block","src":"36022:278:30","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11546,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11543,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11527,"src":"36040:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":11544,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"36053:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_28598846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":11545,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"36064:6:30","memberName":"length","nodeType":"MemberAccess","src":"36053:17:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"36040:30:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43617465676f727920646f6573206e6f74206578697374","id":11547,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"36072:25:30","typeDescriptions":{"typeIdentifier":"t_stringliteral_45af4e006b2e8a2ee5e9f88bbad638c061222f1ecd8db30b4b1a304f33b0ddb5","typeString":"literal_string \"Category does not exist\""},"value":"Category does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_45af4e006b2e8a2ee5e9f88bbad638c061222f1ecd8db30b4b1a304f33b0ddb5","typeString":"literal_string \"Category does not exist\""}],"id":11542,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"36032:7:30","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11548,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"36032:66:30","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11549,"nodeType":"ExpressionStatement","src":"36032:66:30"},{"assignments":[11552],"declarations":[{"constant":false,"id":11552,"mutability":"mutable","name":"category","nameLocation":"36131:8:30","nodeType":"VariableDeclaration","scope":11571,"src":"36108:31:30","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28648846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory"},"typeName":{"id":11551,"nodeType":"UserDefinedTypeName","pathNode":{"id":11550,"name":"TicketCategory","nameLocations":["36108:14:30"],"nodeType":"IdentifierPath","referencedDeclaration":8846,"src":"36108:14:30"},"referencedDeclaration":8846,"src":"36108:14:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28658846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory"}},"visibility":"internal"}],"id":11556,"initialValue":{"baseExpression":{"id":11553,"name":"categories","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9038,"src":"36142:10:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TicketCategory_$8846_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref[] storage ref"}},"id":11555,"indexExpression":{"id":11554,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11527,"src":"36153:10:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"36142:22:30","typeDescriptions":{"typeIdentifier":"t_struct$_TicketCategory_$8846_storage","typeString":"struct CyberValleyEventManager.TicketCategory storage ref"}},"nodeType":"VariableDeclarationStatement","src":"36108:56:30"},{"expression":{"components":[{"expression":{"id":11557,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11552,"src":"36182:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28688846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11558,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"36191:4:30","memberName":"name","nodeType":"MemberAccess","referencedDeclaration":8835,"src":"36182:13:30","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},{"expression":{"id":11559,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11552,"src":"36197:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28698846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11560,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"36206:7:30","memberName":"eventId","nodeType":"MemberAccess","referencedDeclaration":8837,"src":"36197:16:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":11561,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11552,"src":"36215:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28708846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11562,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"36224:18:30","memberName":"discountPercentage","nodeType":"MemberAccess","referencedDeclaration":8839,"src":"36215:27:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"id":11563,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11552,"src":"36244:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28718846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11564,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"36253:5:30","memberName":"quota","nodeType":"MemberAccess","referencedDeclaration":8841,"src":"36244:14:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},{"expression":{"id":11565,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11552,"src":"36260:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28728846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11566,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"36269:8:30","memberName":"hasQuota","nodeType":"MemberAccess","referencedDeclaration":8843,"src":"36260:17:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"expression":{"id":11567,"name":"category","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11552,"src":"36279:8:30","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_28738846_storage_ptr","typeString":"struct CyberValleyEventManager.TicketCategory storage pointer"}},"id":11568,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"36288:4:30","memberName":"sold","nodeType":"MemberAccess","referencedDeclaration":8845,"src":"36279:13:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"id":11569,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"36181:112:30","typeDescriptions":{"typeIdentifier":"t_tuple$_t_string_storage_$_t_uint256_$_t_uint16_$_t_uint16_$_t_bool_$_t_uint16_$","typeString":"tuple(string storage ref,uint256,uint16,uint16,bool,uint16)"}},"functionReturnParameters":11541,"id":11570,"nodeType":"Return","src":"36174:119:30"}]},"functionSelector":"f3052d26","id":11572,"implemented":true,"kind":"function","modifiers":[],"name":"getCategory","nameLocation":"35807:11:30","nodeType":"FunctionDefinition","parameters":{"id":11528,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11527,"mutability":"mutable","name":"categoryId","nameLocation":"35827:10:30","nodeType":"VariableDeclaration","scope":11572,"src":"35819:18:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11526,"name":"uint256","nodeType":"ElementaryTypeName","src":"35819:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"35818:20:30"},"returnParameters":{"id":11541,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11530,"mutability":"mutable","name":"name","nameLocation":"35885:4:30","nodeType":"VariableDeclaration","scope":11572,"src":"35871:18:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11529,"name":"string","nodeType":"ElementaryTypeName","src":"35871:6:30","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":11532,"mutability":"mutable","name":"eventId","nameLocation":"35907:7:30","nodeType":"VariableDeclaration","scope":11572,"src":"35899:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11531,"name":"uint256","nodeType":"ElementaryTypeName","src":"35899:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11534,"mutability":"mutable","name":"discountPercentage","nameLocation":"35931:18:30","nodeType":"VariableDeclaration","scope":11572,"src":"35924:25:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11533,"name":"uint16","nodeType":"ElementaryTypeName","src":"35924:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":11536,"mutability":"mutable","name":"quota","nameLocation":"35966:5:30","nodeType":"VariableDeclaration","scope":11572,"src":"35959:12:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11535,"name":"uint16","nodeType":"ElementaryTypeName","src":"35959:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":11538,"mutability":"mutable","name":"hasQuota","nameLocation":"35986:8:30","nodeType":"VariableDeclaration","scope":11572,"src":"35981:13:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":11537,"name":"bool","nodeType":"ElementaryTypeName","src":"35981:4:30","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":11540,"mutability":"mutable","name":"sold","nameLocation":"36011:4:30","nodeType":"VariableDeclaration","scope":11572,"src":"36004:11:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":11539,"name":"uint16","nodeType":"ElementaryTypeName","src":"36004:6:30","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"src":"35861:160:30"},"scope":11595,"src":"35798:502:30","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":11584,"nodeType":"Block","src":"36395:49:30","statements":[{"expression":{"baseExpression":{"id":11580,"name":"categoryCounters","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9043,"src":"36412:16:30","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[] storage ref)"}},"id":11582,"indexExpression":{"id":11581,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11574,"src":"36429:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"36412:25:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"functionReturnParameters":11579,"id":11583,"nodeType":"Return","src":"36405:32:30"}]},"functionSelector":"4b8ac1d2","id":11585,"implemented":true,"kind":"function","modifiers":[],"name":"getCategoriesForEvent","nameLocation":"36315:21:30","nodeType":"FunctionDefinition","parameters":{"id":11575,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11574,"mutability":"mutable","name":"eventId","nameLocation":"36345:7:30","nodeType":"VariableDeclaration","scope":11585,"src":"36337:15:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11573,"name":"uint256","nodeType":"ElementaryTypeName","src":"36337:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"36336:17:30"},"returnParameters":{"id":11579,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11578,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11585,"src":"36377:16:30","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":11576,"name":"uint256","nodeType":"ElementaryTypeName","src":"36377:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11577,"nodeType":"ArrayTypeName","src":"36377:9:30","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"36376:18:30"},"scope":11595,"src":"36306:138:30","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":11593,"nodeType":"Block","src":"36508:37:30","statements":[{"expression":{"expression":{"id":11590,"name":"events","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":9034,"src":"36525:6:30","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Event_$8879_storage_$dyn_storage","typeString":"struct CyberValleyEventManager.Event storage ref[] storage ref"}},"id":11591,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"36532:6:30","memberName":"length","nodeType":"MemberAccess","src":"36525:13:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":11589,"id":11592,"nodeType":"Return","src":"36518:20:30"}]},"functionSelector":"30366d5f","id":11594,"implemented":true,"kind":"function","modifiers":[],"name":"getEventsCount","nameLocation":"36459:14:30","nodeType":"FunctionDefinition","parameters":{"id":11586,"nodeType":"ParameterList","parameters":[],"src":"36473:2:30"},"returnParameters":{"id":11589,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11588,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11594,"src":"36499:7:30","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11587,"name":"uint256","nodeType":"ElementaryTypeName","src":"36499:7:30","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"36498:9:30"},"scope":11595,"src":"36450:95:30","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":11596,"src":"395:36152:30","usedErrors":[305,308],"usedEvents":[317,326,335,8903,8932,8952,8959,8977,8981,8995,9009,9013]}],"src":"32:36516:30"},"id":30},"contracts/CyberValleyEventTicket.sol":{"ast":{"absolutePath":"contracts/CyberValleyEventTicket.sol","exportedSymbols":{"AccessControl":[295],"Base58":[12390],"Context":[2576],"CyberValley":[8745],"CyberValleyEventTicket":[12160],"ERC165":[5193],"ERC721":[2306],"ERC721Utils":[2546],"IAccessControl":[378],"IERC165":[5205],"IERC721":[2423],"IERC721Errors":[493],"IERC721Metadata":[2469],"Strings":[4508]},"id":12391,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":11597,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"32:23:31"},{"absolutePath":"@openzeppelin/contracts/token/ERC721/ERC721.sol","file":"@openzeppelin/contracts/token/ERC721/ERC721.sol","id":11598,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12391,"sourceUnit":2307,"src":"57:57:31","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/access/AccessControl.sol","file":"@openzeppelin/contracts/access/AccessControl.sol","id":11599,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12391,"sourceUnit":296,"src":"115:58:31","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/CyberValley.sol","file":"./CyberValley.sol","id":11600,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12391,"sourceUnit":8746,"src":"174:27:31","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":11601,"name":"ERC721","nameLocations":["284:6:31"],"nodeType":"IdentifierPath","referencedDeclaration":2306,"src":"284:6:31"},"id":11602,"nodeType":"InheritanceSpecifier","src":"284:6:31"},{"baseName":{"id":11603,"name":"AccessControl","nameLocations":["292:13:31"],"nodeType":"IdentifierPath","referencedDeclaration":295,"src":"292:13:31"},"id":11604,"nodeType":"InheritanceSpecifier","src":"292:13:31"}],"canonicalName":"CyberValleyEventTicket","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":12160,"linearizedBaseContracts":[12160,295,2306,493,2469,2423,5193,5205,378,2576],"name":"CyberValleyEventTicket","nameLocation":"258:22:31","nodeType":"ContractDefinition","nodes":[{"global":false,"id":11608,"libraryName":{"id":11605,"name":"CyberValley","nameLocations":["318:11:31"],"nodeType":"IdentifierPath","referencedDeclaration":8745,"src":"318:11:31"},"nodeType":"UsingForDirective","src":"312:44:31","typeName":{"id":11607,"nodeType":"UserDefinedTypeName","pathNode":{"id":11606,"name":"CyberValley.Multihash","nameLocations":["334:11:31","346:9:31"],"nodeType":"IdentifierPath","referencedDeclaration":8744,"src":"334:21:31"},"referencedDeclaration":8744,"src":"334:21:31","typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_storage_ptr","typeString":"struct CyberValley.Multihash"}}},{"constant":true,"functionSelector":"dc224863","id":11613,"mutability":"constant","name":"MASTER_ROLE","nameLocation":"386:11:31","nodeType":"VariableDeclaration","scope":12160,"src":"362:62:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":11609,"name":"bytes32","nodeType":"ElementaryTypeName","src":"362:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"4d41535445525f524f4c45","id":11611,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"410:13:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_8b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4c","typeString":"literal_string \"MASTER_ROLE\""},"value":"MASTER_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_8b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4c","typeString":"literal_string \"MASTER_ROLE\""}],"id":11610,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"400:9:31","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":11612,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"400:24:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"85290fa1","id":11618,"mutability":"constant","name":"STAFF_ROLE","nameLocation":"454:10:31","nodeType":"VariableDeclaration","scope":12160,"src":"430:60:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":11614,"name":"bytes32","nodeType":"ElementaryTypeName","src":"430:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"53544146465f524f4c45","id":11616,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"477:12:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_5620a1113a72b02a617976b3f6b15600dd7a8b3a916a9ca01e23119d989a0543","typeString":"literal_string \"STAFF_ROLE\""},"value":"STAFF_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_5620a1113a72b02a617976b3f6b15600dd7a8b3a916a9ca01e23119d989a0543","typeString":"literal_string \"STAFF_ROLE\""}],"id":11615,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"467:9:31","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":11617,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"467:23:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"59486873","id":11623,"mutability":"constant","name":"EVENT_MANAGER_ROLE","nameLocation":"520:18:31","nodeType":"VariableDeclaration","scope":12160,"src":"496:84:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":11619,"name":"bytes32","nodeType":"ElementaryTypeName","src":"496:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"4556454e545f4d414e414745525f524f4c45","id":11621,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"559:20:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_a961ef34a96635180dfffd0ae574060d6c6af619ce89175a103711bf5ce82708","typeString":"literal_string \"EVENT_MANAGER_ROLE\""},"value":"EVENT_MANAGER_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_a961ef34a96635180dfffd0ae574060d6c6af619ce89175a103711bf5ce82708","typeString":"literal_string \"EVENT_MANAGER_ROLE\""}],"id":11620,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"549:9:31","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":11622,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"549:31:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":false,"id":11625,"mutability":"mutable","name":"lastTokenId","nameLocation":"603:11:31","nodeType":"VariableDeclaration","scope":12160,"src":"587:27:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11624,"name":"uint256","nodeType":"ElementaryTypeName","src":"587:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"private"},{"constant":false,"functionSelector":"89e3df11","id":11630,"mutability":"mutable","name":"ticketsMeta","nameLocation":"669:11:31","nodeType":"VariableDeclaration","scope":12160,"src":"620:60:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_structMATH_PLACEHOLDER_28928744_storage_$","typeString":"mapping(uint256 => struct CyberValley.Multihash)"},"typeName":{"id":11629,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":11626,"name":"uint256","nodeType":"ElementaryTypeName","src":"628:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"620:41:31","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Multihash_$8744_storage_$","typeString":"mapping(uint256 => struct CyberValley.Multihash)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":11628,"nodeType":"UserDefinedTypeName","pathNode":{"id":11627,"name":"CyberValley.Multihash","nameLocations":["639:11:31","651:9:31"],"nodeType":"IdentifierPath","referencedDeclaration":8744,"src":"639:21:31"},"referencedDeclaration":8744,"src":"639:21:31","typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_storage_ptr","typeString":"struct CyberValley.Multihash"}}},"visibility":"public"},{"constant":false,"functionSelector":"32d33cd0","id":11634,"mutability":"mutable","name":"isRedeemed","nameLocation":"718:10:31","nodeType":"VariableDeclaration","scope":12160,"src":"686:42:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_bool_$","typeString":"mapping(uint256 => bool)"},"typeName":{"id":11633,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":11631,"name":"uint256","nodeType":"ElementaryTypeName","src":"694:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"686:24:31","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_bool_$","typeString":"mapping(uint256 => bool)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":11632,"name":"bool","nodeType":"ElementaryTypeName","src":"705:4:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}},"visibility":"public"},{"constant":false,"functionSelector":"2b2ad90f","id":11636,"mutability":"mutable","name":"ipfsHost","nameLocation":"749:8:31","nodeType":"VariableDeclaration","scope":12160,"src":"735:22:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string"},"typeName":{"id":11635,"name":"string","nodeType":"ElementaryTypeName","src":"735:6:31","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"public"},{"constant":false,"functionSelector":"581e7415","id":11638,"mutability":"mutable","name":"eventManagerAddress","nameLocation":"778:19:31","nodeType":"VariableDeclaration","scope":12160,"src":"763:34:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11637,"name":"address","nodeType":"ElementaryTypeName","src":"763:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"anonymous":false,"eventSelector":"c01f43857570d249b1e624a21836141242e465280d500923b451e60a622f7098","id":11658,"name":"TicketMinted","nameLocation":"810:12:31","nodeType":"EventDefinition","parameters":{"id":11657,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11640,"indexed":false,"mutability":"mutable","name":"eventId","nameLocation":"840:7:31","nodeType":"VariableDeclaration","scope":11658,"src":"832:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11639,"name":"uint256","nodeType":"ElementaryTypeName","src":"832:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11642,"indexed":false,"mutability":"mutable","name":"ticketId","nameLocation":"865:8:31","nodeType":"VariableDeclaration","scope":11658,"src":"857:16:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11641,"name":"uint256","nodeType":"ElementaryTypeName","src":"857:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11644,"indexed":false,"mutability":"mutable","name":"categoryId","nameLocation":"891:10:31","nodeType":"VariableDeclaration","scope":11658,"src":"883:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11643,"name":"uint256","nodeType":"ElementaryTypeName","src":"883:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11646,"indexed":false,"mutability":"mutable","name":"owner","nameLocation":"919:5:31","nodeType":"VariableDeclaration","scope":11658,"src":"911:13:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11645,"name":"address","nodeType":"ElementaryTypeName","src":"911:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11648,"indexed":false,"mutability":"mutable","name":"digest","nameLocation":"942:6:31","nodeType":"VariableDeclaration","scope":11658,"src":"934:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":11647,"name":"bytes32","nodeType":"ElementaryTypeName","src":"934:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":11650,"indexed":false,"mutability":"mutable","name":"hashFunction","nameLocation":"964:12:31","nodeType":"VariableDeclaration","scope":11658,"src":"958:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11649,"name":"uint8","nodeType":"ElementaryTypeName","src":"958:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":11652,"indexed":false,"mutability":"mutable","name":"size","nameLocation":"992:4:31","nodeType":"VariableDeclaration","scope":11658,"src":"986:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11651,"name":"uint8","nodeType":"ElementaryTypeName","src":"986:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":11654,"indexed":false,"mutability":"mutable","name":"referrer","nameLocation":"1014:8:31","nodeType":"VariableDeclaration","scope":11658,"src":"1006:16:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11653,"name":"address","nodeType":"ElementaryTypeName","src":"1006:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11656,"indexed":false,"mutability":"mutable","name":"pricePaid","nameLocation":"1040:9:31","nodeType":"VariableDeclaration","scope":11658,"src":"1032:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11655,"name":"uint256","nodeType":"ElementaryTypeName","src":"1032:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"822:233:31"},"src":"804:252:31"},{"anonymous":false,"eventSelector":"b0ebd5f2f7c40ca5715d8deab780894f023a63bc249fc45e69df6acbc4e8b568","id":11662,"name":"TicketRedeemed","nameLocation":"1068:14:31","nodeType":"EventDefinition","parameters":{"id":11661,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11660,"indexed":false,"mutability":"mutable","name":"ticketId","nameLocation":"1091:8:31","nodeType":"VariableDeclaration","scope":11662,"src":"1083:16:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11659,"name":"uint256","nodeType":"ElementaryTypeName","src":"1083:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1082:18:31"},"src":"1062:39:31"},{"body":{"id":11696,"nodeType":"Block","src":"1262:169:31","statements":[{"expression":{"arguments":[{"id":11678,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"1283:18:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11679,"name":"_master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11668,"src":"1303:7:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11677,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"1272:10:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":11680,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1272:39:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11681,"nodeType":"ExpressionStatement","src":"1272:39:31"},{"expression":{"arguments":[{"id":11683,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11613,"src":"1332:11:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11684,"name":"_master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11668,"src":"1345:7:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11682,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"1321:10:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":11685,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1321:32:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11686,"nodeType":"ExpressionStatement","src":"1321:32:31"},{"expression":{"arguments":[{"id":11688,"name":"STAFF_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11618,"src":"1374:10:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11689,"name":"_master","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11668,"src":"1386:7:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11687,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"1363:10:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":11690,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1363:31:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11691,"nodeType":"ExpressionStatement","src":"1363:31:31"},{"expression":{"id":11694,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11692,"name":"ipfsHost","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11636,"src":"1404:8:31","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11693,"name":"_ipfsHost","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11670,"src":"1415:9:31","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"src":"1404:20:31","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":11695,"nodeType":"ExpressionStatement","src":"1404:20:31"}]},"id":11697,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"id":11673,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11664,"src":"1248:4:31","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},{"id":11674,"name":"symbol","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11666,"src":"1254:6:31","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"id":11675,"kind":"baseConstructorSpecifier","modifierName":{"id":11672,"name":"ERC721","nameLocations":["1241:6:31"],"nodeType":"IdentifierPath","referencedDeclaration":2306,"src":"1241:6:31"},"nodeType":"ModifierInvocation","src":"1241:20:31"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":11671,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11664,"mutability":"mutable","name":"name","nameLocation":"1142:4:31","nodeType":"VariableDeclaration","scope":11697,"src":"1128:18:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11663,"name":"string","nodeType":"ElementaryTypeName","src":"1128:6:31","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":11666,"mutability":"mutable","name":"symbol","nameLocation":"1170:6:31","nodeType":"VariableDeclaration","scope":11697,"src":"1156:20:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11665,"name":"string","nodeType":"ElementaryTypeName","src":"1156:6:31","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"},{"constant":false,"id":11668,"mutability":"mutable","name":"_master","nameLocation":"1194:7:31","nodeType":"VariableDeclaration","scope":11697,"src":"1186:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11667,"name":"address","nodeType":"ElementaryTypeName","src":"1186:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11670,"mutability":"mutable","name":"_ipfsHost","nameLocation":"1225:9:31","nodeType":"VariableDeclaration","scope":11697,"src":"1211:23:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11669,"name":"string","nodeType":"ElementaryTypeName","src":"1211:6:31","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1118:122:31"},"returnParameters":{"id":11676,"nodeType":"ParameterList","parameters":[],"src":"1262:0:31"},"scope":12160,"src":"1107:324:31","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":11709,"nodeType":"Block","src":"1465:142:31","statements":[{"expression":{"arguments":[{"arguments":[{"id":11701,"name":"EVENT_MANAGER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11623,"src":"1504:18:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":11702,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1524:3:31","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":11703,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1528:6:31","memberName":"sender","nodeType":"MemberAccess","src":"1524:10:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11700,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"1496:7:31","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":11704,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1496:39:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4d7573742068617665206576656e74206d616e6167657220726f6c65","id":11705,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1549:30:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_1754b932b089565ae8a3c32567b3a76617c6931fd483fac79c665de9481c881f","typeString":"literal_string \"Must have event manager role\""},"value":"Must have event manager role"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_1754b932b089565ae8a3c32567b3a76617c6931fd483fac79c665de9481c881f","typeString":"literal_string \"Must have event manager role\""}],"id":11699,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1475:7:31","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11706,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1475:114:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11707,"nodeType":"ExpressionStatement","src":"1475:114:31"},{"id":11708,"nodeType":"PlaceholderStatement","src":"1599:1:31"}]},"id":11710,"name":"onlyEventManager","nameLocation":"1446:16:31","nodeType":"ModifierDefinition","parameters":{"id":11698,"nodeType":"ParameterList","parameters":[],"src":"1462:2:31"},"src":"1437:170:31","virtual":false,"visibility":"internal"},{"body":{"id":11722,"nodeType":"Block","src":"1635:94:31","statements":[{"expression":{"arguments":[{"arguments":[{"id":11714,"name":"MASTER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11613,"src":"1661:11:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":11715,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1674:3:31","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":11716,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1678:6:31","memberName":"sender","nodeType":"MemberAccess","src":"1674:10:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11713,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"1653:7:31","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":11717,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1653:32:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4d7573742068617665206d617374657220726f6c65","id":11718,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1687:23:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_8bf48a1cfa0975e5b68159c6729d80f63da6a05785fd4cc5fc1edf4a2fc3ceaf","typeString":"literal_string \"Must have master role\""},"value":"Must have master role"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_8bf48a1cfa0975e5b68159c6729d80f63da6a05785fd4cc5fc1edf4a2fc3ceaf","typeString":"literal_string \"Must have master role\""}],"id":11712,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1645:7:31","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11719,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1645:66:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11720,"nodeType":"ExpressionStatement","src":"1645:66:31"},{"id":11721,"nodeType":"PlaceholderStatement","src":"1721:1:31"}]},"id":11723,"name":"onlyMaster","nameLocation":"1622:10:31","nodeType":"ModifierDefinition","parameters":{"id":11711,"nodeType":"ParameterList","parameters":[],"src":"1632:2:31"},"src":"1613:116:31","virtual":false,"visibility":"internal"},{"body":{"id":11735,"nodeType":"Block","src":"1756:92:31","statements":[{"expression":{"arguments":[{"arguments":[{"id":11727,"name":"STAFF_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11618,"src":"1782:10:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":11728,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1794:3:31","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":11729,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1798:6:31","memberName":"sender","nodeType":"MemberAccess","src":"1794:10:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11726,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"1774:7:31","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":11730,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1774:31:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4d757374206861766520737461666620726f6c65","id":11731,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1807:22:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_01116add607babcd39b250630c21598885b039acd351c9a9a361a6edace7f175","typeString":"literal_string \"Must have staff role\""},"value":"Must have staff role"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_01116add607babcd39b250630c21598885b039acd351c9a9a361a6edace7f175","typeString":"literal_string \"Must have staff role\""}],"id":11725,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1766:7:31","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11732,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1766:64:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11733,"nodeType":"ExpressionStatement","src":"1766:64:31"},{"id":11734,"nodeType":"PlaceholderStatement","src":"1840:1:31"}]},"id":11736,"name":"onlyStaff","nameLocation":"1744:9:31","nodeType":"ModifierDefinition","parameters":{"id":11724,"nodeType":"ParameterList","parameters":[],"src":"1753:2:31"},"src":"1735:113:31","virtual":false,"visibility":"internal"},{"body":{"id":11773,"nodeType":"Block","src":"1954:369:31","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":11750,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11745,"name":"_eventManagerAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11738,"src":"1985:20:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":11748,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2017:1:31","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":11747,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2009:7:31","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":11746,"name":"address","nodeType":"ElementaryTypeName","src":"2009:7:31","typeDescriptions":{}}},"id":11749,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2009:10:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1985:34:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74206d616e6167657220616464726573732063616e6e6f74206265207a65726f","id":11751,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2033:38:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_bb35dc8fc5ebe17bf89897d8af188f34d697dd2f6edc8b3c2c0648d2a0ec9bd7","typeString":"literal_string \"Event manager address cannot be zero\""},"value":"Event manager address cannot be zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_bb35dc8fc5ebe17bf89897d8af188f34d697dd2f6edc8b3c2c0648d2a0ec9bd7","typeString":"literal_string \"Event manager address cannot be zero\""}],"id":11744,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1964:7:31","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11752,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1964:117:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11753,"nodeType":"ExpressionStatement","src":"1964:117:31"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":11760,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11755,"name":"eventManagerAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11638,"src":"2112:19:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":11758,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2143:1:31","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":11757,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2135:7:31","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":11756,"name":"address","nodeType":"ElementaryTypeName","src":"2135:7:31","typeDescriptions":{}}},"id":11759,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2135:10:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2112:33:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e74206d616e616765722077617320616c7265616479207361766564","id":11761,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2159:33:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_707bc4d58815bf082007da3978fb9b005fdcba8f935c5fbab2e716e74f1ebdb0","typeString":"literal_string \"Event manager was already saved\""},"value":"Event manager was already saved"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_707bc4d58815bf082007da3978fb9b005fdcba8f935c5fbab2e716e74f1ebdb0","typeString":"literal_string \"Event manager was already saved\""}],"id":11754,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"2091:7:31","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":11762,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2091:111:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11763,"nodeType":"ExpressionStatement","src":"2091:111:31"},{"expression":{"arguments":[{"id":11765,"name":"EVENT_MANAGER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11623,"src":"2223:18:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11766,"name":"_eventManagerAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11738,"src":"2243:20:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":11764,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"2212:10:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":11767,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2212:52:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11768,"nodeType":"ExpressionStatement","src":"2212:52:31"},{"expression":{"id":11771,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11769,"name":"eventManagerAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11638,"src":"2274:19:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11770,"name":"_eventManagerAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11738,"src":"2296:20:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2274:42:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":11772,"nodeType":"ExpressionStatement","src":"2274:42:31"}]},"functionSelector":"d851b90a","id":11774,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":11741,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"1934:18:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":11742,"kind":"modifierInvocation","modifierName":{"id":11740,"name":"onlyRole","nameLocations":["1925:8:31"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"1925:8:31"},"nodeType":"ModifierInvocation","src":"1925:28:31"}],"name":"setEventManagerAddress","nameLocation":"1863:22:31","nodeType":"FunctionDefinition","parameters":{"id":11739,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11738,"mutability":"mutable","name":"_eventManagerAddress","nameLocation":"1894:20:31","nodeType":"VariableDeclaration","scope":11774,"src":"1886:28:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11737,"name":"address","nodeType":"ElementaryTypeName","src":"1886:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1885:30:31"},"returnParameters":{"id":11743,"nodeType":"ParameterList","parameters":[],"src":"1954:0:31"},"scope":12160,"src":"1854:469:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":11785,"nodeType":"Block","src":"2390:32:31","statements":[{"expression":{"id":11783,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11781,"name":"ipfsHost","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11636,"src":"2400:8:31","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":11782,"name":"host","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11776,"src":"2411:4:31","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string calldata"}},"src":"2400:15:31","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":11784,"nodeType":"ExpressionStatement","src":"2400:15:31"}]},"functionSelector":"ea05c3e1","id":11786,"implemented":true,"kind":"function","modifiers":[{"id":11779,"kind":"modifierInvocation","modifierName":{"id":11778,"name":"onlyMaster","nameLocations":["2379:10:31"],"nodeType":"IdentifierPath","referencedDeclaration":11723,"src":"2379:10:31"},"nodeType":"ModifierInvocation","src":"2379:10:31"}],"name":"setIpfsHost","nameLocation":"2338:11:31","nodeType":"FunctionDefinition","parameters":{"id":11777,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11776,"mutability":"mutable","name":"host","nameLocation":"2366:4:31","nodeType":"VariableDeclaration","scope":11786,"src":"2350:20:31","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":11775,"name":"string","nodeType":"ElementaryTypeName","src":"2350:6:31","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"2349:22:31"},"returnParameters":{"id":11780,"nodeType":"ParameterList","parameters":[],"src":"2390:0:31"},"scope":12160,"src":"2329:93:31","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":11839,"nodeType":"Block","src":"2672:311:31","statements":[{"expression":{"id":11809,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11807,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11625,"src":"2682:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":11808,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2697:1:31","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"2682:16:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11810,"nodeType":"ExpressionStatement","src":"2682:16:31"},{"expression":{"arguments":[{"id":11812,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11788,"src":"2714:2:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11813,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11625,"src":"2718:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11811,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1969,"src":"2708:5:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":11814,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2708:22:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11815,"nodeType":"ExpressionStatement","src":"2708:22:31"},{"expression":{"id":11825,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":11816,"name":"ticketsMeta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11630,"src":"2740:11:31","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Multihash_$8744_storage_$","typeString":"mapping(uint256 => struct CyberValley.Multihash storage ref)"}},"id":11818,"indexExpression":{"id":11817,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11625,"src":"2752:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2740:24:31","typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":11821,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11794,"src":"2802:6:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11822,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11796,"src":"2822:12:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":11823,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11798,"src":"2848:4:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"id":11819,"name":"CyberValley","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8745,"src":"2767:11:31","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CyberValley_$8745_$","typeString":"type(library CyberValley)"}},"id":11820,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2779:9:31","memberName":"Multihash","nodeType":"MemberAccess","referencedDeclaration":8744,"src":"2767:21:31","typeDescriptions":{"typeIdentifier":"t_type$_t_structMATH_PLACEHOLDER_29448744_storage_ptr_$","typeString":"type(struct CyberValley.Multihash storage pointer)"}},"id":11824,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2767:95:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},"src":"2740:122:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29468744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":11826,"nodeType":"ExpressionStatement","src":"2740:122:31"},{"eventCall":{"arguments":[{"id":11828,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11790,"src":"2890:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11829,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11625,"src":"2899:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11830,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11792,"src":"2912:10:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11831,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11788,"src":"2924:2:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11832,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11794,"src":"2928:6:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11833,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11796,"src":"2936:12:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":11834,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11798,"src":"2950:4:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":11835,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11800,"src":"2956:8:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11836,"name":"pricePaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11802,"src":"2966:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11827,"name":"TicketMinted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11658,"src":"2877:12:31","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_address_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256,uint256,address,bytes32,uint8,uint8,address,uint256)"}},"id":11837,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2877:99:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11838,"nodeType":"EmitStatement","src":"2872:104:31"}]},"functionSelector":"883adb56","id":11840,"implemented":true,"kind":"function","modifiers":[{"id":11805,"kind":"modifierInvocation","modifierName":{"id":11804,"name":"onlyEventManager","nameLocations":["2655:16:31"],"nodeType":"IdentifierPath","referencedDeclaration":11710,"src":"2655:16:31"},"nodeType":"ModifierInvocation","src":"2655:16:31"}],"name":"mint","nameLocation":"2437:4:31","nodeType":"FunctionDefinition","parameters":{"id":11803,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11788,"mutability":"mutable","name":"to","nameLocation":"2459:2:31","nodeType":"VariableDeclaration","scope":11840,"src":"2451:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11787,"name":"address","nodeType":"ElementaryTypeName","src":"2451:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11790,"mutability":"mutable","name":"eventId","nameLocation":"2479:7:31","nodeType":"VariableDeclaration","scope":11840,"src":"2471:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11789,"name":"uint256","nodeType":"ElementaryTypeName","src":"2471:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11792,"mutability":"mutable","name":"categoryId","nameLocation":"2504:10:31","nodeType":"VariableDeclaration","scope":11840,"src":"2496:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11791,"name":"uint256","nodeType":"ElementaryTypeName","src":"2496:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11794,"mutability":"mutable","name":"digest","nameLocation":"2532:6:31","nodeType":"VariableDeclaration","scope":11840,"src":"2524:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":11793,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2524:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":11796,"mutability":"mutable","name":"hashFunction","nameLocation":"2554:12:31","nodeType":"VariableDeclaration","scope":11840,"src":"2548:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11795,"name":"uint8","nodeType":"ElementaryTypeName","src":"2548:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":11798,"mutability":"mutable","name":"size","nameLocation":"2582:4:31","nodeType":"VariableDeclaration","scope":11840,"src":"2576:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11797,"name":"uint8","nodeType":"ElementaryTypeName","src":"2576:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":11800,"mutability":"mutable","name":"referrer","nameLocation":"2604:8:31","nodeType":"VariableDeclaration","scope":11840,"src":"2596:16:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11799,"name":"address","nodeType":"ElementaryTypeName","src":"2596:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11802,"mutability":"mutable","name":"pricePaid","nameLocation":"2630:9:31","nodeType":"VariableDeclaration","scope":11840,"src":"2622:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11801,"name":"uint256","nodeType":"ElementaryTypeName","src":"2622:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2441:204:31"},"returnParameters":{"id":11806,"nodeType":"ParameterList","parameters":[],"src":"2672:0:31"},"scope":12160,"src":"2428:555:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":11907,"nodeType":"Block","src":"3262:400:31","statements":[{"body":{"id":11905,"nodeType":"Block","src":"3309:347:31","statements":[{"expression":{"id":11875,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":11873,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11625,"src":"3323:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":11874,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3338:1:31","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3323:16:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11876,"nodeType":"ExpressionStatement","src":"3323:16:31"},{"expression":{"arguments":[{"id":11878,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11842,"src":"3359:2:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11879,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11625,"src":"3363:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11877,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1969,"src":"3353:5:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":11880,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3353:22:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11881,"nodeType":"ExpressionStatement","src":"3353:22:31"},{"expression":{"id":11891,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":11882,"name":"ticketsMeta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11630,"src":"3389:11:31","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_struct$_Multihash_$8744_storage_$","typeString":"mapping(uint256 => struct CyberValley.Multihash storage ref)"}},"id":11884,"indexExpression":{"id":11883,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11625,"src":"3401:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3389:24:31","typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":11887,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11850,"src":"3455:6:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11888,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11852,"src":"3479:12:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":11889,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11854,"src":"3509:4:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"expression":{"id":11885,"name":"CyberValley","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":8745,"src":"3416:11:31","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_CyberValley_$8745_$","typeString":"type(library CyberValley)"}},"id":11886,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3428:9:31","memberName":"Multihash","nodeType":"MemberAccess","referencedDeclaration":8744,"src":"3416:21:31","typeDescriptions":{"typeIdentifier":"t_type$_t_structMATH_PLACEHOLDER_29628744_storage_ptr_$","typeString":"type(struct CyberValley.Multihash storage pointer)"}},"id":11890,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3416:111:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},"src":"3389:138:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29648744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"id":11892,"nodeType":"ExpressionStatement","src":"3389:138:31"},{"eventCall":{"arguments":[{"id":11894,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11844,"src":"3559:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11895,"name":"lastTokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11625,"src":"3568:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11896,"name":"categoryId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11846,"src":"3581:10:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":11897,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11842,"src":"3593:2:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11898,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11850,"src":"3597:6:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":11899,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11852,"src":"3605:12:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":11900,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11854,"src":"3619:4:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"id":11901,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11856,"src":"3625:8:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":11902,"name":"pricePaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11858,"src":"3635:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11893,"name":"TicketMinted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11658,"src":"3546:12:31","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$_t_uint256_$_t_address_$_t_bytes32_$_t_uint8_$_t_uint8_$_t_address_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256,uint256,address,bytes32,uint8,uint8,address,uint256)"}},"id":11903,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3546:99:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":11904,"nodeType":"EmitStatement","src":"3541:104:31"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":11869,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11867,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11864,"src":"3292:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":11868,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11848,"src":"3296:6:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3292:10:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":11906,"initializationExpression":{"assignments":[11864],"declarations":[{"constant":false,"id":11864,"mutability":"mutable","name":"i","nameLocation":"3285:1:31","nodeType":"VariableDeclaration","scope":11906,"src":"3277:9:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11863,"name":"uint256","nodeType":"ElementaryTypeName","src":"3277:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":11866,"initialValue":{"hexValue":"30","id":11865,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3289:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"3277:13:31"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":11871,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"3304:3:31","subExpression":{"id":11870,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11864,"src":"3304:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":11872,"nodeType":"ExpressionStatement","src":"3304:3:31"},"nodeType":"ForStatement","src":"3272:384:31"}]},"functionSelector":"b405b260","id":11908,"implemented":true,"kind":"function","modifiers":[{"id":11861,"kind":"modifierInvocation","modifierName":{"id":11860,"name":"onlyEventManager","nameLocations":["3245:16:31"],"nodeType":"IdentifierPath","referencedDeclaration":11710,"src":"3245:16:31"},"nodeType":"ModifierInvocation","src":"3245:16:31"}],"name":"mintBatch","nameLocation":"2998:9:31","nodeType":"FunctionDefinition","parameters":{"id":11859,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11842,"mutability":"mutable","name":"to","nameLocation":"3025:2:31","nodeType":"VariableDeclaration","scope":11908,"src":"3017:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11841,"name":"address","nodeType":"ElementaryTypeName","src":"3017:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11844,"mutability":"mutable","name":"eventId","nameLocation":"3045:7:31","nodeType":"VariableDeclaration","scope":11908,"src":"3037:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11843,"name":"uint256","nodeType":"ElementaryTypeName","src":"3037:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11846,"mutability":"mutable","name":"categoryId","nameLocation":"3070:10:31","nodeType":"VariableDeclaration","scope":11908,"src":"3062:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11845,"name":"uint256","nodeType":"ElementaryTypeName","src":"3062:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11848,"mutability":"mutable","name":"amount","nameLocation":"3098:6:31","nodeType":"VariableDeclaration","scope":11908,"src":"3090:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11847,"name":"uint256","nodeType":"ElementaryTypeName","src":"3090:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":11850,"mutability":"mutable","name":"digest","nameLocation":"3122:6:31","nodeType":"VariableDeclaration","scope":11908,"src":"3114:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":11849,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3114:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":11852,"mutability":"mutable","name":"hashFunction","nameLocation":"3144:12:31","nodeType":"VariableDeclaration","scope":11908,"src":"3138:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11851,"name":"uint8","nodeType":"ElementaryTypeName","src":"3138:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":11854,"mutability":"mutable","name":"size","nameLocation":"3172:4:31","nodeType":"VariableDeclaration","scope":11908,"src":"3166:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11853,"name":"uint8","nodeType":"ElementaryTypeName","src":"3166:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":11856,"mutability":"mutable","name":"referrer","nameLocation":"3194:8:31","nodeType":"VariableDeclaration","scope":11908,"src":"3186:16:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11855,"name":"address","nodeType":"ElementaryTypeName","src":"3186:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11858,"mutability":"mutable","name":"pricePaid","nameLocation":"3220:9:31","nodeType":"VariableDeclaration","scope":11908,"src":"3212:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11857,"name":"uint256","nodeType":"ElementaryTypeName","src":"3212:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3007:228:31"},"returnParameters":{"id":11862,"nodeType":"ParameterList","parameters":[],"src":"3262:0:31"},"scope":12160,"src":"2989:673:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":11940,"nodeType":"Block","src":"3790:166:31","statements":[{"expression":{"arguments":[{"id":11920,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11910,"src":"3814:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11919,"name":"_requireOwned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2305,"src":"3800:13:31","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":11921,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3800:22:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":11922,"nodeType":"ExpressionStatement","src":"3800:22:31"},{"assignments":[11927],"declarations":[{"constant":false,"id":11927,"mutability":"mutable","name":"meta","nameLocation":"3862:4:31","nodeType":"VariableDeclaration","scope":11940,"src":"3832:34:31","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29748744_storage_ptr","typeString":"struct CyberValley.Multihash"},"typeName":{"id":11926,"nodeType":"UserDefinedTypeName","pathNode":{"id":11925,"name":"CyberValley.Multihash","nameLocations":["3832:11:31","3844:9:31"],"nodeType":"IdentifierPath","referencedDeclaration":8744,"src":"3832:21:31"},"referencedDeclaration":8744,"src":"3832:21:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29758744_storage_ptr","typeString":"struct CyberValley.Multihash"}},"visibility":"internal"}],"id":11931,"initialValue":{"baseExpression":{"id":11928,"name":"ticketsMeta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11630,"src":"3869:11:31","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_structMATH_PLACEHOLDER_29778744_storage_$","typeString":"mapping(uint256 => struct CyberValley.Multihash storage ref)"}},"id":11930,"indexExpression":{"id":11929,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11910,"src":"3881:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3869:20:31","typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"nodeType":"VariableDeclarationStatement","src":"3832:57:31"},{"expression":{"components":[{"expression":{"id":11932,"name":"meta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11927,"src":"3907:4:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29798744_storage_ptr","typeString":"struct CyberValley.Multihash storage pointer"}},"id":11933,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3912:6:31","memberName":"digest","nodeType":"MemberAccess","referencedDeclaration":8739,"src":"3907:11:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":11934,"name":"meta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11927,"src":"3920:4:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29808744_storage_ptr","typeString":"struct CyberValley.Multihash storage pointer"}},"id":11935,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3925:12:31","memberName":"hashFunction","nodeType":"MemberAccess","referencedDeclaration":8741,"src":"3920:17:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"id":11936,"name":"meta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11927,"src":"3939:4:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29818744_storage_ptr","typeString":"struct CyberValley.Multihash storage pointer"}},"id":11937,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3944:4:31","memberName":"size","nodeType":"MemberAccess","referencedDeclaration":8743,"src":"3939:9:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"id":11938,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3906:43:31","typeDescriptions":{"typeIdentifier":"t_tuple$_t_bytes32_$_t_uint8_$_t_uint8_$","typeString":"tuple(bytes32,uint8,uint8)"}},"functionReturnParameters":11918,"id":11939,"nodeType":"Return","src":"3899:50:31"}]},"functionSelector":"7f871975","id":11941,"implemented":true,"kind":"function","modifiers":[],"name":"ticketMeta","nameLocation":"3677:10:31","nodeType":"FunctionDefinition","parameters":{"id":11911,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11910,"mutability":"mutable","name":"tokenId","nameLocation":"3705:7:31","nodeType":"VariableDeclaration","scope":11941,"src":"3697:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11909,"name":"uint256","nodeType":"ElementaryTypeName","src":"3697:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3687:31:31"},"returnParameters":{"id":11918,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11913,"mutability":"mutable","name":"digest","nameLocation":"3750:6:31","nodeType":"VariableDeclaration","scope":11941,"src":"3742:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":11912,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3742:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":11915,"mutability":"mutable","name":"hashFunction","nameLocation":"3764:12:31","nodeType":"VariableDeclaration","scope":11941,"src":"3758:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11914,"name":"uint8","nodeType":"ElementaryTypeName","src":"3758:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":11917,"mutability":"mutable","name":"size","nameLocation":"3784:4:31","nodeType":"VariableDeclaration","scope":11941,"src":"3778:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":11916,"name":"uint8","nodeType":"ElementaryTypeName","src":"3778:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"3741:48:31"},"scope":12160,"src":"3668:288:31","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[1545],"body":{"id":11983,"nodeType":"Block","src":"4064:236:31","statements":[{"expression":{"arguments":[{"id":11950,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11943,"src":"4088:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":11949,"name":"_requireOwned","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":2305,"src":"4074:13:31","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_address_$","typeString":"function (uint256) view returns (address)"}},"id":11951,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4074:22:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":11952,"nodeType":"ExpressionStatement","src":"4074:22:31"},{"assignments":[11957],"declarations":[{"constant":false,"id":11957,"mutability":"mutable","name":"mh","nameLocation":"4135:2:31","nodeType":"VariableDeclaration","scope":11983,"src":"4106:31:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29868744_memory_ptr","typeString":"struct CyberValley.Multihash"},"typeName":{"id":11956,"nodeType":"UserDefinedTypeName","pathNode":{"id":11955,"name":"CyberValley.Multihash","nameLocations":["4106:11:31","4118:9:31"],"nodeType":"IdentifierPath","referencedDeclaration":8744,"src":"4106:21:31"},"referencedDeclaration":8744,"src":"4106:21:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29878744_storage_ptr","typeString":"struct CyberValley.Multihash"}},"visibility":"internal"}],"id":11961,"initialValue":{"baseExpression":{"id":11958,"name":"ticketsMeta","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11630,"src":"4140:11:31","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_structMATH_PLACEHOLDER_29898744_storage_$","typeString":"mapping(uint256 => struct CyberValley.Multihash storage ref)"}},"id":11960,"indexExpression":{"id":11959,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11943,"src":"4152:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4140:20:31","typeDescriptions":{"typeIdentifier":"t_struct$_Multihash_$8744_storage","typeString":"struct CyberValley.Multihash storage ref"}},"nodeType":"VariableDeclarationStatement","src":"4106:54:31"},{"assignments":[11963],"declarations":[{"constant":false,"id":11963,"mutability":"mutable","name":"cid","nameLocation":"4184:3:31","nodeType":"VariableDeclaration","scope":11983,"src":"4170:17:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11962,"name":"string","nodeType":"ElementaryTypeName","src":"4170:6:31","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"id":11972,"initialValue":{"arguments":[{"expression":{"id":11965,"name":"mh","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11957,"src":"4196:2:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29918744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},"id":11966,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4199:6:31","memberName":"digest","nodeType":"MemberAccess","referencedDeclaration":8739,"src":"4196:9:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":11967,"name":"mh","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11957,"src":"4207:2:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29928744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},"id":11968,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4210:12:31","memberName":"hashFunction","nodeType":"MemberAccess","referencedDeclaration":8741,"src":"4207:15:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},{"expression":{"id":11969,"name":"mh","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11957,"src":"4224:2:31","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_29938744_memory_ptr","typeString":"struct CyberValley.Multihash memory"}},"id":11970,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4227:4:31","memberName":"size","nodeType":"MemberAccess","referencedDeclaration":8743,"src":"4224:7:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint8","typeString":"uint8"},{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":11964,"name":"toCID","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12159,"src":"4190:5:31","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes32_$_t_uint8_$_t_uint8_$returns$_t_string_memory_ptr_$","typeString":"function (bytes32,uint8,uint8) pure returns (string memory)"}},"id":11971,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4190:42:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"nodeType":"VariableDeclarationStatement","src":"4170:62:31"},{"expression":{"arguments":[{"arguments":[{"id":11977,"name":"ipfsHost","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11636,"src":"4273:8:31","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},{"hexValue":"2f","id":11978,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4283:3:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_fba9715e477e68952d3f1df7a185b3708aadad50ec10cc793973864023868527","typeString":"literal_string \"/\""},"value":"/"},{"id":11979,"name":"cid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11963,"src":"4288:3:31","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_storage","typeString":"string storage ref"},{"typeIdentifier":"t_stringliteral_fba9715e477e68952d3f1df7a185b3708aadad50ec10cc793973864023868527","typeString":"literal_string \"/\""},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"expression":{"id":11975,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"4256:3:31","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":11976,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"4260:12:31","memberName":"encodePacked","nodeType":"MemberAccess","src":"4256:16:31","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":11980,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4256:36:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":11974,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4249:6:31","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":11973,"name":"string","nodeType":"ElementaryTypeName","src":"4249:6:31","typeDescriptions":{}}},"id":11981,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4249:44:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":11948,"id":11982,"nodeType":"Return","src":"4242:51:31"}]},"functionSelector":"c87b56dd","id":11984,"implemented":true,"kind":"function","modifiers":[],"name":"tokenURI","nameLocation":"3971:8:31","nodeType":"FunctionDefinition","overrides":{"id":11945,"nodeType":"OverrideSpecifier","overrides":[],"src":"4031:8:31"},"parameters":{"id":11944,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11943,"mutability":"mutable","name":"tokenId","nameLocation":"3997:7:31","nodeType":"VariableDeclaration","scope":11984,"src":"3989:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11942,"name":"uint256","nodeType":"ElementaryTypeName","src":"3989:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3979:31:31"},"returnParameters":{"id":11948,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11947,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":11984,"src":"4049:13:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":11946,"name":"string","nodeType":"ElementaryTypeName","src":"4049:6:31","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4048:15:31"},"scope":12160,"src":"3962:338:31","stateMutability":"view","virtual":true,"visibility":"public"},{"baseFunctions":[1666],"body":{"id":12012,"nodeType":"Block","src":"4425:121:31","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":12000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":11995,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11986,"src":"4443:4:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":11998,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4459:1:31","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":11997,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4451:7:31","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":11996,"name":"address","nodeType":"ElementaryTypeName","src":"4451:7:31","typeDescriptions":{}}},"id":11999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4451:10:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4443:18:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"546f6b656e207472616e736665722069732064697361626c6564","id":12001,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4463:28:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_de587eb5ac7a88de1e07f5419723fe7a64508cfdd1fe7840cea59e85f076b76f","typeString":"literal_string \"Token transfer is disabled\""},"value":"Token transfer is disabled"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_de587eb5ac7a88de1e07f5419723fe7a64508cfdd1fe7840cea59e85f076b76f","typeString":"literal_string \"Token transfer is disabled\""}],"id":11994,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4435:7:31","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":12002,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4435:57:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12003,"nodeType":"ExpressionStatement","src":"4435:57:31"},{"expression":{"arguments":[{"id":12007,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11986,"src":"4521:4:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12008,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11988,"src":"4527:2:31","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":12009,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11990,"src":"4531:7:31","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":12004,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"4502:5:31","typeDescriptions":{"typeIdentifier":"t_type$_t_superMATH_PLACEHOLDER_300512160_$","typeString":"type(contract super CyberValleyEventTicket)"}},"id":12006,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4508:12:31","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":1666,"src":"4502:18:31","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":12010,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4502:37:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12011,"nodeType":"ExpressionStatement","src":"4502:37:31"}]},"functionSelector":"23b872dd","id":12013,"implemented":true,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"4315:12:31","nodeType":"FunctionDefinition","overrides":{"id":11992,"nodeType":"OverrideSpecifier","overrides":[],"src":"4416:8:31"},"parameters":{"id":11991,"nodeType":"ParameterList","parameters":[{"constant":false,"id":11986,"mutability":"mutable","name":"from","nameLocation":"4345:4:31","nodeType":"VariableDeclaration","scope":12013,"src":"4337:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11985,"name":"address","nodeType":"ElementaryTypeName","src":"4337:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11988,"mutability":"mutable","name":"to","nameLocation":"4367:2:31","nodeType":"VariableDeclaration","scope":12013,"src":"4359:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11987,"name":"address","nodeType":"ElementaryTypeName","src":"4359:7:31","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":11990,"mutability":"mutable","name":"tokenId","nameLocation":"4387:7:31","nodeType":"VariableDeclaration","scope":12013,"src":"4379:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":11989,"name":"uint256","nodeType":"ElementaryTypeName","src":"4379:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4327:73:31"},"returnParameters":{"id":11993,"nodeType":"ParameterList","parameters":[],"src":"4425:0:31"},"scope":12160,"src":"4306:240:31","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":12038,"nodeType":"Block","src":"4610:150:31","statements":[{"expression":{"arguments":[{"id":12024,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"4628:20:31","subExpression":{"baseExpression":{"id":12021,"name":"isRedeemed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11634,"src":"4629:10:31","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_bool_$","typeString":"mapping(uint256 => bool)"}},"id":12023,"indexExpression":{"id":12022,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12015,"src":"4640:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4629:19:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"546f6b656e207761732072656465656d656420616c7265616479","id":12025,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4650:28:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_df2c0cf757bb761fec87205eb4e4f49fb160b9976b9f09b13d5f34fbc2df24b6","typeString":"literal_string \"Token was redeemed already\""},"value":"Token was redeemed already"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_df2c0cf757bb761fec87205eb4e4f49fb160b9976b9f09b13d5f34fbc2df24b6","typeString":"literal_string \"Token was redeemed already\""}],"id":12020,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4620:7:31","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":12026,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4620:59:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12027,"nodeType":"ExpressionStatement","src":"4620:59:31"},{"expression":{"id":12032,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12028,"name":"isRedeemed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11634,"src":"4689:10:31","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_bool_$","typeString":"mapping(uint256 => bool)"}},"id":12030,"indexExpression":{"id":12029,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12015,"src":"4700:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4689:19:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":12031,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4711:4:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"4689:26:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12033,"nodeType":"ExpressionStatement","src":"4689:26:31"},{"eventCall":{"arguments":[{"id":12035,"name":"tokenId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12015,"src":"4745:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12034,"name":"TicketRedeemed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":11662,"src":"4730:14:31","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":12036,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4730:23:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12037,"nodeType":"EmitStatement","src":"4725:28:31"}]},"functionSelector":"15f59d7f","id":12039,"implemented":true,"kind":"function","modifiers":[{"id":12018,"kind":"modifierInvocation","modifierName":{"id":12017,"name":"onlyStaff","nameLocations":["4600:9:31"],"nodeType":"IdentifierPath","referencedDeclaration":11736,"src":"4600:9:31"},"nodeType":"ModifierInvocation","src":"4600:9:31"}],"name":"redeemTicket","nameLocation":"4561:12:31","nodeType":"FunctionDefinition","parameters":{"id":12016,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12015,"mutability":"mutable","name":"tokenId","nameLocation":"4582:7:31","nodeType":"VariableDeclaration","scope":12039,"src":"4574:15:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12014,"name":"uint256","nodeType":"ElementaryTypeName","src":"4574:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4573:17:31"},"returnParameters":{"id":12019,"nodeType":"ParameterList","parameters":[],"src":"4610:0:31"},"scope":12160,"src":"4552:208:31","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[62,1450],"body":{"id":12054,"nodeType":"Block","src":"4894:60:31","statements":[{"expression":{"arguments":[{"id":12051,"name":"interfaceId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12041,"src":"4935:11:31","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes4","typeString":"bytes4"}],"expression":{"id":12049,"name":"super","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-25,"src":"4911:5:31","typeDescriptions":{"typeIdentifier":"t_type$_t_super$_CyberValleyEventTicket_$12160_$","typeString":"type(contract super CyberValleyEventTicket)"}},"id":12050,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4917:17:31","memberName":"supportsInterface","nodeType":"MemberAccess","referencedDeclaration":62,"src":"4911:23:31","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes4_$returns$_t_bool_$","typeString":"function (bytes4) view returns (bool)"}},"id":12052,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4911:36:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":12048,"id":12053,"nodeType":"Return","src":"4904:43:31"}]},"functionSelector":"01ffc9a7","id":12055,"implemented":true,"kind":"function","modifiers":[],"name":"supportsInterface","nameLocation":"4775:17:31","nodeType":"FunctionDefinition","overrides":{"id":12045,"nodeType":"OverrideSpecifier","overrides":[{"id":12043,"name":"ERC721","nameLocations":["4856:6:31"],"nodeType":"IdentifierPath","referencedDeclaration":2306,"src":"4856:6:31"},{"id":12044,"name":"AccessControl","nameLocations":["4864:13:31"],"nodeType":"IdentifierPath","referencedDeclaration":295,"src":"4864:13:31"}],"src":"4847:31:31"},"parameters":{"id":12042,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12041,"mutability":"mutable","name":"interfaceId","nameLocation":"4809:11:31","nodeType":"VariableDeclaration","scope":12055,"src":"4802:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"},"typeName":{"id":12040,"name":"bytes4","nodeType":"ElementaryTypeName","src":"4802:6:31","typeDescriptions":{"typeIdentifier":"t_bytes4","typeString":"bytes4"}},"visibility":"internal"}],"src":"4792:34:31"},"returnParameters":{"id":12048,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12047,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12055,"src":"4888:4:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":12046,"name":"bool","nodeType":"ElementaryTypeName","src":"4888:4:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"4887:6:31"},"scope":12160,"src":"4766:188:31","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":12158,"nodeType":"Block","src":"5091:546:31","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":12068,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12066,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12061,"src":"5105:4:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12067,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5113:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"5105:9:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12071,"nodeType":"IfStatement","src":"5101:24:31","trueBody":{"expression":{"hexValue":"","id":12069,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5123:2:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""},"functionReturnParameters":12065,"id":12070,"nodeType":"Return","src":"5116:9:31"}},{"assignments":[12073],"declarations":[{"constant":false,"id":12073,"mutability":"mutable","name":"hashBytes","nameLocation":"5183:9:31","nodeType":"VariableDeclaration","scope":12158,"src":"5170:22:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":12072,"name":"bytes","nodeType":"ElementaryTypeName","src":"5170:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":12078,"initialValue":{"arguments":[{"hexValue":"3332","id":12076,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5205:2:31","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"}],"id":12075,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5195:9:31","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":12074,"name":"bytes","nodeType":"ElementaryTypeName","src":"5199:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":12077,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5195:13:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"5170:38:31"},{"body":{"id":12097,"nodeType":"Block","src":"5248:49:31","statements":[{"expression":{"id":12095,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12089,"name":"hashBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12073,"src":"5262:9:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12091,"indexExpression":{"id":12090,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12080,"src":"5272:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5262:12:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":12092,"name":"digest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12057,"src":"5277:6:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":12094,"indexExpression":{"id":12093,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12080,"src":"5284:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5277:9:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"5262:24:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":12096,"nodeType":"ExpressionStatement","src":"5262:24:31"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12085,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12083,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12080,"src":"5235:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"3332","id":12084,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5239:2:31","typeDescriptions":{"typeIdentifier":"t_rational_32_by_1","typeString":"int_const 32"},"value":"32"},"src":"5235:6:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12098,"initializationExpression":{"assignments":[12080],"declarations":[{"constant":false,"id":12080,"mutability":"mutable","name":"j","nameLocation":"5228:1:31","nodeType":"VariableDeclaration","scope":12098,"src":"5223:6:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12079,"name":"uint","nodeType":"ElementaryTypeName","src":"5223:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12082,"initialValue":{"hexValue":"30","id":12081,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5232:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"5223:10:31"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":12087,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"5243:3:31","subExpression":{"id":12086,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12080,"src":"5243:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12088,"nodeType":"ExpressionStatement","src":"5243:3:31"},"nodeType":"ForStatement","src":"5218:79:31"},{"assignments":[12100],"declarations":[{"constant":false,"id":12100,"mutability":"mutable","name":"multihashBytes","nameLocation":"5320:14:31","nodeType":"VariableDeclaration","scope":12158,"src":"5307:27:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":12099,"name":"bytes","nodeType":"ElementaryTypeName","src":"5307:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":12108,"initialValue":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12106,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"32","id":12103,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5347:1:31","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"expression":{"id":12104,"name":"hashBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12073,"src":"5351:9:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12105,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5361:6:31","memberName":"length","nodeType":"MemberAccess","src":"5351:16:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5347:20:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12102,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"5337:9:31","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":12101,"name":"bytes","nodeType":"ElementaryTypeName","src":"5341:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":12107,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5337:31:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"5307:61:31"},{"expression":{"id":12116,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12109,"name":"multihashBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12100,"src":"5378:14:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12111,"indexExpression":{"hexValue":"30","id":12110,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5393:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5378:17:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":12114,"name":"hashFunction","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12059,"src":"5405:12:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":12113,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5398:6:31","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":12112,"name":"bytes1","nodeType":"ElementaryTypeName","src":"5398:6:31","typeDescriptions":{}}},"id":12115,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5398:20:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"5378:40:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":12117,"nodeType":"ExpressionStatement","src":"5378:40:31"},{"expression":{"id":12125,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12118,"name":"multihashBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12100,"src":"5428:14:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12120,"indexExpression":{"hexValue":"31","id":12119,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5443:1:31","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5428:17:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":12123,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12061,"src":"5455:4:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":12122,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5448:6:31","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":12121,"name":"bytes1","nodeType":"ElementaryTypeName","src":"5448:6:31","typeDescriptions":{}}},"id":12124,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5448:12:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"5428:32:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":12126,"nodeType":"ExpressionStatement","src":"5428:32:31"},{"body":{"id":12148,"nodeType":"Block","src":"5515:61:31","statements":[{"expression":{"id":12146,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12138,"name":"multihashBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12100,"src":"5529:14:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12142,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12141,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12139,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12128,"src":"5544:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"32","id":12140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5548:1:31","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"src":"5544:5:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5529:21:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":12143,"name":"hashBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12073,"src":"5553:9:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12145,"indexExpression":{"id":12144,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12128,"src":"5563:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5553:12:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"5529:36:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":12147,"nodeType":"ExpressionStatement","src":"5529:36:31"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12134,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12131,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12128,"src":"5488:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":12132,"name":"hashBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12073,"src":"5492:9:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12133,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5502:6:31","memberName":"length","nodeType":"MemberAccess","src":"5492:16:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5488:20:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12149,"initializationExpression":{"assignments":[12128],"declarations":[{"constant":false,"id":12128,"mutability":"mutable","name":"j","nameLocation":"5481:1:31","nodeType":"VariableDeclaration","scope":12149,"src":"5476:6:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12127,"name":"uint","nodeType":"ElementaryTypeName","src":"5476:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12130,"initialValue":{"hexValue":"30","id":12129,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5485:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"5476:10:31"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":12136,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"5510:3:31","subExpression":{"id":12135,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12128,"src":"5510:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12137,"nodeType":"ExpressionStatement","src":"5510:3:31"},"nodeType":"ForStatement","src":"5471:105:31"},{"expression":{"arguments":[{"arguments":[{"id":12154,"name":"multihashBytes","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12100,"src":"5614:14:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":12152,"name":"Base58","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12390,"src":"5600:6:31","typeDescriptions":{"typeIdentifier":"t_type$_t_contractMATH_PLACEHOLDER_303012390_$","typeString":"type(library Base58)"}},"id":12153,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5607:6:31","memberName":"encode","nodeType":"MemberAccess","referencedDeclaration":12389,"src":"5600:13:31","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) pure returns (bytes memory)"}},"id":12155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5600:29:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":12151,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5593:6:31","typeDescriptions":{"typeIdentifier":"t_type$_t_string_storage_ptr_$","typeString":"type(string storage pointer)"},"typeName":{"id":12150,"name":"string","nodeType":"ElementaryTypeName","src":"5593:6:31","typeDescriptions":{}}},"id":12156,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5593:37:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}},"functionReturnParameters":12065,"id":12157,"nodeType":"Return","src":"5586:44:31"}]},"id":12159,"implemented":true,"kind":"function","modifiers":[],"name":"toCID","nameLocation":"4969:5:31","nodeType":"FunctionDefinition","parameters":{"id":12062,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12057,"mutability":"mutable","name":"digest","nameLocation":"4992:6:31","nodeType":"VariableDeclaration","scope":12159,"src":"4984:14:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":12056,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4984:7:31","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":12059,"mutability":"mutable","name":"hashFunction","nameLocation":"5014:12:31","nodeType":"VariableDeclaration","scope":12159,"src":"5008:18:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":12058,"name":"uint8","nodeType":"ElementaryTypeName","src":"5008:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"},{"constant":false,"id":12061,"mutability":"mutable","name":"size","nameLocation":"5042:4:31","nodeType":"VariableDeclaration","scope":12159,"src":"5036:10:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":12060,"name":"uint8","nodeType":"ElementaryTypeName","src":"5036:5:31","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"4974:78:31"},"returnParameters":{"id":12065,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12064,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12159,"src":"5076:13:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":12063,"name":"string","nodeType":"ElementaryTypeName","src":"5076:6:31","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"5075:15:31"},"scope":12160,"src":"4960:677:31","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":12391,"src":"249:5390:31","usedErrors":[305,308,451,456,465,470,475,482,487,492],"usedEvents":[317,326,335,2322,2331,2340,11658,11662]},{"abstract":false,"baseContracts":[],"canonicalName":"Base58","contractDependencies":[],"contractKind":"library","fullyImplemented":true,"id":12390,"linearizedBaseContracts":[12390],"name":"Base58","nameLocation":"5868:6:31","nodeType":"ContractDefinition","nodes":[{"constant":true,"id":12163,"mutability":"constant","name":"ALPHABET","nameLocation":"5896:8:31","nodeType":"VariableDeclaration","scope":12390,"src":"5881:94:31","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":12161,"name":"bytes","nodeType":"ElementaryTypeName","src":"5881:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"value":{"hexValue":"31323334353637383941424344454647484a4b4c4d4e505152535455565758595a6162636465666768696a6b6d6e6f707172737475767778797a","id":12162,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5915:60:31","typeDescriptions":{"typeIdentifier":"t_stringliteral_e72daf94b45f828c6e9fb35ca4f157bc4eef8ccec3cc5bc840ee513b6ee42a62","typeString":"literal_string \"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz\""},"value":"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"},"visibility":"internal"},{"body":{"id":12388,"nodeType":"Block","src":"6055:1196:31","statements":[{"id":12387,"nodeType":"UncheckedBlock","src":"6065:1180:31","statements":[{"assignments":[12171],"declarations":[{"constant":false,"id":12171,"mutability":"mutable","name":"size","nameLocation":"6097:4:31","nodeType":"VariableDeclaration","scope":12387,"src":"6089:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12170,"name":"uint256","nodeType":"ElementaryTypeName","src":"6089:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12174,"initialValue":{"expression":{"id":12172,"name":"data_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12165,"src":"6104:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12173,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6110:6:31","memberName":"length","nodeType":"MemberAccess","src":"6104:12:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6089:27:31"},{"assignments":[12176],"declarations":[{"constant":false,"id":12176,"mutability":"mutable","name":"zeroCount","nameLocation":"6138:9:31","nodeType":"VariableDeclaration","scope":12387,"src":"6130:17:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12175,"name":"uint256","nodeType":"ElementaryTypeName","src":"6130:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12177,"nodeType":"VariableDeclarationStatement","src":"6130:17:31"},{"body":{"id":12190,"nodeType":"Block","src":"6211:44:31","statements":[{"expression":{"id":12188,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"6229:11:31","subExpression":{"id":12187,"name":"zeroCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12176,"src":"6229:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12189,"nodeType":"ExpressionStatement","src":"6229:11:31"}]},"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":12186,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12178,"name":"zeroCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12176,"src":"6168:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":12179,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"6180:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6168:16:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":12185,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":12181,"name":"data_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12165,"src":"6188:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12183,"indexExpression":{"id":12182,"name":"zeroCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12176,"src":"6194:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6188:16:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12184,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6208:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6188:21:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6168:41:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12191,"nodeType":"WhileStatement","src":"6161:94:31"},{"expression":{"id":12206,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12192,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"6268:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12205,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12203,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12193,"name":"zeroCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12176,"src":"6275:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12202,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12199,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12196,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12194,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"6289:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12195,"name":"zeroCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12176,"src":"6296:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6289:16:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12197,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6288:18:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"hexValue":"38333531","id":12198,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6309:4:31","typeDescriptions":{"typeIdentifier":"t_rational_8351_by_1","typeString":"int_const 8351"},"value":"8351"},"src":"6288:25:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12200,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6287:27:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"hexValue":"36313135","id":12201,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6317:4:31","typeDescriptions":{"typeIdentifier":"t_rational_6115_by_1","typeString":"int_const 6115"},"value":"6115"},"src":"6287:34:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6275:46:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":12204,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6324:1:31","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6275:50:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6268:57:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12207,"nodeType":"ExpressionStatement","src":"6268:57:31"},{"assignments":[12209],"declarations":[{"constant":false,"id":12209,"mutability":"mutable","name":"slot","nameLocation":"6352:4:31","nodeType":"VariableDeclaration","scope":12387,"src":"6339:17:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":12208,"name":"bytes","nodeType":"ElementaryTypeName","src":"6339:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":12214,"initialValue":{"arguments":[{"id":12212,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"6369:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12211,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"6359:9:31","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":12210,"name":"bytes","nodeType":"ElementaryTypeName","src":"6363:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":12213,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6359:15:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"6339:35:31"},{"assignments":[12216],"declarations":[{"constant":false,"id":12216,"mutability":"mutable","name":"carry","nameLocation":"6395:5:31","nodeType":"VariableDeclaration","scope":12387,"src":"6388:12:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":12215,"name":"uint32","nodeType":"ElementaryTypeName","src":"6388:6:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"id":12217,"nodeType":"VariableDeclarationStatement","src":"6388:12:31"},{"assignments":[12219],"declarations":[{"constant":false,"id":12219,"mutability":"mutable","name":"m","nameLocation":"6421:1:31","nodeType":"VariableDeclaration","scope":12387,"src":"6414:8:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":12218,"name":"int256","nodeType":"ElementaryTypeName","src":"6414:6:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":12220,"nodeType":"VariableDeclarationStatement","src":"6414:8:31"},{"assignments":[12222],"declarations":[{"constant":false,"id":12222,"mutability":"mutable","name":"high","nameLocation":"6443:4:31","nodeType":"VariableDeclaration","scope":12387,"src":"6436:11:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"},"typeName":{"id":12221,"name":"int256","nodeType":"ElementaryTypeName","src":"6436:6:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"visibility":"internal"}],"id":12229,"initialValue":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":12228,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":12225,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"6457:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12224,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6450:6:31","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":12223,"name":"int256","nodeType":"ElementaryTypeName","src":"6450:6:31","typeDescriptions":{}}},"id":12226,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6450:12:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":12227,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6465:1:31","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6450:16:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"VariableDeclarationStatement","src":"6436:30:31"},{"body":{"id":12312,"nodeType":"Block","src":"6523:340:31","statements":[{"expression":{"id":12248,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12241,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12219,"src":"6541:1:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12246,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12244,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"6552:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":12245,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6559:1:31","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6552:8:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12243,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6545:6:31","typeDescriptions":{"typeIdentifier":"t_type$_t_int256_$","typeString":"type(int256)"},"typeName":{"id":12242,"name":"int256","nodeType":"ElementaryTypeName","src":"6545:6:31","typeDescriptions":{}}},"id":12247,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6545:16:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"6541:20:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":12249,"nodeType":"ExpressionStatement","src":"6541:20:31"},{"body":{"id":12306,"nodeType":"Block","src":"6638:185:31","statements":[{"expression":{"id":12283,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12269,"name":"carry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12216,"src":"6660:5:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":12282,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12270,"name":"carry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12216,"src":"6668:5:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":12281,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"323536","id":12271,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6676:3:31","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"value":"256"},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"baseExpression":{"id":12274,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12209,"src":"6688:4:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12279,"indexExpression":{"arguments":[{"id":12277,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12219,"src":"6701:1:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":12276,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6693:7:31","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":12275,"name":"uint256","nodeType":"ElementaryTypeName","src":"6693:7:31","typeDescriptions":{}}},"id":12278,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6693:10:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6688:16:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":12273,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6682:5:31","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":12272,"name":"uint8","nodeType":"ElementaryTypeName","src":"6682:5:31","typeDescriptions":{}}},"id":12280,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6682:23:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6676:29:31","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"6668:37:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"6660:45:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":12284,"nodeType":"ExpressionStatement","src":"6660:45:31"},{"expression":{"id":12300,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12285,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12209,"src":"6727:4:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12290,"indexExpression":{"arguments":[{"id":12288,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12219,"src":"6740:1:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_int256","typeString":"int256"}],"id":12287,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6732:7:31","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":12286,"name":"uint256","nodeType":"ElementaryTypeName","src":"6732:7:31","typeDescriptions":{}}},"id":12289,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6732:10:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6727:16:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"arguments":[{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":12297,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12295,"name":"carry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12216,"src":"6759:5:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":"%","rightExpression":{"hexValue":"3538","id":12296,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6767:2:31","typeDescriptions":{"typeIdentifier":"t_rational_58_by_1","typeString":"int_const 58"},"value":"58"},"src":"6759:10:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":12294,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6753:5:31","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":12293,"name":"uint8","nodeType":"ElementaryTypeName","src":"6753:5:31","typeDescriptions":{}}},"id":12298,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6753:17:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":12292,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6746:6:31","typeDescriptions":{"typeIdentifier":"t_type$_t_bytes1_$","typeString":"type(bytes1)"},"typeName":{"id":12291,"name":"bytes1","nodeType":"ElementaryTypeName","src":"6746:6:31","typeDescriptions":{}}},"id":12299,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6746:25:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"6727:44:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":12301,"nodeType":"ExpressionStatement","src":"6727:44:31"},{"expression":{"id":12304,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12302,"name":"carry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12216,"src":"6793:5:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"/=","rightHandSide":{"hexValue":"3538","id":12303,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6802:2:31","typeDescriptions":{"typeIdentifier":"t_rational_58_by_1","typeString":"int_const 58"},"value":"58"},"src":"6793:11:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":12305,"nodeType":"ExpressionStatement","src":"6793:11:31"}]},"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":12265,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_int256","typeString":"int256"},"id":12261,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12259,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12219,"src":"6609:1:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":12260,"name":"high","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12222,"src":"6613:4:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"6609:8:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":12264,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12262,"name":"carry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12216,"src":"6621:5:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":12263,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6630:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6621:10:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6609:22:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12307,"initializationExpression":{"expression":{"id":12257,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12250,"name":"carry","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12216,"src":"6584:5:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"baseExpression":{"id":12253,"name":"data_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12165,"src":"6598:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12255,"indexExpression":{"id":12254,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12231,"src":"6604:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6598:8:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":12252,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6592:5:31","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":12251,"name":"uint8","nodeType":"ElementaryTypeName","src":"6592:5:31","typeDescriptions":{}}},"id":12256,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6592:15:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"6584:23:31","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":12258,"nodeType":"ExpressionStatement","src":"6584:23:31"},"isSimpleCounterLoop":false,"loopExpression":{"expression":{"id":12267,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"--","prefix":false,"src":"6633:3:31","subExpression":{"id":12266,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12219,"src":"6633:1:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":12268,"nodeType":"ExpressionStatement","src":"6633:3:31"},"nodeType":"ForStatement","src":"6579:244:31"},{"expression":{"id":12310,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12308,"name":"high","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12222,"src":"6840:4:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":12309,"name":"m","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12219,"src":"6847:1:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"src":"6840:8:31","typeDescriptions":{"typeIdentifier":"t_int256","typeString":"int256"}},"id":12311,"nodeType":"ExpressionStatement","src":"6840:8:31"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12237,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12234,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12231,"src":"6500:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":12235,"name":"data_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12165,"src":"6504:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12236,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6510:6:31","memberName":"length","nodeType":"MemberAccess","src":"6504:12:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6500:16:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12313,"initializationExpression":{"assignments":[12231],"declarations":[{"constant":false,"id":12231,"mutability":"mutable","name":"i","nameLocation":"6493:1:31","nodeType":"VariableDeclaration","scope":12313,"src":"6485:9:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12230,"name":"uint256","nodeType":"ElementaryTypeName","src":"6485:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12233,"initialValue":{"hexValue":"30","id":12232,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6497:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"6485:13:31"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":12239,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"6518:3:31","subExpression":{"id":12238,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12231,"src":"6518:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12240,"nodeType":"ExpressionStatement","src":"6518:3:31"},"nodeType":"ForStatement","src":"6480:383:31"},{"assignments":[12315],"declarations":[{"constant":false,"id":12315,"mutability":"mutable","name":"n","nameLocation":"6884:1:31","nodeType":"VariableDeclaration","scope":12387,"src":"6876:9:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12314,"name":"uint256","nodeType":"ElementaryTypeName","src":"6876:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12316,"nodeType":"VariableDeclarationStatement","src":"6876:9:31"},{"body":{"id":12333,"nodeType":"Block","src":"6950:2:31","statements":[]},"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":12329,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12323,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12321,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12315,"src":"6919:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":12322,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"6923:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6919:8:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_bytes1","typeString":"bytes1"},"id":12328,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":12324,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12209,"src":"6931:4:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12326,"indexExpression":{"id":12325,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12315,"src":"6936:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6931:7:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12327,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6942:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6931:12:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6919:24:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12334,"initializationExpression":{"expression":{"id":12319,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12317,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12315,"src":"6904:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":12318,"name":"zeroCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12176,"src":"6908:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6904:13:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12320,"nodeType":"ExpressionStatement","src":"6904:13:31"},"isSimpleCounterLoop":false,"loopExpression":{"expression":{"id":12331,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"6945:3:31","subExpression":{"id":12330,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12315,"src":"6945:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12332,"nodeType":"ExpressionStatement","src":"6945:3:31"},"nodeType":"ForStatement","src":"6899:53:31"},{"expression":{"id":12343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12335,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"6965:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12342,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":12336,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12209,"src":"6972:4:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12337,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6977:6:31","memberName":"length","nodeType":"MemberAccess","src":"6972:11:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12340,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12338,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12315,"src":"6987:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12339,"name":"zeroCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12176,"src":"6991:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6987:13:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12341,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"6986:15:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6972:29:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6965:36:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12344,"nodeType":"ExpressionStatement","src":"6965:36:31"},{"assignments":[12346],"declarations":[{"constant":false,"id":12346,"mutability":"mutable","name":"out","nameLocation":"7028:3:31","nodeType":"VariableDeclaration","scope":12387,"src":"7015:16:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":12345,"name":"bytes","nodeType":"ElementaryTypeName","src":"7015:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":12351,"initialValue":{"arguments":[{"id":12349,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"7044:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12348,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"7034:9:31","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$","typeString":"function (uint256) pure returns (bytes memory)"},"typeName":{"id":12347,"name":"bytes","nodeType":"ElementaryTypeName","src":"7038:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}}},"id":12350,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7034:15:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"nodeType":"VariableDeclarationStatement","src":"7015:34:31"},{"body":{"id":12383,"nodeType":"Block","src":"7098:113:31","statements":[{"assignments":[12363],"declarations":[{"constant":false,"id":12363,"mutability":"mutable","name":"j","nameLocation":"7124:1:31","nodeType":"VariableDeclaration","scope":12383,"src":"7116:9:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12362,"name":"uint256","nodeType":"ElementaryTypeName","src":"7116:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12369,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12368,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12366,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12364,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12353,"src":"7128:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":12365,"name":"n","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12315,"src":"7132:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7128:5:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12367,"name":"zeroCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12176,"src":"7136:9:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7128:17:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7116:29:31"},{"expression":{"id":12381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12370,"name":"out","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12346,"src":"7163:3:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12372,"indexExpression":{"id":12371,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12353,"src":"7167:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7163:6:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":12373,"name":"ALPHABET","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12163,"src":"7172:8:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12380,"indexExpression":{"arguments":[{"baseExpression":{"id":12376,"name":"slot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12209,"src":"7187:4:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":12378,"indexExpression":{"id":12377,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12363,"src":"7192:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7187:7:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes1","typeString":"bytes1"}],"id":12375,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7181:5:31","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":12374,"name":"uint8","nodeType":"ElementaryTypeName","src":"7181:5:31","typeDescriptions":{}}},"id":12379,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7181:14:31","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7172:24:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"src":"7163:33:31","typeDescriptions":{"typeIdentifier":"t_bytes1","typeString":"bytes1"}},"id":12382,"nodeType":"ExpressionStatement","src":"7163:33:31"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12358,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12356,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12353,"src":"7083:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":12357,"name":"size","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12171,"src":"7087:4:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7083:8:31","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12384,"initializationExpression":{"assignments":[12353],"declarations":[{"constant":false,"id":12353,"mutability":"mutable","name":"i","nameLocation":"7076:1:31","nodeType":"VariableDeclaration","scope":12384,"src":"7068:9:31","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12352,"name":"uint256","nodeType":"ElementaryTypeName","src":"7068:7:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12355,"initialValue":{"hexValue":"30","id":12354,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7080:1:31","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"7068:13:31"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":12360,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"7093:3:31","subExpression":{"id":12359,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12353,"src":"7093:1:31","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12361,"nodeType":"ExpressionStatement","src":"7093:3:31"},"nodeType":"ForStatement","src":"7063:148:31"},{"expression":{"id":12385,"name":"out","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12346,"src":"7231:3:31","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":12169,"id":12386,"nodeType":"Return","src":"7224:10:31"}]}]},"id":12389,"implemented":true,"kind":"function","modifiers":[],"name":"encode","nameLocation":"5991:6:31","nodeType":"FunctionDefinition","parameters":{"id":12166,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12165,"mutability":"mutable","name":"data_","nameLocation":"6011:5:31","nodeType":"VariableDeclaration","scope":12389,"src":"5998:18:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":12164,"name":"bytes","nodeType":"ElementaryTypeName","src":"5998:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5997:20:31"},"returnParameters":{"id":12169,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12168,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12389,"src":"6041:12:31","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":12167,"name":"bytes","nodeType":"ElementaryTypeName","src":"6041:5:31","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6040:14:31"},"scope":12390,"src":"5982:1269:31","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":12391,"src":"5860:1393:31","usedErrors":[],"usedEvents":[]}],"src":"32:7222:31"},"id":31},"contracts/DateOverlapChecker.sol":{"ast":{"absolutePath":"contracts/DateOverlapChecker.sol","exportedSymbols":{"DateOverlapChecker":[12874],"Math":[6826],"Panic":[2696],"SafeCast":[8591]},"id":12875,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":12392,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"32:23:32"},{"absolutePath":"@openzeppelin/contracts/utils/math/Math.sol","file":"@openzeppelin/contracts/utils/math/Math.sol","id":12393,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":12875,"sourceUnit":6827,"src":"57:53:32","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[],"canonicalName":"DateOverlapChecker","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":12874,"linearizedBaseContracts":[12874],"name":"DateOverlapChecker","nameLocation":"121:18:32","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":12395,"mutability":"mutable","name":"initialOffest","nameLocation":"154:13:32","nodeType":"VariableDeclaration","scope":12874,"src":"146:21:32","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12394,"name":"uint256","nodeType":"ElementaryTypeName","src":"146:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12400,"mutability":"mutable","name":"dateRanges","nameLocation":"203:10:32","nodeType":"VariableDeclaration","scope":12874,"src":"173:40:32","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[])"},"typeName":{"id":12399,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":12396,"name":"uint256","nodeType":"ElementaryTypeName","src":"181:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"173:29:32","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[])"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"baseType":{"id":12397,"name":"uint256","nodeType":"ElementaryTypeName","src":"192:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12398,"nodeType":"ArrayTypeName","src":"192:9:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}}},"visibility":"internal"},{"constant":true,"functionSelector":"61a52a36","id":12403,"mutability":"constant","name":"SECONDS_IN_DAY","nameLocation":"244:14:32","nodeType":"VariableDeclaration","scope":12874,"src":"220:46:32","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12401,"name":"uint256","nodeType":"ElementaryTypeName","src":"220:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"3836343030","id":12402,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"261:5:32","typeDescriptions":{"typeIdentifier":"t_rational_86400_by_1","typeString":"int_const 86400"},"value":"86400"},"visibility":"public"},{"constant":true,"functionSelector":"12c55027","id":12406,"mutability":"constant","name":"BUCKET_SIZE","nameLocation":"296:11:32","nodeType":"VariableDeclaration","scope":12874,"src":"272:41:32","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12404,"name":"uint256","nodeType":"ElementaryTypeName","src":"272:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"323536","id":12405,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"310:3:32","typeDescriptions":{"typeIdentifier":"t_rational_256_by_1","typeString":"int_const 256"},"value":"256"},"visibility":"public"},{"body":{"id":12415,"nodeType":"Block","src":"356:47:32","statements":[{"expression":{"id":12413,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":12411,"name":"initialOffest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12395,"src":"366:13:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":12412,"name":"_initialOffest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12408,"src":"382:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"366:30:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12414,"nodeType":"ExpressionStatement","src":"366:30:32"}]},"id":12416,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":12409,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12408,"mutability":"mutable","name":"_initialOffest","nameLocation":"340:14:32","nodeType":"VariableDeclaration","scope":12416,"src":"332:22:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12407,"name":"uint256","nodeType":"ElementaryTypeName","src":"332:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"331:24:32"},"returnParameters":{"id":12410,"nodeType":"ParameterList","parameters":[],"src":"356:0:32"},"scope":12874,"src":"320:83:32","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":12542,"nodeType":"Block","src":"575:1510:32","statements":[{"assignments":[12435],"declarations":[{"constant":false,"id":12435,"mutability":"mutable","name":"buckets","nameLocation":"603:7:32","nodeType":"VariableDeclaration","scope":12542,"src":"585:25:32","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":12433,"name":"uint256","nodeType":"ElementaryTypeName","src":"585:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12434,"nodeType":"ArrayTypeName","src":"585:9:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":12439,"initialValue":{"baseExpression":{"id":12436,"name":"dateRanges","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12400,"src":"613:10:32","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[] storage ref)"}},"id":12438,"indexExpression":{"id":12437,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12418,"src":"624:2:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"613:14:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"nodeType":"VariableDeclarationStatement","src":"585:42:32"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":12440,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12435,"src":"688:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12441,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"696:6:32","memberName":"length","nodeType":"MemberAccess","src":"688:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12442,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"706:1:32","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"688:19:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12447,"nodeType":"IfStatement","src":"684:61:32","trueBody":{"id":12446,"nodeType":"Block","src":"709:36:32","statements":[{"expression":{"hexValue":"74727565","id":12444,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"730:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":12430,"id":12445,"nodeType":"Return","src":"723:11:32"}]}},{"assignments":[12449],"declarations":[{"constant":false,"id":12449,"mutability":"mutable","name":"startBucketIdx","nameLocation":"762:14:32","nodeType":"VariableDeclaration","scope":12542,"src":"754:22:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12448,"name":"uint256","nodeType":"ElementaryTypeName","src":"754:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12453,"initialValue":{"arguments":[{"id":12451,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12420,"src":"795:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12450,"name":"dateToBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12760,"src":"779:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) view returns (uint256)"}},"id":12452,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"779:26:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"754:51:32"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12454,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12449,"src":"869:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":12455,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12435,"src":"887:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12456,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"895:6:32","memberName":"length","nodeType":"MemberAccess","src":"887:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"869:32:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12461,"nodeType":"IfStatement","src":"865:74:32","trueBody":{"id":12460,"nodeType":"Block","src":"903:36:32","statements":[{"expression":{"hexValue":"74727565","id":12458,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"924:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":12430,"id":12459,"nodeType":"Return","src":"917:11:32"}]}},{"assignments":[12463],"declarations":[{"constant":false,"id":12463,"mutability":"mutable","name":"endBucketIdx","nameLocation":"956:12:32","nodeType":"VariableDeclaration","scope":12542,"src":"948:20:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12462,"name":"uint256","nodeType":"ElementaryTypeName","src":"948:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12467,"initialValue":{"arguments":[{"id":12465,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12422,"src":"987:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12464,"name":"dateToBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12760,"src":"971:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) view returns (uint256)"}},"id":12466,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"971:24:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"948:47:32"},{"assignments":[12469],"declarations":[{"constant":false,"id":12469,"mutability":"mutable","name":"startDaysWithBucketOffset","nameLocation":"1013:25:32","nodeType":"VariableDeclaration","scope":12542,"src":"1005:33:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12468,"name":"uint256","nodeType":"ElementaryTypeName","src":"1005:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12474,"initialValue":{"arguments":[{"id":12471,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12420,"src":"1079:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12472,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12449,"src":"1102:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12470,"name":"dateToBucketRelativeDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12781,"src":"1041:24:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) view returns (uint256)"}},"id":12473,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1041:85:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1005:121:32"},{"assignments":[12476],"declarations":[{"constant":false,"id":12476,"mutability":"mutable","name":"endDaysWithBucketOffset","nameLocation":"1144:23:32","nodeType":"VariableDeclaration","scope":12542,"src":"1136:31:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12475,"name":"uint256","nodeType":"ElementaryTypeName","src":"1136:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12481,"initialValue":{"arguments":[{"id":12478,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12422,"src":"1208:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12479,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12463,"src":"1229:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12477,"name":"dateToBucketRelativeDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12781,"src":"1170:24:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) view returns (uint256)"}},"id":12480,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1170:81:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1136:115:32"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12484,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12482,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12449,"src":"1322:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":12483,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12463,"src":"1340:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1322:30:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12497,"nodeType":"IfStatement","src":"1318:276:32","trueBody":{"id":12496,"nodeType":"Block","src":"1354:240:32","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12492,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":12486,"name":"startDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12469,"src":"1428:25:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12487,"name":"endDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12476,"src":"1475:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12485,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"1391:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12488,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1391:125:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"baseExpression":{"id":12489,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12435,"src":"1539:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12491,"indexExpression":{"id":12490,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12449,"src":"1547:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1539:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1391:171:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12493,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1582:1:32","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1391:192:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":12430,"id":12495,"nodeType":"Return","src":"1368:215:32"}]}},{"assignments":[12499],"declarations":[{"constant":false,"id":12499,"mutability":"mutable","name":"startMask","nameLocation":"1660:9:32","nodeType":"VariableDeclaration","scope":12542,"src":"1652:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12498,"name":"uint256","nodeType":"ElementaryTypeName","src":"1652:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12504,"initialValue":{"arguments":[{"id":12501,"name":"startDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12469,"src":"1688:25:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"323535","id":12502,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1715:3:32","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"}],"id":12500,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"1672:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12503,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1672:47:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1652:67:32"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12508,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12505,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12463,"src":"1783:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":12506,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12435,"src":"1799:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12507,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1807:6:32","memberName":"length","nodeType":"MemberAccess","src":"1799:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1783:30:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12518,"nodeType":"IfStatement","src":"1779:108:32","trueBody":{"id":12517,"nodeType":"Block","src":"1815:72:32","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12515,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12509,"name":"startMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12499,"src":"1836:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"baseExpression":{"id":12510,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12435,"src":"1848:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12512,"indexExpression":{"id":12511,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12449,"src":"1856:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1848:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1836:35:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12514,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1875:1:32","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1836:40:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":12430,"id":12516,"nodeType":"Return","src":"1829:47:32"}]}},{"assignments":[12520],"declarations":[{"constant":false,"id":12520,"mutability":"mutable","name":"endMask","nameLocation":"1904:7:32","nodeType":"VariableDeclaration","scope":12542,"src":"1896:15:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12519,"name":"uint256","nodeType":"ElementaryTypeName","src":"1896:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12525,"initialValue":{"arguments":[{"hexValue":"30","id":12522,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1930:1:32","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":12523,"name":"endDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12476,"src":"1933:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12521,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"1914:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12524,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1914:43:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"1896:61:32"},{"expression":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":12540,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12532,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12530,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12526,"name":"startMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12499,"src":"1986:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"baseExpression":{"id":12527,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12435,"src":"1998:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12529,"indexExpression":{"id":12528,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12449,"src":"2006:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1998:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"1986:35:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12531,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2025:1:32","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1986:40:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12539,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12537,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12533,"name":"endMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12520,"src":"2042:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"&","rightExpression":{"baseExpression":{"id":12534,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12435,"src":"2052:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12536,"indexExpression":{"id":12535,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12463,"src":"2060:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2052:21:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2042:31:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":12538,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2077:1:32","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2042:36:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1986:92:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":12430,"id":12541,"nodeType":"Return","src":"1967:111:32"}]},"id":12543,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":12425,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12420,"src":"540:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12426,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12422,"src":"551:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12427,"kind":"modifierInvocation","modifierName":{"id":12424,"name":"validDateRange","nameLocations":["525:14:32"],"nodeType":"IdentifierPath","referencedDeclaration":12873,"src":"525:14:32"},"nodeType":"ModifierInvocation","src":"525:34:32"}],"name":"checkNoOverlap","nameLocation":"418:14:32","nodeType":"FunctionDefinition","parameters":{"id":12423,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12418,"mutability":"mutable","name":"id","nameLocation":"450:2:32","nodeType":"VariableDeclaration","scope":12543,"src":"442:10:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12417,"name":"uint256","nodeType":"ElementaryTypeName","src":"442:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12420,"mutability":"mutable","name":"startDate","nameLocation":"470:9:32","nodeType":"VariableDeclaration","scope":12543,"src":"462:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12419,"name":"uint256","nodeType":"ElementaryTypeName","src":"462:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12422,"mutability":"mutable","name":"endDate","nameLocation":"497:7:32","nodeType":"VariableDeclaration","scope":12543,"src":"489:15:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12421,"name":"uint256","nodeType":"ElementaryTypeName","src":"489:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"432:78:32"},"returnParameters":{"id":12430,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12429,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12543,"src":"569:4:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":12428,"name":"bool","nodeType":"ElementaryTypeName","src":"569:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"568:6:32"},"scope":12874,"src":"409:1676:32","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":12645,"nodeType":"Block","src":"2251:1031:32","statements":[{"assignments":[12562],"declarations":[{"constant":false,"id":12562,"mutability":"mutable","name":"buckets","nameLocation":"2279:7:32","nodeType":"VariableDeclaration","scope":12645,"src":"2261:25:32","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":12560,"name":"uint256","nodeType":"ElementaryTypeName","src":"2261:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12561,"nodeType":"ArrayTypeName","src":"2261:9:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":12566,"initialValue":{"baseExpression":{"id":12563,"name":"dateRanges","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12400,"src":"2289:10:32","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[] storage ref)"}},"id":12565,"indexExpression":{"id":12564,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12545,"src":"2300:2:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2289:14:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"nodeType":"VariableDeclarationStatement","src":"2261:42:32"},{"assignments":[12568],"declarations":[{"constant":false,"id":12568,"mutability":"mutable","name":"startBucketIdx","nameLocation":"2321:14:32","nodeType":"VariableDeclaration","scope":12645,"src":"2313:22:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12567,"name":"uint256","nodeType":"ElementaryTypeName","src":"2313:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12572,"initialValue":{"arguments":[{"id":12570,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12547,"src":"2354:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12569,"name":"dateToBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12760,"src":"2338:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) view returns (uint256)"}},"id":12571,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2338:26:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2313:51:32"},{"assignments":[12574],"declarations":[{"constant":false,"id":12574,"mutability":"mutable","name":"endBucketIdx","nameLocation":"2382:12:32","nodeType":"VariableDeclaration","scope":12645,"src":"2374:20:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12573,"name":"uint256","nodeType":"ElementaryTypeName","src":"2374:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12578,"initialValue":{"arguments":[{"id":12576,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12549,"src":"2413:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12575,"name":"dateToBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12760,"src":"2397:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) view returns (uint256)"}},"id":12577,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2397:24:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2374:47:32"},{"assignments":[12580],"declarations":[{"constant":false,"id":12580,"mutability":"mutable","name":"startDaysWithBucketOffset","nameLocation":"2440:25:32","nodeType":"VariableDeclaration","scope":12645,"src":"2432:33:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12579,"name":"uint256","nodeType":"ElementaryTypeName","src":"2432:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12585,"initialValue":{"arguments":[{"id":12582,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12547,"src":"2506:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12583,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12568,"src":"2529:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12581,"name":"dateToBucketRelativeDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12781,"src":"2468:24:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) view returns (uint256)"}},"id":12584,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2468:85:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2432:121:32"},{"assignments":[12587],"declarations":[{"constant":false,"id":12587,"mutability":"mutable","name":"endDaysWithBucketOffset","nameLocation":"2571:23:32","nodeType":"VariableDeclaration","scope":12645,"src":"2563:31:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12586,"name":"uint256","nodeType":"ElementaryTypeName","src":"2563:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12592,"initialValue":{"arguments":[{"id":12589,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12549,"src":"2635:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12590,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12574,"src":"2656:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12588,"name":"dateToBucketRelativeDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12781,"src":"2597:24:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) view returns (uint256)"}},"id":12591,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2597:81:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"2563:115:32"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":12601,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12596,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12593,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12568,"src":"2706:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":12594,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12562,"src":"2724:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12595,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2732:6:32","memberName":"length","nodeType":"MemberAccess","src":"2724:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2706:32:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12600,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12597,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12574,"src":"2742:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"expression":{"id":12598,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12562,"src":"2758:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12599,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"2766:6:32","memberName":"length","nodeType":"MemberAccess","src":"2758:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2742:30:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"2706:66:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12605,"nodeType":"IfStatement","src":"2689:130:32","trueBody":{"id":12604,"nodeType":"Block","src":"2783:36:32","statements":[{"expression":{"hexValue":"74727565","id":12602,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2804:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":12557,"id":12603,"nodeType":"Return","src":"2797:11:32"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12608,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12606,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12568,"src":"2833:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":12607,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12574,"src":"2851:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2833:30:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12622,"nodeType":"IfStatement","src":"2829:227:32","trueBody":{"id":12621,"nodeType":"Block","src":"2865:191:32","statements":[{"expression":{"id":12617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12609,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12562,"src":"2879:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12611,"indexExpression":{"id":12610,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12568,"src":"2887:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"2879:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"&=","rightHandSide":{"id":12616,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"~","prefix":true,"src":"2906:114:32","subExpression":{"arguments":[{"id":12613,"name":"startDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12580,"src":"2940:25:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12614,"name":"endDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12587,"src":"2983:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12612,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"2907:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12615,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2907:113:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2879:141:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12618,"nodeType":"ExpressionStatement","src":"2879:141:32"},{"expression":{"hexValue":"74727565","id":12619,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3041:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":12557,"id":12620,"nodeType":"Return","src":"3034:11:32"}]}},{"expression":{"id":12631,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12623,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12562,"src":"3066:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12625,"indexExpression":{"id":12624,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12568,"src":"3074:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3066:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"&=","rightHandSide":{"id":12630,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"~","prefix":true,"src":"3093:82:32","subExpression":{"arguments":[{"id":12627,"name":"startDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12580,"src":"3123:25:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"323535","id":12628,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3162:3:32","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"}],"id":12626,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"3094:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12629,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3094:81:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3066:109:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12632,"nodeType":"ExpressionStatement","src":"3066:109:32"},{"expression":{"id":12641,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12633,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12562,"src":"3185:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12635,"indexExpression":{"id":12634,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12574,"src":"3193:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3185:21:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"&=","rightHandSide":{"id":12640,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"~","prefix":true,"src":"3210:44:32","subExpression":{"arguments":[{"hexValue":"30","id":12637,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3227:1:32","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":12638,"name":"endDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12587,"src":"3230:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12636,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"3211:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12639,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3211:43:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3185:69:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12642,"nodeType":"ExpressionStatement","src":"3185:69:32"},{"expression":{"hexValue":"74727565","id":12643,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3271:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":12557,"id":12644,"nodeType":"Return","src":"3264:11:32"}]},"id":12646,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":12552,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12547,"src":"2216:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12553,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12549,"src":"2227:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12554,"kind":"modifierInvocation","modifierName":{"id":12551,"name":"validDateRange","nameLocations":["2201:14:32"],"nodeType":"IdentifierPath","referencedDeclaration":12873,"src":"2201:14:32"},"nodeType":"ModifierInvocation","src":"2201:34:32"}],"name":"freeDateRange","nameLocation":"2100:13:32","nodeType":"FunctionDefinition","parameters":{"id":12550,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12545,"mutability":"mutable","name":"id","nameLocation":"2131:2:32","nodeType":"VariableDeclaration","scope":12646,"src":"2123:10:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12544,"name":"uint256","nodeType":"ElementaryTypeName","src":"2123:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12547,"mutability":"mutable","name":"startDate","nameLocation":"2151:9:32","nodeType":"VariableDeclaration","scope":12646,"src":"2143:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12546,"name":"uint256","nodeType":"ElementaryTypeName","src":"2143:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12549,"mutability":"mutable","name":"endDate","nameLocation":"2178:7:32","nodeType":"VariableDeclaration","scope":12646,"src":"2170:15:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12548,"name":"uint256","nodeType":"ElementaryTypeName","src":"2170:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2113:78:32"},"returnParameters":{"id":12557,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12556,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12646,"src":"2245:4:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":12555,"name":"bool","nodeType":"ElementaryTypeName","src":"2245:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2244:6:32"},"scope":12874,"src":"2091:1191:32","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12742,"nodeType":"Block","src":"3452:999:32","statements":[{"assignments":[12665],"declarations":[{"constant":false,"id":12665,"mutability":"mutable","name":"buckets","nameLocation":"3480:7:32","nodeType":"VariableDeclaration","scope":12742,"src":"3462:25:32","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":12663,"name":"uint256","nodeType":"ElementaryTypeName","src":"3462:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12664,"nodeType":"ArrayTypeName","src":"3462:9:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":12669,"initialValue":{"baseExpression":{"id":12666,"name":"dateRanges","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12400,"src":"3490:10:32","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(uint256 => uint256[] storage ref)"}},"id":12668,"indexExpression":{"id":12667,"name":"id","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12648,"src":"3501:2:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3490:14:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"nodeType":"VariableDeclarationStatement","src":"3462:42:32"},{"assignments":[12671],"declarations":[{"constant":false,"id":12671,"mutability":"mutable","name":"startBucketIdx","nameLocation":"3522:14:32","nodeType":"VariableDeclaration","scope":12742,"src":"3514:22:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12670,"name":"uint256","nodeType":"ElementaryTypeName","src":"3514:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12675,"initialValue":{"arguments":[{"id":12673,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12650,"src":"3555:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12672,"name":"dateToBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12760,"src":"3539:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) view returns (uint256)"}},"id":12674,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3539:26:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3514:51:32"},{"assignments":[12677],"declarations":[{"constant":false,"id":12677,"mutability":"mutable","name":"endBucketIdx","nameLocation":"3583:12:32","nodeType":"VariableDeclaration","scope":12742,"src":"3575:20:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12676,"name":"uint256","nodeType":"ElementaryTypeName","src":"3575:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12681,"initialValue":{"arguments":[{"id":12679,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12652,"src":"3614:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12678,"name":"dateToBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12760,"src":"3598:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256) view returns (uint256)"}},"id":12680,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3598:24:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3575:47:32"},{"assignments":[12683],"declarations":[{"constant":false,"id":12683,"mutability":"mutable","name":"startDaysWithBucketOffset","nameLocation":"3641:25:32","nodeType":"VariableDeclaration","scope":12742,"src":"3633:33:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12682,"name":"uint256","nodeType":"ElementaryTypeName","src":"3633:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12688,"initialValue":{"arguments":[{"id":12685,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12650,"src":"3707:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12686,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12671,"src":"3730:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12684,"name":"dateToBucketRelativeDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12781,"src":"3669:24:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) view returns (uint256)"}},"id":12687,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3669:85:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3633:121:32"},{"assignments":[12690],"declarations":[{"constant":false,"id":12690,"mutability":"mutable","name":"endDaysWithBucketOffset","nameLocation":"3772:23:32","nodeType":"VariableDeclaration","scope":12742,"src":"3764:31:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12689,"name":"uint256","nodeType":"ElementaryTypeName","src":"3764:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12695,"initialValue":{"arguments":[{"id":12692,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12652,"src":"3836:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12693,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12677,"src":"3857:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12691,"name":"dateToBucketRelativeDays","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12781,"src":"3798:24:32","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) view returns (uint256)"}},"id":12694,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3798:81:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3764:115:32"},{"expression":{"arguments":[{"id":12697,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12665,"src":"3912:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},{"id":12698,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12671,"src":"3921:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12696,"name":"createBucketsIfNeeded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12840,"src":"3890:21:32","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$","typeString":"function (uint256[] storage pointer,uint256)"}},"id":12699,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3890:46:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12700,"nodeType":"ExpressionStatement","src":"3890:46:32"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12703,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12701,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12671,"src":"3951:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":12702,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12677,"src":"3969:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3951:30:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12716,"nodeType":"IfStatement","src":"3947:226:32","trueBody":{"id":12715,"nodeType":"Block","src":"3983:190:32","statements":[{"expression":{"id":12711,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12704,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12665,"src":"3997:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12706,"indexExpression":{"id":12705,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12671,"src":"4005:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3997:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"arguments":[{"id":12708,"name":"startDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12683,"src":"4057:25:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12709,"name":"endDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12690,"src":"4100:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12707,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"4024:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12710,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4024:113:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3997:140:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12712,"nodeType":"ExpressionStatement","src":"3997:140:32"},{"expression":{"hexValue":"74727565","id":12713,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4158:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":12660,"id":12714,"nodeType":"Return","src":"4151:11:32"}]}},{"expression":{"arguments":[{"id":12718,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12665,"src":"4204:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},{"id":12719,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12677,"src":"4213:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12717,"name":"createBucketsIfNeeded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12840,"src":"4182:21:32","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$","typeString":"function (uint256[] storage pointer,uint256)"}},"id":12720,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4182:44:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12721,"nodeType":"ExpressionStatement","src":"4182:44:32"},{"expression":{"id":12729,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12722,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12665,"src":"4237:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12724,"indexExpression":{"id":12723,"name":"startBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12671,"src":"4245:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4237:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"arguments":[{"id":12726,"name":"startDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12683,"src":"4293:25:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"323535","id":12727,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4332:3:32","typeDescriptions":{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"},"value":"255"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_255_by_1","typeString":"int_const 255"}],"id":12725,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"4264:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12728,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4264:81:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4237:108:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12730,"nodeType":"ExpressionStatement","src":"4237:108:32"},{"expression":{"id":12738,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":12731,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12665,"src":"4355:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12733,"indexExpression":{"id":12732,"name":"endBucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12677,"src":"4363:12:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4355:21:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"|=","rightHandSide":{"arguments":[{"hexValue":"30","id":12735,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4396:1:32","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":12736,"name":"endDaysWithBucketOffset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12690,"src":"4399:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":12734,"name":"daysRangeToMask","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12806,"src":"4380:15:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12737,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4380:43:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4355:68:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12739,"nodeType":"ExpressionStatement","src":"4355:68:32"},{"expression":{"hexValue":"74727565","id":12740,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4440:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":12660,"id":12741,"nodeType":"Return","src":"4433:11:32"}]},"id":12743,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":12655,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12650,"src":"3417:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":12656,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12652,"src":"3428:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12657,"kind":"modifierInvocation","modifierName":{"id":12654,"name":"validDateRange","nameLocations":["3402:14:32"],"nodeType":"IdentifierPath","referencedDeclaration":12873,"src":"3402:14:32"},"nodeType":"ModifierInvocation","src":"3402:34:32"}],"name":"allocateDateRange","nameLocation":"3297:17:32","nodeType":"FunctionDefinition","parameters":{"id":12653,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12648,"mutability":"mutable","name":"id","nameLocation":"3332:2:32","nodeType":"VariableDeclaration","scope":12743,"src":"3324:10:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12647,"name":"uint256","nodeType":"ElementaryTypeName","src":"3324:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12650,"mutability":"mutable","name":"startDate","nameLocation":"3352:9:32","nodeType":"VariableDeclaration","scope":12743,"src":"3344:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12649,"name":"uint256","nodeType":"ElementaryTypeName","src":"3344:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12652,"mutability":"mutable","name":"endDate","nameLocation":"3379:7:32","nodeType":"VariableDeclaration","scope":12743,"src":"3371:15:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12651,"name":"uint256","nodeType":"ElementaryTypeName","src":"3371:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3314:78:32"},"returnParameters":{"id":12660,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12659,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12743,"src":"3446:4:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":12658,"name":"bool","nodeType":"ElementaryTypeName","src":"3446:4:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3445:6:32"},"scope":12874,"src":"3288:1163:32","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12759,"nodeType":"Block","src":"4528:77:32","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12757,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12752,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12750,"name":"date","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12745,"src":"4546:4:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12751,"name":"initialOffest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12395,"src":"4553:13:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4546:20:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12753,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4545:22:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":12754,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"4570:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4545:39:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":12756,"name":"BUCKET_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12406,"src":"4587:11:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4545:53:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":12749,"id":12758,"nodeType":"Return","src":"4538:60:32"}]},"id":12760,"implemented":true,"kind":"function","modifiers":[],"name":"dateToBucketIdx","nameLocation":"4466:15:32","nodeType":"FunctionDefinition","parameters":{"id":12746,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12745,"mutability":"mutable","name":"date","nameLocation":"4490:4:32","nodeType":"VariableDeclaration","scope":12760,"src":"4482:12:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12744,"name":"uint256","nodeType":"ElementaryTypeName","src":"4482:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4481:14:32"},"returnParameters":{"id":12749,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12748,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12760,"src":"4519:7:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12747,"name":"uint256","nodeType":"ElementaryTypeName","src":"4519:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4518:9:32"},"scope":12874,"src":"4457:148:32","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":12780,"nodeType":"Block","src":"4732:101:32","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12778,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12774,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12771,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12769,"name":"date","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12762,"src":"4762:4:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12770,"name":"initialOffest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12395,"src":"4769:13:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4762:20:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12772,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4761:22:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":12773,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"4786:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4761:39:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12777,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12775,"name":"bucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12764,"src":"4803:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":12776,"name":"BUCKET_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12406,"src":"4815:11:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4803:23:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4761:65:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":12768,"id":12779,"nodeType":"Return","src":"4742:84:32"}]},"id":12781,"implemented":true,"kind":"function","modifiers":[],"name":"dateToBucketRelativeDays","nameLocation":"4620:24:32","nodeType":"FunctionDefinition","parameters":{"id":12765,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12762,"mutability":"mutable","name":"date","nameLocation":"4662:4:32","nodeType":"VariableDeclaration","scope":12781,"src":"4654:12:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12761,"name":"uint256","nodeType":"ElementaryTypeName","src":"4654:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12764,"mutability":"mutable","name":"bucketIdx","nameLocation":"4684:9:32","nodeType":"VariableDeclaration","scope":12781,"src":"4676:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12763,"name":"uint256","nodeType":"ElementaryTypeName","src":"4676:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4644:55:32"},"returnParameters":{"id":12768,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12767,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12781,"src":"4723:7:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12766,"name":"uint256","nodeType":"ElementaryTypeName","src":"4723:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4722:9:32"},"scope":12874,"src":"4611:222:32","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":12805,"nodeType":"Block","src":"4946:63:32","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12803,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12800,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12797,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"hexValue":"31","id":12790,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4965:1:32","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":12795,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12791,"name":"end","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12785,"src":"4971:3:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12792,"name":"start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12783,"src":"4977:5:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4971:11:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":12794,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4985:1:32","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"4971:15:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12796,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4970:17:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4965:22:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12798,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4964:24:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":12799,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4991:1:32","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"4964:28:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":12801,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4963:30:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<<","rightExpression":{"id":12802,"name":"start","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12783,"src":"4997:5:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4963:39:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":12789,"id":12804,"nodeType":"Return","src":"4956:46:32"}]},"id":12806,"implemented":true,"kind":"function","modifiers":[],"name":"daysRangeToMask","nameLocation":"4848:15:32","nodeType":"FunctionDefinition","parameters":{"id":12786,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12783,"mutability":"mutable","name":"start","nameLocation":"4881:5:32","nodeType":"VariableDeclaration","scope":12806,"src":"4873:13:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12782,"name":"uint256","nodeType":"ElementaryTypeName","src":"4873:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12785,"mutability":"mutable","name":"end","nameLocation":"4904:3:32","nodeType":"VariableDeclaration","scope":12806,"src":"4896:11:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12784,"name":"uint256","nodeType":"ElementaryTypeName","src":"4896:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4863:50:32"},"returnParameters":{"id":12789,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12788,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":12806,"src":"4937:7:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12787,"name":"uint256","nodeType":"ElementaryTypeName","src":"4937:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4936:9:32"},"scope":12874,"src":"4839:170:32","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":12839,"nodeType":"Block","src":"5123:179:32","statements":[{"body":{"id":12837,"nodeType":"Block","src":"5256:40:32","statements":[{"expression":{"arguments":[{"hexValue":"30","id":12834,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5283:1:32","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"}],"expression":{"id":12831,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12809,"src":"5270:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12833,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5278:4:32","memberName":"push","nodeType":"MemberAccess","src":"5270:12:32","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$attached_to$_t_array$_t_uint256_$dyn_storage_ptr_$","typeString":"function (uint256[] storage pointer,uint256)"}},"id":12835,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5270:15:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12836,"nodeType":"ExpressionStatement","src":"5270:15:32"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12827,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12825,"name":"idx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12815,"src":"5210:3:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":12826,"name":"bucketIdx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12811,"src":"5217:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5210:16:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":12838,"initializationExpression":{"assignments":[12815],"declarations":[{"constant":false,"id":12815,"mutability":"mutable","name":"idx","nameLocation":"5159:3:32","nodeType":"VariableDeclaration","scope":12838,"src":"5151:11:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12814,"name":"uint256","nodeType":"ElementaryTypeName","src":"5151:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":12824,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12823,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"expression":{"id":12818,"name":"buckets","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12809,"src":"5174:7:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":12819,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5182:6:32","memberName":"length","nodeType":"MemberAccess","src":"5174:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"31","id":12820,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5190:1:32","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"expression":{"id":12816,"name":"Math","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":6826,"src":"5165:4:32","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_Math_$6826_$","typeString":"type(library Math)"}},"id":12817,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5170:3:32","memberName":"max","nodeType":"MemberAccess","referencedDeclaration":5513,"src":"5165:8:32","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_uint256_$","typeString":"function (uint256,uint256) pure returns (uint256)"}},"id":12821,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5165:27:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":12822,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5195:1:32","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"5165:31:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5151:45:32"},"isSimpleCounterLoop":false,"loopExpression":{"expression":{"id":12829,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"5240:5:32","subExpression":{"id":12828,"name":"idx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12815,"src":"5240:3:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12830,"nodeType":"ExpressionStatement","src":"5240:5:32"},"nodeType":"ForStatement","src":"5133:163:32"}]},"id":12840,"implemented":true,"kind":"function","modifiers":[],"name":"createBucketsIfNeeded","nameLocation":"5024:21:32","nodeType":"FunctionDefinition","parameters":{"id":12812,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12809,"mutability":"mutable","name":"buckets","nameLocation":"5073:7:32","nodeType":"VariableDeclaration","scope":12840,"src":"5055:25:32","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":12807,"name":"uint256","nodeType":"ElementaryTypeName","src":"5055:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12808,"nodeType":"ArrayTypeName","src":"5055:9:32","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"},{"constant":false,"id":12811,"mutability":"mutable","name":"bucketIdx","nameLocation":"5098:9:32","nodeType":"VariableDeclaration","scope":12840,"src":"5090:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12810,"name":"uint256","nodeType":"ElementaryTypeName","src":"5090:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5045:68:32"},"returnParameters":{"id":12813,"nodeType":"ParameterList","parameters":[],"src":"5123:0:32"},"scope":12874,"src":"5015:287:32","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":12872,"nodeType":"Block","src":"5368:402:32","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12849,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12847,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12842,"src":"5399:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":12848,"name":"initialOffest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12395,"src":"5412:13:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5399:26:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"537461727420646174652073686f756c6420626520616674657220696e697469616c206f6666736574","id":12850,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5439:43:32","typeDescriptions":{"typeIdentifier":"t_stringliteral_1b41dd5d96cd89ad6576f01454a77f35298f7af9af5a290eebcd50a0cda2db06","typeString":"literal_string \"Start date should be after initial offset\""},"value":"Start date should be after initial offset"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_1b41dd5d96cd89ad6576f01454a77f35298f7af9af5a290eebcd50a0cda2db06","typeString":"literal_string \"Start date should be after initial offset\""}],"id":12846,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5378:7:32","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":12851,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5378:114:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12852,"nodeType":"ExpressionStatement","src":"5378:114:32"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12856,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12854,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12844,"src":"5523:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":12855,"name":"initialOffest","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12395,"src":"5534:13:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5523:24:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"456e6420646174652073686f756c6420626520616674657220696e697469616c206f6666736574","id":12857,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5561:41:32","typeDescriptions":{"typeIdentifier":"t_stringliteral_962580903f0a3fab5cf4e1692411da08ea79ee910a1ec79ccc7bee9592dc68ab","typeString":"literal_string \"End date should be after initial offset\""},"value":"End date should be after initial offset"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_962580903f0a3fab5cf4e1692411da08ea79ee910a1ec79ccc7bee9592dc68ab","typeString":"literal_string \"End date should be after initial offset\""}],"id":12853,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5502:7:32","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":12858,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5502:110:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12859,"nodeType":"ExpressionStatement","src":"5502:110:32"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12867,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12863,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":12861,"name":"endDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12844,"src":"5643:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":12862,"name":"startDate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12842,"src":"5653:9:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5643:19:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":12866,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":12864,"name":"SECONDS_IN_DAY","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12403,"src":"5665:14:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":12865,"name":"BUCKET_SIZE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12406,"src":"5682:11:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5665:28:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5643:50:32","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"446174652072616e67652063616e6e6f7420657863656564203235352064617973","id":12868,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5707:35:32","typeDescriptions":{"typeIdentifier":"t_stringliteral_541c79f05be079d0714e548922a0e4ed6dd9a8018370e94895769d30db2f78c2","typeString":"literal_string \"Date range cannot exceed 255 days\""},"value":"Date range cannot exceed 255 days"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_541c79f05be079d0714e548922a0e4ed6dd9a8018370e94895769d30db2f78c2","typeString":"literal_string \"Date range cannot exceed 255 days\""}],"id":12860,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5622:7:32","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":12869,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5622:130:32","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":12870,"nodeType":"ExpressionStatement","src":"5622:130:32"},{"id":12871,"nodeType":"PlaceholderStatement","src":"5762:1:32"}]},"id":12873,"name":"validDateRange","nameLocation":"5317:14:32","nodeType":"ModifierDefinition","parameters":{"id":12845,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12842,"mutability":"mutable","name":"startDate","nameLocation":"5340:9:32","nodeType":"VariableDeclaration","scope":12873,"src":"5332:17:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12841,"name":"uint256","nodeType":"ElementaryTypeName","src":"5332:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12844,"mutability":"mutable","name":"endDate","nameLocation":"5359:7:32","nodeType":"VariableDeclaration","scope":12873,"src":"5351:15:32","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12843,"name":"uint256","nodeType":"ElementaryTypeName","src":"5351:7:32","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5331:36:32"},"src":"5308:462:32","virtual":false,"visibility":"internal"}],"scope":12875,"src":"112:5660:32","usedErrors":[],"usedEvents":[]}],"src":"32:5741:32"},"id":32},"contracts/DynamicRevenueSplitter.sol":{"ast":{"absolutePath":"contracts/DynamicRevenueSplitter.sol","exportedSymbols":{"AccessControl":[295],"Context":[2576],"DynamicRevenueSplitter":[14312],"ERC165":[5193],"IAccessControl":[378],"IDynamicRevenueSplitter":[14870],"IERC20":[1133],"ReentrancyGuard":[2765]},"id":14313,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":12876,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"32:23:33"},{"absolutePath":"@openzeppelin/contracts/access/AccessControl.sol","file":"@openzeppelin/contracts/access/AccessControl.sol","id":12877,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14313,"sourceUnit":296,"src":"57:58:33","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/utils/ReentrancyGuard.sol","file":"@openzeppelin/contracts/utils/ReentrancyGuard.sol","id":12878,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14313,"sourceUnit":2766,"src":"116:59:33","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"@openzeppelin/contracts/token/ERC20/IERC20.sol","id":12879,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14313,"sourceUnit":1134,"src":"176:56:33","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/IDynamicRevenueSplitter.sol","file":"./IDynamicRevenueSplitter.sol","id":12880,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":14313,"sourceUnit":14871,"src":"233:39:33","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":12881,"name":"IDynamicRevenueSplitter","nameLocations":["309:23:33"],"nodeType":"IdentifierPath","referencedDeclaration":14870,"src":"309:23:33"},"id":12882,"nodeType":"InheritanceSpecifier","src":"309:23:33"},{"baseName":{"id":12883,"name":"AccessControl","nameLocations":["334:13:33"],"nodeType":"IdentifierPath","referencedDeclaration":295,"src":"334:13:33"},"id":12884,"nodeType":"InheritanceSpecifier","src":"334:13:33"},{"baseName":{"id":12885,"name":"ReentrancyGuard","nameLocations":["349:15:33"],"nodeType":"IdentifierPath","referencedDeclaration":2765,"src":"349:15:33"},"id":12886,"nodeType":"InheritanceSpecifier","src":"349:15:33"}],"canonicalName":"DynamicRevenueSplitter","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":14312,"linearizedBaseContracts":[14312,2765,295,5193,5205,378,2576,14870],"name":"DynamicRevenueSplitter","nameLocation":"283:22:33","nodeType":"ContractDefinition","nodes":[{"constant":true,"functionSelector":"75b238fc","id":12891,"mutability":"constant","name":"ADMIN_ROLE","nameLocation":"395:10:33","nodeType":"VariableDeclaration","scope":14312,"src":"371:60:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":12887,"name":"bytes32","nodeType":"ElementaryTypeName","src":"371:7:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"41444d494e5f524f4c45","id":12889,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"418:12:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775","typeString":"literal_string \"ADMIN_ROLE\""},"value":"ADMIN_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775","typeString":"literal_string \"ADMIN_ROLE\""}],"id":12888,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"408:9:33","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":12890,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"408:23:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"constant":true,"functionSelector":"091cfe70","id":12896,"mutability":"constant","name":"PROFILE_MANAGER_ROLE","nameLocation":"461:20:33","nodeType":"VariableDeclaration","scope":14312,"src":"437:80:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":12892,"name":"bytes32","nodeType":"ElementaryTypeName","src":"437:7:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"50524f46494c455f4d414e414745525f524f4c45","id":12894,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"494:22:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_ec29272e56a632e32eed7fd658a3260be47421ce3959838625209b981a715530","typeString":"literal_string \"PROFILE_MANAGER_ROLE\""},"value":"PROFILE_MANAGER_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_ec29272e56a632e32eed7fd658a3260be47421ce3959838625209b981a715530","typeString":"literal_string \"PROFILE_MANAGER_ROLE\""}],"id":12893,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"484:9:33","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":12895,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"484:33:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"errorSelector":"c05c487c","id":12900,"name":"EventProfileNotSet","nameLocation":"530:18:33","nodeType":"ErrorDefinition","parameters":{"id":12899,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12898,"mutability":"mutable","name":"eventId","nameLocation":"557:7:33","nodeType":"VariableDeclaration","scope":12900,"src":"549:15:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12897,"name":"uint256","nodeType":"ElementaryTypeName","src":"549:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"548:17:33"},"src":"524:42:33"},{"errorSelector":"50dfe913","id":12904,"name":"ProfileInactive","nameLocation":"577:15:33","nodeType":"ErrorDefinition","parameters":{"id":12903,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12902,"mutability":"mutable","name":"profileId","nameLocation":"601:9:33","nodeType":"VariableDeclaration","scope":12904,"src":"593:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12901,"name":"uint256","nodeType":"ElementaryTypeName","src":"593:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"592:19:33"},"src":"571:41:33"},{"errorSelector":"ca4a8d7e","id":12906,"name":"InvalidProfileShares","nameLocation":"623:20:33","nodeType":"ErrorDefinition","parameters":{"id":12905,"nodeType":"ParameterList","parameters":[],"src":"643:2:33"},"src":"617:29:33"},{"errorSelector":"be053c3f","id":12908,"name":"UsdtTransferFromFailed","nameLocation":"657:22:33","nodeType":"ErrorDefinition","parameters":{"id":12907,"nodeType":"ParameterList","parameters":[],"src":"679:2:33"},"src":"651:31:33"},{"errorSelector":"149f9fca","id":12910,"name":"UsdtTransferFailed","nameLocation":"693:18:33","nodeType":"ErrorDefinition","parameters":{"id":12909,"nodeType":"ParameterList","parameters":[],"src":"711:2:33"},"src":"687:27:33"},{"constant":false,"functionSelector":"a582ddf4","id":12912,"mutability":"immutable","name":"cyberiaDAO","nameLocation":"781:10:33","nodeType":"VariableDeclaration","scope":14312,"src":"756:35:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12911,"name":"address","nodeType":"ElementaryTypeName","src":"756:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"functionSelector":"b9bd2777","id":12914,"mutability":"immutable","name":"cvePtPma","nameLocation":"856:8:33","nodeType":"VariableDeclaration","scope":14312,"src":"831:33:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12913,"name":"address","nodeType":"ElementaryTypeName","src":"831:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"constant":false,"functionSelector":"2f48ab7d","id":12917,"mutability":"immutable","name":"usdt","nameLocation":"928:4:33","nodeType":"VariableDeclaration","scope":14312,"src":"904:28:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1133","typeString":"contract IERC20"},"typeName":{"id":12916,"nodeType":"UserDefinedTypeName","pathNode":{"id":12915,"name":"IERC20","nameLocations":["904:6:33"],"nodeType":"IdentifierPath","referencedDeclaration":1133,"src":"904:6:33"},"referencedDeclaration":1133,"src":"904:6:33","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_31771133","typeString":"contract IERC20"}},"visibility":"public"},{"constant":true,"functionSelector":"e268caf7","id":12920,"mutability":"constant","name":"CYBERIA_DAO_SHARE","nameLocation":"1029:17:33","nodeType":"VariableDeclaration","scope":14312,"src":"1005:48:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12918,"name":"uint256","nodeType":"ElementaryTypeName","src":"1005:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"31303030","id":12919,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1049:4:33","typeDescriptions":{"typeIdentifier":"t_rational_1000_by_1","typeString":"int_const 1000"},"value":"1000"},"visibility":"public"},{"constant":true,"functionSelector":"4041c0e6","id":12923,"mutability":"constant","name":"CVE_PT_PMA_SHARE","nameLocation":"1095:16:33","nodeType":"VariableDeclaration","scope":14312,"src":"1071:46:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12921,"name":"uint256","nodeType":"ElementaryTypeName","src":"1071:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"353030","id":12922,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1114:3:33","typeDescriptions":{"typeIdentifier":"t_rational_500_by_1","typeString":"int_const 500"},"value":"500"},"visibility":"public"},{"constant":true,"functionSelector":"037b5cc8","id":12926,"mutability":"constant","name":"MAX_PROFILE_MANAGER_BPS","nameLocation":"1160:23:33","nodeType":"VariableDeclaration","scope":14312,"src":"1136:54:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12924,"name":"uint256","nodeType":"ElementaryTypeName","src":"1136:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"38353030","id":12925,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1186:4:33","typeDescriptions":{"typeIdentifier":"t_rational_8500_by_1","typeString":"int_const 8500"},"value":"8500"},"visibility":"public"},{"constant":true,"functionSelector":"e1f1c4a7","id":12929,"mutability":"constant","name":"BASIS_POINTS","nameLocation":"1251:12:33","nodeType":"VariableDeclaration","scope":14312,"src":"1227:44:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12927,"name":"uint256","nodeType":"ElementaryTypeName","src":"1227:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"3130303030","id":12928,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1266:5:33","typeDescriptions":{"typeIdentifier":"t_rational_10000_by_1","typeString":"int_const 10000"},"value":"10000"},"visibility":"public"},{"canonicalName":"DynamicRevenueSplitter.RecipientShare","id":12934,"members":[{"constant":false,"id":12931,"mutability":"mutable","name":"recipient","nameLocation":"1318:9:33","nodeType":"VariableDeclaration","scope":12934,"src":"1310:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12930,"name":"address","nodeType":"ElementaryTypeName","src":"1310:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":12933,"mutability":"mutable","name":"bps","nameLocation":"1344:3:33","nodeType":"VariableDeclaration","scope":12934,"src":"1337:10:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":12932,"name":"uint16","nodeType":"ElementaryTypeName","src":"1337:6:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"}],"name":"RecipientShare","nameLocation":"1285:14:33","nodeType":"StructDefinition","scope":14312,"src":"1278:76:33","visibility":"public"},{"canonicalName":"DynamicRevenueSplitter.Distribution","id":12945,"members":[{"constant":false,"id":12938,"mutability":"mutable","name":"recipientShares","nameLocation":"1407:15:33","nodeType":"VariableDeclaration","scope":12945,"src":"1390:32:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RecipientShare_$12934_storage_$dyn_storage_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare[]"},"typeName":{"baseType":{"id":12936,"nodeType":"UserDefinedTypeName","pathNode":{"id":12935,"name":"RecipientShare","nameLocations":["1390:14:33"],"nodeType":"IdentifierPath","referencedDeclaration":12934,"src":"1390:14:33"},"referencedDeclaration":12934,"src":"1390:14:33","typeDescriptions":{"typeIdentifier":"t_struct$_RecipientShare_$12934_storage_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare"}},"id":12937,"nodeType":"ArrayTypeName","src":"1390:16:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RecipientShare_$12934_storage_$dyn_storage_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare[]"}},"visibility":"internal"},{"constant":false,"id":12940,"mutability":"mutable","name":"totalBps","nameLocation":"1439:8:33","nodeType":"VariableDeclaration","scope":12945,"src":"1432:15:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"},"typeName":{"id":12939,"name":"uint16","nodeType":"ElementaryTypeName","src":"1432:6:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"visibility":"internal"},{"constant":false,"id":12942,"mutability":"mutable","name":"owner","nameLocation":"1465:5:33","nodeType":"VariableDeclaration","scope":12945,"src":"1457:13:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12941,"name":"address","nodeType":"ElementaryTypeName","src":"1457:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":12944,"mutability":"mutable","name":"isActive","nameLocation":"1517:8:33","nodeType":"VariableDeclaration","scope":12945,"src":"1512:13:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":12943,"name":"bool","nodeType":"ElementaryTypeName","src":"1512:4:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"name":"Distribution","nameLocation":"1367:12:33","nodeType":"StructDefinition","scope":14312,"src":"1360:205:33","visibility":"public"},{"constant":false,"id":12949,"mutability":"mutable","name":"profiles","nameLocation":"1595:8:33","nodeType":"VariableDeclaration","scope":14312,"src":"1571:32:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_318212945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution[]"},"typeName":{"baseType":{"id":12947,"nodeType":"UserDefinedTypeName","pathNode":{"id":12946,"name":"Distribution","nameLocations":["1571:12:33"],"nodeType":"IdentifierPath","referencedDeclaration":12945,"src":"1571:12:33"},"referencedDeclaration":12945,"src":"1571:12:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"}},"id":12948,"nodeType":"ArrayTypeName","src":"1571:14:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution[]"}},"visibility":"internal"},{"constant":false,"functionSelector":"6c13a8e0","id":12953,"mutability":"mutable","name":"eventProfiles","nameLocation":"1644:13:33","nodeType":"VariableDeclaration","scope":14312,"src":"1609:48:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"typeName":{"id":12952,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":12950,"name":"uint256","nodeType":"ElementaryTypeName","src":"1617:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Mapping","src":"1609:27:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":12951,"name":"uint256","nodeType":"ElementaryTypeName","src":"1628:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"constant":false,"functionSelector":"32e4342b","id":12958,"mutability":"mutable","name":"ownerProfiles","nameLocation":"1730:13:33","nodeType":"VariableDeclaration","scope":14312,"src":"1693:50:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(address => uint256[])"},"typeName":{"id":12957,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":12954,"name":"address","nodeType":"ElementaryTypeName","src":"1701:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1693:29:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(address => uint256[])"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"baseType":{"id":12955,"name":"uint256","nodeType":"ElementaryTypeName","src":"1712:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12956,"nodeType":"ArrayTypeName","src":"1712:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}}},"visibility":"public"},{"constant":false,"documentation":{"id":12959,"nodeType":"StructuredDocumentation","src":"1783:255:33","text":" @notice Basis points each profile manager receives from distributions.\n Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before \n profile recipients. Manager cannot add their own address to distribution profiles."},"functionSelector":"47c13c92","id":12963,"mutability":"mutable","name":"profileManagerBps","nameLocation":"2078:17:33","nodeType":"VariableDeclaration","scope":14312,"src":"2043:52:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":12962,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":12960,"name":"address","nodeType":"ElementaryTypeName","src":"2051:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"2043:27:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":12961,"name":"uint256","nodeType":"ElementaryTypeName","src":"2062:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"constant":false,"functionSelector":"8fd611be","id":12965,"mutability":"mutable","name":"eventManager","nameLocation":"2156:12:33","nodeType":"VariableDeclaration","scope":14312,"src":"2141:27:33","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12964,"name":"address","nodeType":"ElementaryTypeName","src":"2141:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"public"},{"anonymous":false,"eventSelector":"9210378304358fc43d124800f81757c26a038d252a1909776d22df7df84f39ca","id":12977,"name":"DistributionProfileCreated","nameLocation":"2181:26:33","nodeType":"EventDefinition","parameters":{"id":12976,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12967,"indexed":true,"mutability":"mutable","name":"profileId","nameLocation":"2233:9:33","nodeType":"VariableDeclaration","scope":12977,"src":"2217:25:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12966,"name":"uint256","nodeType":"ElementaryTypeName","src":"2217:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12969,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"2268:5:33","nodeType":"VariableDeclaration","scope":12977,"src":"2252:21:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":12968,"name":"address","nodeType":"ElementaryTypeName","src":"2252:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":12972,"indexed":false,"mutability":"mutable","name":"recipients","nameLocation":"2293:10:33","nodeType":"VariableDeclaration","scope":12977,"src":"2283:20:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":12970,"name":"address","nodeType":"ElementaryTypeName","src":"2283:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":12971,"nodeType":"ArrayTypeName","src":"2283:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":12975,"indexed":false,"mutability":"mutable","name":"shares","nameLocation":"2323:6:33","nodeType":"VariableDeclaration","scope":12977,"src":"2313:16:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":12973,"name":"uint256","nodeType":"ElementaryTypeName","src":"2313:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12974,"nodeType":"ArrayTypeName","src":"2313:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"2207:128:33"},"src":"2175:161:33"},{"anonymous":false,"eventSelector":"ab5abb0aa764a40c901db1a9f840648e913aec7b7aa65483bb7ed5fa2d6209ad","id":12987,"name":"DistributionProfileUpdated","nameLocation":"2347:26:33","nodeType":"EventDefinition","parameters":{"id":12986,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12979,"indexed":true,"mutability":"mutable","name":"profileId","nameLocation":"2390:9:33","nodeType":"VariableDeclaration","scope":12987,"src":"2374:25:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12978,"name":"uint256","nodeType":"ElementaryTypeName","src":"2374:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12982,"indexed":false,"mutability":"mutable","name":"recipients","nameLocation":"2411:10:33","nodeType":"VariableDeclaration","scope":12987,"src":"2401:20:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":12980,"name":"address","nodeType":"ElementaryTypeName","src":"2401:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":12981,"nodeType":"ArrayTypeName","src":"2401:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":12985,"indexed":false,"mutability":"mutable","name":"shares","nameLocation":"2433:6:33","nodeType":"VariableDeclaration","scope":12987,"src":"2423:16:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":12983,"name":"uint256","nodeType":"ElementaryTypeName","src":"2423:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":12984,"nodeType":"ArrayTypeName","src":"2423:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"2373:67:33"},"src":"2341:100:33"},{"anonymous":false,"eventSelector":"f133b9440dc29ce1e3c772f23b9b8b2ba56ba25688e9e4c084ca0c06834e3f10","id":12993,"name":"EventProfileSet","nameLocation":"2452:15:33","nodeType":"EventDefinition","parameters":{"id":12992,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12989,"indexed":true,"mutability":"mutable","name":"eventId","nameLocation":"2484:7:33","nodeType":"VariableDeclaration","scope":12993,"src":"2468:23:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12988,"name":"uint256","nodeType":"ElementaryTypeName","src":"2468:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12991,"indexed":false,"mutability":"mutable","name":"profileId","nameLocation":"2501:9:33","nodeType":"VariableDeclaration","scope":12993,"src":"2493:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12990,"name":"uint256","nodeType":"ElementaryTypeName","src":"2493:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2467:44:33"},"src":"2446:66:33"},{"anonymous":false,"eventSelector":"f2838e4b541f90d41a1076a560d75e948f7d1008e72118a655568626a30b451f","id":12999,"name":"RevenueDistributed","nameLocation":"2523:18:33","nodeType":"EventDefinition","parameters":{"id":12998,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12995,"indexed":false,"mutability":"mutable","name":"amount","nameLocation":"2550:6:33","nodeType":"VariableDeclaration","scope":12999,"src":"2542:14:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12994,"name":"uint256","nodeType":"ElementaryTypeName","src":"2542:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":12997,"indexed":true,"mutability":"mutable","name":"eventId","nameLocation":"2574:7:33","nodeType":"VariableDeclaration","scope":12999,"src":"2558:23:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":12996,"name":"uint256","nodeType":"ElementaryTypeName","src":"2558:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2541:41:33"},"src":"2517:66:33"},{"anonymous":false,"eventSelector":"a70f7022c816d870dd4c811c125a773779a4c56ffc8e0d26a85d0ebb967b70d4","id":13007,"name":"ProfileOwnershipTransferred","nameLocation":"2594:27:33","nodeType":"EventDefinition","parameters":{"id":13006,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13001,"indexed":true,"mutability":"mutable","name":"profileId","nameLocation":"2647:9:33","nodeType":"VariableDeclaration","scope":13007,"src":"2631:25:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13000,"name":"uint256","nodeType":"ElementaryTypeName","src":"2631:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13003,"indexed":true,"mutability":"mutable","name":"previousOwner","nameLocation":"2682:13:33","nodeType":"VariableDeclaration","scope":13007,"src":"2666:29:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13002,"name":"address","nodeType":"ElementaryTypeName","src":"2666:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13005,"indexed":true,"mutability":"mutable","name":"newOwner","nameLocation":"2721:8:33","nodeType":"VariableDeclaration","scope":13007,"src":"2705:24:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13004,"name":"address","nodeType":"ElementaryTypeName","src":"2705:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2621:114:33"},"src":"2588:148:33"},{"anonymous":false,"eventSelector":"faccdb7b397916a1b9bb4922bfad1945779c79029c5605adbc7becae0d50689e","id":13011,"name":"ProfileDeactivated","nameLocation":"2747:18:33","nodeType":"EventDefinition","parameters":{"id":13010,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13009,"indexed":true,"mutability":"mutable","name":"profileId","nameLocation":"2782:9:33","nodeType":"VariableDeclaration","scope":13011,"src":"2766:25:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13008,"name":"uint256","nodeType":"ElementaryTypeName","src":"2766:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2765:27:33"},"src":"2741:52:33"},{"anonymous":false,"documentation":{"id":13012,"nodeType":"StructuredDocumentation","src":"2803:249:33","text":" @notice Emitted when a profile manager is granted role with bps share\n @param account The account granted PROFILE_MANAGER_ROLE\n @param bps The basis points (0-8500) applied after fixed bps and before profile recipients"},"eventSelector":"52d237aaba02c36fcf683a7f440090599be7a26b45e20bcadf87a892f935c70b","id":13018,"name":"ProfileManagerGranted","nameLocation":"3063:21:33","nodeType":"EventDefinition","parameters":{"id":13017,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13014,"indexed":true,"mutability":"mutable","name":"account","nameLocation":"3101:7:33","nodeType":"VariableDeclaration","scope":13018,"src":"3085:23:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13013,"name":"address","nodeType":"ElementaryTypeName","src":"3085:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13016,"indexed":false,"mutability":"mutable","name":"bps","nameLocation":"3118:3:33","nodeType":"VariableDeclaration","scope":13018,"src":"3110:11:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13015,"name":"uint256","nodeType":"ElementaryTypeName","src":"3110:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3084:38:33"},"src":"3057:66:33"},{"body":{"id":13093,"nodeType":"Block","src":"3250:491:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13035,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13030,"name":"_usdt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13020,"src":"3268:5:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13033,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3285:1:33","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":13032,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3277:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13031,"name":"address","nodeType":"ElementaryTypeName","src":"3277:7:33","typeDescriptions":{}}},"id":13034,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3277:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3268:19:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5553445420616464726573732063616e6e6f74206265207a65726f","id":13036,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3289:29:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_0470782830db909af4ae44406a09ef36153812a4733a5a5302366e1c79435d54","typeString":"literal_string \"USDT address cannot be zero\""},"value":"USDT address cannot be zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_0470782830db909af4ae44406a09ef36153812a4733a5a5302366e1c79435d54","typeString":"literal_string \"USDT address cannot be zero\""}],"id":13029,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3260:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13037,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3260:59:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13038,"nodeType":"ExpressionStatement","src":"3260:59:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13045,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13040,"name":"_cyberiaDAO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13022,"src":"3337:11:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13043,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3360:1:33","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":13042,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3352:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13041,"name":"address","nodeType":"ElementaryTypeName","src":"3352:7:33","typeDescriptions":{}}},"id":13044,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3352:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3337:25:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4379626572696144414f20616464726573732063616e6e6f74206265207a65726f","id":13046,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3364:35:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_a6ed3a23980d6088e148c2be3ca273c34b878c2e392ec468a808853a154369e1","typeString":"literal_string \"CyberiaDAO address cannot be zero\""},"value":"CyberiaDAO address cannot be zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_a6ed3a23980d6088e148c2be3ca273c34b878c2e392ec468a808853a154369e1","typeString":"literal_string \"CyberiaDAO address cannot be zero\""}],"id":13039,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3329:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13047,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3329:71:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13048,"nodeType":"ExpressionStatement","src":"3329:71:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13055,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13050,"name":"_cvePtPma","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13024,"src":"3418:9:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13053,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3439:1:33","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":13052,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3431:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13051,"name":"address","nodeType":"ElementaryTypeName","src":"3431:7:33","typeDescriptions":{}}},"id":13054,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3431:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3418:23:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43564520505420504d4120616464726573732063616e6e6f74206265207a65726f","id":13056,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3443:35:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_e4d60d1061bbf8f34254a7aa2e3038a04490d566d95fe00da2c50517d7d47642","typeString":"literal_string \"CVE PT PMA address cannot be zero\""},"value":"CVE PT PMA address cannot be zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e4d60d1061bbf8f34254a7aa2e3038a04490d566d95fe00da2c50517d7d47642","typeString":"literal_string \"CVE PT PMA address cannot be zero\""}],"id":13049,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3410:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13057,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3410:69:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13058,"nodeType":"ExpressionStatement","src":"3410:69:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13065,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13060,"name":"_admin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13026,"src":"3497:6:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13063,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3515:1:33","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":13062,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3507:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13061,"name":"address","nodeType":"ElementaryTypeName","src":"3507:7:33","typeDescriptions":{}}},"id":13064,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3507:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3497:20:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"41646d696e20616464726573732063616e6e6f74206265207a65726f","id":13066,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3519:30:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_6dcdae4a48094d0c82f976445285490f957427c6801450cbf03dec4c352f09f7","typeString":"literal_string \"Admin address cannot be zero\""},"value":"Admin address cannot be zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_6dcdae4a48094d0c82f976445285490f957427c6801450cbf03dec4c352f09f7","typeString":"literal_string \"Admin address cannot be zero\""}],"id":13059,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3489:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13067,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3489:61:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13068,"nodeType":"ExpressionStatement","src":"3489:61:33"},{"expression":{"id":13073,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13069,"name":"usdt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12917,"src":"3561:4:33","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1133","typeString":"contract IERC20"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":13071,"name":"_usdt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13020,"src":"3575:5:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":13070,"name":"IERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1133,"src":"3568:6:33","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IERC20_$1133_$","typeString":"type(contract IERC20)"}},"id":13072,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3568:13:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1133","typeString":"contract IERC20"}},"src":"3561:20:33","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_32261133","typeString":"contract IERC20"}},"id":13074,"nodeType":"ExpressionStatement","src":"3561:20:33"},{"expression":{"id":13077,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13075,"name":"cyberiaDAO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12912,"src":"3591:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13076,"name":"_cyberiaDAO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13022,"src":"3604:11:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3591:24:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13078,"nodeType":"ExpressionStatement","src":"3591:24:33"},{"expression":{"id":13081,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13079,"name":"cvePtPma","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12914,"src":"3625:8:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13080,"name":"_cvePtPma","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13024,"src":"3636:9:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3625:20:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13082,"nodeType":"ExpressionStatement","src":"3625:20:33"},{"expression":{"arguments":[{"id":13084,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"3667:18:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":13085,"name":"_admin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13026,"src":"3687:6:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13083,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"3656:10:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":13086,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3656:38:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13087,"nodeType":"ExpressionStatement","src":"3656:38:33"},{"expression":{"arguments":[{"id":13089,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"3715:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":13090,"name":"_admin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13026,"src":"3727:6:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13088,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"3704:10:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":13091,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3704:30:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13092,"nodeType":"ExpressionStatement","src":"3704:30:33"}]},"id":13094,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":13027,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13020,"mutability":"mutable","name":"_usdt","nameLocation":"3158:5:33","nodeType":"VariableDeclaration","scope":13094,"src":"3150:13:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13019,"name":"address","nodeType":"ElementaryTypeName","src":"3150:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13022,"mutability":"mutable","name":"_cyberiaDAO","nameLocation":"3181:11:33","nodeType":"VariableDeclaration","scope":13094,"src":"3173:19:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13021,"name":"address","nodeType":"ElementaryTypeName","src":"3173:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13024,"mutability":"mutable","name":"_cvePtPma","nameLocation":"3210:9:33","nodeType":"VariableDeclaration","scope":13094,"src":"3202:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13023,"name":"address","nodeType":"ElementaryTypeName","src":"3202:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13026,"mutability":"mutable","name":"_admin","nameLocation":"3237:6:33","nodeType":"VariableDeclaration","scope":13094,"src":"3229:14:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13025,"name":"address","nodeType":"ElementaryTypeName","src":"3229:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3140:109:33"},"returnParameters":{"id":13028,"nodeType":"ParameterList","parameters":[],"src":"3250:0:33"},"scope":14312,"src":"3129:612:33","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[14861],"body":{"id":13116,"nodeType":"Block","src":"3825:130:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13108,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13103,"name":"_eventManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13096,"src":"3843:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13106,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3868:1:33","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":13105,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3860:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13104,"name":"address","nodeType":"ElementaryTypeName","src":"3860:7:33","typeDescriptions":{}}},"id":13107,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3860:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3843:27:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4576656e744d616e616765722063616e6e6f74206265207a65726f2061646472657373","id":13109,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3872:37:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_542570dc089f199c2bdebdf1cff7daca84667ed8fcca429f91af6e3a1755c6e5","typeString":"literal_string \"EventManager cannot be zero address\""},"value":"EventManager cannot be zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_542570dc089f199c2bdebdf1cff7daca84667ed8fcca429f91af6e3a1755c6e5","typeString":"literal_string \"EventManager cannot be zero address\""}],"id":13102,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"3835:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13110,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3835:75:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13111,"nodeType":"ExpressionStatement","src":"3835:75:33"},{"expression":{"id":13114,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13112,"name":"eventManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12965,"src":"3920:12:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13113,"name":"_eventManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13096,"src":"3935:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3920:28:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13115,"nodeType":"ExpressionStatement","src":"3920:28:33"}]},"functionSelector":"596fd76e","id":13117,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":13099,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"3813:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":13100,"kind":"modifierInvocation","modifierName":{"id":13098,"name":"onlyRole","nameLocations":["3804:8:33"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"3804:8:33"},"nodeType":"ModifierInvocation","src":"3804:20:33"}],"name":"setEventManager","nameLocation":"3756:15:33","nodeType":"FunctionDefinition","parameters":{"id":13097,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13096,"mutability":"mutable","name":"_eventManager","nameLocation":"3780:13:33","nodeType":"VariableDeclaration","scope":13117,"src":"3772:21:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13095,"name":"address","nodeType":"ElementaryTypeName","src":"3772:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3771:23:33"},"returnParameters":{"id":13101,"nodeType":"ParameterList","parameters":[],"src":"3825:0:33"},"scope":14312,"src":"3747:208:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":13134,"nodeType":"Block","src":"3996:172:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13129,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":13121,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"4035:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":13122,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4047:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13123,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4051:6:33","memberName":"sender","nodeType":"MemberAccess","src":"4047:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13120,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"4027:7:33","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":13124,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4027:31:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13128,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":13125,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4062:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13126,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4066:6:33","memberName":"sender","nodeType":"MemberAccess","src":"4062:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":13127,"name":"eventManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12965,"src":"4076:12:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4062:26:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4027:61:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43616c6c6572206d7573742062652061646d696e206f72204576656e744d616e61676572","id":13130,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4102:38:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_6a1be0063a81374dddf696a0969842a6a5a94e1f4fea62014200767b17b3b05c","typeString":"literal_string \"Caller must be admin or EventManager\""},"value":"Caller must be admin or EventManager"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_6a1be0063a81374dddf696a0969842a6a5a94e1f4fea62014200767b17b3b05c","typeString":"literal_string \"Caller must be admin or EventManager\""}],"id":13119,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4006:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13131,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4006:144:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13132,"nodeType":"ExpressionStatement","src":"4006:144:33"},{"id":13133,"nodeType":"PlaceholderStatement","src":"4160:1:33"}]},"id":13135,"name":"onlyAdminOrEventManager","nameLocation":"3970:23:33","nodeType":"ModifierDefinition","parameters":{"id":13118,"nodeType":"ParameterList","parameters":[],"src":"3993:2:33"},"src":"3961:207:33","virtual":false,"visibility":"internal"},{"body":{"id":13153,"nodeType":"Block","src":"4211:202:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13148,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":13139,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"4250:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":13140,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4262:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13141,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4266:6:33","memberName":"sender","nodeType":"MemberAccess","src":"4262:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13138,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"4242:7:33","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":13142,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4242:31:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":13144,"name":"PROFILE_MANAGER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12896,"src":"4285:20:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":13145,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4307:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13146,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4311:6:33","memberName":"sender","nodeType":"MemberAccess","src":"4307:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13143,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"4277:7:33","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":13147,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4277:41:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4242:76:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43616c6c6572206d75737420686176652041444d494e5f524f4c45206f722050524f46494c455f4d414e414745525f524f4c45","id":13149,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4332:53:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_f11c1eb258d20e58a657dfbce1231d77d63761f0b0c9a347df68b1c3edf59107","typeString":"literal_string \"Caller must have ADMIN_ROLE or PROFILE_MANAGER_ROLE\""},"value":"Caller must have ADMIN_ROLE or PROFILE_MANAGER_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f11c1eb258d20e58a657dfbce1231d77d63761f0b0c9a347df68b1c3edf59107","typeString":"literal_string \"Caller must have ADMIN_ROLE or PROFILE_MANAGER_ROLE\""}],"id":13137,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4221:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13150,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4221:174:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13151,"nodeType":"ExpressionStatement","src":"4221:174:33"},{"id":13152,"nodeType":"PlaceholderStatement","src":"4405:1:33"}]},"id":13154,"name":"onlyAdminOrProfileManager","nameLocation":"4183:25:33","nodeType":"ModifierDefinition","parameters":{"id":13136,"nodeType":"ParameterList","parameters":[],"src":"4208:2:33"},"src":"4174:239:33","virtual":false,"visibility":"internal"},{"body":{"id":13190,"nodeType":"Block","src":"4471:280:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13166,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13161,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13159,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13156,"src":"4489:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13160,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4501:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4489:13:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13165,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13162,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13156,"src":"4506:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":13163,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"4519:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13164,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4528:6:33","memberName":"length","nodeType":"MemberAccess","src":"4519:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4506:28:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4489:45:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"50726f66696c6520646f6573206e6f74206578697374","id":13167,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4536:24:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_e6dbf3d2354088a74d750ac99af7e17669fcda6fdcfa63918e5c6b6c75aef1db","typeString":"literal_string \"Profile does not exist\""},"value":"Profile does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e6dbf3d2354088a74d750ac99af7e17669fcda6fdcfa63918e5c6b6c75aef1db","typeString":"literal_string \"Profile does not exist\""}],"id":13158,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4481:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13168,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4481:80:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13169,"nodeType":"ExpressionStatement","src":"4481:80:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13185,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13179,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":13171,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"4592:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13175,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13174,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13172,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13156,"src":"4601:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13173,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4613:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"4601:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4592:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"id":13176,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4616:5:33","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":12942,"src":"4592:29:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13177,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4625:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13178,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4629:6:33","memberName":"sender","nodeType":"MemberAccess","src":"4625:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4592:43:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":13181,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"4647:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":13182,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"4659:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13183,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4663:6:33","memberName":"sender","nodeType":"MemberAccess","src":"4659:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13180,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"4639:7:33","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":13184,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4639:31:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4592:78:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43616c6c6572206d7573742062652070726f66696c65206f776e6572206f722061646d696e","id":13186,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4684:39:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_04538a32ac9b4ecd7535678c169e9b5563a75c39ee615eb0fccea7b1d646775a","typeString":"literal_string \"Caller must be profile owner or admin\""},"value":"Caller must be profile owner or admin"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_04538a32ac9b4ecd7535678c169e9b5563a75c39ee615eb0fccea7b1d646775a","typeString":"literal_string \"Caller must be profile owner or admin\""}],"id":13170,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"4571:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13187,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4571:162:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13188,"nodeType":"ExpressionStatement","src":"4571:162:33"},{"id":13189,"nodeType":"PlaceholderStatement","src":"4743:1:33"}]},"id":13191,"name":"onlyProfileOwnerOrAdmin","nameLocation":"4428:23:33","nodeType":"ModifierDefinition","parameters":{"id":13157,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13156,"mutability":"mutable","name":"profileId","nameLocation":"4460:9:33","nodeType":"VariableDeclaration","scope":13191,"src":"4452:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13155,"name":"uint256","nodeType":"ElementaryTypeName","src":"4452:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4451:19:33"},"src":"4419:332:33","virtual":false,"visibility":"internal"},{"baseFunctions":[14869],"body":{"id":13234,"nodeType":"Block","src":"5271:296:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13207,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13202,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13194,"src":"5289:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13205,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5308:1:33","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":13204,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5300:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13203,"name":"address","nodeType":"ElementaryTypeName","src":"5300:7:33","typeDescriptions":{}}},"id":13206,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5300:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5289:21:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4163636f756e742063616e6e6f74206265207a65726f2061646472657373","id":13208,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5312:32:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_71630fb59e6335519b5c714c347f2b3d00653f9607ebc84cc566a5b693547569","typeString":"literal_string \"Account cannot be zero address\""},"value":"Account cannot be zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_71630fb59e6335519b5c714c347f2b3d00653f9607ebc84cc566a5b693547569","typeString":"literal_string \"Account cannot be zero address\""}],"id":13201,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5281:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13209,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5281:64:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13210,"nodeType":"ExpressionStatement","src":"5281:64:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13214,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13212,"name":"bps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13196,"src":"5363:3:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":13213,"name":"MAX_PROFILE_MANAGER_BPS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12926,"src":"5370:23:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5363:30:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"427073206d757374206265203c3d2038353030","id":13215,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5395:21:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_0c2dac43b6010e89e0a129a6d579459283ba02ac9d2b9e217b45be47a5a90586","typeString":"literal_string \"Bps must be <= 8500\""},"value":"Bps must be <= 8500"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_0c2dac43b6010e89e0a129a6d579459283ba02ac9d2b9e217b45be47a5a90586","typeString":"literal_string \"Bps must be <= 8500\""}],"id":13211,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"5355:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13216,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5355:62:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13217,"nodeType":"ExpressionStatement","src":"5355:62:33"},{"expression":{"arguments":[{"id":13219,"name":"PROFILE_MANAGER_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12896,"src":"5438:20:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":13220,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13194,"src":"5460:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13218,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"5427:10:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":13221,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5427:41:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13222,"nodeType":"ExpressionStatement","src":"5427:41:33"},{"expression":{"id":13227,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":13223,"name":"profileManagerBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12963,"src":"5478:17:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":13225,"indexExpression":{"id":13224,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13194,"src":"5496:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5478:26:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13226,"name":"bps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13196,"src":"5507:3:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5478:32:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13228,"nodeType":"ExpressionStatement","src":"5478:32:33"},{"eventCall":{"arguments":[{"id":13230,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13194,"src":"5547:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13231,"name":"bps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13196,"src":"5556:3:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13229,"name":"ProfileManagerGranted","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13018,"src":"5525:21:33","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":13232,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5525:35:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13233,"nodeType":"EmitStatement","src":"5520:40:33"}]},"documentation":{"id":13192,"nodeType":"StructuredDocumentation","src":"4757:417:33","text":" @notice Grants PROFILE_MANAGER_ROLE to an account with specified bps share\n @param account The address to grant the role to\n @param bps The basis points (0-8500) this account receives from each distribution.\n Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before \n profile recipients. Account cannot add themselves to distribution profiles."},"functionSelector":"593f8c25","id":13235,"implemented":true,"kind":"function","modifiers":[{"id":13199,"kind":"modifierInvocation","modifierName":{"id":13198,"name":"onlyAdminOrEventManager","nameLocations":["5247:23:33"],"nodeType":"IdentifierPath","referencedDeclaration":13135,"src":"5247:23:33"},"nodeType":"ModifierInvocation","src":"5247:23:33"}],"name":"grantProfileManager","nameLocation":"5188:19:33","nodeType":"FunctionDefinition","parameters":{"id":13197,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13194,"mutability":"mutable","name":"account","nameLocation":"5216:7:33","nodeType":"VariableDeclaration","scope":13235,"src":"5208:15:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13193,"name":"address","nodeType":"ElementaryTypeName","src":"5208:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13196,"mutability":"mutable","name":"bps","nameLocation":"5233:3:33","nodeType":"VariableDeclaration","scope":13235,"src":"5225:11:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13195,"name":"uint256","nodeType":"ElementaryTypeName","src":"5225:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5207:30:33"},"returnParameters":{"id":13200,"nodeType":"ParameterList","parameters":[],"src":"5271:0:33"},"scope":14312,"src":"5179:388:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":13323,"nodeType":"Block","src":"5741:670:33","statements":[{"assignments":[13252,13255],"declarations":[{"constant":false,"id":13252,"mutability":"mutable","name":"fullRecipients","nameLocation":"5769:14:33","nodeType":"VariableDeclaration","scope":13323,"src":"5752:31:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":13250,"name":"address","nodeType":"ElementaryTypeName","src":"5752:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13251,"nodeType":"ArrayTypeName","src":"5752:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":13255,"mutability":"mutable","name":"fullShares","nameLocation":"5801:10:33","nodeType":"VariableDeclaration","scope":13323,"src":"5785:26:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[]"},"typeName":{"baseType":{"id":13253,"name":"uint16","nodeType":"ElementaryTypeName","src":"5785:6:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":13254,"nodeType":"ArrayTypeName","src":"5785:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}},"visibility":"internal"}],"id":13262,"initialValue":{"arguments":[{"expression":{"id":13257,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"5846:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13258,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5850:6:33","memberName":"sender","nodeType":"MemberAccess","src":"5846:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13259,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13238,"src":"5858:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},{"id":13260,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13241,"src":"5870:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"},{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}],"id":13256,"name":"_buildDistribution","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14171,"src":"5827:18:33","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_array$_t_address_$dyn_calldata_ptr_$_t_array$_t_uint256_$dyn_calldata_ptr_$returns$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_uint16_$dyn_memory_ptr_$","typeString":"function (address,address[] calldata,uint256[] calldata) view returns (address[] memory,uint16[] memory)"}},"id":13261,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5827:50:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_uint16_$dyn_memory_ptr_$","typeString":"tuple(address[] memory,uint16[] memory)"}},"nodeType":"VariableDeclarationStatement","src":"5751:126:33"},{"assignments":[13264],"declarations":[{"constant":false,"id":13264,"mutability":"mutable","name":"profileId","nameLocation":"5904:9:33","nodeType":"VariableDeclaration","scope":13323,"src":"5896:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13263,"name":"uint256","nodeType":"ElementaryTypeName","src":"5896:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13269,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":13265,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"5916:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_329912945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13266,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5925:6:33","memberName":"length","nodeType":"MemberAccess","src":"5916:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":13267,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5934:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"5916:19:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5896:39:33"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13270,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"5945:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_330112945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13272,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"5954:4:33","memberName":"push","nodeType":"MemberAccess","src":"5945:13:33","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage_ptr_$returns$_t_struct$_Distribution_$12945_storage_$attached_to$_t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage_ptr_$","typeString":"function (struct DynamicRevenueSplitter.Distribution storage ref[] storage pointer) returns (struct DynamicRevenueSplitter.Distribution storage ref)"}},"id":13273,"isConstant":false,"isLValue":true,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5945:15:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_330912945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"id":13274,"nodeType":"ExpressionStatement","src":"5945:15:33"},{"assignments":[13277],"declarations":[{"constant":false,"id":13277,"mutability":"mutable","name":"profile","nameLocation":"5991:7:33","nodeType":"VariableDeclaration","scope":13323,"src":"5970:28:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_331012945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"},"typeName":{"id":13276,"nodeType":"UserDefinedTypeName","pathNode":{"id":13275,"name":"Distribution","nameLocations":["5970:12:33"],"nodeType":"IdentifierPath","referencedDeclaration":12945,"src":"5970:12:33"},"referencedDeclaration":12945,"src":"5970:12:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_331112945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"}},"visibility":"internal"}],"id":13283,"initialValue":{"baseExpression":{"id":13278,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"6001:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13282,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13281,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13279,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13264,"src":"6010:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6022:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6010:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6001:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"nodeType":"VariableDeclarationStatement","src":"5970:54:33"},{"expression":{"id":13289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":13284,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13277,"src":"6034:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_331412945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13286,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6042:5:33","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":12942,"src":"6034:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":13287,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6050:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13288,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6054:6:33","memberName":"sender","nodeType":"MemberAccess","src":"6050:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6034:26:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13290,"nodeType":"ExpressionStatement","src":"6034:26:33"},{"expression":{"id":13295,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":13291,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13277,"src":"6070:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_331512945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13293,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"6078:8:33","memberName":"isActive","nodeType":"MemberAccess","referencedDeclaration":12944,"src":"6070:16:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":13294,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"6089:4:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"6070:23:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13296,"nodeType":"ExpressionStatement","src":"6070:23:33"},{"expression":{"arguments":[{"id":13298,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13277,"src":"6123:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_331612945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},{"id":13299,"name":"fullRecipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13252,"src":"6132:14:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},{"id":13300,"name":"fullShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13255,"src":"6148:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_331912945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"},{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"},{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}],"id":13297,"name":"_setRecipientShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14247,"src":"6103:19:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Distribution_$12945_storage_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_uint16_$dyn_memory_ptr_$returns$__$","typeString":"function (struct DynamicRevenueSplitter.Distribution storage pointer,address[] memory,uint16[] memory)"}},"id":13301,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6103:56:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13302,"nodeType":"ExpressionStatement","src":"6103:56:33"},{"expression":{"arguments":[{"id":13308,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13264,"src":"6200:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"baseExpression":{"id":13303,"name":"ownerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12958,"src":"6169:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(address => uint256[] storage ref)"}},"id":13306,"indexExpression":{"expression":{"id":13304,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6183:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13305,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6187:6:33","memberName":"sender","nodeType":"MemberAccess","src":"6183:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6169:25:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":13307,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6195:4:33","memberName":"push","nodeType":"MemberAccess","src":"6169:30:33","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$attached_to$_t_array$_t_uint256_$dyn_storage_ptr_$","typeString":"function (uint256[] storage pointer,uint256)"}},"id":13309,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6169:41:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13310,"nodeType":"ExpressionStatement","src":"6169:41:33"},{"eventCall":{"arguments":[{"id":13312,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13264,"src":"6266:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"expression":{"id":13313,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"6289:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13314,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6293:6:33","memberName":"sender","nodeType":"MemberAccess","src":"6289:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13315,"name":"fullRecipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13252,"src":"6313:14:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},{"arguments":[{"id":13317,"name":"fullShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13255,"src":"6357:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}],"id":13316,"name":"_toUint256Array","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14292,"src":"6341:15:33","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$","typeString":"function (uint16[] memory) pure returns (uint256[] memory)"}},"id":13318,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6341:27:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"},{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"id":13311,"name":"DistributionProfileCreated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12977,"src":"6226:26:33","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_address_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_uint256_$dyn_memory_ptr_$returns$__$","typeString":"function (uint256,address,address[] memory,uint256[] memory)"}},"id":13319,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6226:152:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13320,"nodeType":"EmitStatement","src":"6221:157:33"},{"expression":{"id":13321,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13264,"src":"6395:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":13247,"id":13322,"nodeType":"Return","src":"6388:16:33"}]},"functionSelector":"9a886534","id":13324,"implemented":true,"kind":"function","modifiers":[{"id":13244,"kind":"modifierInvocation","modifierName":{"id":13243,"name":"onlyAdminOrProfileManager","nameLocations":["5697:25:33"],"nodeType":"IdentifierPath","referencedDeclaration":13154,"src":"5697:25:33"},"nodeType":"ModifierInvocation","src":"5697:25:33"}],"name":"createDistributionProfile","nameLocation":"5582:25:33","nodeType":"FunctionDefinition","parameters":{"id":13242,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13238,"mutability":"mutable","name":"recipients","nameLocation":"5636:10:33","nodeType":"VariableDeclaration","scope":13324,"src":"5617:29:33","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":13236,"name":"address","nodeType":"ElementaryTypeName","src":"5617:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13237,"nodeType":"ArrayTypeName","src":"5617:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":13241,"mutability":"mutable","name":"shares","nameLocation":"5675:6:33","nodeType":"VariableDeclaration","scope":13324,"src":"5656:25:33","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":13239,"name":"uint256","nodeType":"ElementaryTypeName","src":"5656:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13240,"nodeType":"ArrayTypeName","src":"5656:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"5607:80:33"},"returnParameters":{"id":13247,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13246,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":13324,"src":"5732:7:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13245,"name":"uint256","nodeType":"ElementaryTypeName","src":"5732:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"5731:9:33"},"scope":14312,"src":"5573:838:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":13376,"nodeType":"Block","src":"6589:419:33","statements":[{"assignments":[13340],"declarations":[{"constant":false,"id":13340,"mutability":"mutable","name":"profile","nameLocation":"6620:7:33","nodeType":"VariableDeclaration","scope":13376,"src":"6599:28:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_335912945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"},"typeName":{"id":13339,"nodeType":"UserDefinedTypeName","pathNode":{"id":13338,"name":"Distribution","nameLocations":["6599:12:33"],"nodeType":"IdentifierPath","referencedDeclaration":12945,"src":"6599:12:33"},"referencedDeclaration":12945,"src":"6599:12:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_336012945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"}},"visibility":"internal"}],"id":13346,"initialValue":{"baseExpression":{"id":13341,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"6630:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13345,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13342,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13326,"src":"6639:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13343,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6651:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6639:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6630:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"nodeType":"VariableDeclarationStatement","src":"6599:54:33"},{"assignments":[13351,13354],"declarations":[{"constant":false,"id":13351,"mutability":"mutable","name":"fullRecipients","nameLocation":"6681:14:33","nodeType":"VariableDeclaration","scope":13376,"src":"6664:31:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":13349,"name":"address","nodeType":"ElementaryTypeName","src":"6664:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13350,"nodeType":"ArrayTypeName","src":"6664:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":13354,"mutability":"mutable","name":"fullShares","nameLocation":"6713:10:33","nodeType":"VariableDeclaration","scope":13376,"src":"6697:26:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[]"},"typeName":{"baseType":{"id":13352,"name":"uint16","nodeType":"ElementaryTypeName","src":"6697:6:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":13353,"nodeType":"ArrayTypeName","src":"6697:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}},"visibility":"internal"}],"id":13361,"initialValue":{"arguments":[{"expression":{"id":13356,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13340,"src":"6758:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_336712945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13357,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6766:5:33","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":12942,"src":"6758:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13358,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13329,"src":"6773:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},{"id":13359,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13332,"src":"6785:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"},{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}],"id":13355,"name":"_buildDistribution","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14171,"src":"6739:18:33","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_array$_t_address_$dyn_calldata_ptr_$_t_array$_t_uint256_$dyn_calldata_ptr_$returns$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_uint16_$dyn_memory_ptr_$","typeString":"function (address,address[] calldata,uint256[] calldata) view returns (address[] memory,uint16[] memory)"}},"id":13360,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6739:53:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_uint16_$dyn_memory_ptr_$","typeString":"tuple(address[] memory,uint16[] memory)"}},"nodeType":"VariableDeclarationStatement","src":"6663:129:33"},{"expression":{"arguments":[{"id":13363,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13340,"src":"6822:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_338312945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},{"id":13364,"name":"fullRecipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13351,"src":"6831:14:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},{"id":13365,"name":"fullShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13354,"src":"6847:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_338612945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"},{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"},{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}],"id":13362,"name":"_setRecipientShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14247,"src":"6802:19:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_Distribution_$12945_storage_ptr_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_uint16_$dyn_memory_ptr_$returns$__$","typeString":"function (struct DynamicRevenueSplitter.Distribution storage pointer,address[] memory,uint16[] memory)"}},"id":13366,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6802:56:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13367,"nodeType":"ExpressionStatement","src":"6802:56:33"},{"eventCall":{"arguments":[{"id":13369,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13326,"src":"6913:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13370,"name":"fullRecipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13351,"src":"6936:14:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},{"arguments":[{"id":13372,"name":"fullShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13354,"src":"6980:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}],"id":13371,"name":"_toUint256Array","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14292,"src":"6964:15:33","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_array$_t_uint16_$dyn_memory_ptr_$returns$_t_array$_t_uint256_$dyn_memory_ptr_$","typeString":"function (uint16[] memory) pure returns (uint256[] memory)"}},"id":13373,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6964:27:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"},{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}],"id":13368,"name":"DistributionProfileUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12987,"src":"6873:26:33","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_array$_t_address_$dyn_memory_ptr_$_t_array$_t_uint256_$dyn_memory_ptr_$returns$__$","typeString":"function (uint256,address[] memory,uint256[] memory)"}},"id":13374,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6873:128:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13375,"nodeType":"EmitStatement","src":"6868:133:33"}]},"functionSelector":"1f1422e6","id":13377,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":13335,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"6577:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":13336,"kind":"modifierInvocation","modifierName":{"id":13334,"name":"onlyRole","nameLocations":["6568:8:33"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"6568:8:33"},"nodeType":"ModifierInvocation","src":"6568:20:33"}],"name":"updateDistributionProfile","nameLocation":"6426:25:33","nodeType":"FunctionDefinition","parameters":{"id":13333,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13326,"mutability":"mutable","name":"profileId","nameLocation":"6469:9:33","nodeType":"VariableDeclaration","scope":13377,"src":"6461:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13325,"name":"uint256","nodeType":"ElementaryTypeName","src":"6461:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13329,"mutability":"mutable","name":"recipients","nameLocation":"6507:10:33","nodeType":"VariableDeclaration","scope":13377,"src":"6488:29:33","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":13327,"name":"address","nodeType":"ElementaryTypeName","src":"6488:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13328,"nodeType":"ArrayTypeName","src":"6488:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":13332,"mutability":"mutable","name":"shares","nameLocation":"6546:6:33","nodeType":"VariableDeclaration","scope":13377,"src":"6527:25:33","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":13330,"name":"uint256","nodeType":"ElementaryTypeName","src":"6527:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13331,"nodeType":"ArrayTypeName","src":"6527:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"6451:107:33"},"returnParameters":{"id":13337,"nodeType":"ParameterList","parameters":[],"src":"6589:0:33"},"scope":14312,"src":"6417:591:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14840],"body":{"id":13432,"nodeType":"Block","src":"7093:421:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":13387,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"7132:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":13388,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"7144:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13389,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7148:6:33","memberName":"sender","nodeType":"MemberAccess","src":"7144:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13386,"name":"hasRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":80,"src":"7124:7:33","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) view returns (bool)"}},"id":13390,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7124:31:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13394,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":13391,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"7159:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13392,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7163:6:33","memberName":"sender","nodeType":"MemberAccess","src":"7159:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":13393,"name":"eventManager","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12965,"src":"7173:12:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7159:26:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7124:61:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"43616c6c6572206d7573742062652061646d696e206f72204576656e744d616e61676572","id":13396,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"7199:38:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_6a1be0063a81374dddf696a0969842a6a5a94e1f4fea62014200767b17b3b05c","typeString":"literal_string \"Caller must be admin or EventManager\""},"value":"Caller must be admin or EventManager"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_6a1be0063a81374dddf696a0969842a6a5a94e1f4fea62014200767b17b3b05c","typeString":"literal_string \"Caller must be admin or EventManager\""}],"id":13385,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"7103:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13397,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7103:144:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13398,"nodeType":"ExpressionStatement","src":"7103:144:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13407,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13402,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13400,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13381,"src":"7265:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13401,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7277:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7265:13:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13406,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13403,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13381,"src":"7282:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":13404,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"7295:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_342212945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13405,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7304:6:33","memberName":"length","nodeType":"MemberAccess","src":"7295:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7282:28:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7265:45:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"50726f66696c6520646f6573206e6f74206578697374","id":13408,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"7312:24:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_e6dbf3d2354088a74d750ac99af7e17669fcda6fdcfa63918e5c6b6c75aef1db","typeString":"literal_string \"Profile does not exist\""},"value":"Profile does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e6dbf3d2354088a74d750ac99af7e17669fcda6fdcfa63918e5c6b6c75aef1db","typeString":"literal_string \"Profile does not exist\""}],"id":13399,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"7257:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13409,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7257:80:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13410,"nodeType":"ExpressionStatement","src":"7257:80:33"},{"expression":{"arguments":[{"expression":{"baseExpression":{"id":13412,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"7355:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13416,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13415,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13413,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13381,"src":"7364:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13414,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7376:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7364:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7355:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"id":13417,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7379:8:33","memberName":"isActive","nodeType":"MemberAccess","referencedDeclaration":12944,"src":"7355:32:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"50726f66696c65206973206e6f7420616374697665","id":13418,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"7389:23:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_af6b5a542ce82cc3f9d7fb05e5994a7e55c731dd84e66f3bf4eecd69eaa217e0","typeString":"literal_string \"Profile is not active\""},"value":"Profile is not active"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_af6b5a542ce82cc3f9d7fb05e5994a7e55c731dd84e66f3bf4eecd69eaa217e0","typeString":"literal_string \"Profile is not active\""}],"id":13411,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"7347:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13419,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7347:66:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13420,"nodeType":"ExpressionStatement","src":"7347:66:33"},{"expression":{"id":13425,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":13421,"name":"eventProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12953,"src":"7423:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":13423,"indexExpression":{"id":13422,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13379,"src":"7437:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"7423:22:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13424,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13381,"src":"7448:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7423:34:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13426,"nodeType":"ExpressionStatement","src":"7423:34:33"},{"eventCall":{"arguments":[{"id":13428,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13379,"src":"7488:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13429,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13381,"src":"7497:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13427,"name":"EventProfileSet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12993,"src":"7472:15:33","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":13430,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7472:35:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13431,"nodeType":"EmitStatement","src":"7467:40:33"}]},"functionSelector":"19cd00c8","id":13433,"implemented":true,"kind":"function","modifiers":[],"name":"setEventProfile","nameLocation":"7023:15:33","nodeType":"FunctionDefinition","overrides":{"id":13383,"nodeType":"OverrideSpecifier","overrides":[],"src":"7084:8:33"},"parameters":{"id":13382,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13379,"mutability":"mutable","name":"eventId","nameLocation":"7047:7:33","nodeType":"VariableDeclaration","scope":13433,"src":"7039:15:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13378,"name":"uint256","nodeType":"ElementaryTypeName","src":"7039:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13381,"mutability":"mutable","name":"profileId","nameLocation":"7064:9:33","nodeType":"VariableDeclaration","scope":13433,"src":"7056:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13380,"name":"uint256","nodeType":"ElementaryTypeName","src":"7056:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7038:36:33"},"returnParameters":{"id":13384,"nodeType":"ParameterList","parameters":[],"src":"7093:0:33"},"scope":14312,"src":"7014:500:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14833],"body":{"id":13563,"nodeType":"Block","src":"7611:1199:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13446,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13444,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13435,"src":"7629:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13445,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7638:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7629:10:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416d6f756e74206d7573742062652067726561746572207468616e207a65726f","id":13447,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"7641:34:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_335ff2e4b249975444723ab3dc1716db90a7dff95cbce35a34ad25055762f887","typeString":"literal_string \"Amount must be greater than zero\""},"value":"Amount must be greater than zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_335ff2e4b249975444723ab3dc1716db90a7dff95cbce35a34ad25055762f887","typeString":"literal_string \"Amount must be greater than zero\""}],"id":13443,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"7621:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13448,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7621:55:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13449,"nodeType":"ExpressionStatement","src":"7621:55:33"},{"assignments":[13451],"declarations":[{"constant":false,"id":13451,"mutability":"mutable","name":"profileId","nameLocation":"7694:9:33","nodeType":"VariableDeclaration","scope":13563,"src":"7686:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13450,"name":"uint256","nodeType":"ElementaryTypeName","src":"7686:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13455,"initialValue":{"baseExpression":{"id":13452,"name":"eventProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12953,"src":"7706:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":13454,"indexExpression":{"id":13453,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13437,"src":"7720:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7706:22:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7686:42:33"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13458,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13456,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13451,"src":"7742:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":13457,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7755:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7742:14:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13464,"nodeType":"IfStatement","src":"7738:79:33","trueBody":{"id":13463,"nodeType":"Block","src":"7758:59:33","statements":[{"errorCall":{"arguments":[{"id":13460,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13437,"src":"7798:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13459,"name":"EventProfileNotSet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12900,"src":"7779:18:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":13461,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7779:27:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13462,"nodeType":"RevertStatement","src":"7772:34:33"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13468,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13465,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13451,"src":"7830:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"expression":{"id":13466,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"7842:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_344512945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13467,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7851:6:33","memberName":"length","nodeType":"MemberAccess","src":"7842:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7830:27:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13474,"nodeType":"IfStatement","src":"7826:92:33","trueBody":{"id":13473,"nodeType":"Block","src":"7859:59:33","statements":[{"errorCall":{"arguments":[{"id":13470,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13437,"src":"7899:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13469,"name":"EventProfileNotSet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12900,"src":"7880:18:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":13471,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7880:27:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13472,"nodeType":"RevertStatement","src":"7873:34:33"}]}},{"assignments":[13477],"declarations":[{"constant":false,"id":13477,"mutability":"mutable","name":"profile","nameLocation":"7949:7:33","nodeType":"VariableDeclaration","scope":13563,"src":"7928:28:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"},"typeName":{"id":13476,"nodeType":"UserDefinedTypeName","pathNode":{"id":13475,"name":"Distribution","nameLocations":["7928:12:33"],"nodeType":"IdentifierPath","referencedDeclaration":12945,"src":"7928:12:33"},"referencedDeclaration":12945,"src":"7928:12:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_344912945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"}},"visibility":"internal"}],"id":13483,"initialValue":{"baseExpression":{"id":13478,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"7959:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13482,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13481,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13479,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13451,"src":"7968:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13480,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7980:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"7968:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7959:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"nodeType":"VariableDeclarationStatement","src":"7928:54:33"},{"condition":{"id":13486,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"7996:17:33","subExpression":{"expression":{"id":13484,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13477,"src":"7997:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_345212945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13485,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8005:8:33","memberName":"isActive","nodeType":"MemberAccess","referencedDeclaration":12944,"src":"7997:16:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13492,"nodeType":"IfStatement","src":"7992:81:33","trueBody":{"id":13491,"nodeType":"Block","src":"8015:58:33","statements":[{"errorCall":{"arguments":[{"id":13488,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13451,"src":"8052:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13487,"name":"ProfileInactive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12904,"src":"8036:15:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$_t_uint256_$returns$_t_error_$","typeString":"function (uint256) pure returns (error)"}},"id":13489,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8036:26:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13490,"nodeType":"RevertStatement","src":"8029:33:33"}]}},{"condition":{"id":13503,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"8127:53:33","subExpression":{"arguments":[{"expression":{"id":13495,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"8146:3:33","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":13496,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8150:6:33","memberName":"sender","nodeType":"MemberAccess","src":"8146:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":13499,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"8166:4:33","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_345514312","typeString":"contract DynamicRevenueSplitter"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_345614312","typeString":"contract DynamicRevenueSplitter"}],"id":13498,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8158:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13497,"name":"address","nodeType":"ElementaryTypeName","src":"8158:7:33","typeDescriptions":{}}},"id":13500,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8158:13:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13501,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13435,"src":"8173:6:33","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":13493,"name":"usdt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12917,"src":"8128:4:33","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_34581133","typeString":"contract IERC20"}},"id":13494,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8133:12:33","memberName":"transferFrom","nodeType":"MemberAccess","referencedDeclaration":1132,"src":"8128:17:33","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,address,uint256) external returns (bool)"}},"id":13502,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8128:52:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13508,"nodeType":"IfStatement","src":"8123:115:33","trueBody":{"id":13507,"nodeType":"Block","src":"8182:56:33","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":13504,"name":"UsdtTransferFromFailed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12908,"src":"8203:22:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":13505,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8203:24:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13506,"nodeType":"RevertStatement","src":"8196:31:33"}]}},{"assignments":[13510],"declarations":[{"constant":false,"id":13510,"mutability":"mutable","name":"cyberiaDAOAmount","nameLocation":"8256:16:33","nodeType":"VariableDeclaration","scope":13563,"src":"8248:24:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13509,"name":"uint256","nodeType":"ElementaryTypeName","src":"8248:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13517,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13516,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13513,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13511,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13435,"src":"8276:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":13512,"name":"CYBERIA_DAO_SHARE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12920,"src":"8285:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8276:26:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":13514,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8275:28:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":13515,"name":"BASIS_POINTS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12929,"src":"8306:12:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8275:43:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8248:70:33"},{"assignments":[13519],"declarations":[{"constant":false,"id":13519,"mutability":"mutable","name":"cvePtPmaAmount","nameLocation":"8336:14:33","nodeType":"VariableDeclaration","scope":13563,"src":"8328:22:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13518,"name":"uint256","nodeType":"ElementaryTypeName","src":"8328:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13526,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13525,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13522,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13520,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13435,"src":"8354:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":13521,"name":"CVE_PT_PMA_SHARE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12923,"src":"8363:16:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8354:25:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":13523,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"8353:27:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":13524,"name":"BASIS_POINTS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12929,"src":"8383:12:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8353:42:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8328:67:33"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13529,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13527,"name":"cyberiaDAOAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13510,"src":"8410:16:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13528,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8429:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8410:20:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13536,"nodeType":"IfStatement","src":"8406:94:33","trueBody":{"id":13535,"nodeType":"Block","src":"8432:68:33","statements":[{"expression":{"arguments":[{"id":13531,"name":"cyberiaDAO","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12912,"src":"8460:10:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13532,"name":"cyberiaDAOAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13510,"src":"8472:16:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13530,"name":"_transferUsdt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14311,"src":"8446:13:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":13533,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8446:43:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13534,"nodeType":"ExpressionStatement","src":"8446:43:33"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13539,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13537,"name":"cvePtPmaAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13519,"src":"8513:14:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13538,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8530:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8513:18:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13546,"nodeType":"IfStatement","src":"8509:88:33","trueBody":{"id":13545,"nodeType":"Block","src":"8533:64:33","statements":[{"expression":{"arguments":[{"id":13541,"name":"cvePtPma","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12914,"src":"8561:8:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13542,"name":"cvePtPmaAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13519,"src":"8571:14:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13540,"name":"_transferUsdt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14311,"src":"8547:13:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":13543,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8547:39:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13544,"nodeType":"ExpressionStatement","src":"8547:39:33"}]}},{"expression":{"arguments":[{"id":13548,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13435,"src":"8632:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13549,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13477,"src":"8640:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_347112945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_structMATH_PLACEHOLDER_347212945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}],"id":13547,"name":"_distributeProfileShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13672,"src":"8607:24:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint256_$_t_structMATH_PLACEHOLDER_347412945_storage_ptr_$returns$__$","typeString":"function (uint256,struct DynamicRevenueSplitter.Distribution storage pointer)"}},"id":13550,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8607:41:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13551,"nodeType":"ExpressionStatement","src":"8607:41:33"},{"expression":{"id":13556,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":13552,"name":"eventProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12953,"src":"8726:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_uint256_$_t_uint256_$","typeString":"mapping(uint256 => uint256)"}},"id":13554,"indexExpression":{"id":13553,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13437,"src":"8740:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"8726:22:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"30","id":13555,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8751:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8726:26:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13557,"nodeType":"ExpressionStatement","src":"8726:26:33"},{"eventCall":{"arguments":[{"id":13559,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13435,"src":"8787:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13560,"name":"eventId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13437,"src":"8795:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13558,"name":"RevenueDistributed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12999,"src":"8768:18:33","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$","typeString":"function (uint256,uint256)"}},"id":13561,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8768:35:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13562,"nodeType":"EmitStatement","src":"8763:40:33"}]},"functionSelector":"4ae699ef","id":13564,"implemented":true,"kind":"function","modifiers":[{"id":13441,"kind":"modifierInvocation","modifierName":{"id":13440,"name":"nonReentrant","nameLocations":["7598:12:33"],"nodeType":"IdentifierPath","referencedDeclaration":2729,"src":"7598:12:33"},"nodeType":"ModifierInvocation","src":"7598:12:33"}],"name":"distributeRevenue","nameLocation":"7529:17:33","nodeType":"FunctionDefinition","overrides":{"id":13439,"nodeType":"OverrideSpecifier","overrides":[],"src":"7589:8:33"},"parameters":{"id":13438,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13435,"mutability":"mutable","name":"amount","nameLocation":"7555:6:33","nodeType":"VariableDeclaration","scope":13564,"src":"7547:14:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13434,"name":"uint256","nodeType":"ElementaryTypeName","src":"7547:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13437,"mutability":"mutable","name":"eventId","nameLocation":"7571:7:33","nodeType":"VariableDeclaration","scope":13564,"src":"7563:15:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13436,"name":"uint256","nodeType":"ElementaryTypeName","src":"7563:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7546:33:33"},"returnParameters":{"id":13442,"nodeType":"ParameterList","parameters":[],"src":"7611:0:33"},"scope":14312,"src":"7520:1290:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":13671,"nodeType":"Block","src":"8905:991:33","statements":[{"assignments":[13573],"declarations":[{"constant":false,"id":13573,"mutability":"mutable","name":"recipientsCount","nameLocation":"8923:15:33","nodeType":"VariableDeclaration","scope":13671,"src":"8915:23:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13572,"name":"uint256","nodeType":"ElementaryTypeName","src":"8915:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13577,"initialValue":{"expression":{"expression":{"id":13574,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13569,"src":"8941:7:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13575,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8949:15:33","memberName":"recipientShares","nodeType":"MemberAccess","referencedDeclaration":12938,"src":"8941:23:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RecipientShare_$12934_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.RecipientShare storage ref[] storage ref"}},"id":13576,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8965:6:33","memberName":"length","nodeType":"MemberAccess","src":"8941:30:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8915:56:33"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13580,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13578,"name":"recipientsCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13573,"src":"8985:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":13579,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9004:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"8985:20:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13585,"nodeType":"IfStatement","src":"8981:80:33","trueBody":{"id":13584,"nodeType":"Block","src":"9007:54:33","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":13581,"name":"InvalidProfileShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12906,"src":"9028:20:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":13582,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9028:22:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13583,"nodeType":"RevertStatement","src":"9021:29:33"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint16","typeString":"uint16"},"id":13589,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":13586,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13569,"src":"9074:7:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13587,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9082:8:33","memberName":"totalBps","nodeType":"MemberAccess","referencedDeclaration":12940,"src":"9074:16:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":13588,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9094:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9074:21:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13594,"nodeType":"IfStatement","src":"9070:81:33","trueBody":{"id":13593,"nodeType":"Block","src":"9097:54:33","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":13590,"name":"InvalidProfileShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12906,"src":"9118:20:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":13591,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9118:22:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":13592,"nodeType":"RevertStatement","src":"9111:29:33"}]}},{"assignments":[13596],"declarations":[{"constant":false,"id":13596,"mutability":"mutable","name":"profileAmount","nameLocation":"9169:13:33","nodeType":"VariableDeclaration","scope":13671,"src":"9161:21:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13595,"name":"uint256","nodeType":"ElementaryTypeName","src":"9161:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13604,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13603,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13600,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13597,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13566,"src":"9186:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"expression":{"id":13598,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13569,"src":"9195:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_348912945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13599,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9203:8:33","memberName":"totalBps","nodeType":"MemberAccess","referencedDeclaration":12940,"src":"9195:16:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"9186:25:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":13601,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9185:27:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":13602,"name":"BASIS_POINTS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12929,"src":"9215:12:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9185:42:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"9161:66:33"},{"assignments":[13606],"declarations":[{"constant":false,"id":13606,"mutability":"mutable","name":"distributed","nameLocation":"9245:11:33","nodeType":"VariableDeclaration","scope":13671,"src":"9237:19:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13605,"name":"uint256","nodeType":"ElementaryTypeName","src":"9237:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13608,"initialValue":{"hexValue":"30","id":13607,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9259:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"9237:23:33"},{"body":{"id":13669,"nodeType":"Block","src":"9316:574:33","statements":[{"assignments":[13620],"declarations":[{"constant":false,"id":13620,"mutability":"mutable","name":"shareAmount","nameLocation":"9338:11:33","nodeType":"VariableDeclaration","scope":13669,"src":"9330:19:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13619,"name":"uint256","nodeType":"ElementaryTypeName","src":"9330:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13621,"nodeType":"VariableDeclarationStatement","src":"9330:19:33"},{"assignments":[13624],"declarations":[{"constant":false,"id":13624,"mutability":"mutable","name":"recipientShare","nameLocation":"9386:14:33","nodeType":"VariableDeclaration","scope":13669,"src":"9363:37:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_349012934_storage_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare"},"typeName":{"id":13623,"nodeType":"UserDefinedTypeName","pathNode":{"id":13622,"name":"RecipientShare","nameLocations":["9363:14:33"],"nodeType":"IdentifierPath","referencedDeclaration":12934,"src":"9363:14:33"},"referencedDeclaration":12934,"src":"9363:14:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_349112934_storage_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare"}},"visibility":"internal"}],"id":13629,"initialValue":{"baseExpression":{"expression":{"id":13625,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13569,"src":"9403:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_349212945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13626,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9411:15:33","memberName":"recipientShares","nodeType":"MemberAccess","referencedDeclaration":12938,"src":"9403:23:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RecipientShare_$12934_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.RecipientShare storage ref[] storage ref"}},"id":13628,"indexExpression":{"id":13627,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13610,"src":"9427:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"9403:26:33","typeDescriptions":{"typeIdentifier":"t_struct$_RecipientShare_$12934_storage","typeString":"struct DynamicRevenueSplitter.RecipientShare storage ref"}},"nodeType":"VariableDeclarationStatement","src":"9363:66:33"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13634,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13630,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13610,"src":"9447:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13633,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13631,"name":"recipientsCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13573,"src":"9452:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13632,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9470:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"9452:19:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9447:24:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":13652,"nodeType":"Block","src":"9625:91:33","statements":[{"expression":{"id":13650,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13642,"name":"shareAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13620,"src":"9643:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13649,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13646,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13643,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13566,"src":"9658:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"expression":{"id":13644,"name":"recipientShare","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13624,"src":"9667:14:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_349512934_storage_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare storage pointer"}},"id":13645,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9682:3:33","memberName":"bps","nodeType":"MemberAccess","referencedDeclaration":12933,"src":"9667:18:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"9658:27:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":13647,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"9657:29:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"id":13648,"name":"BASIS_POINTS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12929,"src":"9689:12:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9657:44:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9643:58:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13651,"nodeType":"ExpressionStatement","src":"9643:58:33"}]},"id":13653,"nodeType":"IfStatement","src":"9443:273:33","trueBody":{"id":13641,"nodeType":"Block","src":"9473:146:33","statements":[{"expression":{"id":13639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13635,"name":"shareAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13620,"src":"9563:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13638,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13636,"name":"profileAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13596,"src":"9577:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":13637,"name":"distributed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13606,"src":"9593:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9577:27:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9563:41:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13640,"nodeType":"ExpressionStatement","src":"9563:41:33"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13656,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13654,"name":"shareAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13620,"src":"9734:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13655,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9748:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"9734:15:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13668,"nodeType":"IfStatement","src":"9730:150:33","trueBody":{"id":13667,"nodeType":"Block","src":"9751:129:33","statements":[{"expression":{"arguments":[{"expression":{"id":13658,"name":"recipientShare","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13624,"src":"9783:14:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_349612934_storage_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare storage pointer"}},"id":13659,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"9798:9:33","memberName":"recipient","nodeType":"MemberAccess","referencedDeclaration":12931,"src":"9783:24:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13660,"name":"shareAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13620,"src":"9809:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13657,"name":"_transferUsdt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14311,"src":"9769:13:33","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":13661,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"9769:52:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13662,"nodeType":"ExpressionStatement","src":"9769:52:33"},{"expression":{"id":13665,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":13663,"name":"distributed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13606,"src":"9839:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":13664,"name":"shareAmount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13620,"src":"9854:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9839:26:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13666,"nodeType":"ExpressionStatement","src":"9839:26:33"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13615,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13613,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13610,"src":"9290:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":13614,"name":"recipientsCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13573,"src":"9294:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9290:19:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13670,"initializationExpression":{"assignments":[13610],"declarations":[{"constant":false,"id":13610,"mutability":"mutable","name":"i","nameLocation":"9283:1:33","nodeType":"VariableDeclaration","scope":13670,"src":"9275:9:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13609,"name":"uint256","nodeType":"ElementaryTypeName","src":"9275:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13612,"initialValue":{"hexValue":"30","id":13611,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9287:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"9275:13:33"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":13617,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"9311:3:33","subExpression":{"id":13616,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13610,"src":"9311:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13618,"nodeType":"ExpressionStatement","src":"9311:3:33"},"nodeType":"ForStatement","src":"9270:620:33"}]},"id":13672,"implemented":true,"kind":"function","modifiers":[],"name":"_distributeProfileShares","nameLocation":"8825:24:33","nodeType":"FunctionDefinition","parameters":{"id":13570,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13566,"mutability":"mutable","name":"amount","nameLocation":"8858:6:33","nodeType":"VariableDeclaration","scope":13672,"src":"8850:14:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13565,"name":"uint256","nodeType":"ElementaryTypeName","src":"8850:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13569,"mutability":"mutable","name":"profile","nameLocation":"8887:7:33","nodeType":"VariableDeclaration","scope":13672,"src":"8866:28:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"},"typeName":{"id":13568,"nodeType":"UserDefinedTypeName","pathNode":{"id":13567,"name":"Distribution","nameLocations":["8866:12:33"],"nodeType":"IdentifierPath","referencedDeclaration":12945,"src":"8866:12:33"},"referencedDeclaration":12945,"src":"8866:12:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_350112945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"}},"visibility":"internal"}],"src":"8849:46:33"},"returnParameters":{"id":13571,"nodeType":"ParameterList","parameters":[],"src":"8905:0:33"},"scope":14312,"src":"8816:1080:33","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"baseFunctions":[14849],"body":{"id":13703,"nodeType":"Block","src":"10000:154:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13690,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13683,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13674,"src":"10018:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13684,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10030:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"10018:13:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13689,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13686,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13674,"src":"10035:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":13687,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"10048:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13688,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10057:6:33","memberName":"length","nodeType":"MemberAccess","src":"10048:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10035:28:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10018:45:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"50726f66696c6520646f6573206e6f74206578697374","id":13691,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"10065:24:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_e6dbf3d2354088a74d750ac99af7e17669fcda6fdcfa63918e5c6b6c75aef1db","typeString":"literal_string \"Profile does not exist\""},"value":"Profile does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e6dbf3d2354088a74d750ac99af7e17669fcda6fdcfa63918e5c6b6c75aef1db","typeString":"literal_string \"Profile does not exist\""}],"id":13682,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"10010:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13692,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10010:80:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13693,"nodeType":"ExpressionStatement","src":"10010:80:33"},{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13701,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":13694,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"10107:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13698,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13697,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13695,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13674,"src":"10116:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13696,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10128:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10116:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"10107:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"id":13699,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10131:5:33","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":12942,"src":"10107:29:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":13700,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13676,"src":"10140:7:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"10107:40:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":13681,"id":13702,"nodeType":"Return","src":"10100:47:33"}]},"functionSelector":"2b726b6a","id":13704,"implemented":true,"kind":"function","modifiers":[],"name":"isProfileOwner","nameLocation":"9911:14:33","nodeType":"FunctionDefinition","overrides":{"id":13678,"nodeType":"OverrideSpecifier","overrides":[],"src":"9976:8:33"},"parameters":{"id":13677,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13674,"mutability":"mutable","name":"profileId","nameLocation":"9934:9:33","nodeType":"VariableDeclaration","scope":13704,"src":"9926:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13673,"name":"uint256","nodeType":"ElementaryTypeName","src":"9926:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13676,"mutability":"mutable","name":"account","nameLocation":"9953:7:33","nodeType":"VariableDeclaration","scope":13704,"src":"9945:15:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13675,"name":"address","nodeType":"ElementaryTypeName","src":"9945:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"9925:36:33"},"returnParameters":{"id":13681,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13680,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":13704,"src":"9994:4:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":13679,"name":"bool","nodeType":"ElementaryTypeName","src":"9994:4:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"9993:6:33"},"scope":14312,"src":"9902:252:33","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":13822,"nodeType":"Block","src":"10261:985:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":13722,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13717,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13715,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13706,"src":"10279:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13716,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10291:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"10279:13:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13721,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13718,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13706,"src":"10296:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"expression":{"id":13719,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"10309:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13720,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10318:6:33","memberName":"length","nodeType":"MemberAccess","src":"10309:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10296:28:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10279:45:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"50726f66696c6520646f6573206e6f74206578697374","id":13723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"10326:24:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_e6dbf3d2354088a74d750ac99af7e17669fcda6fdcfa63918e5c6b6c75aef1db","typeString":"literal_string \"Profile does not exist\""},"value":"Profile does not exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_e6dbf3d2354088a74d750ac99af7e17669fcda6fdcfa63918e5c6b6c75aef1db","typeString":"literal_string \"Profile does not exist\""}],"id":13714,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"10271:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13724,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10271:80:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13725,"nodeType":"ExpressionStatement","src":"10271:80:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13732,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13727,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13708,"src":"10369:8:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13730,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10389:1:33","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":13729,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10381:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13728,"name":"address","nodeType":"ElementaryTypeName","src":"10381:7:33","typeDescriptions":{}}},"id":13731,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10381:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"10369:22:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e6577206f776e65722063616e6e6f74206265207a65726f2061646472657373","id":13733,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"10393:34:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_f16f43cb73d56e0745728a6b55de7a4e958d36df2c8d7b1ccb6242c8ad2ba8d2","typeString":"literal_string \"New owner cannot be zero address\""},"value":"New owner cannot be zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f16f43cb73d56e0745728a6b55de7a4e958d36df2c8d7b1ccb6242c8ad2ba8d2","typeString":"literal_string \"New owner cannot be zero address\""}],"id":13726,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"10361:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13734,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10361:67:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13735,"nodeType":"ExpressionStatement","src":"10361:67:33"},{"assignments":[13738],"declarations":[{"constant":false,"id":13738,"mutability":"mutable","name":"profile","nameLocation":"10460:7:33","nodeType":"VariableDeclaration","scope":13822,"src":"10439:28:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"},"typeName":{"id":13737,"nodeType":"UserDefinedTypeName","pathNode":{"id":13736,"name":"Distribution","nameLocations":["10439:12:33"],"nodeType":"IdentifierPath","referencedDeclaration":12945,"src":"10439:12:33"},"referencedDeclaration":12945,"src":"10439:12:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_351912945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"}},"visibility":"internal"}],"id":13744,"initialValue":{"baseExpression":{"id":13739,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"10470:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13743,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13742,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13740,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13706,"src":"10479:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13741,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10491:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10479:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"10470:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"nodeType":"VariableDeclarationStatement","src":"10439:54:33"},{"assignments":[13746],"declarations":[{"constant":false,"id":13746,"mutability":"mutable","name":"previousOwner","nameLocation":"10511:13:33","nodeType":"VariableDeclaration","scope":13822,"src":"10503:21:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13745,"name":"address","nodeType":"ElementaryTypeName","src":"10503:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":13749,"initialValue":{"expression":{"id":13747,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13738,"src":"10527:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_352212945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13748,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"10535:5:33","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":12942,"src":"10527:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"10503:37:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13753,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13751,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13746,"src":"10558:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":13752,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13708,"src":"10575:8:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"10558:25:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e6577206f776e6572206d75737420626520646966666572656e74","id":13754,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"10585:29:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_ccbcfe482baafe147d8256ac18aa46a306cab5ec6294b5cf0f6c3fa751335c4d","typeString":"literal_string \"New owner must be different\""},"value":"New owner must be different"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ccbcfe482baafe147d8256ac18aa46a306cab5ec6294b5cf0f6c3fa751335c4d","typeString":"literal_string \"New owner must be different\""}],"id":13750,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"10550:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13755,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10550:65:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13756,"nodeType":"ExpressionStatement","src":"10550:65:33"},{"assignments":[13761],"declarations":[{"constant":false,"id":13761,"mutability":"mutable","name":"prevOwnerProfiles","nameLocation":"10699:17:33","nodeType":"VariableDeclaration","scope":13822,"src":"10681:35:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":13759,"name":"uint256","nodeType":"ElementaryTypeName","src":"10681:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13760,"nodeType":"ArrayTypeName","src":"10681:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":13765,"initialValue":{"baseExpression":{"id":13762,"name":"ownerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12958,"src":"10719:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(address => uint256[] storage ref)"}},"id":13764,"indexExpression":{"id":13763,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13746,"src":"10733:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"10719:28:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"nodeType":"VariableDeclarationStatement","src":"10681:66:33"},{"body":{"id":13801,"nodeType":"Block","src":"10812:230:33","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13781,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":13777,"name":"prevOwnerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13761,"src":"10830:17:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13779,"indexExpression":{"id":13778,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13767,"src":"10848:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"10830:20:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":13780,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13706,"src":"10854:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10830:33:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13800,"nodeType":"IfStatement","src":"10826:206:33","trueBody":{"id":13799,"nodeType":"Block","src":"10865:167:33","statements":[{"expression":{"id":13791,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":13782,"name":"prevOwnerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13761,"src":"10883:17:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13784,"indexExpression":{"id":13783,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13767,"src":"10901:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"10883:20:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":13785,"name":"prevOwnerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13761,"src":"10906:17:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13790,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13789,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":13786,"name":"prevOwnerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13761,"src":"10924:17:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10942:6:33","memberName":"length","nodeType":"MemberAccess","src":"10924:24:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13788,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10951:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"10924:28:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"10906:47:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10883:70:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13792,"nodeType":"ExpressionStatement","src":"10883:70:33"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"id":13793,"name":"prevOwnerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13761,"src":"10971:17:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13795,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10989:3:33","memberName":"pop","nodeType":"MemberAccess","src":"10971:21:33","typeDescriptions":{"typeIdentifier":"t_function_arraypop_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$returns$__$attached_to$_t_array$_t_uint256_$dyn_storage_ptr_$","typeString":"function (uint256[] storage pointer)"}},"id":13796,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"10971:23:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13797,"nodeType":"ExpressionStatement","src":"10971:23:33"},{"id":13798,"nodeType":"Break","src":"11012:5:33"}]}}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13773,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13770,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13767,"src":"10777:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":13771,"name":"prevOwnerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13761,"src":"10781:17:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13772,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"10799:6:33","memberName":"length","nodeType":"MemberAccess","src":"10781:24:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10777:28:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13802,"initializationExpression":{"assignments":[13767],"declarations":[{"constant":false,"id":13767,"mutability":"mutable","name":"i","nameLocation":"10770:1:33","nodeType":"VariableDeclaration","scope":13802,"src":"10762:9:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13766,"name":"uint256","nodeType":"ElementaryTypeName","src":"10762:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13769,"initialValue":{"hexValue":"30","id":13768,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10774:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"10762:13:33"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":13775,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"10807:3:33","subExpression":{"id":13774,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13767,"src":"10807:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13776,"nodeType":"ExpressionStatement","src":"10807:3:33"},"nodeType":"ForStatement","src":"10757:285:33"},{"expression":{"id":13807,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":13803,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13738,"src":"11087:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_354412945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":13805,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"11095:5:33","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":12942,"src":"11087:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13806,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13708,"src":"11103:8:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11087:24:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13808,"nodeType":"ExpressionStatement","src":"11087:24:33"},{"expression":{"arguments":[{"id":13813,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13706,"src":"11150:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"baseExpression":{"id":13809,"name":"ownerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12958,"src":"11121:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(address => uint256[] storage ref)"}},"id":13811,"indexExpression":{"id":13810,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13708,"src":"11135:8:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"11121:23:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"id":13812,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11145:4:33","memberName":"push","nodeType":"MemberAccess","src":"11121:28:33","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$attached_to$_t_array$_t_uint256_$dyn_storage_ptr_$","typeString":"function (uint256[] storage pointer,uint256)"}},"id":13814,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11121:39:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13815,"nodeType":"ExpressionStatement","src":"11121:39:33"},{"eventCall":{"arguments":[{"id":13817,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13706,"src":"11204:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":13818,"name":"previousOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13746,"src":"11215:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":13819,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13708,"src":"11230:8:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":13816,"name":"ProfileOwnershipTransferred","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13007,"src":"11176:27:33","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$_t_address_$_t_address_$returns$__$","typeString":"function (uint256,address,address)"}},"id":13820,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11176:63:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13821,"nodeType":"EmitStatement","src":"11171:68:33"}]},"functionSelector":"a4c5a4ef","id":13823,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":13711,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"10249:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":13712,"kind":"modifierInvocation","modifierName":{"id":13710,"name":"onlyRole","nameLocations":["10240:8:33"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"10240:8:33"},"nodeType":"ModifierInvocation","src":"10240:20:33"}],"name":"transferProfileOwnership","nameLocation":"10169:24:33","nodeType":"FunctionDefinition","parameters":{"id":13709,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13706,"mutability":"mutable","name":"profileId","nameLocation":"10202:9:33","nodeType":"VariableDeclaration","scope":13823,"src":"10194:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13705,"name":"uint256","nodeType":"ElementaryTypeName","src":"10194:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":13708,"mutability":"mutable","name":"newOwner","nameLocation":"10221:8:33","nodeType":"VariableDeclaration","scope":13823,"src":"10213:16:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13707,"name":"address","nodeType":"ElementaryTypeName","src":"10213:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"10193:37:33"},"returnParameters":{"id":13713,"nodeType":"ParameterList","parameters":[],"src":"10261:0:33"},"scope":14312,"src":"10160:1086:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14856],"body":{"id":13918,"nodeType":"Block","src":"11346:596:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13840,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13835,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13825,"src":"11364:4:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13838,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11380:1:33","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":13837,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11372:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13836,"name":"address","nodeType":"ElementaryTypeName","src":"11372:7:33","typeDescriptions":{}}},"id":13839,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11372:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11364:18:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"46726f6d20616464726573732063616e6e6f74206265207a65726f","id":13841,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11384:29:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_d4bce2f4e4f87e7ca090356e1ee58476d7881ddfaa595887add85cd739a717de","typeString":"literal_string \"From address cannot be zero\""},"value":"From address cannot be zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d4bce2f4e4f87e7ca090356e1ee58476d7881ddfaa595887add85cd739a717de","typeString":"literal_string \"From address cannot be zero\""}],"id":13834,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"11356:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13842,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11356:58:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13843,"nodeType":"ExpressionStatement","src":"11356:58:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13850,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13845,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13827,"src":"11432:2:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":13848,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11446:1:33","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":13847,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"11438:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":13846,"name":"address","nodeType":"ElementaryTypeName","src":"11438:7:33","typeDescriptions":{}}},"id":13849,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11438:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11432:16:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"546f20616464726573732063616e6e6f74206265207a65726f","id":13851,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11450:27:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_c730b0268d645ad444dee399d2d0d6b81f8a720e4d5a57c878ba4d70c21f597c","typeString":"literal_string \"To address cannot be zero\""},"value":"To address cannot be zero"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c730b0268d645ad444dee399d2d0d6b81f8a720e4d5a57c878ba4d70c21f597c","typeString":"literal_string \"To address cannot be zero\""}],"id":13844,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"11424:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13852,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11424:54:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13853,"nodeType":"ExpressionStatement","src":"11424:54:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":13857,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13855,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13825,"src":"11496:4:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":13856,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13827,"src":"11504:2:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11496:10:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"46726f6d20616e6420746f206d75737420626520646966666572656e74","id":13858,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"11508:31:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_896b705c544f3cf52c32bf0aab9e3f0bd54057d4386bc701e487699ef6e42b4d","typeString":"literal_string \"From and to must be different\""},"value":"From and to must be different"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_896b705c544f3cf52c32bf0aab9e3f0bd54057d4386bc701e487699ef6e42b4d","typeString":"literal_string \"From and to must be different\""}],"id":13854,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"11488:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13859,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11488:52:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13860,"nodeType":"ExpressionStatement","src":"11488:52:33"},{"assignments":[13865],"declarations":[{"constant":false,"id":13865,"mutability":"mutable","name":"fromProfiles","nameLocation":"11569:12:33","nodeType":"VariableDeclaration","scope":13918,"src":"11551:30:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":13863,"name":"uint256","nodeType":"ElementaryTypeName","src":"11551:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13864,"nodeType":"ArrayTypeName","src":"11551:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":13869,"initialValue":{"baseExpression":{"id":13866,"name":"ownerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12958,"src":"11584:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(address => uint256[] storage ref)"}},"id":13868,"indexExpression":{"id":13867,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13825,"src":"11598:4:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"11584:19:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"nodeType":"VariableDeclarationStatement","src":"11551:52:33"},{"assignments":[13874],"declarations":[{"constant":false,"id":13874,"mutability":"mutable","name":"toProfiles","nameLocation":"11631:10:33","nodeType":"VariableDeclaration","scope":13918,"src":"11613:28:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":13872,"name":"uint256","nodeType":"ElementaryTypeName","src":"11613:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13873,"nodeType":"ArrayTypeName","src":"11613:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":13878,"initialValue":{"baseExpression":{"id":13875,"name":"ownerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12958,"src":"11644:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(address => uint256[] storage ref)"}},"id":13877,"indexExpression":{"id":13876,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13827,"src":"11658:2:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"11644:17:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"nodeType":"VariableDeclarationStatement","src":"11613:48:33"},{"body":{"id":13911,"nodeType":"Block","src":"11722:148:33","statements":[{"assignments":[13891],"declarations":[{"constant":false,"id":13891,"mutability":"mutable","name":"profileId","nameLocation":"11744:9:33","nodeType":"VariableDeclaration","scope":13911,"src":"11736:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13890,"name":"uint256","nodeType":"ElementaryTypeName","src":"11736:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13895,"initialValue":{"baseExpression":{"id":13892,"name":"fromProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13865,"src":"11756:12:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13894,"indexExpression":{"id":13893,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13880,"src":"11769:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"11756:15:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"11736:35:33"},{"expression":{"id":13903,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":13896,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"11785:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_358412945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13900,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13899,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13897,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13891,"src":"11794:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13898,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11806:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"11794:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"11785:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"id":13901,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"11809:5:33","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":12942,"src":"11785:29:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":13902,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13827,"src":"11817:2:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"11785:34:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13904,"nodeType":"ExpressionStatement","src":"11785:34:33"},{"expression":{"arguments":[{"id":13908,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13891,"src":"11849:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":13905,"name":"toProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13874,"src":"11833:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13907,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11844:4:33","memberName":"push","nodeType":"MemberAccess","src":"11833:15:33","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_uint256_$dyn_storage_ptr_$_t_uint256_$returns$__$attached_to$_t_array$_t_uint256_$dyn_storage_ptr_$","typeString":"function (uint256[] storage pointer,uint256)"}},"id":13909,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"11833:26:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13910,"nodeType":"ExpressionStatement","src":"11833:26:33"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13886,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13883,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13880,"src":"11692:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":13884,"name":"fromProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13865,"src":"11696:12:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[] storage pointer"}},"id":13885,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"11709:6:33","memberName":"length","nodeType":"MemberAccess","src":"11696:19:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"11692:23:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13912,"initializationExpression":{"assignments":[13880],"declarations":[{"constant":false,"id":13880,"mutability":"mutable","name":"i","nameLocation":"11685:1:33","nodeType":"VariableDeclaration","scope":13912,"src":"11677:9:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13879,"name":"uint256","nodeType":"ElementaryTypeName","src":"11677:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13882,"initialValue":{"hexValue":"30","id":13881,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"11689:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"11677:13:33"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":13888,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"11717:3:33","subExpression":{"id":13887,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13880,"src":"11717:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13889,"nodeType":"ExpressionStatement","src":"11717:3:33"},"nodeType":"ForStatement","src":"11672:198:33"},{"expression":{"id":13916,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"11909:26:33","subExpression":{"baseExpression":{"id":13913,"name":"ownerProfiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12958,"src":"11916:13:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_array$_t_uint256_$dyn_storage_$","typeString":"mapping(address => uint256[] storage ref)"}},"id":13915,"indexExpression":{"id":13914,"name":"from","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13825,"src":"11930:4:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"11916:19:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage","typeString":"uint256[] storage ref"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13917,"nodeType":"ExpressionStatement","src":"11909:26:33"}]},"functionSelector":"9137c48a","id":13919,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":13831,"name":"ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12891,"src":"11334:10:33","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":13832,"kind":"modifierInvocation","modifierName":{"id":13830,"name":"onlyRole","nameLocations":["11325:8:33"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"11325:8:33"},"nodeType":"ModifierInvocation","src":"11325:20:33"}],"name":"transferAllProfiles","nameLocation":"11261:19:33","nodeType":"FunctionDefinition","overrides":{"id":13829,"nodeType":"OverrideSpecifier","overrides":[],"src":"11316:8:33"},"parameters":{"id":13828,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13825,"mutability":"mutable","name":"from","nameLocation":"11289:4:33","nodeType":"VariableDeclaration","scope":13919,"src":"11281:12:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13824,"name":"address","nodeType":"ElementaryTypeName","src":"11281:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13827,"mutability":"mutable","name":"to","nameLocation":"11303:2:33","nodeType":"VariableDeclaration","scope":13919,"src":"11295:10:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13826,"name":"address","nodeType":"ElementaryTypeName","src":"11295:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"11280:26:33"},"returnParameters":{"id":13833,"nodeType":"ParameterList","parameters":[],"src":"11346:0:33"},"scope":14312,"src":"11252:690:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":13940,"nodeType":"Block","src":"12038:101:33","statements":[{"expression":{"id":13934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":13927,"name":"profiles","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12949,"src":"12048:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_Distribution_$12945_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref[] storage ref"}},"id":13931,"indexExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13930,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13928,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13921,"src":"12057:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"hexValue":"31","id":13929,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12069:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"12057:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"12048:23:33","typeDescriptions":{"typeIdentifier":"t_struct$_Distribution_$12945_storage","typeString":"struct DynamicRevenueSplitter.Distribution storage ref"}},"id":13932,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"12072:8:33","memberName":"isActive","nodeType":"MemberAccess","referencedDeclaration":12944,"src":"12048:32:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":13933,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"12083:5:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"12048:40:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":13935,"nodeType":"ExpressionStatement","src":"12048:40:33"},{"eventCall":{"arguments":[{"id":13937,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13921,"src":"12122:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":13936,"name":"ProfileDeactivated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13011,"src":"12103:18:33","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint256_$returns$__$","typeString":"function (uint256)"}},"id":13938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12103:29:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13939,"nodeType":"EmitStatement","src":"12098:34:33"}]},"functionSelector":"cb3044f5","id":13941,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":13924,"name":"profileId","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13921,"src":"12027:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":13925,"kind":"modifierInvocation","modifierName":{"id":13923,"name":"onlyProfileOwnerOrAdmin","nameLocations":["12003:23:33"],"nodeType":"IdentifierPath","referencedDeclaration":13191,"src":"12003:23:33"},"nodeType":"ModifierInvocation","src":"12003:34:33"}],"name":"deactivateProfile","nameLocation":"11957:17:33","nodeType":"FunctionDefinition","parameters":{"id":13922,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13921,"mutability":"mutable","name":"profileId","nameLocation":"11983:9:33","nodeType":"VariableDeclaration","scope":13941,"src":"11975:17:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13920,"name":"uint256","nodeType":"ElementaryTypeName","src":"11975:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"11974:19:33"},"returnParameters":{"id":13926,"nodeType":"ParameterList","parameters":[],"src":"12038:0:33"},"scope":14312,"src":"11948:191:33","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":14170,"nodeType":"Block","src":"12360:1672:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13963,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":13959,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"12378:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":13960,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12389:6:33","memberName":"length","nodeType":"MemberAccess","src":"12378:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":13961,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13949,"src":"12399:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":13962,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12406:6:33","memberName":"length","nodeType":"MemberAccess","src":"12399:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12378:34:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"417272617973206c656e677468206d69736d61746368","id":13964,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"12414:24:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_582fd48f3876d7686bfeaaaa0db0589073271dedd50d66094f02fee2a3d2e01c","typeString":"literal_string \"Arrays length mismatch\""},"value":"Arrays length mismatch"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_582fd48f3876d7686bfeaaaa0db0589073271dedd50d66094f02fee2a3d2e01c","typeString":"literal_string \"Arrays length mismatch\""}],"id":13958,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"12370:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":13965,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12370:69:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":13966,"nodeType":"ExpressionStatement","src":"12370:69:33"},{"assignments":[13968],"declarations":[{"constant":false,"id":13968,"mutability":"mutable","name":"ownerBps","nameLocation":"12458:8:33","nodeType":"VariableDeclaration","scope":14170,"src":"12450:16:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13967,"name":"uint256","nodeType":"ElementaryTypeName","src":"12450:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13972,"initialValue":{"baseExpression":{"id":13969,"name":"profileManagerBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12963,"src":"12469:17:33","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":13971,"indexExpression":{"id":13970,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13943,"src":"12487:5:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"12469:24:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"12450:43:33"},{"assignments":[13974],"declarations":[{"constant":false,"id":13974,"mutability":"mutable","name":"expectedInputSharesTotal","nameLocation":"12511:24:33","nodeType":"VariableDeclaration","scope":14170,"src":"12503:32:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13973,"name":"uint256","nodeType":"ElementaryTypeName","src":"12503:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13982,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13981,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13979,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13977,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13975,"name":"BASIS_POINTS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12929,"src":"12538:12:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":13976,"name":"ownerBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13968,"src":"12553:8:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12538:23:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":13978,"name":"CYBERIA_DAO_SHARE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12920,"src":"12564:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12538:43:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":13980,"name":"CVE_PT_PMA_SHARE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12923,"src":"12584:16:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12538:62:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"12503:97:33"},{"assignments":[13984],"declarations":[{"constant":false,"id":13984,"mutability":"mutable","name":"totalShares","nameLocation":"12618:11:33","nodeType":"VariableDeclaration","scope":14170,"src":"12610:19:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13983,"name":"uint256","nodeType":"ElementaryTypeName","src":"12610:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13986,"initialValue":{"hexValue":"30","id":13985,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12632:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"12610:23:33"},{"assignments":[13988],"declarations":[{"constant":false,"id":13988,"mutability":"mutable","name":"extraOwnerSlot","nameLocation":"12651:14:33","nodeType":"VariableDeclaration","scope":14170,"src":"12643:22:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":13987,"name":"uint256","nodeType":"ElementaryTypeName","src":"12643:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":13995,"initialValue":{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":13991,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":13989,"name":"ownerBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13968,"src":"12668:8:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":13990,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12679:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"12668:12:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseExpression":{"hexValue":"30","id":13993,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12687:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"id":13994,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"Conditional","src":"12668:20:33","trueExpression":{"hexValue":"31","id":13992,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12683:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"VariableDeclarationStatement","src":"12643:45:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14002,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14000,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":13997,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"12707:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":13998,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12718:6:33","memberName":"length","nodeType":"MemberAccess","src":"12707:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":13999,"name":"extraOwnerSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13988,"src":"12727:14:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12707:34:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":14001,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12744:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"12707:38:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"456d70747920646973747269627574696f6e","id":14003,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"12747:20:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_c8136082cad54465eb1db351565a63e23361533eaef74eae8b2602c9ec6710ba","typeString":"literal_string \"Empty distribution\""},"value":"Empty distribution"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c8136082cad54465eb1db351565a63e23361533eaef74eae8b2602c9ec6710ba","typeString":"literal_string \"Empty distribution\""}],"id":13996,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"12699:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":14004,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12699:69:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14005,"nodeType":"ExpressionStatement","src":"12699:69:33"},{"expression":{"id":14015,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14006,"name":"fullRecipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13953,"src":"12779:14:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14013,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14010,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"12810:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":14011,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12821:6:33","memberName":"length","nodeType":"MemberAccess","src":"12810:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":14012,"name":"extraOwnerSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13988,"src":"12830:14:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12810:34:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14009,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12796:13:33","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_address_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (address[] memory)"},"typeName":{"baseType":{"id":14007,"name":"address","nodeType":"ElementaryTypeName","src":"12800:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14008,"nodeType":"ArrayTypeName","src":"12800:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}}},"id":14014,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12796:49:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"src":"12779:66:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":14016,"nodeType":"ExpressionStatement","src":"12779:66:33"},{"expression":{"id":14026,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14017,"name":"fullShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13956,"src":"12855:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14024,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14021,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13949,"src":"12881:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":14022,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12888:6:33","memberName":"length","nodeType":"MemberAccess","src":"12881:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":14023,"name":"extraOwnerSlot","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13988,"src":"12897:14:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12881:30:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14020,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"12868:12:33","typeDescriptions":{"typeIdentifier":"t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_uint16_$dyn_memory_ptr_$","typeString":"function (uint256) pure returns (uint16[] memory)"},"typeName":{"baseType":{"id":14018,"name":"uint16","nodeType":"ElementaryTypeName","src":"12872:6:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":14019,"nodeType":"ArrayTypeName","src":"12872:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}}},"id":14025,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12868:44:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"src":"12855:57:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":14027,"nodeType":"ExpressionStatement","src":"12855:57:33"},{"body":{"id":14120,"nodeType":"Block","src":"12967:597:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14047,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":14040,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"12989:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":14042,"indexExpression":{"id":14041,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13000:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"12989:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":14045,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13014:1:33","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":14044,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13006:7:33","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14043,"name":"address","nodeType":"ElementaryTypeName","src":"13006:7:33","typeDescriptions":{}}},"id":14046,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13006:10:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"12989:27:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5a65726f206164647265737320726563697069656e74","id":14048,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13018:24:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_ee18ece2399c55fdec6408d481fb7dbfc0db7cb1429e817e4350cf0405905fc0","typeString":"literal_string \"Zero address recipient\""},"value":"Zero address recipient"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ee18ece2399c55fdec6408d481fb7dbfc0db7cb1429e817e4350cf0405905fc0","typeString":"literal_string \"Zero address recipient\""}],"id":14039,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"12981:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":14049,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"12981:62:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14050,"nodeType":"ExpressionStatement","src":"12981:62:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14056,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":14052,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"13082:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":14054,"indexExpression":{"id":14053,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13093:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13082:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":14055,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13943,"src":"13099:5:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"13082:22:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"50726f66696c65206f776e6572206973206164646564206175746f6d61746963616c6c7920746f20646973747269627574696f6e","id":14057,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13122:54:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_ab42b7648e1b0dcf5d8fc5e1a2a8dd448a98f493a437f1b45aa12a873063184d","typeString":"literal_string \"Profile owner is added automatically to distribution\""},"value":"Profile owner is added automatically to distribution"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_ab42b7648e1b0dcf5d8fc5e1a2a8dd448a98f493a437f1b45aa12a873063184d","typeString":"literal_string \"Profile owner is added automatically to distribution\""}],"id":14051,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13057:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":14058,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13057:133:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14059,"nodeType":"ExpressionStatement","src":"13057:133:33"},{"body":{"id":14084,"nodeType":"Block","src":"13257:95:33","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14080,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":14074,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"13283:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":14076,"indexExpression":{"id":14075,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13294:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13283:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"baseExpression":{"id":14077,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"13300:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":14079,"indexExpression":{"id":14078,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14061,"src":"13311:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13300:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"13283:30:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4475706c696361746520726563697069656e74","id":14081,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13315:21:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_c32c65f0f239913923b3b3dd81051c0165c2a794f9d8226136a3b252196073af","typeString":"literal_string \"Duplicate recipient\""},"value":"Duplicate recipient"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c32c65f0f239913923b3b3dd81051c0165c2a794f9d8226136a3b252196073af","typeString":"literal_string \"Duplicate recipient\""}],"id":14073,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13275:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":14082,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13275:62:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14083,"nodeType":"ExpressionStatement","src":"13275:62:33"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14069,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14066,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14061,"src":"13229:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":14067,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"13233:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":14068,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13244:6:33","memberName":"length","nodeType":"MemberAccess","src":"13233:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13229:21:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14085,"initializationExpression":{"assignments":[14061],"declarations":[{"constant":false,"id":14061,"mutability":"mutable","name":"j","nameLocation":"13218:1:33","nodeType":"VariableDeclaration","scope":14085,"src":"13210:9:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14060,"name":"uint256","nodeType":"ElementaryTypeName","src":"13210:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":14065,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14064,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14062,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13222:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"hexValue":"31","id":14063,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13226:1:33","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"13222:5:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13210:17:33"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":14071,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"13252:3:33","subExpression":{"id":14070,"name":"j","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14061,"src":"13252:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14072,"nodeType":"ExpressionStatement","src":"13252:3:33"},"nodeType":"ForStatement","src":"13205:147:33"},{"expression":{"id":14092,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14086,"name":"fullRecipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13953,"src":"13366:14:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":14088,"indexExpression":{"id":14087,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13381:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13366:17:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":14089,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"13386:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":14091,"indexExpression":{"id":14090,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13397:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13386:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"13366:33:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14093,"nodeType":"ExpressionStatement","src":"13366:33:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14099,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":14095,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13949,"src":"13421:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":14097,"indexExpression":{"id":14096,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13428:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13421:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":14098,"name":"BASIS_POINTS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12929,"src":"13434:12:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13421:25:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5368617265206578636565647320627073","id":14100,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13448:19:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_8f033f13cbc0fb9e81c9e5432e0d7fd558267b25582b0645b2efb03353fb2f48","typeString":"literal_string \"Share exceeds bps\""},"value":"Share exceeds bps"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_8f033f13cbc0fb9e81c9e5432e0d7fd558267b25582b0645b2efb03353fb2f48","typeString":"literal_string \"Share exceeds bps\""}],"id":14094,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13413:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":14101,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13413:55:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14102,"nodeType":"ExpressionStatement","src":"13413:55:33"},{"expression":{"id":14112,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14103,"name":"fullShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13956,"src":"13482:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":14105,"indexExpression":{"id":14104,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13493:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13482:13:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"baseExpression":{"id":14108,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13949,"src":"13505:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":14110,"indexExpression":{"id":14109,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13512:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13505:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14107,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13498:6:33","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":14106,"name":"uint16","nodeType":"ElementaryTypeName","src":"13498:6:33","typeDescriptions":{}}},"id":14111,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13498:17:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"13482:33:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":14113,"nodeType":"ExpressionStatement","src":"13482:33:33"},{"expression":{"id":14118,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14114,"name":"totalShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13984,"src":"13529:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"baseExpression":{"id":14115,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13949,"src":"13544:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":14117,"indexExpression":{"id":14116,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"13551:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"13544:9:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13529:24:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14119,"nodeType":"ExpressionStatement","src":"13529:24:33"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14035,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14032,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"12943:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":14033,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13949,"src":"12947:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[] calldata"}},"id":14034,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"12954:6:33","memberName":"length","nodeType":"MemberAccess","src":"12947:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"12943:17:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14121,"initializationExpression":{"assignments":[14029],"declarations":[{"constant":false,"id":14029,"mutability":"mutable","name":"i","nameLocation":"12936:1:33","nodeType":"VariableDeclaration","scope":14121,"src":"12928:9:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14028,"name":"uint256","nodeType":"ElementaryTypeName","src":"12928:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":14031,"initialValue":{"hexValue":"30","id":14030,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"12940:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"12928:13:33"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":14037,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"12962:3:33","subExpression":{"id":14036,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14029,"src":"12962:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14038,"nodeType":"ExpressionStatement","src":"12962:3:33"},"nodeType":"ForStatement","src":"12923:641:33"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14125,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14123,"name":"totalShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13984,"src":"13582:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":14124,"name":"expectedInputSharesTotal","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13974,"src":"13597:24:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13582:39:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"536861726573206d7573742073756d20746f2072656d61696e696e6720627073","id":14126,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"13623:34:33","typeDescriptions":{"typeIdentifier":"t_stringliteral_f22e7c4bb1845622684725e679a5bda1eab2e47d5f75b3fde98572f2d2de165f","typeString":"literal_string \"Shares must sum to remaining bps\""},"value":"Shares must sum to remaining bps"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_f22e7c4bb1845622684725e679a5bda1eab2e47d5f75b3fde98572f2d2de165f","typeString":"literal_string \"Shares must sum to remaining bps\""}],"id":14122,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"13574:7:33","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":14127,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13574:84:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14128,"nodeType":"ExpressionStatement","src":"13574:84:33"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14131,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14129,"name":"ownerBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13968,"src":"13673:8:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":14130,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"13684:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"13673:12:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14157,"nodeType":"IfStatement","src":"13669:221:33","trueBody":{"id":14156,"nodeType":"Block","src":"13687:203:33","statements":[{"assignments":[14133],"declarations":[{"constant":false,"id":14133,"mutability":"mutable","name":"ownerIndex","nameLocation":"13709:10:33","nodeType":"VariableDeclaration","scope":14156,"src":"13701:18:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14132,"name":"uint256","nodeType":"ElementaryTypeName","src":"13701:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":14136,"initialValue":{"expression":{"id":14134,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13946,"src":"13722:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[] calldata"}},"id":14135,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"13733:6:33","memberName":"length","nodeType":"MemberAccess","src":"13722:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"13701:38:33"},{"expression":{"id":14141,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14137,"name":"fullRecipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13953,"src":"13753:14:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":14139,"indexExpression":{"id":14138,"name":"ownerIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14133,"src":"13768:10:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13753:26:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14140,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13943,"src":"13782:5:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"13753:34:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14142,"nodeType":"ExpressionStatement","src":"13753:34:33"},{"expression":{"id":14150,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14143,"name":"fullShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13956,"src":"13801:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":14145,"indexExpression":{"id":14144,"name":"ownerIndex","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14133,"src":"13812:10:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"13801:22:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":14148,"name":"ownerBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13968,"src":"13833:8:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14147,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"13826:6:33","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":14146,"name":"uint16","nodeType":"ElementaryTypeName","src":"13826:6:33","typeDescriptions":{}}},"id":14149,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13826:16:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"13801:41:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":14151,"nodeType":"ExpressionStatement","src":"13801:41:33"},{"expression":{"id":14154,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14152,"name":"totalShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13984,"src":"13856:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":14153,"name":"ownerBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13968,"src":"13871:8:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13856:23:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14155,"nodeType":"ExpressionStatement","src":"13856:23:33"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14164,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14158,"name":"totalShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":13984,"src":"13904:11:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14163,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14161,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":14159,"name":"BASIS_POINTS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12929,"src":"13919:12:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":14160,"name":"CYBERIA_DAO_SHARE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12920,"src":"13934:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13919:32:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":14162,"name":"CVE_PT_PMA_SHARE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12923,"src":"13954:16:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13919:51:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"13904:66:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14169,"nodeType":"IfStatement","src":"13900:126:33","trueBody":{"id":14168,"nodeType":"Block","src":"13972:54:33","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14165,"name":"InvalidProfileShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12906,"src":"13993:20:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14166,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"13993:22:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14167,"nodeType":"RevertStatement","src":"13986:29:33"}]}}]},"id":14171,"implemented":true,"kind":"function","modifiers":[],"name":"_buildDistribution","nameLocation":"12154:18:33","nodeType":"FunctionDefinition","parameters":{"id":13950,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13943,"mutability":"mutable","name":"owner","nameLocation":"12190:5:33","nodeType":"VariableDeclaration","scope":14171,"src":"12182:13:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13942,"name":"address","nodeType":"ElementaryTypeName","src":"12182:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":13946,"mutability":"mutable","name":"recipients","nameLocation":"12224:10:33","nodeType":"VariableDeclaration","scope":14171,"src":"12205:29:33","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_calldata_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":13944,"name":"address","nodeType":"ElementaryTypeName","src":"12205:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13945,"nodeType":"ArrayTypeName","src":"12205:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":13949,"mutability":"mutable","name":"shares","nameLocation":"12263:6:33","nodeType":"VariableDeclaration","scope":14171,"src":"12244:25:33","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_calldata_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":13947,"name":"uint256","nodeType":"ElementaryTypeName","src":"12244:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":13948,"nodeType":"ArrayTypeName","src":"12244:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"12172:103:33"},"returnParameters":{"id":13957,"nodeType":"ParameterList","parameters":[{"constant":false,"id":13953,"mutability":"mutable","name":"fullRecipients","nameLocation":"12316:14:33","nodeType":"VariableDeclaration","scope":14171,"src":"12299:31:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":13951,"name":"address","nodeType":"ElementaryTypeName","src":"12299:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":13952,"nodeType":"ArrayTypeName","src":"12299:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":13956,"mutability":"mutable","name":"fullShares","nameLocation":"12348:10:33","nodeType":"VariableDeclaration","scope":14171,"src":"12332:26:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[]"},"typeName":{"baseType":{"id":13954,"name":"uint16","nodeType":"ElementaryTypeName","src":"12332:6:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":13955,"nodeType":"ArrayTypeName","src":"12332:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}},"visibility":"internal"}],"src":"12298:61:33"},"scope":14312,"src":"12145:1887:33","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":14246,"nodeType":"Block","src":"14189:489:33","statements":[{"expression":{"id":14185,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"14199:30:33","subExpression":{"expression":{"id":14183,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14174,"src":"14206:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_367712945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":14184,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14214:15:33","memberName":"recipientShares","nodeType":"MemberAccess","referencedDeclaration":12938,"src":"14206:23:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RecipientShare_$12934_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.RecipientShare storage ref[] storage ref"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14186,"nodeType":"ExpressionStatement","src":"14199:30:33"},{"assignments":[14188],"declarations":[{"constant":false,"id":14188,"mutability":"mutable","name":"totalBps","nameLocation":"14247:8:33","nodeType":"VariableDeclaration","scope":14246,"src":"14239:16:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14187,"name":"uint256","nodeType":"ElementaryTypeName","src":"14239:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":14190,"initialValue":{"hexValue":"30","id":14189,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14258:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"14239:20:33"},{"body":{"id":14223,"nodeType":"Block","src":"14317:178:33","statements":[{"expression":{"arguments":[{"arguments":[{"baseExpression":{"id":14208,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14177,"src":"14404:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":14210,"indexExpression":{"id":14209,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14192,"src":"14415:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"14404:13:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"id":14211,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14180,"src":"14424:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":14213,"indexExpression":{"id":14212,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14192,"src":"14431:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"14424:9:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint16","typeString":"uint16"}],"id":14207,"name":"RecipientShare","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12934,"src":"14377:14:33","typeDescriptions":{"typeIdentifier":"t_type$_t_structMATH_PLACEHOLDER_368312934_storage_ptr_$","typeString":"type(struct DynamicRevenueSplitter.RecipientShare storage pointer)"}},"id":14214,"isConstant":false,"isLValue":false,"isPure":false,"kind":"structConstructorCall","lValueRequested":false,"nameLocations":["14393:9:33","14419:3:33"],"names":["recipient","bps"],"nodeType":"FunctionCall","src":"14377:58:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_struct$_RecipientShare_$12934_memory_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_368512934_memory_ptr","typeString":"struct DynamicRevenueSplitter.RecipientShare memory"}],"expression":{"expression":{"id":14202,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14174,"src":"14331:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_368612945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":14205,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"14339:15:33","memberName":"recipientShares","nodeType":"MemberAccess","referencedDeclaration":12938,"src":"14331:23:33","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RecipientShare_$12934_storage_$dyn_storage","typeString":"struct DynamicRevenueSplitter.RecipientShare storage ref[] storage ref"}},"id":14206,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14355:4:33","memberName":"push","nodeType":"MemberAccess","src":"14331:28:33","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_struct$_RecipientShare_$12934_storage_$dyn_storage_ptr_$_t_structMATH_PLACEHOLDER_369112934_storage_$returns$__$attached_to$_t_array$_t_struct$_RecipientShare_$12934_storage_$dyn_storage_ptr_$","typeString":"function (struct DynamicRevenueSplitter.RecipientShare storage ref[] storage pointer,struct DynamicRevenueSplitter.RecipientShare storage ref)"}},"id":14215,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14331:118:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14216,"nodeType":"ExpressionStatement","src":"14331:118:33"},{"expression":{"id":14221,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14217,"name":"totalBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14188,"src":"14463:8:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"baseExpression":{"id":14218,"name":"shares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14180,"src":"14475:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":14220,"indexExpression":{"id":14219,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14192,"src":"14482:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"14475:9:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"14463:21:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14222,"nodeType":"ExpressionStatement","src":"14463:21:33"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14198,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14195,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14192,"src":"14289:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":14196,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14177,"src":"14293:10:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[] memory"}},"id":14197,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14304:6:33","memberName":"length","nodeType":"MemberAccess","src":"14293:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14289:21:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14224,"initializationExpression":{"assignments":[14192],"declarations":[{"constant":false,"id":14192,"mutability":"mutable","name":"i","nameLocation":"14282:1:33","nodeType":"VariableDeclaration","scope":14224,"src":"14274:9:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14191,"name":"uint256","nodeType":"ElementaryTypeName","src":"14274:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":14194,"initialValue":{"hexValue":"30","id":14193,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14286:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"14274:13:33"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":14200,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"14312:3:33","subExpression":{"id":14199,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14192,"src":"14312:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14201,"nodeType":"ExpressionStatement","src":"14312:3:33"},"nodeType":"ForStatement","src":"14269:226:33"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14231,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14225,"name":"totalBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14188,"src":"14508:8:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14230,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14228,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"leftExpression":{"id":14226,"name":"BASIS_POINTS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12929,"src":"14520:12:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":14227,"name":"CYBERIA_DAO_SHARE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12920,"src":"14535:17:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14520:32:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"-","rightExpression":{"id":14229,"name":"CVE_PT_PMA_SHARE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12923,"src":"14555:16:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14520:51:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14508:63:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14236,"nodeType":"IfStatement","src":"14504:123:33","trueBody":{"id":14235,"nodeType":"Block","src":"14573:54:33","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14232,"name":"InvalidProfileShares","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12906,"src":"14594:20:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14233,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14594:22:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14234,"nodeType":"RevertStatement","src":"14587:29:33"}]}},{"expression":{"id":14244,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"id":14237,"name":"profile","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14174,"src":"14636:7:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_370112945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution storage pointer"}},"id":14239,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"14644:8:33","memberName":"totalBps","nodeType":"MemberAccess","referencedDeclaration":12940,"src":"14636:16:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":14242,"name":"totalBps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14188,"src":"14662:8:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14241,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"14655:6:33","typeDescriptions":{"typeIdentifier":"t_type$_t_uint16_$","typeString":"type(uint16)"},"typeName":{"id":14240,"name":"uint16","nodeType":"ElementaryTypeName","src":"14655:6:33","typeDescriptions":{}}},"id":14243,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14655:16:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"14636:35:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":14245,"nodeType":"ExpressionStatement","src":"14636:35:33"}]},"id":14247,"implemented":true,"kind":"function","modifiers":[],"name":"_setRecipientShares","nameLocation":"14047:19:33","nodeType":"FunctionDefinition","parameters":{"id":14181,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14174,"mutability":"mutable","name":"profile","nameLocation":"14097:7:33","nodeType":"VariableDeclaration","scope":14247,"src":"14076:28:33","stateVariable":false,"storageLocation":"storage","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_370312945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"},"typeName":{"id":14173,"nodeType":"UserDefinedTypeName","pathNode":{"id":14172,"name":"Distribution","nameLocations":["14076:12:33"],"nodeType":"IdentifierPath","referencedDeclaration":12945,"src":"14076:12:33"},"referencedDeclaration":12945,"src":"14076:12:33","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_370412945_storage_ptr","typeString":"struct DynamicRevenueSplitter.Distribution"}},"visibility":"internal"},{"constant":false,"id":14177,"mutability":"mutable","name":"recipients","nameLocation":"14131:10:33","nodeType":"VariableDeclaration","scope":14247,"src":"14114:27:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_memory_ptr","typeString":"address[]"},"typeName":{"baseType":{"id":14175,"name":"address","nodeType":"ElementaryTypeName","src":"14114:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14176,"nodeType":"ArrayTypeName","src":"14114:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$dyn_storage_ptr","typeString":"address[]"}},"visibility":"internal"},{"constant":false,"id":14180,"mutability":"mutable","name":"shares","nameLocation":"14167:6:33","nodeType":"VariableDeclaration","scope":14247,"src":"14151:22:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[]"},"typeName":{"baseType":{"id":14178,"name":"uint16","nodeType":"ElementaryTypeName","src":"14151:6:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":14179,"nodeType":"ArrayTypeName","src":"14151:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}},"visibility":"internal"}],"src":"14066:113:33"},"returnParameters":{"id":14182,"nodeType":"ParameterList","parameters":[],"src":"14189:0:33"},"scope":14312,"src":"14038:640:33","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":14291,"nodeType":"Block","src":"14774:184:33","statements":[{"assignments":[14260],"declarations":[{"constant":false,"id":14260,"mutability":"mutable","name":"out","nameLocation":"14801:3:33","nodeType":"VariableDeclaration","scope":14291,"src":"14784:20:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":14258,"name":"uint256","nodeType":"ElementaryTypeName","src":"14784:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14259,"nodeType":"ArrayTypeName","src":"14784:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"id":14267,"initialValue":{"arguments":[{"expression":{"id":14264,"name":"values","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14250,"src":"14821:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":14265,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14828:6:33","memberName":"length","nodeType":"MemberAccess","src":"14821:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":14263,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"NewExpression","src":"14807:13:33","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":14261,"name":"uint256","nodeType":"ElementaryTypeName","src":"14811:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14262,"nodeType":"ArrayTypeName","src":"14811:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}}},"id":14266,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"14807:28:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"nodeType":"VariableDeclarationStatement","src":"14784:51:33"},{"body":{"id":14287,"nodeType":"Block","src":"14889:43:33","statements":[{"expression":{"id":14285,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14279,"name":"out","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14260,"src":"14903:3:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"id":14281,"indexExpression":{"id":14280,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14269,"src":"14907:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"14903:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":14282,"name":"values","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14250,"src":"14912:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":14284,"indexExpression":{"id":14283,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14269,"src":"14919:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"14912:9:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"src":"14903:18:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14286,"nodeType":"ExpressionStatement","src":"14903:18:33"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":14275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14272,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14269,"src":"14865:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":14273,"name":"values","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14250,"src":"14869:6:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[] memory"}},"id":14274,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"14876:6:33","memberName":"length","nodeType":"MemberAccess","src":"14869:13:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"14865:17:33","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14288,"initializationExpression":{"assignments":[14269],"declarations":[{"constant":false,"id":14269,"mutability":"mutable","name":"i","nameLocation":"14858:1:33","nodeType":"VariableDeclaration","scope":14288,"src":"14850:9:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14268,"name":"uint256","nodeType":"ElementaryTypeName","src":"14850:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":14271,"initialValue":{"hexValue":"30","id":14270,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"14862:1:33","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"14850:13:33"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":14277,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"14884:3:33","subExpression":{"id":14276,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14269,"src":"14884:1:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14278,"nodeType":"ExpressionStatement","src":"14884:3:33"},"nodeType":"ForStatement","src":"14845:87:33"},{"expression":{"id":14289,"name":"out","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14260,"src":"14948:3:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[] memory"}},"functionReturnParameters":14255,"id":14290,"nodeType":"Return","src":"14941:10:33"}]},"id":14292,"implemented":true,"kind":"function","modifiers":[],"name":"_toUint256Array","nameLocation":"14693:15:33","nodeType":"FunctionDefinition","parameters":{"id":14251,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14250,"mutability":"mutable","name":"values","nameLocation":"14725:6:33","nodeType":"VariableDeclaration","scope":14292,"src":"14709:22:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_memory_ptr","typeString":"uint16[]"},"typeName":{"baseType":{"id":14248,"name":"uint16","nodeType":"ElementaryTypeName","src":"14709:6:33","typeDescriptions":{"typeIdentifier":"t_uint16","typeString":"uint16"}},"id":14249,"nodeType":"ArrayTypeName","src":"14709:8:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint16_$dyn_storage_ptr","typeString":"uint16[]"}},"visibility":"internal"}],"src":"14708:24:33"},"returnParameters":{"id":14255,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14254,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14292,"src":"14756:16:33","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_memory_ptr","typeString":"uint256[]"},"typeName":{"baseType":{"id":14252,"name":"uint256","nodeType":"ElementaryTypeName","src":"14756:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14253,"nodeType":"ArrayTypeName","src":"14756:9:33","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$dyn_storage_ptr","typeString":"uint256[]"}},"visibility":"internal"}],"src":"14755:18:33"},"scope":14312,"src":"14684:274:33","stateMutability":"pure","virtual":false,"visibility":"internal"},{"body":{"id":14310,"nodeType":"Block","src":"15024:100:33","statements":[{"condition":{"id":14304,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"15038:26:33","subExpression":{"arguments":[{"id":14301,"name":"to","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14294,"src":"15053:2:33","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14302,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14296,"src":"15057:6:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":14299,"name":"usdt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12917,"src":"15039:4:33","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_37251133","typeString":"contract IERC20"}},"id":14300,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"15044:8:33","memberName":"transfer","nodeType":"MemberAccess","referencedDeclaration":1100,"src":"15039:13:33","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256) external returns (bool)"}},"id":14303,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15039:25:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14309,"nodeType":"IfStatement","src":"15034:84:33","trueBody":{"id":14308,"nodeType":"Block","src":"15066:52:33","statements":[{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":14305,"name":"UsdtTransferFailed","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":12910,"src":"15087:18:33","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":14306,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"15087:20:33","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":14307,"nodeType":"RevertStatement","src":"15080:27:33"}]}}]},"id":14311,"implemented":true,"kind":"function","modifiers":[],"name":"_transferUsdt","nameLocation":"14973:13:33","nodeType":"FunctionDefinition","parameters":{"id":14297,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14294,"mutability":"mutable","name":"to","nameLocation":"14995:2:33","nodeType":"VariableDeclaration","scope":14311,"src":"14987:10:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14293,"name":"address","nodeType":"ElementaryTypeName","src":"14987:7:33","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14296,"mutability":"mutable","name":"amount","nameLocation":"15007:6:33","nodeType":"VariableDeclaration","scope":14311,"src":"14999:14:33","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14295,"name":"uint256","nodeType":"ElementaryTypeName","src":"14999:7:33","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"14986:28:33"},"returnParameters":{"id":14298,"nodeType":"ParameterList","parameters":[],"src":"15024:0:33"},"scope":14312,"src":"14964:160:33","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":14313,"src":"274:14852:33","usedErrors":[305,308,2710,12900,12904,12906,12908,12910],"usedEvents":[317,326,335,12977,12987,12993,12999,13007,13011,13018]}],"src":"32:15095:33"},"id":33},"contracts/ENSRegistry.sol":{"ast":{"absolutePath":"contracts/ENSRegistry.sol","exportedSymbols":{"ENSRegistry":[14824],"IENS":[14435]},"id":14825,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14314,"literals":["solidity","^","0.8",".28"],"nodeType":"PragmaDirective","src":"32:24:34"},{"abstract":false,"baseContracts":[],"canonicalName":"IENS","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":14435,"linearizedBaseContracts":[14435],"name":"IENS","nameLocation":"68:4:34","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"eventSelector":"ce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82","id":14322,"name":"NewOwner","nameLocation":"85:8:34","nodeType":"EventDefinition","parameters":{"id":14321,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14316,"indexed":true,"mutability":"mutable","name":"node","nameLocation":"110:4:34","nodeType":"VariableDeclaration","scope":14322,"src":"94:20:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14315,"name":"bytes32","nodeType":"ElementaryTypeName","src":"94:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14318,"indexed":true,"mutability":"mutable","name":"label","nameLocation":"132:5:34","nodeType":"VariableDeclaration","scope":14322,"src":"116:21:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14317,"name":"bytes32","nodeType":"ElementaryTypeName","src":"116:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14320,"indexed":false,"mutability":"mutable","name":"owner","nameLocation":"147:5:34","nodeType":"VariableDeclaration","scope":14322,"src":"139:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14319,"name":"address","nodeType":"ElementaryTypeName","src":"139:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"93:60:34"},"src":"79:75:34"},{"anonymous":false,"eventSelector":"d4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266","id":14328,"name":"Transfer","nameLocation":"165:8:34","nodeType":"EventDefinition","parameters":{"id":14327,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14324,"indexed":true,"mutability":"mutable","name":"node","nameLocation":"190:4:34","nodeType":"VariableDeclaration","scope":14328,"src":"174:20:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14323,"name":"bytes32","nodeType":"ElementaryTypeName","src":"174:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14326,"indexed":false,"mutability":"mutable","name":"owner","nameLocation":"204:5:34","nodeType":"VariableDeclaration","scope":14328,"src":"196:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14325,"name":"address","nodeType":"ElementaryTypeName","src":"196:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"173:37:34"},"src":"159:52:34"},{"anonymous":false,"eventSelector":"335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a0","id":14334,"name":"NewResolver","nameLocation":"222:11:34","nodeType":"EventDefinition","parameters":{"id":14333,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14330,"indexed":true,"mutability":"mutable","name":"node","nameLocation":"250:4:34","nodeType":"VariableDeclaration","scope":14334,"src":"234:20:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14329,"name":"bytes32","nodeType":"ElementaryTypeName","src":"234:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14332,"indexed":false,"mutability":"mutable","name":"resolver","nameLocation":"264:8:34","nodeType":"VariableDeclaration","scope":14334,"src":"256:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14331,"name":"address","nodeType":"ElementaryTypeName","src":"256:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"233:40:34"},"src":"216:58:34"},{"anonymous":false,"eventSelector":"1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68","id":14340,"name":"NewTTL","nameLocation":"285:6:34","nodeType":"EventDefinition","parameters":{"id":14339,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14336,"indexed":true,"mutability":"mutable","name":"node","nameLocation":"308:4:34","nodeType":"VariableDeclaration","scope":14340,"src":"292:20:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14335,"name":"bytes32","nodeType":"ElementaryTypeName","src":"292:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14338,"indexed":false,"mutability":"mutable","name":"ttl","nameLocation":"321:3:34","nodeType":"VariableDeclaration","scope":14340,"src":"314:10:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14337,"name":"uint64","nodeType":"ElementaryTypeName","src":"314:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"291:34:34"},"src":"279:47:34"},{"anonymous":false,"eventSelector":"17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31","id":14348,"name":"ApprovalForAll","nameLocation":"337:14:34","nodeType":"EventDefinition","parameters":{"id":14347,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14342,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"368:5:34","nodeType":"VariableDeclaration","scope":14348,"src":"352:21:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14341,"name":"address","nodeType":"ElementaryTypeName","src":"352:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14344,"indexed":true,"mutability":"mutable","name":"operator","nameLocation":"391:8:34","nodeType":"VariableDeclaration","scope":14348,"src":"375:24:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14343,"name":"address","nodeType":"ElementaryTypeName","src":"375:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14346,"indexed":false,"mutability":"mutable","name":"approved","nameLocation":"406:8:34","nodeType":"VariableDeclaration","scope":14348,"src":"401:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14345,"name":"bool","nodeType":"ElementaryTypeName","src":"401:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"351:64:34"},"src":"331:85:34"},{"functionSelector":"cf408823","id":14359,"implemented":false,"kind":"function","modifiers":[],"name":"setRecord","nameLocation":"431:9:34","nodeType":"FunctionDefinition","parameters":{"id":14357,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14350,"mutability":"mutable","name":"node","nameLocation":"449:4:34","nodeType":"VariableDeclaration","scope":14359,"src":"441:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14349,"name":"bytes32","nodeType":"ElementaryTypeName","src":"441:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14352,"mutability":"mutable","name":"owner","nameLocation":"463:5:34","nodeType":"VariableDeclaration","scope":14359,"src":"455:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14351,"name":"address","nodeType":"ElementaryTypeName","src":"455:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14354,"mutability":"mutable","name":"resolver","nameLocation":"478:8:34","nodeType":"VariableDeclaration","scope":14359,"src":"470:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14353,"name":"address","nodeType":"ElementaryTypeName","src":"470:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14356,"mutability":"mutable","name":"ttl","nameLocation":"495:3:34","nodeType":"VariableDeclaration","scope":14359,"src":"488:10:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14355,"name":"uint64","nodeType":"ElementaryTypeName","src":"488:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"440:59:34"},"returnParameters":{"id":14358,"nodeType":"ParameterList","parameters":[],"src":"508:0:34"},"scope":14435,"src":"422:87:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"5ef2c7f0","id":14372,"implemented":false,"kind":"function","modifiers":[],"name":"setSubnodeRecord","nameLocation":"523:16:34","nodeType":"FunctionDefinition","parameters":{"id":14370,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14361,"mutability":"mutable","name":"node","nameLocation":"548:4:34","nodeType":"VariableDeclaration","scope":14372,"src":"540:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14360,"name":"bytes32","nodeType":"ElementaryTypeName","src":"540:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14363,"mutability":"mutable","name":"label","nameLocation":"562:5:34","nodeType":"VariableDeclaration","scope":14372,"src":"554:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14362,"name":"bytes32","nodeType":"ElementaryTypeName","src":"554:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14365,"mutability":"mutable","name":"owner","nameLocation":"577:5:34","nodeType":"VariableDeclaration","scope":14372,"src":"569:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14364,"name":"address","nodeType":"ElementaryTypeName","src":"569:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14367,"mutability":"mutable","name":"resolver","nameLocation":"592:8:34","nodeType":"VariableDeclaration","scope":14372,"src":"584:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14366,"name":"address","nodeType":"ElementaryTypeName","src":"584:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14369,"mutability":"mutable","name":"ttl","nameLocation":"609:3:34","nodeType":"VariableDeclaration","scope":14372,"src":"602:10:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14368,"name":"uint64","nodeType":"ElementaryTypeName","src":"602:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"539:74:34"},"returnParameters":{"id":14371,"nodeType":"ParameterList","parameters":[],"src":"622:0:34"},"scope":14435,"src":"514:109:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"06ab5923","id":14383,"implemented":false,"kind":"function","modifiers":[],"name":"setSubnodeOwner","nameLocation":"637:15:34","nodeType":"FunctionDefinition","parameters":{"id":14379,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14374,"mutability":"mutable","name":"node","nameLocation":"661:4:34","nodeType":"VariableDeclaration","scope":14383,"src":"653:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14373,"name":"bytes32","nodeType":"ElementaryTypeName","src":"653:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14376,"mutability":"mutable","name":"label","nameLocation":"675:5:34","nodeType":"VariableDeclaration","scope":14383,"src":"667:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14375,"name":"bytes32","nodeType":"ElementaryTypeName","src":"667:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14378,"mutability":"mutable","name":"owner","nameLocation":"690:5:34","nodeType":"VariableDeclaration","scope":14383,"src":"682:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14377,"name":"address","nodeType":"ElementaryTypeName","src":"682:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"652:44:34"},"returnParameters":{"id":14382,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14381,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14383,"src":"714:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14380,"name":"bytes32","nodeType":"ElementaryTypeName","src":"714:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"713:9:34"},"scope":14435,"src":"628:95:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"1896f70a","id":14390,"implemented":false,"kind":"function","modifiers":[],"name":"setResolver","nameLocation":"737:11:34","nodeType":"FunctionDefinition","parameters":{"id":14388,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14385,"mutability":"mutable","name":"node","nameLocation":"757:4:34","nodeType":"VariableDeclaration","scope":14390,"src":"749:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14384,"name":"bytes32","nodeType":"ElementaryTypeName","src":"749:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14387,"mutability":"mutable","name":"resolver","nameLocation":"771:8:34","nodeType":"VariableDeclaration","scope":14390,"src":"763:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14386,"name":"address","nodeType":"ElementaryTypeName","src":"763:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"748:32:34"},"returnParameters":{"id":14389,"nodeType":"ParameterList","parameters":[],"src":"789:0:34"},"scope":14435,"src":"728:62:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"5b0fc9c3","id":14397,"implemented":false,"kind":"function","modifiers":[],"name":"setOwner","nameLocation":"804:8:34","nodeType":"FunctionDefinition","parameters":{"id":14395,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14392,"mutability":"mutable","name":"node","nameLocation":"821:4:34","nodeType":"VariableDeclaration","scope":14397,"src":"813:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14391,"name":"bytes32","nodeType":"ElementaryTypeName","src":"813:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14394,"mutability":"mutable","name":"owner","nameLocation":"835:5:34","nodeType":"VariableDeclaration","scope":14397,"src":"827:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14393,"name":"address","nodeType":"ElementaryTypeName","src":"827:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"812:29:34"},"returnParameters":{"id":14396,"nodeType":"ParameterList","parameters":[],"src":"850:0:34"},"scope":14435,"src":"795:56:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"a22cb465","id":14404,"implemented":false,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"865:17:34","nodeType":"FunctionDefinition","parameters":{"id":14402,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14399,"mutability":"mutable","name":"operator","nameLocation":"891:8:34","nodeType":"VariableDeclaration","scope":14404,"src":"883:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14398,"name":"address","nodeType":"ElementaryTypeName","src":"883:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14401,"mutability":"mutable","name":"approved","nameLocation":"906:8:34","nodeType":"VariableDeclaration","scope":14404,"src":"901:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14400,"name":"bool","nodeType":"ElementaryTypeName","src":"901:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"882:33:34"},"returnParameters":{"id":14403,"nodeType":"ParameterList","parameters":[],"src":"924:0:34"},"scope":14435,"src":"856:69:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"02571be3","id":14411,"implemented":false,"kind":"function","modifiers":[],"name":"owner","nameLocation":"939:5:34","nodeType":"FunctionDefinition","parameters":{"id":14407,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14406,"mutability":"mutable","name":"node","nameLocation":"953:4:34","nodeType":"VariableDeclaration","scope":14411,"src":"945:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14405,"name":"bytes32","nodeType":"ElementaryTypeName","src":"945:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"944:14:34"},"returnParameters":{"id":14410,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14409,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14411,"src":"982:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14408,"name":"address","nodeType":"ElementaryTypeName","src":"982:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"981:9:34"},"scope":14435,"src":"930:61:34","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"0178b8bf","id":14418,"implemented":false,"kind":"function","modifiers":[],"name":"resolver","nameLocation":"1005:8:34","nodeType":"FunctionDefinition","parameters":{"id":14414,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14413,"mutability":"mutable","name":"node","nameLocation":"1022:4:34","nodeType":"VariableDeclaration","scope":14418,"src":"1014:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14412,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1014:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1013:14:34"},"returnParameters":{"id":14417,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14416,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14418,"src":"1051:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14415,"name":"address","nodeType":"ElementaryTypeName","src":"1051:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1050:9:34"},"scope":14435,"src":"996:64:34","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"f79fe538","id":14425,"implemented":false,"kind":"function","modifiers":[],"name":"recordExists","nameLocation":"1074:12:34","nodeType":"FunctionDefinition","parameters":{"id":14421,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14420,"mutability":"mutable","name":"node","nameLocation":"1095:4:34","nodeType":"VariableDeclaration","scope":14425,"src":"1087:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14419,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1087:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1086:14:34"},"returnParameters":{"id":14424,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14423,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14425,"src":"1124:4:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14422,"name":"bool","nodeType":"ElementaryTypeName","src":"1124:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1123:6:34"},"scope":14435,"src":"1065:65:34","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"e985e9c5","id":14434,"implemented":false,"kind":"function","modifiers":[],"name":"isApprovedForAll","nameLocation":"1144:16:34","nodeType":"FunctionDefinition","parameters":{"id":14430,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14427,"mutability":"mutable","name":"owner","nameLocation":"1169:5:34","nodeType":"VariableDeclaration","scope":14434,"src":"1161:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14426,"name":"address","nodeType":"ElementaryTypeName","src":"1161:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14429,"mutability":"mutable","name":"operator","nameLocation":"1184:8:34","nodeType":"VariableDeclaration","scope":14434,"src":"1176:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14428,"name":"address","nodeType":"ElementaryTypeName","src":"1176:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1160:33:34"},"returnParameters":{"id":14433,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14432,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14434,"src":"1217:4:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14431,"name":"bool","nodeType":"ElementaryTypeName","src":"1217:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1216:6:34"},"scope":14435,"src":"1135:88:34","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":14825,"src":"58:1167:34","usedErrors":[],"usedEvents":[14322,14328,14334,14340,14348]},{"abstract":false,"baseContracts":[{"baseName":{"id":14436,"name":"IENS","nameLocations":["1251:4:34"],"nodeType":"IdentifierPath","referencedDeclaration":14435,"src":"1251:4:34"},"id":14437,"nodeType":"InheritanceSpecifier","src":"1251:4:34"}],"canonicalName":"ENSRegistry","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":14824,"linearizedBaseContracts":[14824,14435],"name":"ENSRegistry","nameLocation":"1236:11:34","nodeType":"ContractDefinition","nodes":[{"canonicalName":"ENSRegistry.Record","id":14444,"members":[{"constant":false,"id":14439,"mutability":"mutable","name":"owner","nameLocation":"1294:5:34","nodeType":"VariableDeclaration","scope":14444,"src":"1286:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14438,"name":"address","nodeType":"ElementaryTypeName","src":"1286:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14441,"mutability":"mutable","name":"resolver","nameLocation":"1317:8:34","nodeType":"VariableDeclaration","scope":14444,"src":"1309:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14440,"name":"address","nodeType":"ElementaryTypeName","src":"1309:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14443,"mutability":"mutable","name":"ttl","nameLocation":"1342:3:34","nodeType":"VariableDeclaration","scope":14444,"src":"1335:10:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14442,"name":"uint64","nodeType":"ElementaryTypeName","src":"1335:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"name":"Record","nameLocation":"1269:6:34","nodeType":"StructDefinition","scope":14824,"src":"1262:90:34","visibility":"public"},{"constant":false,"id":14449,"mutability":"mutable","name":"records","nameLocation":"1385:7:34","nodeType":"VariableDeclaration","scope":14824,"src":"1358:34:34","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record)"},"typeName":{"id":14448,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":14445,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1366:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"1358:26:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":14447,"nodeType":"UserDefinedTypeName","pathNode":{"id":14446,"name":"Record","nameLocations":["1377:6:34"],"nodeType":"IdentifierPath","referencedDeclaration":14444,"src":"1377:6:34"},"referencedDeclaration":14444,"src":"1377:6:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage_ptr","typeString":"struct ENSRegistry.Record"}}},"visibility":"internal"},{"constant":false,"id":14455,"mutability":"mutable","name":"operators","nameLocation":"1443:9:34","nodeType":"VariableDeclaration","scope":14824,"src":"1398:54:34","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"typeName":{"id":14454,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":14450,"name":"address","nodeType":"ElementaryTypeName","src":"1406:7:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1398:44:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":14453,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":14451,"name":"address","nodeType":"ElementaryTypeName","src":"1425:7:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1417:24:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":14452,"name":"bool","nodeType":"ElementaryTypeName","src":"1436:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}}},"visibility":"internal"},{"body":{"id":14482,"nodeType":"Block","src":"1563:163:34","statements":[{"assignments":[14460],"declarations":[{"constant":false,"id":14460,"mutability":"mutable","name":"nodeOwner","nameLocation":"1581:9:34","nodeType":"VariableDeclaration","scope":14482,"src":"1573:17:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14459,"name":"address","nodeType":"ElementaryTypeName","src":"1573:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":14465,"initialValue":{"expression":{"baseExpression":{"id":14461,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"1593:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14463,"indexExpression":{"id":14462,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14457,"src":"1601:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1593:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14464,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"1607:5:34","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":14439,"src":"1593:19:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"1573:39:34"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":14477,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14470,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14467,"name":"nodeOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14460,"src":"1630:9:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":14468,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1643:3:34","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14469,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1647:6:34","memberName":"sender","nodeType":"MemberAccess","src":"1643:10:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1630:23:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"baseExpression":{"baseExpression":{"id":14471,"name":"operators","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14455,"src":"1657:9:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":14473,"indexExpression":{"id":14472,"name":"nodeOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14460,"src":"1667:9:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1657:20:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":14476,"indexExpression":{"expression":{"id":14474,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1678:3:34","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14475,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1682:6:34","memberName":"sender","nodeType":"MemberAccess","src":"1678:10:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1657:32:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"1630:59:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e6f7420617574686f7269736564","id":14478,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1691:16:34","typeDescriptions":{"typeIdentifier":"t_stringliteral_3caca71662a4ada63e55e72fbb3599b4557ddea9bb1d606879830ca2837118a9","typeString":"literal_string \"Not authorised\""},"value":"Not authorised"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_3caca71662a4ada63e55e72fbb3599b4557ddea9bb1d606879830ca2837118a9","typeString":"literal_string \"Not authorised\""}],"id":14466,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"1622:7:34","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":14479,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1622:86:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14480,"nodeType":"ExpressionStatement","src":"1622:86:34"},{"id":14481,"nodeType":"PlaceholderStatement","src":"1718:1:34"}]},"id":14483,"name":"authorised","nameLocation":"1538:10:34","nodeType":"ModifierDefinition","parameters":{"id":14458,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14457,"mutability":"mutable","name":"node","nameLocation":"1557:4:34","nodeType":"VariableDeclaration","scope":14483,"src":"1549:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14456,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1549:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1548:14:34"},"src":"1529:197:34","virtual":false,"visibility":"internal"},{"body":{"id":14494,"nodeType":"Block","src":"1746:48:34","statements":[{"expression":{"id":14492,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":14486,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"1756:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_structMATH_PLACEHOLDER_375414444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14488,"indexExpression":{"hexValue":"307830","id":14487,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1764:3:34","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1756:12:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14489,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"1769:5:34","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":14439,"src":"1756:18:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":14490,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1777:3:34","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14491,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"1781:6:34","memberName":"sender","nodeType":"MemberAccess","src":"1777:10:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1756:31:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14493,"nodeType":"ExpressionStatement","src":"1756:31:34"}]},"id":14495,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14484,"nodeType":"ParameterList","parameters":[],"src":"1743:2:34"},"returnParameters":{"id":14485,"nodeType":"ParameterList","parameters":[],"src":"1746:0:34"},"scope":14824,"src":"1732:62:34","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[14359],"body":{"id":14521,"nodeType":"Block","src":"1913:87:34","statements":[{"expression":{"arguments":[{"id":14511,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14497,"src":"1932:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14512,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14499,"src":"1938:5:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14510,"name":"setOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14624,"src":"1923:8:34","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":14513,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1923:21:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14514,"nodeType":"ExpressionStatement","src":"1923:21:34"},{"expression":{"arguments":[{"id":14516,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14497,"src":"1973:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14517,"name":"resolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14501,"src":"1979:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14518,"name":"ttl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14503,"src":"1989:3:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint64","typeString":"uint64"}],"id":14515,"name":"_setResolverAndTTL","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14823,"src":"1954:18:34","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$_t_uint64_$returns$__$","typeString":"function (bytes32,address,uint64)"}},"id":14519,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"1954:39:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14520,"nodeType":"ExpressionStatement","src":"1954:39:34"}]},"functionSelector":"cf408823","id":14522,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14507,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14497,"src":"1907:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":14508,"kind":"modifierInvocation","modifierName":{"id":14506,"name":"authorised","nameLocations":["1896:10:34"],"nodeType":"IdentifierPath","referencedDeclaration":14483,"src":"1896:10:34"},"nodeType":"ModifierInvocation","src":"1896:16:34"}],"name":"setRecord","nameLocation":"1809:9:34","nodeType":"FunctionDefinition","overrides":{"id":14505,"nodeType":"OverrideSpecifier","overrides":[],"src":"1887:8:34"},"parameters":{"id":14504,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14497,"mutability":"mutable","name":"node","nameLocation":"1827:4:34","nodeType":"VariableDeclaration","scope":14522,"src":"1819:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14496,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1819:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14499,"mutability":"mutable","name":"owner","nameLocation":"1841:5:34","nodeType":"VariableDeclaration","scope":14522,"src":"1833:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14498,"name":"address","nodeType":"ElementaryTypeName","src":"1833:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14501,"mutability":"mutable","name":"resolver","nameLocation":"1856:8:34","nodeType":"VariableDeclaration","scope":14522,"src":"1848:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14500,"name":"address","nodeType":"ElementaryTypeName","src":"1848:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14503,"mutability":"mutable","name":"ttl","nameLocation":"1873:3:34","nodeType":"VariableDeclaration","scope":14522,"src":"1866:10:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14502,"name":"uint64","nodeType":"ElementaryTypeName","src":"1866:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"1818:59:34"},"returnParameters":{"id":14509,"nodeType":"ParameterList","parameters":[],"src":"1913:0:34"},"scope":14824,"src":"1800:200:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14372],"body":{"id":14553,"nodeType":"Block","src":"2141:122:34","statements":[{"assignments":[14540],"declarations":[{"constant":false,"id":14540,"mutability":"mutable","name":"subnode","nameLocation":"2159:7:34","nodeType":"VariableDeclaration","scope":14553,"src":"2151:15:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14539,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2151:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":14546,"initialValue":{"arguments":[{"id":14542,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14524,"src":"2185:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14543,"name":"label","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14526,"src":"2191:5:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14544,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14528,"src":"2198:5:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14541,"name":"setSubnodeOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14600,"src":"2169:15:34","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$","typeString":"function (bytes32,bytes32,address) returns (bytes32)"}},"id":14545,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2169:35:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"2151:53:34"},{"expression":{"arguments":[{"id":14548,"name":"subnode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14540,"src":"2233:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14549,"name":"resolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14530,"src":"2242:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14550,"name":"ttl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14532,"src":"2252:3:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint64","typeString":"uint64"}],"id":14547,"name":"_setResolverAndTTL","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14823,"src":"2214:18:34","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$_t_uint64_$returns$__$","typeString":"function (bytes32,address,uint64)"}},"id":14551,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2214:42:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14552,"nodeType":"ExpressionStatement","src":"2214:42:34"}]},"functionSelector":"5ef2c7f0","id":14554,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14536,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14524,"src":"2135:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":14537,"kind":"modifierInvocation","modifierName":{"id":14535,"name":"authorised","nameLocations":["2124:10:34"],"nodeType":"IdentifierPath","referencedDeclaration":14483,"src":"2124:10:34"},"nodeType":"ModifierInvocation","src":"2124:16:34"}],"name":"setSubnodeRecord","nameLocation":"2015:16:34","nodeType":"FunctionDefinition","overrides":{"id":14534,"nodeType":"OverrideSpecifier","overrides":[],"src":"2115:8:34"},"parameters":{"id":14533,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14524,"mutability":"mutable","name":"node","nameLocation":"2040:4:34","nodeType":"VariableDeclaration","scope":14554,"src":"2032:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14523,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2032:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14526,"mutability":"mutable","name":"label","nameLocation":"2054:5:34","nodeType":"VariableDeclaration","scope":14554,"src":"2046:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14525,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2046:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14528,"mutability":"mutable","name":"owner","nameLocation":"2069:5:34","nodeType":"VariableDeclaration","scope":14554,"src":"2061:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14527,"name":"address","nodeType":"ElementaryTypeName","src":"2061:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14530,"mutability":"mutable","name":"resolver","nameLocation":"2084:8:34","nodeType":"VariableDeclaration","scope":14554,"src":"2076:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14529,"name":"address","nodeType":"ElementaryTypeName","src":"2076:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14532,"mutability":"mutable","name":"ttl","nameLocation":"2101:3:34","nodeType":"VariableDeclaration","scope":14554,"src":"2094:10:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14531,"name":"uint64","nodeType":"ElementaryTypeName","src":"2094:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"2031:74:34"},"returnParameters":{"id":14538,"nodeType":"ParameterList","parameters":[],"src":"2141:0:34"},"scope":14824,"src":"2006:257:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14383],"body":{"id":14599,"nodeType":"Block","src":"2388:313:34","statements":[{"assignments":[14570],"declarations":[{"constant":false,"id":14570,"mutability":"mutable","name":"subnode","nameLocation":"2406:7:34","nodeType":"VariableDeclaration","scope":14599,"src":"2398:15:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14569,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2398:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":14578,"initialValue":{"arguments":[{"arguments":[{"id":14574,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14556,"src":"2443:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14575,"name":"label","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"2449:5:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":14572,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"2426:3:34","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":14573,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"2430:12:34","memberName":"encodePacked","nodeType":"MemberAccess","src":"2426:16:34","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":14576,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2426:29:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":14571,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"2416:9:34","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":14577,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2416:40:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"2398:58:34"},{"expression":{"id":14584,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":14579,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"2558:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14581,"indexExpression":{"id":14580,"name":"subnode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14570,"src":"2566:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2558:16:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14582,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"2575:5:34","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":14439,"src":"2558:22:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14583,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14560,"src":"2583:5:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2558:30:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14585,"nodeType":"ExpressionStatement","src":"2558:30:34"},{"eventCall":{"arguments":[{"id":14587,"name":"subnode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14570,"src":"2612:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14588,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14560,"src":"2621:5:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14586,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14328,"src":"2603:8:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":14589,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2603:24:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14590,"nodeType":"EmitStatement","src":"2598:29:34"},{"eventCall":{"arguments":[{"id":14592,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14556,"src":"2651:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14593,"name":"label","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14558,"src":"2657:5:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14594,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14560,"src":"2664:5:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14591,"name":"NewOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14322,"src":"2642:8:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,bytes32,address)"}},"id":14595,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2642:28:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14596,"nodeType":"EmitStatement","src":"2637:33:34"},{"expression":{"id":14597,"name":"subnode","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14570,"src":"2687:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":14568,"id":14598,"nodeType":"Return","src":"2680:14:34"}]},"functionSelector":"06ab5923","id":14600,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14564,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14556,"src":"2365:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":14565,"kind":"modifierInvocation","modifierName":{"id":14563,"name":"authorised","nameLocations":["2354:10:34"],"nodeType":"IdentifierPath","referencedDeclaration":14483,"src":"2354:10:34"},"nodeType":"ModifierInvocation","src":"2354:16:34"}],"name":"setSubnodeOwner","nameLocation":"2278:15:34","nodeType":"FunctionDefinition","overrides":{"id":14562,"nodeType":"OverrideSpecifier","overrides":[],"src":"2345:8:34"},"parameters":{"id":14561,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14556,"mutability":"mutable","name":"node","nameLocation":"2302:4:34","nodeType":"VariableDeclaration","scope":14600,"src":"2294:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14555,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2294:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14558,"mutability":"mutable","name":"label","nameLocation":"2316:5:34","nodeType":"VariableDeclaration","scope":14600,"src":"2308:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14557,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2308:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14560,"mutability":"mutable","name":"owner","nameLocation":"2331:5:34","nodeType":"VariableDeclaration","scope":14600,"src":"2323:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14559,"name":"address","nodeType":"ElementaryTypeName","src":"2323:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2293:44:34"},"returnParameters":{"id":14568,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14567,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14600,"src":"2379:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14566,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2379:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"2378:9:34"},"scope":14824,"src":"2269:432:34","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[14397],"body":{"id":14623,"nodeType":"Block","src":"2787:80:34","statements":[{"eventCall":{"arguments":[{"id":14612,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14602,"src":"2811:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14613,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14604,"src":"2817:5:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14611,"name":"Transfer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14328,"src":"2802:8:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":14614,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2802:21:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14615,"nodeType":"EmitStatement","src":"2797:26:34"},{"expression":{"id":14621,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":14616,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"2833:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_structMATH_PLACEHOLDER_378914444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14618,"indexExpression":{"id":14617,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14602,"src":"2841:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2833:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14619,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"2847:5:34","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":14439,"src":"2833:19:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14620,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14604,"src":"2855:5:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2833:27:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14622,"nodeType":"ExpressionStatement","src":"2833:27:34"}]},"functionSelector":"5b0fc9c3","id":14624,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14608,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14602,"src":"2781:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":14609,"kind":"modifierInvocation","modifierName":{"id":14607,"name":"authorised","nameLocations":["2770:10:34"],"nodeType":"IdentifierPath","referencedDeclaration":14483,"src":"2770:10:34"},"nodeType":"ModifierInvocation","src":"2770:16:34"}],"name":"setOwner","nameLocation":"2716:8:34","nodeType":"FunctionDefinition","overrides":{"id":14606,"nodeType":"OverrideSpecifier","overrides":[],"src":"2761:8:34"},"parameters":{"id":14605,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14602,"mutability":"mutable","name":"node","nameLocation":"2733:4:34","nodeType":"VariableDeclaration","scope":14624,"src":"2725:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14601,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2725:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14604,"mutability":"mutable","name":"owner","nameLocation":"2747:5:34","nodeType":"VariableDeclaration","scope":14624,"src":"2739:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14603,"name":"address","nodeType":"ElementaryTypeName","src":"2739:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2724:29:34"},"returnParameters":{"id":14610,"nodeType":"ParameterList","parameters":[],"src":"2787:0:34"},"scope":14824,"src":"2707:160:34","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[14390],"body":{"id":14647,"nodeType":"Block","src":"2961:92:34","statements":[{"eventCall":{"arguments":[{"id":14636,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14626,"src":"2988:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14637,"name":"resolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14628,"src":"2994:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14635,"name":"NewResolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14334,"src":"2976:11:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":14638,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2976:27:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14639,"nodeType":"EmitStatement","src":"2971:32:34"},{"expression":{"id":14645,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":14640,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"3013:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14642,"indexExpression":{"id":14641,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14626,"src":"3021:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3013:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14643,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"3027:8:34","memberName":"resolver","nodeType":"MemberAccess","referencedDeclaration":14441,"src":"3013:22:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14644,"name":"resolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14628,"src":"3038:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3013:33:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14646,"nodeType":"ExpressionStatement","src":"3013:33:34"}]},"functionSelector":"1896f70a","id":14648,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14632,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14626,"src":"2955:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":14633,"kind":"modifierInvocation","modifierName":{"id":14631,"name":"authorised","nameLocations":["2944:10:34"],"nodeType":"IdentifierPath","referencedDeclaration":14483,"src":"2944:10:34"},"nodeType":"ModifierInvocation","src":"2944:16:34"}],"name":"setResolver","nameLocation":"2882:11:34","nodeType":"FunctionDefinition","overrides":{"id":14630,"nodeType":"OverrideSpecifier","overrides":[],"src":"2935:8:34"},"parameters":{"id":14629,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14626,"mutability":"mutable","name":"node","nameLocation":"2902:4:34","nodeType":"VariableDeclaration","scope":14648,"src":"2894:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14625,"name":"bytes32","nodeType":"ElementaryTypeName","src":"2894:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14628,"mutability":"mutable","name":"resolver","nameLocation":"2916:8:34","nodeType":"VariableDeclaration","scope":14648,"src":"2908:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14627,"name":"address","nodeType":"ElementaryTypeName","src":"2908:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2893:32:34"},"returnParameters":{"id":14634,"nodeType":"ParameterList","parameters":[],"src":"2961:0:34"},"scope":14824,"src":"2873:180:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":14670,"nodeType":"Block","src":"3127:72:34","statements":[{"eventCall":{"arguments":[{"id":14659,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14650,"src":"3149:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14660,"name":"ttl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14652,"src":"3155:3:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint64","typeString":"uint64"}],"id":14658,"name":"NewTTL","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14340,"src":"3142:6:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_uint64_$returns$__$","typeString":"function (bytes32,uint64)"}},"id":14661,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3142:17:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14662,"nodeType":"EmitStatement","src":"3137:22:34"},{"expression":{"id":14668,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":14663,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"3169:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14665,"indexExpression":{"id":14664,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14650,"src":"3177:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3169:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14666,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"3183:3:34","memberName":"ttl","nodeType":"MemberAccess","referencedDeclaration":14443,"src":"3169:17:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14667,"name":"ttl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14652,"src":"3189:3:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"src":"3169:23:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"id":14669,"nodeType":"ExpressionStatement","src":"3169:23:34"}]},"functionSelector":"14ab9038","id":14671,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14655,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14650,"src":"3121:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":14656,"kind":"modifierInvocation","modifierName":{"id":14654,"name":"authorised","nameLocations":["3110:10:34"],"nodeType":"IdentifierPath","referencedDeclaration":14483,"src":"3110:10:34"},"nodeType":"ModifierInvocation","src":"3110:16:34"}],"name":"setTTL","nameLocation":"3068:6:34","nodeType":"FunctionDefinition","parameters":{"id":14653,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14650,"mutability":"mutable","name":"node","nameLocation":"3083:4:34","nodeType":"VariableDeclaration","scope":14671,"src":"3075:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14649,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3075:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14652,"mutability":"mutable","name":"ttl","nameLocation":"3096:3:34","nodeType":"VariableDeclaration","scope":14671,"src":"3089:10:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14651,"name":"uint64","nodeType":"ElementaryTypeName","src":"3089:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"3074:26:34"},"returnParameters":{"id":14657,"nodeType":"ParameterList","parameters":[],"src":"3127:0:34"},"scope":14824,"src":"3059:140:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14404],"body":{"id":14695,"nodeType":"Block","src":"3283:120:34","statements":[{"expression":{"id":14686,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"baseExpression":{"id":14679,"name":"operators","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14455,"src":"3293:9:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":14683,"indexExpression":{"expression":{"id":14680,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3303:3:34","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14681,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3307:6:34","memberName":"sender","nodeType":"MemberAccess","src":"3303:10:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3293:21:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":14684,"indexExpression":{"id":14682,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14673,"src":"3315:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"3293:31:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14685,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14675,"src":"3327:8:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3293:42:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14687,"nodeType":"ExpressionStatement","src":"3293:42:34"},{"eventCall":{"arguments":[{"expression":{"id":14689,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"3365:3:34","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14690,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3369:6:34","memberName":"sender","nodeType":"MemberAccess","src":"3365:10:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14691,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14673,"src":"3377:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":14692,"name":"approved","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14675,"src":"3387:8:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":14688,"name":"ApprovalForAll","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14348,"src":"3350:14:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$","typeString":"function (address,address,bool)"}},"id":14693,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3350:46:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14694,"nodeType":"EmitStatement","src":"3345:51:34"}]},"functionSelector":"a22cb465","id":14696,"implemented":true,"kind":"function","modifiers":[],"name":"setApprovalForAll","nameLocation":"3214:17:34","nodeType":"FunctionDefinition","overrides":{"id":14677,"nodeType":"OverrideSpecifier","overrides":[],"src":"3274:8:34"},"parameters":{"id":14676,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14673,"mutability":"mutable","name":"operator","nameLocation":"3240:8:34","nodeType":"VariableDeclaration","scope":14696,"src":"3232:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14672,"name":"address","nodeType":"ElementaryTypeName","src":"3232:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14675,"mutability":"mutable","name":"approved","nameLocation":"3255:8:34","nodeType":"VariableDeclaration","scope":14696,"src":"3250:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14674,"name":"bool","nodeType":"ElementaryTypeName","src":"3250:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3231:33:34"},"returnParameters":{"id":14678,"nodeType":"ParameterList","parameters":[],"src":"3283:0:34"},"scope":14824,"src":"3205:198:34","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14411],"body":{"id":14709,"nodeType":"Block","src":"3479:43:34","statements":[{"expression":{"expression":{"baseExpression":{"id":14704,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"3496:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14706,"indexExpression":{"id":14705,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14698,"src":"3504:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3496:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14707,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3510:5:34","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":14439,"src":"3496:19:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":14703,"id":14708,"nodeType":"Return","src":"3489:26:34"}]},"functionSelector":"02571be3","id":14710,"implemented":true,"kind":"function","modifiers":[],"name":"owner","nameLocation":"3418:5:34","nodeType":"FunctionDefinition","overrides":{"id":14700,"nodeType":"OverrideSpecifier","overrides":[],"src":"3452:8:34"},"parameters":{"id":14699,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14698,"mutability":"mutable","name":"node","nameLocation":"3432:4:34","nodeType":"VariableDeclaration","scope":14710,"src":"3424:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14697,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3424:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3423:14:34"},"returnParameters":{"id":14703,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14702,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14710,"src":"3470:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14701,"name":"address","nodeType":"ElementaryTypeName","src":"3470:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3469:9:34"},"scope":14824,"src":"3409:113:34","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[14418],"body":{"id":14723,"nodeType":"Block","src":"3601:46:34","statements":[{"expression":{"expression":{"baseExpression":{"id":14718,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"3618:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_structMATH_PLACEHOLDER_381514444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14720,"indexExpression":{"id":14719,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14712,"src":"3626:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3618:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14721,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3632:8:34","memberName":"resolver","nodeType":"MemberAccess","referencedDeclaration":14441,"src":"3618:22:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":14717,"id":14722,"nodeType":"Return","src":"3611:29:34"}]},"functionSelector":"0178b8bf","id":14724,"implemented":true,"kind":"function","modifiers":[],"name":"resolver","nameLocation":"3537:8:34","nodeType":"FunctionDefinition","overrides":{"id":14714,"nodeType":"OverrideSpecifier","overrides":[],"src":"3574:8:34"},"parameters":{"id":14713,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14712,"mutability":"mutable","name":"node","nameLocation":"3554:4:34","nodeType":"VariableDeclaration","scope":14724,"src":"3546:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14711,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3546:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3545:14:34"},"returnParameters":{"id":14717,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14716,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14724,"src":"3592:7:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14715,"name":"address","nodeType":"ElementaryTypeName","src":"3592:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3591:9:34"},"scope":14824,"src":"3528:119:34","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":14736,"nodeType":"Block","src":"3711:41:34","statements":[{"expression":{"expression":{"baseExpression":{"id":14731,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"3728:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_structMATH_PLACEHOLDER_381814444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14733,"indexExpression":{"id":14732,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14726,"src":"3736:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3728:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14734,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3742:3:34","memberName":"ttl","nodeType":"MemberAccess","referencedDeclaration":14443,"src":"3728:17:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"functionReturnParameters":14730,"id":14735,"nodeType":"Return","src":"3721:24:34"}]},"functionSelector":"16a25cbd","id":14737,"implemented":true,"kind":"function","modifiers":[],"name":"ttl","nameLocation":"3662:3:34","nodeType":"FunctionDefinition","parameters":{"id":14727,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14726,"mutability":"mutable","name":"node","nameLocation":"3674:4:34","nodeType":"VariableDeclaration","scope":14737,"src":"3666:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14725,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3666:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3665:14:34"},"returnParameters":{"id":14730,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14729,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14737,"src":"3703:6:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14728,"name":"uint64","nodeType":"ElementaryTypeName","src":"3703:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"3702:8:34"},"scope":14824,"src":"3653:99:34","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[14425],"body":{"id":14755,"nodeType":"Block","src":"3832:59:34","statements":[{"expression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14753,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":14745,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"3849:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_structMATH_PLACEHOLDER_382114444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14747,"indexExpression":{"id":14746,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14739,"src":"3857:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3849:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14748,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"3863:5:34","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":14439,"src":"3849:19:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"307830","id":14751,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3880:3:34","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0x0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":14750,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3872:7:34","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":14749,"name":"address","nodeType":"ElementaryTypeName","src":"3872:7:34","typeDescriptions":{}}},"id":14752,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3872:12:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3849:35:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":14744,"id":14754,"nodeType":"Return","src":"3842:42:34"}]},"functionSelector":"f79fe538","id":14756,"implemented":true,"kind":"function","modifiers":[],"name":"recordExists","nameLocation":"3767:12:34","nodeType":"FunctionDefinition","overrides":{"id":14741,"nodeType":"OverrideSpecifier","overrides":[],"src":"3808:8:34"},"parameters":{"id":14740,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14739,"mutability":"mutable","name":"node","nameLocation":"3788:4:34","nodeType":"VariableDeclaration","scope":14756,"src":"3780:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14738,"name":"bytes32","nodeType":"ElementaryTypeName","src":"3780:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"3779:14:34"},"returnParameters":{"id":14744,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14743,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14756,"src":"3826:4:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14742,"name":"bool","nodeType":"ElementaryTypeName","src":"3826:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3825:6:34"},"scope":14824,"src":"3758:133:34","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[14434],"body":{"id":14772,"nodeType":"Block","src":"3994:50:34","statements":[{"expression":{"baseExpression":{"baseExpression":{"id":14766,"name":"operators","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14455,"src":"4011:9:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$","typeString":"mapping(address => mapping(address => bool))"}},"id":14768,"indexExpression":{"id":14767,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14758,"src":"4021:5:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4011:16:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_bool_$","typeString":"mapping(address => bool)"}},"id":14770,"indexExpression":{"id":14769,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14760,"src":"4028:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4011:26:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":14765,"id":14771,"nodeType":"Return","src":"4004:33:34"}]},"functionSelector":"e985e9c5","id":14773,"implemented":true,"kind":"function","modifiers":[],"name":"isApprovedForAll","nameLocation":"3906:16:34","nodeType":"FunctionDefinition","overrides":{"id":14762,"nodeType":"OverrideSpecifier","overrides":[],"src":"3970:8:34"},"parameters":{"id":14761,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14758,"mutability":"mutable","name":"owner","nameLocation":"3931:5:34","nodeType":"VariableDeclaration","scope":14773,"src":"3923:13:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14757,"name":"address","nodeType":"ElementaryTypeName","src":"3923:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14760,"mutability":"mutable","name":"operator","nameLocation":"3946:8:34","nodeType":"VariableDeclaration","scope":14773,"src":"3938:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14759,"name":"address","nodeType":"ElementaryTypeName","src":"3938:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3922:33:34"},"returnParameters":{"id":14765,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14764,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14773,"src":"3988:4:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14763,"name":"bool","nodeType":"ElementaryTypeName","src":"3988:4:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3987:6:34"},"scope":14824,"src":"3897:147:34","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":14822,"nodeType":"Block","src":"4131:281:34","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14787,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14782,"name":"resolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14777,"src":"4144:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"baseExpression":{"id":14783,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"4156:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14785,"indexExpression":{"id":14784,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14775,"src":"4164:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4156:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14786,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4170:8:34","memberName":"resolver","nodeType":"MemberAccess","referencedDeclaration":14441,"src":"4156:22:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4144:34:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14801,"nodeType":"IfStatement","src":"4141:143:34","trueBody":{"id":14800,"nodeType":"Block","src":"4180:104:34","statements":[{"expression":{"id":14793,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":14788,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"4194:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_structMATH_PLACEHOLDER_383214444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14790,"indexExpression":{"id":14789,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14775,"src":"4202:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4194:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14791,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4208:8:34","memberName":"resolver","nodeType":"MemberAccess","referencedDeclaration":14441,"src":"4194:22:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14792,"name":"resolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14777,"src":"4219:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4194:33:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14794,"nodeType":"ExpressionStatement","src":"4194:33:34"},{"eventCall":{"arguments":[{"id":14796,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14775,"src":"4258:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14797,"name":"resolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14777,"src":"4264:8:34","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":14795,"name":"NewResolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14334,"src":"4246:11:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$","typeString":"function (bytes32,address)"}},"id":14798,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4246:27:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14799,"nodeType":"EmitStatement","src":"4241:32:34"}]}},{"condition":{"commonType":{"typeIdentifier":"t_uint64","typeString":"uint64"},"id":14807,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":14802,"name":"ttl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14779,"src":"4296:3:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"expression":{"baseExpression":{"id":14803,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"4303:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_struct$_Record_$14444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14805,"indexExpression":{"id":14804,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14775,"src":"4311:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4303:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14806,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"4317:3:34","memberName":"ttl","nodeType":"MemberAccess","referencedDeclaration":14443,"src":"4303:17:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"src":"4296:24:34","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":14821,"nodeType":"IfStatement","src":"4293:113:34","trueBody":{"id":14820,"nodeType":"Block","src":"4322:84:34","statements":[{"expression":{"id":14813,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"expression":{"baseExpression":{"id":14808,"name":"records","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14449,"src":"4336:7:34","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_structMATH_PLACEHOLDER_384114444_storage_$","typeString":"mapping(bytes32 => struct ENSRegistry.Record storage ref)"}},"id":14810,"indexExpression":{"id":14809,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14775,"src":"4344:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4336:13:34","typeDescriptions":{"typeIdentifier":"t_struct$_Record_$14444_storage","typeString":"struct ENSRegistry.Record storage ref"}},"id":14811,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"memberLocation":"4350:3:34","memberName":"ttl","nodeType":"MemberAccess","referencedDeclaration":14443,"src":"4336:17:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14812,"name":"ttl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14779,"src":"4356:3:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"src":"4336:23:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"id":14814,"nodeType":"ExpressionStatement","src":"4336:23:34"},{"eventCall":{"arguments":[{"id":14816,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14775,"src":"4385:4:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":14817,"name":"ttl","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14779,"src":"4391:3:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_uint64","typeString":"uint64"}],"id":14815,"name":"NewTTL","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14340,"src":"4378:6:34","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_bytes32_$_t_uint64_$returns$__$","typeString":"function (bytes32,uint64)"}},"id":14818,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4378:17:34","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14819,"nodeType":"EmitStatement","src":"4373:22:34"}]}}]},"id":14823,"implemented":true,"kind":"function","modifiers":[],"name":"_setResolverAndTTL","nameLocation":"4059:18:34","nodeType":"FunctionDefinition","parameters":{"id":14780,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14775,"mutability":"mutable","name":"node","nameLocation":"4086:4:34","nodeType":"VariableDeclaration","scope":14823,"src":"4078:12:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14774,"name":"bytes32","nodeType":"ElementaryTypeName","src":"4078:7:34","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14777,"mutability":"mutable","name":"resolver","nameLocation":"4100:8:34","nodeType":"VariableDeclaration","scope":14823,"src":"4092:16:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14776,"name":"address","nodeType":"ElementaryTypeName","src":"4092:7:34","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14779,"mutability":"mutable","name":"ttl","nameLocation":"4117:3:34","nodeType":"VariableDeclaration","scope":14823,"src":"4110:10:34","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"},"typeName":{"id":14778,"name":"uint64","nodeType":"ElementaryTypeName","src":"4110:6:34","typeDescriptions":{"typeIdentifier":"t_uint64","typeString":"uint64"}},"visibility":"internal"}],"src":"4077:44:34"},"returnParameters":{"id":14781,"nodeType":"ParameterList","parameters":[],"src":"4131:0:34"},"scope":14824,"src":"4050:362:34","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":14825,"src":"1227:3187:34","usedErrors":[],"usedEvents":[14322,14328,14334,14340,14348]}],"src":"32:4383:34"},"id":34},"contracts/IDynamicRevenueSplitter.sol":{"ast":{"absolutePath":"contracts/IDynamicRevenueSplitter.sol","exportedSymbols":{"IDynamicRevenueSplitter":[14870]},"id":14871,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14826,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"32:23:35"},{"abstract":false,"baseContracts":[],"canonicalName":"IDynamicRevenueSplitter","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":14870,"linearizedBaseContracts":[14870],"name":"IDynamicRevenueSplitter","nameLocation":"67:23:35","nodeType":"ContractDefinition","nodes":[{"functionSelector":"4ae699ef","id":14833,"implemented":false,"kind":"function","modifiers":[],"name":"distributeRevenue","nameLocation":"106:17:35","nodeType":"FunctionDefinition","parameters":{"id":14831,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14828,"mutability":"mutable","name":"amount","nameLocation":"132:6:35","nodeType":"VariableDeclaration","scope":14833,"src":"124:14:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14827,"name":"uint256","nodeType":"ElementaryTypeName","src":"124:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14830,"mutability":"mutable","name":"eventId","nameLocation":"148:7:35","nodeType":"VariableDeclaration","scope":14833,"src":"140:15:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14829,"name":"uint256","nodeType":"ElementaryTypeName","src":"140:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"123:33:35"},"returnParameters":{"id":14832,"nodeType":"ParameterList","parameters":[],"src":"165:0:35"},"scope":14870,"src":"97:69:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"19cd00c8","id":14840,"implemented":false,"kind":"function","modifiers":[],"name":"setEventProfile","nameLocation":"180:15:35","nodeType":"FunctionDefinition","parameters":{"id":14838,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14835,"mutability":"mutable","name":"eventId","nameLocation":"204:7:35","nodeType":"VariableDeclaration","scope":14840,"src":"196:15:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14834,"name":"uint256","nodeType":"ElementaryTypeName","src":"196:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14837,"mutability":"mutable","name":"profileId","nameLocation":"221:9:35","nodeType":"VariableDeclaration","scope":14840,"src":"213:17:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14836,"name":"uint256","nodeType":"ElementaryTypeName","src":"213:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"195:36:35"},"returnParameters":{"id":14839,"nodeType":"ParameterList","parameters":[],"src":"240:0:35"},"scope":14870,"src":"171:70:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"2b726b6a","id":14849,"implemented":false,"kind":"function","modifiers":[],"name":"isProfileOwner","nameLocation":"255:14:35","nodeType":"FunctionDefinition","parameters":{"id":14845,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14842,"mutability":"mutable","name":"profileId","nameLocation":"278:9:35","nodeType":"VariableDeclaration","scope":14849,"src":"270:17:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14841,"name":"uint256","nodeType":"ElementaryTypeName","src":"270:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":14844,"mutability":"mutable","name":"account","nameLocation":"297:7:35","nodeType":"VariableDeclaration","scope":14849,"src":"289:15:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14843,"name":"address","nodeType":"ElementaryTypeName","src":"289:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"269:36:35"},"returnParameters":{"id":14848,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14847,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14849,"src":"329:4:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":14846,"name":"bool","nodeType":"ElementaryTypeName","src":"329:4:35","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"328:6:35"},"scope":14870,"src":"246:89:35","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"9137c48a","id":14856,"implemented":false,"kind":"function","modifiers":[],"name":"transferAllProfiles","nameLocation":"349:19:35","nodeType":"FunctionDefinition","parameters":{"id":14854,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14851,"mutability":"mutable","name":"from","nameLocation":"377:4:35","nodeType":"VariableDeclaration","scope":14856,"src":"369:12:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14850,"name":"address","nodeType":"ElementaryTypeName","src":"369:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14853,"mutability":"mutable","name":"to","nameLocation":"391:2:35","nodeType":"VariableDeclaration","scope":14856,"src":"383:10:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14852,"name":"address","nodeType":"ElementaryTypeName","src":"383:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"368:26:35"},"returnParameters":{"id":14855,"nodeType":"ParameterList","parameters":[],"src":"403:0:35"},"scope":14870,"src":"340:64:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"596fd76e","id":14861,"implemented":false,"kind":"function","modifiers":[],"name":"setEventManager","nameLocation":"418:15:35","nodeType":"FunctionDefinition","parameters":{"id":14859,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14858,"mutability":"mutable","name":"_eventManager","nameLocation":"442:13:35","nodeType":"VariableDeclaration","scope":14861,"src":"434:21:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14857,"name":"address","nodeType":"ElementaryTypeName","src":"434:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"433:23:35"},"returnParameters":{"id":14860,"nodeType":"ParameterList","parameters":[],"src":"465:0:35"},"scope":14870,"src":"409:57:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":14862,"nodeType":"StructuredDocumentation","src":"476:419:35","text":" @notice Grants PROFILE_MANAGER_ROLE to an account with a specified bps share\n @param account The address to grant the role to\n @param bps The basis points (0-8500) this account receives from each distribution.\n Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before \n profile recipients. Account cannot add themselves to distribution profiles."},"functionSelector":"593f8c25","id":14869,"implemented":false,"kind":"function","modifiers":[],"name":"grantProfileManager","nameLocation":"909:19:35","nodeType":"FunctionDefinition","parameters":{"id":14867,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14864,"mutability":"mutable","name":"account","nameLocation":"937:7:35","nodeType":"VariableDeclaration","scope":14869,"src":"929:15:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14863,"name":"address","nodeType":"ElementaryTypeName","src":"929:7:35","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14866,"mutability":"mutable","name":"bps","nameLocation":"954:3:35","nodeType":"VariableDeclaration","scope":14869,"src":"946:11:35","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14865,"name":"uint256","nodeType":"ElementaryTypeName","src":"946:7:35","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"928:30:35"},"returnParameters":{"id":14868,"nodeType":"ParameterList","parameters":[],"src":"967:0:35"},"scope":14870,"src":"900:68:35","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":14871,"src":"57:913:35","usedErrors":[],"usedEvents":[]}],"src":"32:939:35"},"id":35},"contracts/IReferralRewards.sol":{"ast":{"absolutePath":"contracts/IReferralRewards.sol","exportedSymbols":{"IReferralRewards":[14893]},"id":14894,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14872,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"32:23:36"},{"abstract":false,"baseContracts":[],"canonicalName":"IReferralRewards","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":14893,"linearizedBaseContracts":[14893],"name":"IReferralRewards","nameLocation":"67:16:36","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":14873,"nodeType":"StructuredDocumentation","src":"90:369:36","text":"@notice Process a purchase for `referee` with an optional `referrer` hint.\n @dev Must be called by the configured operator (EventManager).\n @return recipients Up to 3 upline addresses (level 1..3). Missing levels are zero-address.\n @return bonuses Per-level bonus amounts (aligned with `recipients`).\n @return totalPaid Sum of `bonuses`."},"functionSelector":"e696d10d","id":14892,"implemented":false,"kind":"function","modifiers":[],"name":"processPurchase","nameLocation":"473:15:36","nodeType":"FunctionDefinition","parameters":{"id":14880,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14875,"mutability":"mutable","name":"referee","nameLocation":"506:7:36","nodeType":"VariableDeclaration","scope":14892,"src":"498:15:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14874,"name":"address","nodeType":"ElementaryTypeName","src":"498:7:36","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14877,"mutability":"mutable","name":"referrer","nameLocation":"531:8:36","nodeType":"VariableDeclaration","scope":14892,"src":"523:16:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14876,"name":"address","nodeType":"ElementaryTypeName","src":"523:7:36","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14879,"mutability":"mutable","name":"amount","nameLocation":"557:6:36","nodeType":"VariableDeclaration","scope":14892,"src":"549:14:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14878,"name":"uint256","nodeType":"ElementaryTypeName","src":"549:7:36","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"488:81:36"},"returnParameters":{"id":14891,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14884,"mutability":"mutable","name":"recipients","nameLocation":"635:10:36","nodeType":"VariableDeclaration","scope":14892,"src":"617:28:36","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_memory_ptr","typeString":"address[3]"},"typeName":{"baseType":{"id":14881,"name":"address","nodeType":"ElementaryTypeName","src":"617:7:36","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14883,"length":{"hexValue":"33","id":14882,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"625:1:36","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"617:10:36","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_38473_storage_ptr","typeString":"address[3]"}},"visibility":"internal"},{"constant":false,"id":14888,"mutability":"mutable","name":"bonuses","nameLocation":"677:7:36","nodeType":"VariableDeclaration","scope":14892,"src":"659:25:36","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_38483_memory_ptr","typeString":"uint256[3]"},"typeName":{"baseType":{"id":14885,"name":"uint256","nodeType":"ElementaryTypeName","src":"659:7:36","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":14887,"length":{"hexValue":"33","id":14886,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"667:1:36","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"659:10:36","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_38493_storage_ptr","typeString":"uint256[3]"}},"visibility":"internal"},{"constant":false,"id":14890,"mutability":"mutable","name":"totalPaid","nameLocation":"706:9:36","nodeType":"VariableDeclaration","scope":14892,"src":"698:17:36","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":14889,"name":"uint256","nodeType":"ElementaryTypeName","src":"698:7:36","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"603:122:36"},"scope":14893,"src":"464:262:36","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":14894,"src":"57:671:36","usedErrors":[],"usedEvents":[]}],"src":"32:698:36"},"id":36},"contracts/PublicResolver.sol":{"ast":{"absolutePath":"contracts/PublicResolver.sol","exportedSymbols":{"IENS":[14910],"IResolver":[14939],"PublicResolver":[15043]},"id":15044,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":14895,"literals":["solidity","^","0.8",".28"],"nodeType":"PragmaDirective","src":"32:24:37"},{"abstract":false,"baseContracts":[],"canonicalName":"IENS","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":14910,"linearizedBaseContracts":[14910],"name":"IENS","nameLocation":"68:4:37","nodeType":"ContractDefinition","nodes":[{"functionSelector":"02571be3","id":14902,"implemented":false,"kind":"function","modifiers":[],"name":"owner","nameLocation":"88:5:37","nodeType":"FunctionDefinition","parameters":{"id":14898,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14897,"mutability":"mutable","name":"node","nameLocation":"102:4:37","nodeType":"VariableDeclaration","scope":14902,"src":"94:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14896,"name":"bytes32","nodeType":"ElementaryTypeName","src":"94:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"93:14:37"},"returnParameters":{"id":14901,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14900,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14902,"src":"131:7:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14899,"name":"address","nodeType":"ElementaryTypeName","src":"131:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"130:9:37"},"scope":14910,"src":"79:61:37","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"0178b8bf","id":14909,"implemented":false,"kind":"function","modifiers":[],"name":"resolver","nameLocation":"154:8:37","nodeType":"FunctionDefinition","parameters":{"id":14905,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14904,"mutability":"mutable","name":"node","nameLocation":"171:4:37","nodeType":"VariableDeclaration","scope":14909,"src":"163:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14903,"name":"bytes32","nodeType":"ElementaryTypeName","src":"163:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"162:14:37"},"returnParameters":{"id":14908,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14907,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14909,"src":"200:7:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14906,"name":"address","nodeType":"ElementaryTypeName","src":"200:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"199:9:37"},"scope":14910,"src":"145:64:37","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15044,"src":"58:153:37","usedErrors":[],"usedEvents":[]},{"abstract":false,"baseContracts":[],"canonicalName":"IResolver","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":14939,"linearizedBaseContracts":[14939],"name":"IResolver","nameLocation":"223:9:37","nodeType":"ContractDefinition","nodes":[{"functionSelector":"d5fa2b00","id":14917,"implemented":false,"kind":"function","modifiers":[],"name":"setAddr","nameLocation":"248:7:37","nodeType":"FunctionDefinition","parameters":{"id":14915,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14912,"mutability":"mutable","name":"node","nameLocation":"264:4:37","nodeType":"VariableDeclaration","scope":14917,"src":"256:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14911,"name":"bytes32","nodeType":"ElementaryTypeName","src":"256:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14914,"mutability":"mutable","name":"addr","nameLocation":"278:4:37","nodeType":"VariableDeclaration","scope":14917,"src":"270:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14913,"name":"address","nodeType":"ElementaryTypeName","src":"270:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"255:28:37"},"returnParameters":{"id":14916,"nodeType":"ParameterList","parameters":[],"src":"292:0:37"},"scope":14939,"src":"239:54:37","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"3b3b57de","id":14924,"implemented":false,"kind":"function","modifiers":[],"name":"addr","nameLocation":"307:4:37","nodeType":"FunctionDefinition","parameters":{"id":14920,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14919,"mutability":"mutable","name":"node","nameLocation":"320:4:37","nodeType":"VariableDeclaration","scope":14924,"src":"312:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14918,"name":"bytes32","nodeType":"ElementaryTypeName","src":"312:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"311:14:37"},"returnParameters":{"id":14923,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14922,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14924,"src":"349:7:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14921,"name":"address","nodeType":"ElementaryTypeName","src":"349:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"348:9:37"},"scope":14939,"src":"298:60:37","stateMutability":"view","virtual":false,"visibility":"external"},{"functionSelector":"77372213","id":14931,"implemented":false,"kind":"function","modifiers":[],"name":"setName","nameLocation":"372:7:37","nodeType":"FunctionDefinition","parameters":{"id":14929,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14926,"mutability":"mutable","name":"node","nameLocation":"388:4:37","nodeType":"VariableDeclaration","scope":14931,"src":"380:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14925,"name":"bytes32","nodeType":"ElementaryTypeName","src":"380:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14928,"mutability":"mutable","name":"name","nameLocation":"410:4:37","nodeType":"VariableDeclaration","scope":14931,"src":"394:20:37","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":14927,"name":"string","nodeType":"ElementaryTypeName","src":"394:6:37","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"379:36:37"},"returnParameters":{"id":14930,"nodeType":"ParameterList","parameters":[],"src":"424:0:37"},"scope":14939,"src":"363:62:37","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"691f3431","id":14938,"implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"439:4:37","nodeType":"FunctionDefinition","parameters":{"id":14934,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14933,"mutability":"mutable","name":"node","nameLocation":"452:4:37","nodeType":"VariableDeclaration","scope":14938,"src":"444:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14932,"name":"bytes32","nodeType":"ElementaryTypeName","src":"444:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"443:14:37"},"returnParameters":{"id":14937,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14936,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":14938,"src":"481:13:37","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":14935,"name":"string","nodeType":"ElementaryTypeName","src":"481:6:37","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"480:15:37"},"scope":14939,"src":"430:66:37","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15044,"src":"213:285:37","usedErrors":[],"usedEvents":[]},{"abstract":false,"baseContracts":[{"baseName":{"id":14940,"name":"IResolver","nameLocations":["527:9:37"],"nodeType":"IdentifierPath","referencedDeclaration":14939,"src":"527:9:37"},"id":14941,"nodeType":"InheritanceSpecifier","src":"527:9:37"}],"canonicalName":"PublicResolver","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":15043,"linearizedBaseContracts":[15043,14939],"name":"PublicResolver","nameLocation":"509:14:37","nodeType":"ContractDefinition","nodes":[{"constant":false,"functionSelector":"3f15457f","id":14944,"mutability":"mutable","name":"ens","nameLocation":"555:3:37","nodeType":"VariableDeclaration","scope":15043,"src":"543:15:37","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_385014910","typeString":"contract IENS"},"typeName":{"id":14943,"nodeType":"UserDefinedTypeName","pathNode":{"id":14942,"name":"IENS","nameLocations":["543:4:37"],"nodeType":"IdentifierPath","referencedDeclaration":14910,"src":"543:4:37"},"referencedDeclaration":14910,"src":"543:4:37","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_385114910","typeString":"contract IENS"}},"visibility":"public"},{"constant":false,"functionSelector":"72dead8a","id":14948,"mutability":"mutable","name":"addrs","nameLocation":"604:5:37","nodeType":"VariableDeclaration","scope":15043,"src":"569:40:37","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_address_$","typeString":"mapping(bytes32 => address)"},"typeName":{"id":14947,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":14945,"name":"bytes32","nodeType":"ElementaryTypeName","src":"577:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"569:27:37","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_address_$","typeString":"mapping(bytes32 => address)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":14946,"name":"address","nodeType":"ElementaryTypeName","src":"588:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},"visibility":"public"},{"constant":false,"functionSelector":"20c38e2b","id":14952,"mutability":"mutable","name":"names","nameLocation":"649:5:37","nodeType":"VariableDeclaration","scope":15043,"src":"615:39:37","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_string_storage_$","typeString":"mapping(bytes32 => string)"},"typeName":{"id":14951,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":14949,"name":"bytes32","nodeType":"ElementaryTypeName","src":"623:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"Mapping","src":"615:26:37","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_string_storage_$","typeString":"mapping(bytes32 => string)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":14950,"name":"string","nodeType":"ElementaryTypeName","src":"634:6:37","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}}},"visibility":"public"},{"body":{"id":14968,"nodeType":"Block","src":"699:84:37","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":14963,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":14957,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"717:3:37","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":14958,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"721:6:37","memberName":"sender","nodeType":"MemberAccess","src":"717:10:37","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"id":14961,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14954,"src":"741:4:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":14959,"name":"ens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14944,"src":"731:3:37","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_385814910","typeString":"contract IENS"}},"id":14960,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"735:5:37","memberName":"owner","nodeType":"MemberAccess","referencedDeclaration":14902,"src":"731:9:37","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_bytes32_$returns$_t_address_$","typeString":"function (bytes32) view external returns (address)"}},"id":14962,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"731:15:37","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"717:29:37","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4e6f7420617574686f7269736564","id":14964,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"748:16:37","typeDescriptions":{"typeIdentifier":"t_stringliteral_3caca71662a4ada63e55e72fbb3599b4557ddea9bb1d606879830ca2837118a9","typeString":"literal_string \"Not authorised\""},"value":"Not authorised"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_3caca71662a4ada63e55e72fbb3599b4557ddea9bb1d606879830ca2837118a9","typeString":"literal_string \"Not authorised\""}],"id":14956,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18,-18],"referencedDeclaration":-18,"src":"709:7:37","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":14965,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"709:56:37","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":14966,"nodeType":"ExpressionStatement","src":"709:56:37"},{"id":14967,"nodeType":"PlaceholderStatement","src":"775:1:37"}]},"id":14969,"name":"authorised","nameLocation":"674:10:37","nodeType":"ModifierDefinition","parameters":{"id":14955,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14954,"mutability":"mutable","name":"node","nameLocation":"693:4:37","nodeType":"VariableDeclaration","scope":14969,"src":"685:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14953,"name":"bytes32","nodeType":"ElementaryTypeName","src":"685:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"684:14:37"},"src":"665:118:37","virtual":false,"visibility":"internal"},{"body":{"id":14979,"nodeType":"Block","src":"816:27:37","statements":[{"expression":{"id":14977,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":14975,"name":"ens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14944,"src":"826:3:37","typeDescriptions":{"typeIdentifier":"t_contract$_IENS_$14910","typeString":"contract IENS"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14976,"name":"_ens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14972,"src":"832:4:37","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_386514910","typeString":"contract IENS"}},"src":"826:10:37","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_386614910","typeString":"contract IENS"}},"id":14978,"nodeType":"ExpressionStatement","src":"826:10:37"}]},"id":14980,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":14973,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14972,"mutability":"mutable","name":"_ens","nameLocation":"810:4:37","nodeType":"VariableDeclaration","scope":14980,"src":"805:9:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_386714910","typeString":"contract IENS"},"typeName":{"id":14971,"nodeType":"UserDefinedTypeName","pathNode":{"id":14970,"name":"IENS","nameLocations":["805:4:37"],"nodeType":"IdentifierPath","referencedDeclaration":14910,"src":"805:4:37"},"referencedDeclaration":14910,"src":"805:4:37","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_386814910","typeString":"contract IENS"}},"visibility":"internal"}],"src":"804:11:37"},"returnParameters":{"id":14974,"nodeType":"ParameterList","parameters":[],"src":"816:0:37"},"scope":15043,"src":"793:50:37","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[14917],"body":{"id":14997,"nodeType":"Block","src":"933:35:37","statements":[{"expression":{"id":14995,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":14991,"name":"addrs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14948,"src":"943:5:37","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_address_$","typeString":"mapping(bytes32 => address)"}},"id":14993,"indexExpression":{"id":14992,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14982,"src":"949:4:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"943:11:37","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":14994,"name":"addr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14984,"src":"957:4:37","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"943:18:37","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":14996,"nodeType":"ExpressionStatement","src":"943:18:37"}]},"functionSelector":"d5fa2b00","id":14998,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":14988,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14982,"src":"927:4:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":14989,"kind":"modifierInvocation","modifierName":{"id":14987,"name":"authorised","nameLocations":["916:10:37"],"nodeType":"IdentifierPath","referencedDeclaration":14969,"src":"916:10:37"},"nodeType":"ModifierInvocation","src":"916:16:37"}],"name":"setAddr","nameLocation":"862:7:37","nodeType":"FunctionDefinition","overrides":{"id":14986,"nodeType":"OverrideSpecifier","overrides":[],"src":"907:8:37"},"parameters":{"id":14985,"nodeType":"ParameterList","parameters":[{"constant":false,"id":14982,"mutability":"mutable","name":"node","nameLocation":"878:4:37","nodeType":"VariableDeclaration","scope":14998,"src":"870:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14981,"name":"bytes32","nodeType":"ElementaryTypeName","src":"870:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":14984,"mutability":"mutable","name":"addr","nameLocation":"892:4:37","nodeType":"VariableDeclaration","scope":14998,"src":"884:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":14983,"name":"address","nodeType":"ElementaryTypeName","src":"884:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"869:28:37"},"returnParameters":{"id":14990,"nodeType":"ParameterList","parameters":[],"src":"933:0:37"},"scope":15043,"src":"853:115:37","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14924],"body":{"id":15010,"nodeType":"Block","src":"1047:35:37","statements":[{"expression":{"baseExpression":{"id":15006,"name":"addrs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14948,"src":"1064:5:37","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_address_$","typeString":"mapping(bytes32 => address)"}},"id":15008,"indexExpression":{"id":15007,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15000,"src":"1070:4:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1064:11:37","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":15005,"id":15009,"nodeType":"Return","src":"1057:18:37"}]},"functionSelector":"3b3b57de","id":15011,"implemented":true,"kind":"function","modifiers":[],"name":"addr","nameLocation":"987:4:37","nodeType":"FunctionDefinition","overrides":{"id":15002,"nodeType":"OverrideSpecifier","overrides":[],"src":"1020:8:37"},"parameters":{"id":15001,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15000,"mutability":"mutable","name":"node","nameLocation":"1000:4:37","nodeType":"VariableDeclaration","scope":15011,"src":"992:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":14999,"name":"bytes32","nodeType":"ElementaryTypeName","src":"992:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"991:14:37"},"returnParameters":{"id":15005,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15004,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15011,"src":"1038:7:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15003,"name":"address","nodeType":"ElementaryTypeName","src":"1038:7:37","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1037:9:37"},"scope":15043,"src":"978:104:37","stateMutability":"view","virtual":false,"visibility":"external"},{"baseFunctions":[14931],"body":{"id":15028,"nodeType":"Block","src":"1180:35:37","statements":[{"expression":{"id":15026,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":15022,"name":"names","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14952,"src":"1190:5:37","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_string_storage_$","typeString":"mapping(bytes32 => string storage ref)"}},"id":15024,"indexExpression":{"id":15023,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15013,"src":"1196:4:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"1190:11:37","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15025,"name":"name","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15015,"src":"1204:4:37","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string calldata"}},"src":"1190:18:37","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"id":15027,"nodeType":"ExpressionStatement","src":"1190:18:37"}]},"functionSelector":"77372213","id":15029,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":15019,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15013,"src":"1174:4:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":15020,"kind":"modifierInvocation","modifierName":{"id":15018,"name":"authorised","nameLocations":["1163:10:37"],"nodeType":"IdentifierPath","referencedDeclaration":14969,"src":"1163:10:37"},"nodeType":"ModifierInvocation","src":"1163:16:37"}],"name":"setName","nameLocation":"1101:7:37","nodeType":"FunctionDefinition","overrides":{"id":15017,"nodeType":"OverrideSpecifier","overrides":[],"src":"1154:8:37"},"parameters":{"id":15016,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15013,"mutability":"mutable","name":"node","nameLocation":"1117:4:37","nodeType":"VariableDeclaration","scope":15029,"src":"1109:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15012,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1109:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":15015,"mutability":"mutable","name":"name","nameLocation":"1139:4:37","nodeType":"VariableDeclaration","scope":15029,"src":"1123:20:37","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":15014,"name":"string","nodeType":"ElementaryTypeName","src":"1123:6:37","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1108:36:37"},"returnParameters":{"id":15021,"nodeType":"ParameterList","parameters":[],"src":"1180:0:37"},"scope":15043,"src":"1092:123:37","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[14938],"body":{"id":15041,"nodeType":"Block","src":"1300:35:37","statements":[{"expression":{"baseExpression":{"id":15037,"name":"names","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":14952,"src":"1317:5:37","typeDescriptions":{"typeIdentifier":"t_mapping$_t_bytes32_$_t_string_storage_$","typeString":"mapping(bytes32 => string storage ref)"}},"id":15039,"indexExpression":{"id":15038,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15031,"src":"1323:4:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"1317:11:37","typeDescriptions":{"typeIdentifier":"t_string_storage","typeString":"string storage ref"}},"functionReturnParameters":15036,"id":15040,"nodeType":"Return","src":"1310:18:37"}]},"functionSelector":"691f3431","id":15042,"implemented":true,"kind":"function","modifiers":[],"name":"name","nameLocation":"1234:4:37","nodeType":"FunctionDefinition","overrides":{"id":15033,"nodeType":"OverrideSpecifier","overrides":[],"src":"1267:8:37"},"parameters":{"id":15032,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15031,"mutability":"mutable","name":"node","nameLocation":"1247:4:37","nodeType":"VariableDeclaration","scope":15042,"src":"1239:12:37","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15030,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1239:7:37","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1238:14:37"},"returnParameters":{"id":15036,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15035,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15042,"src":"1285:13:37","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":15034,"name":"string","nodeType":"ElementaryTypeName","src":"1285:6:37","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1284:15:37"},"scope":15043,"src":"1225:110:37","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15044,"src":"500:837:37","usedErrors":[],"usedEvents":[]}],"src":"32:1306:37"},"id":37},"contracts/ReferralRewards.sol":{"ast":{"absolutePath":"contracts/ReferralRewards.sol","exportedSymbols":{"AccessControl":[295],"Context":[2576],"ERC165":[5193],"IAccessControl":[378],"IERC20":[1133],"IReferralRewards":[14893],"ReferralRewards":[15779]},"id":15780,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15045,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"32:23:38"},{"absolutePath":"@openzeppelin/contracts/access/AccessControl.sol","file":"@openzeppelin/contracts/access/AccessControl.sol","id":15046,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15780,"sourceUnit":296,"src":"57:58:38","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/IERC20.sol","file":"@openzeppelin/contracts/token/ERC20/IERC20.sol","id":15047,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15780,"sourceUnit":1134,"src":"116:56:38","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/IReferralRewards.sol","file":"./IReferralRewards.sol","id":15048,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15780,"sourceUnit":14894,"src":"174:32:38","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":15050,"name":"AccessControl","nameLocations":["803:13:38"],"nodeType":"IdentifierPath","referencedDeclaration":295,"src":"803:13:38"},"id":15051,"nodeType":"InheritanceSpecifier","src":"803:13:38"},{"baseName":{"id":15052,"name":"IReferralRewards","nameLocations":["818:16:38"],"nodeType":"IdentifierPath","referencedDeclaration":14893,"src":"818:16:38"},"id":15053,"nodeType":"InheritanceSpecifier","src":"818:16:38"}],"canonicalName":"ReferralRewards","contractDependencies":[],"contractKind":"contract","documentation":{"id":15049,"nodeType":"StructuredDocumentation","src":"208:567:38","text":"@notice Referral reward engine adapted from ThunderCore's referral library idea,\n but designed to be paid in an ERC20 token by the caller (EventManager).\n Key points:\n - 3 levels maximum.\n - Bonus depends on (a) referral bonus %, (b) level split %, (c) upline referee-count rate.\n - \"Active\" gating: when enabled, only uplines active within `secondsUntilInactive` earn.\n - This contract does not transfer tokens; it returns computed payouts and updates state.\n The operator (EventManager) performs ERC20 transfers from its own balance."},"fullyImplemented":true,"id":15779,"linearizedBaseContracts":[15779,14893,295,5193,5205,378,2576],"name":"ReferralRewards","nameLocation":"784:15:38","nodeType":"ContractDefinition","nodes":[{"constant":true,"functionSelector":"f5b541a6","id":15058,"mutability":"constant","name":"OPERATOR_ROLE","nameLocation":"865:13:38","nodeType":"VariableDeclaration","scope":15779,"src":"841:66:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15054,"name":"bytes32","nodeType":"ElementaryTypeName","src":"841:7:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"arguments":[{"hexValue":"4f50455241544f525f524f4c45","id":15056,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"891:15:38","typeDescriptions":{"typeIdentifier":"t_stringliteral_97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929","typeString":"literal_string \"OPERATOR_ROLE\""},"value":"OPERATOR_ROLE"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929","typeString":"literal_string \"OPERATOR_ROLE\""}],"id":15055,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"881:9:38","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":15057,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"881:26:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"public"},{"canonicalName":"ReferralRewards.RateStep","id":15063,"members":[{"constant":false,"id":15060,"mutability":"mutable","name":"refereeCount","nameLocation":"947:12:38","nodeType":"VariableDeclaration","scope":15063,"src":"940:19:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15059,"name":"uint32","nodeType":"ElementaryTypeName","src":"940:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15062,"mutability":"mutable","name":"rate","nameLocation":"1012:4:38","nodeType":"VariableDeclaration","scope":15063,"src":"1005:11:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15061,"name":"uint32","nodeType":"ElementaryTypeName","src":"1005:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"name":"RateStep","nameLocation":"921:8:38","nodeType":"StructDefinition","scope":15779,"src":"914:172:38","visibility":"public"},{"constant":false,"functionSelector":"f7c618c1","id":15066,"mutability":"immutable","name":"rewardToken","nameLocation":"1116:11:38","nodeType":"VariableDeclaration","scope":15779,"src":"1092:35:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_38771133","typeString":"contract IERC20"},"typeName":{"id":15065,"nodeType":"UserDefinedTypeName","pathNode":{"id":15064,"name":"IERC20","nameLocations":["1092:6:38"],"nodeType":"IdentifierPath","referencedDeclaration":1133,"src":"1092:6:38"},"referencedDeclaration":1133,"src":"1092:6:38","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_38781133","typeString":"contract IERC20"}},"visibility":"public"},{"constant":false,"functionSelector":"313ce567","id":15068,"mutability":"immutable","name":"decimals","nameLocation":"1157:8:38","nodeType":"VariableDeclaration","scope":15779,"src":"1133:32:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15067,"name":"uint32","nodeType":"ElementaryTypeName","src":"1133:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"public"},{"constant":false,"functionSelector":"ce7842f5","id":15070,"mutability":"mutable","name":"referralBonus","nameLocation":"1186:13:38","nodeType":"VariableDeclaration","scope":15779,"src":"1172:27:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15069,"name":"uint32","nodeType":"ElementaryTypeName","src":"1172:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"public"},{"constant":false,"functionSelector":"3a8e7bdc","id":15072,"mutability":"mutable","name":"secondsUntilInactive","nameLocation":"1236:20:38","nodeType":"VariableDeclaration","scope":15779,"src":"1222:34:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15071,"name":"uint32","nodeType":"ElementaryTypeName","src":"1222:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"public"},{"constant":false,"functionSelector":"2ee7754d","id":15074,"mutability":"mutable","name":"onlyRewardActiveReferrers","nameLocation":"1274:25:38","nodeType":"VariableDeclaration","scope":15779,"src":"1262:37:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15073,"name":"bool","nodeType":"ElementaryTypeName","src":"1262:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"public"},{"constant":false,"functionSelector":"7879b5ef","id":15078,"mutability":"mutable","name":"levelRates","nameLocation":"1407:10:38","nodeType":"VariableDeclaration","scope":15779,"src":"1390:27:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_38793_storage","typeString":"uint32[3]"},"typeName":{"baseType":{"id":15075,"name":"uint32","nodeType":"ElementaryTypeName","src":"1390:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15077,"length":{"hexValue":"33","id":15076,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1397:1:38","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"1390:9:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_38803_storage_ptr","typeString":"uint32[3]"}},"visibility":"public"},{"constant":false,"id":15082,"mutability":"mutable","name":"_rateSteps","nameLocation":"1442:10:38","nodeType":"VariableDeclaration","scope":15779,"src":"1423:29:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep[]"},"typeName":{"baseType":{"id":15080,"nodeType":"UserDefinedTypeName","pathNode":{"id":15079,"name":"RateStep","nameLocations":["1423:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":15063,"src":"1423:8:38"},"referencedDeclaration":15063,"src":"1423:8:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_storage_ptr","typeString":"struct ReferralRewards.RateStep"}},"id":15081,"nodeType":"ArrayTypeName","src":"1423:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage_ptr","typeString":"struct ReferralRewards.RateStep[]"}},"visibility":"private"},{"constant":false,"functionSelector":"d21cacdf","id":15086,"mutability":"mutable","name":"referrerOf","nameLocation":"1494:10:38","nodeType":"VariableDeclaration","scope":15779,"src":"1459:45:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"},"typeName":{"id":15085,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":15083,"name":"address","nodeType":"ElementaryTypeName","src":"1467:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1459:27:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":15084,"name":"address","nodeType":"ElementaryTypeName","src":"1478:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}},"visibility":"public"},{"constant":false,"functionSelector":"563a4c3b","id":15090,"mutability":"mutable","name":"directRefereeCount","nameLocation":"1544:18:38","nodeType":"VariableDeclaration","scope":15779,"src":"1510:52:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint32_$","typeString":"mapping(address => uint32)"},"typeName":{"id":15089,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":15087,"name":"address","nodeType":"ElementaryTypeName","src":"1518:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1510:26:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint32_$","typeString":"mapping(address => uint32)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":15088,"name":"uint32","nodeType":"ElementaryTypeName","src":"1529:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}},"visibility":"public"},{"constant":false,"functionSelector":"eb799d23","id":15094,"mutability":"mutable","name":"lastActiveAt","nameLocation":"1603:12:38","nodeType":"VariableDeclaration","scope":15779,"src":"1568:47:38","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"typeName":{"id":15093,"keyName":"","keyNameLocation":"-1:-1:-1","keyType":{"id":15091,"name":"address","nodeType":"ElementaryTypeName","src":"1576:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1568:27:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"},"valueName":"","valueNameLocation":"-1:-1:-1","valueType":{"id":15092,"name":"uint256","nodeType":"ElementaryTypeName","src":"1587:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}},"visibility":"public"},{"anonymous":false,"eventSelector":"5f7165288eef601591cf549e15ff19ef9060b7f71b9c115be946fa1fe7ebf68a","id":15100,"name":"ReferrerSet","nameLocation":"1628:11:38","nodeType":"EventDefinition","parameters":{"id":15099,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15096,"indexed":true,"mutability":"mutable","name":"referee","nameLocation":"1656:7:38","nodeType":"VariableDeclaration","scope":15100,"src":"1640:23:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15095,"name":"address","nodeType":"ElementaryTypeName","src":"1640:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15098,"indexed":true,"mutability":"mutable","name":"referrer","nameLocation":"1681:8:38","nodeType":"VariableDeclaration","scope":15100,"src":"1665:24:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15097,"name":"address","nodeType":"ElementaryTypeName","src":"1665:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1639:51:38"},"src":"1622:69:38"},{"anonymous":false,"eventSelector":"fecc4799a16a7823139e82b96d8c3cfa06e17fef29658cfe3103ceb21cc8eba2","id":15106,"name":"ActiveUpdated","nameLocation":"1702:13:38","nodeType":"EventDefinition","parameters":{"id":15105,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15102,"indexed":true,"mutability":"mutable","name":"user","nameLocation":"1732:4:38","nodeType":"VariableDeclaration","scope":15106,"src":"1716:20:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15101,"name":"address","nodeType":"ElementaryTypeName","src":"1716:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15104,"indexed":false,"mutability":"mutable","name":"timestamp","nameLocation":"1746:9:38","nodeType":"VariableDeclaration","scope":15106,"src":"1738:17:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15103,"name":"uint256","nodeType":"ElementaryTypeName","src":"1738:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1715:41:38"},"src":"1696:61:38"},{"anonymous":false,"eventSelector":"ea043b6f5411cf3705a5407008dc7b5cf47623505062142902f19701f2c2b327","id":15120,"name":"ConfigUpdated","nameLocation":"1768:13:38","nodeType":"EventDefinition","parameters":{"id":15119,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15108,"indexed":false,"mutability":"mutable","name":"referralBonus","nameLocation":"1798:13:38","nodeType":"VariableDeclaration","scope":15120,"src":"1791:20:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15107,"name":"uint32","nodeType":"ElementaryTypeName","src":"1791:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15110,"indexed":false,"mutability":"mutable","name":"secondsUntilInactive","nameLocation":"1828:20:38","nodeType":"VariableDeclaration","scope":15120,"src":"1821:27:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15109,"name":"uint32","nodeType":"ElementaryTypeName","src":"1821:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15112,"indexed":false,"mutability":"mutable","name":"onlyRewardActiveReferrers","nameLocation":"1863:25:38","nodeType":"VariableDeclaration","scope":15120,"src":"1858:30:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15111,"name":"bool","nodeType":"ElementaryTypeName","src":"1858:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":15114,"indexed":false,"mutability":"mutable","name":"level1","nameLocation":"1905:6:38","nodeType":"VariableDeclaration","scope":15120,"src":"1898:13:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15113,"name":"uint32","nodeType":"ElementaryTypeName","src":"1898:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15116,"indexed":false,"mutability":"mutable","name":"level2","nameLocation":"1928:6:38","nodeType":"VariableDeclaration","scope":15120,"src":"1921:13:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15115,"name":"uint32","nodeType":"ElementaryTypeName","src":"1921:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15118,"indexed":false,"mutability":"mutable","name":"level3","nameLocation":"1951:6:38","nodeType":"VariableDeclaration","scope":15120,"src":"1944:13:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15117,"name":"uint32","nodeType":"ElementaryTypeName","src":"1944:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"1781:182:38"},"src":"1762:202:38"},{"errorSelector":"35be3ac8","id":15122,"name":"InvalidConfig","nameLocation":"1976:13:38","nodeType":"ErrorDefinition","parameters":{"id":15121,"nodeType":"ParameterList","parameters":[],"src":"1989:2:38"},"src":"1970:22:38"},{"body":{"id":15184,"nodeType":"Block","src":"2305:412:38","statements":[{"expression":{"id":15150,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15148,"name":"rewardToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15066,"src":"2315:11:38","typeDescriptions":{"typeIdentifier":"t_contract$_IERC20_$1133","typeString":"contract IERC20"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15149,"name":"_rewardToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15125,"src":"2329:12:38","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_38941133","typeString":"contract IERC20"}},"src":"2315:26:38","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_38951133","typeString":"contract IERC20"}},"id":15151,"nodeType":"ExpressionStatement","src":"2315:26:38"},{"expression":{"arguments":[{"id":15153,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"2362:18:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":15154,"name":"admin","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15127,"src":"2382:5:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":15152,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"2351:10:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":15155,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2351:37:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15156,"nodeType":"ExpressionStatement","src":"2351:37:38"},{"expression":{"arguments":[{"id":15158,"name":"OPERATOR_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15058,"src":"2409:13:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":15159,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15129,"src":"2424:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":15157,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"2398:10:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":15160,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2398:35:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15161,"nodeType":"ExpressionStatement","src":"2398:35:38"},{"condition":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":15164,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15162,"name":"_decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15131,"src":"2448:9:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":15163,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2461:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"2448:14:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15168,"nodeType":"IfStatement","src":"2444:42:38","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":15165,"name":"InvalidConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15122,"src":"2471:13:38","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":15166,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2471:15:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":15167,"nodeType":"RevertStatement","src":"2464:22:38"}},{"expression":{"id":15171,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15169,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15068,"src":"2496:8:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15170,"name":"_decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15131,"src":"2507:9:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"2496:20:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15172,"nodeType":"ExpressionStatement","src":"2496:20:38"},{"expression":{"arguments":[{"id":15174,"name":"_referralBonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15133,"src":"2551:14:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},{"id":15175,"name":"_secondsUntilInactive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15135,"src":"2579:21:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},{"id":15176,"name":"_onlyRewardActiveReferrers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15137,"src":"2614:26:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":15177,"name":"_levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15141,"src":"2654:11:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39033_memory_ptr","typeString":"uint32[3] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"},{"typeIdentifier":"t_uint32","typeString":"uint32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39043_memory_ptr","typeString":"uint32[3] memory"}],"id":15173,"name":"_setConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15711,"src":"2527:10:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint32_$_t_uint32_$_t_bool_$_t_arrayMATH_PLACEHOLDER_39073_memory_ptr_$returns$__$","typeString":"function (uint32,uint32,bool,uint32[3] memory)"}},"id":15178,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2527:148:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15179,"nodeType":"ExpressionStatement","src":"2527:148:38"},{"expression":{"arguments":[{"id":15181,"name":"rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15145,"src":"2700:9:38","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_391115063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep memory[] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_391315063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep memory[] memory"}],"id":15180,"name":"_setRateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15778,"src":"2686:13:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_array$_t_struct$_RateStep_$15063_memory_ptr_$dyn_memory_ptr_$returns$__$","typeString":"function (struct ReferralRewards.RateStep memory[] memory)"}},"id":15182,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2686:24:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15183,"nodeType":"ExpressionStatement","src":"2686:24:38"}]},"id":15185,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":15146,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15125,"mutability":"mutable","name":"_rewardToken","nameLocation":"2026:12:38","nodeType":"VariableDeclaration","scope":15185,"src":"2019:19:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_39191133","typeString":"contract IERC20"},"typeName":{"id":15124,"nodeType":"UserDefinedTypeName","pathNode":{"id":15123,"name":"IERC20","nameLocations":["2019:6:38"],"nodeType":"IdentifierPath","referencedDeclaration":1133,"src":"2019:6:38"},"referencedDeclaration":1133,"src":"2019:6:38","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_39201133","typeString":"contract IERC20"}},"visibility":"internal"},{"constant":false,"id":15127,"mutability":"mutable","name":"admin","nameLocation":"2056:5:38","nodeType":"VariableDeclaration","scope":15185,"src":"2048:13:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15126,"name":"address","nodeType":"ElementaryTypeName","src":"2048:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15129,"mutability":"mutable","name":"operator","nameLocation":"2079:8:38","nodeType":"VariableDeclaration","scope":15185,"src":"2071:16:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15128,"name":"address","nodeType":"ElementaryTypeName","src":"2071:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15131,"mutability":"mutable","name":"_decimals","nameLocation":"2104:9:38","nodeType":"VariableDeclaration","scope":15185,"src":"2097:16:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15130,"name":"uint32","nodeType":"ElementaryTypeName","src":"2097:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15133,"mutability":"mutable","name":"_referralBonus","nameLocation":"2130:14:38","nodeType":"VariableDeclaration","scope":15185,"src":"2123:21:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15132,"name":"uint32","nodeType":"ElementaryTypeName","src":"2123:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15135,"mutability":"mutable","name":"_secondsUntilInactive","nameLocation":"2161:21:38","nodeType":"VariableDeclaration","scope":15185,"src":"2154:28:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15134,"name":"uint32","nodeType":"ElementaryTypeName","src":"2154:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15137,"mutability":"mutable","name":"_onlyRewardActiveReferrers","nameLocation":"2197:26:38","nodeType":"VariableDeclaration","scope":15185,"src":"2192:31:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15136,"name":"bool","nodeType":"ElementaryTypeName","src":"2192:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":15141,"mutability":"mutable","name":"_levelRates","nameLocation":"2250:11:38","nodeType":"VariableDeclaration","scope":15185,"src":"2233:28:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39213_memory_ptr","typeString":"uint32[3]"},"typeName":{"baseType":{"id":15138,"name":"uint32","nodeType":"ElementaryTypeName","src":"2233:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15140,"length":{"hexValue":"33","id":15139,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2240:1:38","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"2233:9:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39223_storage_ptr","typeString":"uint32[3]"}},"visibility":"internal"},{"constant":false,"id":15145,"mutability":"mutable","name":"rateSteps","nameLocation":"2289:9:38","nodeType":"VariableDeclaration","scope":15185,"src":"2271:27:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep[]"},"typeName":{"baseType":{"id":15143,"nodeType":"UserDefinedTypeName","pathNode":{"id":15142,"name":"RateStep","nameLocations":["2271:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":15063,"src":"2271:8:38"},"referencedDeclaration":15063,"src":"2271:8:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_storage_ptr","typeString":"struct ReferralRewards.RateStep"}},"id":15144,"nodeType":"ArrayTypeName","src":"2271:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage_ptr","typeString":"struct ReferralRewards.RateStep[]"}},"visibility":"internal"}],"src":"2009:295:38"},"returnParameters":{"id":15147,"nodeType":"ParameterList","parameters":[],"src":"2305:0:38"},"scope":15779,"src":"1998:719:38","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":15198,"nodeType":"Block","src":"2800:52:38","statements":[{"expression":{"arguments":[{"id":15194,"name":"OPERATOR_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15058,"src":"2821:13:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":15195,"name":"operator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15187,"src":"2836:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"id":15193,"name":"_grantRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":256,"src":"2810:10:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$_t_bool_$","typeString":"function (bytes32,address) returns (bool)"}},"id":15196,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"2810:35:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15197,"nodeType":"ExpressionStatement","src":"2810:35:38"}]},"functionSelector":"b3ab15fb","id":15199,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":15190,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"2780:18:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":15191,"kind":"modifierInvocation","modifierName":{"id":15189,"name":"onlyRole","nameLocations":["2771:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"2771:8:38"},"nodeType":"ModifierInvocation","src":"2771:28:38"}],"name":"setOperator","nameLocation":"2732:11:38","nodeType":"FunctionDefinition","parameters":{"id":15188,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15187,"mutability":"mutable","name":"operator","nameLocation":"2752:8:38","nodeType":"VariableDeclaration","scope":15199,"src":"2744:16:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15186,"name":"address","nodeType":"ElementaryTypeName","src":"2744:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2743:18:38"},"returnParameters":{"id":15192,"nodeType":"ParameterList","parameters":[],"src":"2800:0:38"},"scope":15779,"src":"2723:129:38","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":15222,"nodeType":"Block","src":"3069:165:38","statements":[{"expression":{"arguments":[{"id":15216,"name":"_referralBonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15201,"src":"3103:14:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},{"id":15217,"name":"_secondsUntilInactive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15203,"src":"3131:21:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},{"id":15218,"name":"_onlyRewardActiveReferrers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15205,"src":"3166:26:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":15219,"name":"_levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15209,"src":"3206:11:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39293_memory_ptr","typeString":"uint32[3] memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"},{"typeIdentifier":"t_uint32","typeString":"uint32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39303_memory_ptr","typeString":"uint32[3] memory"}],"id":15215,"name":"_setConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15711,"src":"3079:10:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_uint32_$_t_uint32_$_t_bool_$_t_arrayMATH_PLACEHOLDER_39333_memory_ptr_$returns$__$","typeString":"function (uint32,uint32,bool,uint32[3] memory)"}},"id":15220,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3079:148:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15221,"nodeType":"ExpressionStatement","src":"3079:148:38"}]},"functionSelector":"12640d99","id":15223,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":15212,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"3049:18:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":15213,"kind":"modifierInvocation","modifierName":{"id":15211,"name":"onlyRole","nameLocations":["3040:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"3040:8:38"},"nodeType":"ModifierInvocation","src":"3040:28:38"}],"name":"setConfig","nameLocation":"2867:9:38","nodeType":"FunctionDefinition","parameters":{"id":15210,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15201,"mutability":"mutable","name":"_referralBonus","nameLocation":"2893:14:38","nodeType":"VariableDeclaration","scope":15223,"src":"2886:21:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15200,"name":"uint32","nodeType":"ElementaryTypeName","src":"2886:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15203,"mutability":"mutable","name":"_secondsUntilInactive","nameLocation":"2924:21:38","nodeType":"VariableDeclaration","scope":15223,"src":"2917:28:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15202,"name":"uint32","nodeType":"ElementaryTypeName","src":"2917:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15205,"mutability":"mutable","name":"_onlyRewardActiveReferrers","nameLocation":"2960:26:38","nodeType":"VariableDeclaration","scope":15223,"src":"2955:31:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15204,"name":"bool","nodeType":"ElementaryTypeName","src":"2955:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":15209,"mutability":"mutable","name":"_levelRates","nameLocation":"3013:11:38","nodeType":"VariableDeclaration","scope":15223,"src":"2996:28:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint32_$3_memory_ptr","typeString":"uint32[3]"},"typeName":{"baseType":{"id":15206,"name":"uint32","nodeType":"ElementaryTypeName","src":"2996:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15208,"length":{"hexValue":"33","id":15207,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3003:1:38","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"2996:9:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39373_storage_ptr","typeString":"uint32[3]"}},"visibility":"internal"}],"src":"2876:154:38"},"returnParameters":{"id":15214,"nodeType":"ParameterList","parameters":[],"src":"3069:0:38"},"scope":15779,"src":"2858:376:38","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":15237,"nodeType":"Block","src":"3345:41:38","statements":[{"expression":{"arguments":[{"id":15234,"name":"rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15227,"src":"3369:9:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_calldata_ptr_$dyn_calldata_ptr","typeString":"struct ReferralRewards.RateStep calldata[] calldata"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_394015063_calldata_ptr_$dyn_calldata_ptr","typeString":"struct ReferralRewards.RateStep calldata[] calldata"}],"id":15233,"name":"_setRateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15778,"src":"3355:13:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_array$_t_struct$_RateStep_$15063_memory_ptr_$dyn_memory_ptr_$returns$__$","typeString":"function (struct ReferralRewards.RateStep memory[] memory)"}},"id":15235,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"3355:24:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15236,"nodeType":"ExpressionStatement","src":"3355:24:38"}]},"functionSelector":"3d35a571","id":15238,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":15230,"name":"DEFAULT_ADMIN_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":29,"src":"3325:18:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":15231,"kind":"modifierInvocation","modifierName":{"id":15229,"name":"onlyRole","nameLocations":["3316:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"3316:8:38"},"nodeType":"ModifierInvocation","src":"3316:28:38"}],"name":"setRateSteps","nameLocation":"3249:12:38","nodeType":"FunctionDefinition","parameters":{"id":15228,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15227,"mutability":"mutable","name":"rateSteps","nameLocation":"3291:9:38","nodeType":"VariableDeclaration","scope":15238,"src":"3271:29:38","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_calldata_ptr_$dyn_calldata_ptr","typeString":"struct ReferralRewards.RateStep[]"},"typeName":{"baseType":{"id":15225,"nodeType":"UserDefinedTypeName","pathNode":{"id":15224,"name":"RateStep","nameLocations":["3271:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":15063,"src":"3271:8:38"},"referencedDeclaration":15063,"src":"3271:8:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_storage_ptr","typeString":"struct ReferralRewards.RateStep"}},"id":15226,"nodeType":"ArrayTypeName","src":"3271:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage_ptr","typeString":"struct ReferralRewards.RateStep[]"}},"visibility":"internal"}],"src":"3261:45:38"},"returnParameters":{"id":15232,"nodeType":"ParameterList","parameters":[],"src":"3345:0:38"},"scope":15779,"src":"3240:146:38","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":15246,"nodeType":"Block","src":"3451:41:38","statements":[{"expression":{"expression":{"id":15243,"name":"_rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15082,"src":"3468:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_395015063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep storage ref[] storage ref"}},"id":15244,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3479:6:38","memberName":"length","nodeType":"MemberAccess","src":"3468:17:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":15242,"id":15245,"nodeType":"Return","src":"3461:24:38"}]},"functionSelector":"4e44624c","id":15247,"implemented":true,"kind":"function","modifiers":[],"name":"rateStepsLength","nameLocation":"3401:15:38","nodeType":"FunctionDefinition","parameters":{"id":15239,"nodeType":"ParameterList","parameters":[],"src":"3416:2:38"},"returnParameters":{"id":15242,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15241,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15247,"src":"3442:7:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15240,"name":"uint256","nodeType":"ElementaryTypeName","src":"3442:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3441:9:38"},"scope":15779,"src":"3392:100:38","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":15259,"nodeType":"Block","src":"3571:39:38","statements":[{"expression":{"baseExpression":{"id":15255,"name":"_rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15082,"src":"3588:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_395215063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep storage ref[] storage ref"}},"id":15257,"indexExpression":{"id":15256,"name":"idx","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15249,"src":"3599:3:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3588:15:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_storage","typeString":"struct ReferralRewards.RateStep storage ref"}},"functionReturnParameters":15254,"id":15258,"nodeType":"Return","src":"3581:22:38"}]},"functionSelector":"cfbb4972","id":15260,"implemented":true,"kind":"function","modifiers":[],"name":"rateStepAt","nameLocation":"3507:10:38","nodeType":"FunctionDefinition","parameters":{"id":15250,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15249,"mutability":"mutable","name":"idx","nameLocation":"3526:3:38","nodeType":"VariableDeclaration","scope":15260,"src":"3518:11:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15248,"name":"uint256","nodeType":"ElementaryTypeName","src":"3518:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3517:13:38"},"returnParameters":{"id":15254,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15253,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15260,"src":"3554:15:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_395415063_memory_ptr","typeString":"struct ReferralRewards.RateStep"},"typeName":{"id":15252,"nodeType":"UserDefinedTypeName","pathNode":{"id":15251,"name":"RateStep","nameLocations":["3554:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":15063,"src":"3554:8:38"},"referencedDeclaration":15063,"src":"3554:8:38","typeDescriptions":{"typeIdentifier":"t_structMATH_PLACEHOLDER_395515063_storage_ptr","typeString":"struct ReferralRewards.RateStep"}},"visibility":"internal"}],"src":"3553:17:38"},"scope":15779,"src":"3498:112:38","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":15292,"nodeType":"Block","src":"3675:255:38","statements":[{"assignments":[15268],"declarations":[{"constant":false,"id":15268,"mutability":"mutable","name":"ts","nameLocation":"3693:2:38","nodeType":"VariableDeclaration","scope":15292,"src":"3685:10:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15267,"name":"uint256","nodeType":"ElementaryTypeName","src":"3685:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15272,"initialValue":{"baseExpression":{"id":15269,"name":"lastActiveAt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15094,"src":"3698:12:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":15271,"indexExpression":{"id":15270,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15262,"src":"3711:4:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3698:18:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"3685:31:38"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15275,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15273,"name":"ts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15268,"src":"3730:2:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":15274,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3736:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3730:7:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15278,"nodeType":"IfStatement","src":"3726:25:38","trueBody":{"expression":{"hexValue":"66616c7365","id":15276,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3746:5:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"functionReturnParameters":15266,"id":15277,"nodeType":"Return","src":"3739:12:38"}},{"condition":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":15281,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15279,"name":"secondsUntilInactive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15072,"src":"3824:20:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":15280,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3848:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3824:25:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15284,"nodeType":"IfStatement","src":"3820:42:38","trueBody":{"expression":{"hexValue":"74727565","id":15282,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3858:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"functionReturnParameters":15266,"id":15283,"nodeType":"Return","src":"3851:11:38"}},{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15290,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":15285,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"3879:5:38","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":15286,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"3885:9:38","memberName":"timestamp","nodeType":"MemberAccess","src":"3879:15:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15289,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15287,"name":"ts","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15268,"src":"3898:2:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"id":15288,"name":"secondsUntilInactive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15072,"src":"3903:20:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"3898:25:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3879:44:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":15266,"id":15291,"nodeType":"Return","src":"3872:51:38"}]},"functionSelector":"9f8a13d7","id":15293,"implemented":true,"kind":"function","modifiers":[],"name":"isActive","nameLocation":"3625:8:38","nodeType":"FunctionDefinition","parameters":{"id":15263,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15262,"mutability":"mutable","name":"user","nameLocation":"3642:4:38","nodeType":"VariableDeclaration","scope":15293,"src":"3634:12:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15261,"name":"address","nodeType":"ElementaryTypeName","src":"3634:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"3633:14:38"},"returnParameters":{"id":15266,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15265,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15293,"src":"3669:4:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15264,"name":"bool","nodeType":"ElementaryTypeName","src":"3669:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3668:6:38"},"scope":15779,"src":"3616:314:38","stateMutability":"view","virtual":false,"visibility":"public"},{"baseFunctions":[14892],"body":{"id":15480,"nodeType":"Block","src":"4251:1325:38","statements":[{"expression":{"id":15321,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":15316,"name":"lastActiveAt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15094,"src":"4325:12:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint256_$","typeString":"mapping(address => uint256)"}},"id":15318,"indexExpression":{"id":15317,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15295,"src":"4338:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4325:21:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"id":15319,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"4349:5:38","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":15320,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4355:9:38","memberName":"timestamp","nodeType":"MemberAccess","src":"4349:15:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4325:39:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15322,"nodeType":"ExpressionStatement","src":"4325:39:38"},{"eventCall":{"arguments":[{"id":15324,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15295,"src":"4393:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":15325,"name":"block","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-4,"src":"4402:5:38","typeDescriptions":{"typeIdentifier":"t_magic_block","typeString":"block"}},"id":15326,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"4408:9:38","memberName":"timestamp","nodeType":"MemberAccess","src":"4402:15:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":15323,"name":"ActiveUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15106,"src":"4379:13:38","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":15327,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4379:39:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15328,"nodeType":"EmitStatement","src":"4374:44:38"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15334,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15329,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15297,"src":"4503:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":15332,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4523:1:38","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":15331,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4515:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15330,"name":"address","nodeType":"ElementaryTypeName","src":"4515:7:38","typeDescriptions":{}}},"id":15333,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4515:10:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4503:22:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15341,"nodeType":"IfStatement","src":"4499:87:38","trueBody":{"id":15340,"nodeType":"Block","src":"4527:59:38","statements":[{"expression":{"arguments":[{"id":15336,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15295,"src":"4557:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":15337,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15297,"src":"4566:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":15335,"name":"_trySetReferrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15571,"src":"4541:15:38","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":15338,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4541:34:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15339,"nodeType":"ExpressionStatement","src":"4541:34:38"}]}},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":15348,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15342,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15299,"src":"4600:6:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":15343,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4610:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4600:11:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":15347,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15345,"name":"referralBonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15070,"src":"4615:13:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":15346,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4632:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"4615:18:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4600:33:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15355,"nodeType":"IfStatement","src":"4596:95:38","trueBody":{"id":15354,"nodeType":"Block","src":"4635:56:38","statements":[{"expression":{"components":[{"id":15349,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15308,"src":"4657:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39673_memory_ptr","typeString":"address[3] memory"}},{"id":15350,"name":"bonuses","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15312,"src":"4669:7:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39683_memory_ptr","typeString":"uint256[3] memory"}},{"hexValue":"30","id":15351,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4678:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"id":15352,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4656:24:38","typeDescriptions":{"typeIdentifier":"t_tuple$_t_array$_t_address_$3_memory_ptr_$_t_array$_t_uint256_$3_memory_ptr_$_t_rational_0_by_1_$","typeString":"tuple(address[3] memory,uint256[3] memory,int_const 0)"}},"functionReturnParameters":15315,"id":15353,"nodeType":"Return","src":"4649:31:38"}]}},{"assignments":[15357],"declarations":[{"constant":false,"id":15357,"mutability":"mutable","name":"referralBase","nameLocation":"4709:12:38","nodeType":"VariableDeclaration","scope":15480,"src":"4701:20:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15356,"name":"uint256","nodeType":"ElementaryTypeName","src":"4701:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15370,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15369,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15363,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15358,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15299,"src":"4725:6:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"arguments":[{"id":15361,"name":"referralBonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15070,"src":"4742:13:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15360,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4734:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15359,"name":"uint256","nodeType":"ElementaryTypeName","src":"4734:7:38","typeDescriptions":{}}},"id":15362,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4734:22:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4725:31:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":15364,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"4724:33:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"id":15367,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15068,"src":"4768:8:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15366,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4760:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15365,"name":"uint256","nodeType":"ElementaryTypeName","src":"4760:7:38","typeDescriptions":{}}},"id":15368,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4760:17:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"4724:53:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"4701:76:38"},{"assignments":[15372],"declarations":[{"constant":false,"id":15372,"mutability":"mutable","name":"current","nameLocation":"4796:7:38","nodeType":"VariableDeclaration","scope":15480,"src":"4788:15:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15371,"name":"address","nodeType":"ElementaryTypeName","src":"4788:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":15374,"initialValue":{"id":15373,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15295,"src":"4806:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4788:25:38"},{"body":{"id":15473,"nodeType":"Block","src":"4867:653:38","statements":[{"assignments":[15386],"declarations":[{"constant":false,"id":15386,"mutability":"mutable","name":"upline","nameLocation":"4889:6:38","nodeType":"VariableDeclaration","scope":15473,"src":"4881:14:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15385,"name":"address","nodeType":"ElementaryTypeName","src":"4881:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":15390,"initialValue":{"baseExpression":{"id":15387,"name":"referrerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15086,"src":"4898:10:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"}},"id":15389,"indexExpression":{"id":15388,"name":"current","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15372,"src":"4909:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4898:19:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"4881:36:38"},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15396,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15391,"name":"upline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15386,"src":"4935:6:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":15394,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4953:1:38","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":15393,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4945:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15392,"name":"address","nodeType":"ElementaryTypeName","src":"4945:7:38","typeDescriptions":{}}},"id":15395,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"4945:10:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4935:20:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15398,"nodeType":"IfStatement","src":"4931:31:38","trueBody":{"id":15397,"nodeType":"Break","src":"4957:5:38"}},{"expression":{"id":15403,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":15399,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15308,"src":"4977:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_memory_ptr","typeString":"address[3] memory"}},"id":15401,"indexExpression":{"id":15400,"name":"level","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15376,"src":"4988:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4977:17:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15402,"name":"upline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15386,"src":"4997:6:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"4977:26:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":15404,"nodeType":"ExpressionStatement","src":"4977:26:38"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":15410,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15406,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5022:26:38","subExpression":{"id":15405,"name":"onlyRewardActiveReferrers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15074,"src":"5023:25:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"arguments":[{"id":15408,"name":"upline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15386,"src":"5061:6:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":15407,"name":"isActive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15293,"src":"5052:8:38","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":15409,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5052:16:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5022:46:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15468,"nodeType":"IfStatement","src":"5018:461:38","trueBody":{"id":15467,"nodeType":"Block","src":"5070:409:38","statements":[{"assignments":[15412],"declarations":[{"constant":false,"id":15412,"mutability":"mutable","name":"refereeRate","nameLocation":"5096:11:38","nodeType":"VariableDeclaration","scope":15467,"src":"5088:19:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15411,"name":"uint256","nodeType":"ElementaryTypeName","src":"5088:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15419,"initialValue":{"arguments":[{"arguments":[{"id":15416,"name":"upline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15386,"src":"5136:6:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":15415,"name":"_refereeCountRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15626,"src":"5118:17:38","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint32_$","typeString":"function (address) view returns (uint32)"}},"id":15417,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5118:25:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15414,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5110:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15413,"name":"uint256","nodeType":"ElementaryTypeName","src":"5110:7:38","typeDescriptions":{}}},"id":15418,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5110:34:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5088:56:38"},{"assignments":[15421],"declarations":[{"constant":false,"id":15421,"mutability":"mutable","name":"levelRate","nameLocation":"5170:9:38","nodeType":"VariableDeclaration","scope":15467,"src":"5162:17:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15420,"name":"uint256","nodeType":"ElementaryTypeName","src":"5162:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15428,"initialValue":{"arguments":[{"baseExpression":{"id":15424,"name":"levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15078,"src":"5190:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39823_storage","typeString":"uint32[3] storage ref"}},"id":15426,"indexExpression":{"id":15425,"name":"level","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15376,"src":"5201:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5190:17:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15423,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5182:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15422,"name":"uint256","nodeType":"ElementaryTypeName","src":"5182:7:38","typeDescriptions":{}}},"id":15427,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5182:26:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5162:46:38"},{"assignments":[15430],"declarations":[{"constant":false,"id":15430,"mutability":"mutable","name":"bonus","nameLocation":"5235:5:38","nodeType":"VariableDeclaration","scope":15467,"src":"5227:13:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15429,"name":"uint256","nodeType":"ElementaryTypeName","src":"5227:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15432,"initialValue":{"id":15431,"name":"referralBase","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15357,"src":"5243:12:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"5227:28:38"},{"expression":{"id":15443,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15433,"name":"bonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15430,"src":"5273:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15436,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15434,"name":"bonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15430,"src":"5282:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":15435,"name":"refereeRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15412,"src":"5290:11:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5282:19:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":15437,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5281:21:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"id":15440,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15068,"src":"5313:8:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15439,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5305:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15438,"name":"uint256","nodeType":"ElementaryTypeName","src":"5305:7:38","typeDescriptions":{}}},"id":15441,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5305:17:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5281:41:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5273:49:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15444,"nodeType":"ExpressionStatement","src":"5273:49:38"},{"expression":{"id":15455,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15445,"name":"bonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15430,"src":"5340:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15454,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15448,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15446,"name":"bonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15430,"src":"5349:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"*","rightExpression":{"id":15447,"name":"levelRate","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15421,"src":"5357:9:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5349:17:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":15449,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5348:19:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"/","rightExpression":{"arguments":[{"id":15452,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15068,"src":"5378:8:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15451,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5370:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15450,"name":"uint256","nodeType":"ElementaryTypeName","src":"5370:7:38","typeDescriptions":{}}},"id":15453,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5370:17:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5348:39:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5340:47:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15456,"nodeType":"ExpressionStatement","src":"5340:47:38"},{"expression":{"id":15461,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":15457,"name":"bonuses","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15312,"src":"5406:7:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39863_memory_ptr","typeString":"uint256[3] memory"}},"id":15459,"indexExpression":{"id":15458,"name":"level","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15376,"src":"5414:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5406:14:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15460,"name":"bonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15430,"src":"5423:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5406:22:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15462,"nodeType":"ExpressionStatement","src":"5406:22:38"},{"expression":{"id":15465,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15463,"name":"totalPaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15314,"src":"5446:9:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"id":15464,"name":"bonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15430,"src":"5459:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5446:18:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15466,"nodeType":"ExpressionStatement","src":"5446:18:38"}]}},{"expression":{"id":15471,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15469,"name":"current","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15372,"src":"5493:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15470,"name":"upline","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15386,"src":"5503:6:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5493:16:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":15472,"nodeType":"ExpressionStatement","src":"5493:16:38"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15381,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15379,"name":"level","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15376,"src":"4847:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"33","id":15380,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4855:1:38","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"4847:9:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15474,"initializationExpression":{"assignments":[15376],"declarations":[{"constant":false,"id":15376,"mutability":"mutable","name":"level","nameLocation":"4836:5:38","nodeType":"VariableDeclaration","scope":15474,"src":"4828:13:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15375,"name":"uint256","nodeType":"ElementaryTypeName","src":"4828:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15378,"initialValue":{"hexValue":"30","id":15377,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4844:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"4828:17:38"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":15383,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"4858:7:38","subExpression":{"id":15382,"name":"level","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15376,"src":"4858:5:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15384,"nodeType":"ExpressionStatement","src":"4858:7:38"},"nodeType":"ForStatement","src":"4823:697:38"},{"expression":{"components":[{"id":15475,"name":"recipients","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15308,"src":"5538:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39873_memory_ptr","typeString":"address[3] memory"}},{"id":15476,"name":"bonuses","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15312,"src":"5550:7:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39883_memory_ptr","typeString":"uint256[3] memory"}},{"id":15477,"name":"totalPaid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15314,"src":"5559:9:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"id":15478,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5537:32:38","typeDescriptions":{"typeIdentifier":"t_tuple$_t_array$_t_address_$3_memory_ptr_$_t_array$_t_uint256_$3_memory_ptr_$_t_uint256_$","typeString":"tuple(address[3] memory,uint256[3] memory,uint256)"}},"functionReturnParameters":15315,"id":15479,"nodeType":"Return","src":"5530:39:38"}]},"functionSelector":"e696d10d","id":15481,"implemented":true,"kind":"function","modifiers":[{"arguments":[{"id":15303,"name":"OPERATOR_ROLE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15058,"src":"4093:13:38","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"id":15304,"kind":"modifierInvocation","modifierName":{"id":15302,"name":"onlyRole","nameLocations":["4084:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":40,"src":"4084:8:38"},"nodeType":"ModifierInvocation","src":"4084:23:38"}],"name":"processPurchase","nameLocation":"3945:15:38","nodeType":"FunctionDefinition","overrides":{"id":15301,"nodeType":"OverrideSpecifier","overrides":[],"src":"4067:8:38"},"parameters":{"id":15300,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15295,"mutability":"mutable","name":"referee","nameLocation":"3978:7:38","nodeType":"VariableDeclaration","scope":15481,"src":"3970:15:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15294,"name":"address","nodeType":"ElementaryTypeName","src":"3970:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15297,"mutability":"mutable","name":"referrer","nameLocation":"4003:8:38","nodeType":"VariableDeclaration","scope":15481,"src":"3995:16:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15296,"name":"address","nodeType":"ElementaryTypeName","src":"3995:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15299,"mutability":"mutable","name":"amount","nameLocation":"4029:6:38","nodeType":"VariableDeclaration","scope":15481,"src":"4021:14:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15298,"name":"uint256","nodeType":"ElementaryTypeName","src":"4021:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3960:81:38"},"returnParameters":{"id":15315,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15308,"mutability":"mutable","name":"recipients","nameLocation":"4156:10:38","nodeType":"VariableDeclaration","scope":15481,"src":"4138:28:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39923_memory_ptr","typeString":"address[3]"},"typeName":{"baseType":{"id":15305,"name":"address","nodeType":"ElementaryTypeName","src":"4138:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":15307,"length":{"hexValue":"33","id":15306,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4146:1:38","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"4138:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39933_storage_ptr","typeString":"address[3]"}},"visibility":"internal"},{"constant":false,"id":15312,"mutability":"mutable","name":"bonuses","nameLocation":"4198:7:38","nodeType":"VariableDeclaration","scope":15481,"src":"4180:25:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39943_memory_ptr","typeString":"uint256[3]"},"typeName":{"baseType":{"id":15309,"name":"uint256","nodeType":"ElementaryTypeName","src":"4180:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15311,"length":{"hexValue":"33","id":15310,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4188:1:38","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"4180:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_39953_storage_ptr","typeString":"uint256[3]"}},"visibility":"internal"},{"constant":false,"id":15314,"mutability":"mutable","name":"totalPaid","nameLocation":"4227:9:38","nodeType":"VariableDeclaration","scope":15481,"src":"4219:17:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15313,"name":"uint256","nodeType":"ElementaryTypeName","src":"4219:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4124:122:38"},"scope":15779,"src":"3936:1640:38","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":15570,"nodeType":"Block","src":"5651:578:38","statements":[{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":15500,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15493,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15488,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15483,"src":"5665:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":15491,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5684:1:38","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":15490,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5676:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15489,"name":"address","nodeType":"ElementaryTypeName","src":"5676:7:38","typeDescriptions":{}}},"id":15492,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5676:10:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5665:21:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15499,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15494,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15485,"src":"5690:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":15497,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5710:1:38","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":15496,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5702:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15495,"name":"address","nodeType":"ElementaryTypeName","src":"5702:7:38","typeDescriptions":{}}},"id":15498,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5702:10:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5690:22:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5665:47:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15502,"nodeType":"IfStatement","src":"5661:60:38","trueBody":{"functionReturnParameters":15487,"id":15501,"nodeType":"Return","src":"5714:7:38"}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15505,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15503,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15483,"src":"5734:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":15504,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15485,"src":"5745:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5734:19:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15507,"nodeType":"IfStatement","src":"5730:32:38","trueBody":{"functionReturnParameters":15487,"id":15506,"nodeType":"Return","src":"5755:7:38"}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15515,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"baseExpression":{"id":15508,"name":"referrerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15086,"src":"5775:10:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"}},"id":15510,"indexExpression":{"id":15509,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15483,"src":"5786:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5775:19:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":15513,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5806:1:38","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":15512,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5798:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15511,"name":"address","nodeType":"ElementaryTypeName","src":"5798:7:38","typeDescriptions":{}}},"id":15514,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5798:10:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5775:33:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15517,"nodeType":"IfStatement","src":"5771:46:38","trueBody":{"functionReturnParameters":15487,"id":15516,"nodeType":"Return","src":"5810:7:38"}},{"assignments":[15519],"declarations":[{"constant":false,"id":15519,"mutability":"mutable","name":"cur","nameLocation":"5910:3:38","nodeType":"VariableDeclaration","scope":15570,"src":"5902:11:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15518,"name":"address","nodeType":"ElementaryTypeName","src":"5902:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":15521,"initialValue":{"id":15520,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15485,"src":"5916:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"5902:22:38"},{"body":{"id":15551,"nodeType":"Block","src":"5966:128:38","statements":[{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15537,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15532,"name":"cur","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15519,"src":"5984:3:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":15535,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5999:1:38","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":15534,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5991:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":15533,"name":"address","nodeType":"ElementaryTypeName","src":"5991:7:38","typeDescriptions":{}}},"id":15536,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"5991:10:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5984:17:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15539,"nodeType":"IfStatement","src":"5980:28:38","trueBody":{"id":15538,"nodeType":"Break","src":"6003:5:38"}},{"condition":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":15542,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15540,"name":"cur","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15519,"src":"6026:3:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":15541,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15483,"src":"6033:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6026:14:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15544,"nodeType":"IfStatement","src":"6022:27:38","trueBody":{"functionReturnParameters":15487,"id":15543,"nodeType":"Return","src":"6042:7:38"}},{"expression":{"id":15549,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15545,"name":"cur","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15519,"src":"6062:3:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"id":15546,"name":"referrerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15086,"src":"6068:10:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"}},"id":15548,"indexExpression":{"id":15547,"name":"cur","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15519,"src":"6079:3:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6068:15:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6062:21:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":15550,"nodeType":"ExpressionStatement","src":"6062:21:38"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15528,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15526,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15523,"src":"5954:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"33","id":15527,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5958:1:38","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"src":"5954:5:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15552,"initializationExpression":{"assignments":[15523],"declarations":[{"constant":false,"id":15523,"mutability":"mutable","name":"i","nameLocation":"5947:1:38","nodeType":"VariableDeclaration","scope":15552,"src":"5939:9:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15522,"name":"uint256","nodeType":"ElementaryTypeName","src":"5939:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15525,"initialValue":{"hexValue":"30","id":15524,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5951:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"5939:13:38"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":15530,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"5961:3:38","subExpression":{"id":15529,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15523,"src":"5961:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15531,"nodeType":"ExpressionStatement","src":"5961:3:38"},"nodeType":"ForStatement","src":"5934:160:38"},{"expression":{"id":15557,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":15553,"name":"referrerOf","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15086,"src":"6104:10:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_address_$","typeString":"mapping(address => address)"}},"id":15555,"indexExpression":{"id":15554,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15483,"src":"6115:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6104:19:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15556,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15485,"src":"6126:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6104:30:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":15558,"nodeType":"ExpressionStatement","src":"6104:30:38"},{"expression":{"id":15563,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":15559,"name":"directRefereeCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15090,"src":"6144:18:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint32_$","typeString":"mapping(address => uint32)"}},"id":15561,"indexExpression":{"id":15560,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15485,"src":"6163:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"6144:28:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"+=","rightHandSide":{"hexValue":"31","id":15562,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6176:1:38","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"6144:33:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15564,"nodeType":"ExpressionStatement","src":"6144:33:38"},{"eventCall":{"arguments":[{"id":15566,"name":"referee","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15483,"src":"6204:7:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":15567,"name":"referrer","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15485,"src":"6213:8:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":15565,"name":"ReferrerSet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15100,"src":"6192:11:38","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":15568,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"6192:30:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15569,"nodeType":"EmitStatement","src":"6187:35:38"}]},"id":15571,"implemented":true,"kind":"function","modifiers":[],"name":"_trySetReferrer","nameLocation":"5591:15:38","nodeType":"FunctionDefinition","parameters":{"id":15486,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15483,"mutability":"mutable","name":"referee","nameLocation":"5615:7:38","nodeType":"VariableDeclaration","scope":15571,"src":"5607:15:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15482,"name":"address","nodeType":"ElementaryTypeName","src":"5607:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":15485,"mutability":"mutable","name":"referrer","nameLocation":"5632:8:38","nodeType":"VariableDeclaration","scope":15571,"src":"5624:16:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15484,"name":"address","nodeType":"ElementaryTypeName","src":"5624:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5606:35:38"},"returnParameters":{"id":15487,"nodeType":"ParameterList","parameters":[],"src":"5651:0:38"},"scope":15779,"src":"5582:647:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":15625,"nodeType":"Block","src":"6307:500:38","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15581,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":15578,"name":"_rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15082,"src":"6362:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_401015063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep storage ref[] storage ref"}},"id":15579,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6373:6:38","memberName":"length","nodeType":"MemberAccess","src":"6362:17:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"30","id":15580,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6383:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6362:22:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15584,"nodeType":"IfStatement","src":"6358:43:38","trueBody":{"expression":{"id":15582,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15068,"src":"6393:8:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"functionReturnParameters":15577,"id":15583,"nodeType":"Return","src":"6386:15:38"}},{"assignments":[15586],"declarations":[{"constant":false,"id":15586,"mutability":"mutable","name":"cnt","nameLocation":"6419:3:38","nodeType":"VariableDeclaration","scope":15625,"src":"6412:10:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15585,"name":"uint32","nodeType":"ElementaryTypeName","src":"6412:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"id":15590,"initialValue":{"baseExpression":{"id":15587,"name":"directRefereeCount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15090,"src":"6425:18:38","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_uint32_$","typeString":"mapping(address => uint32)"}},"id":15589,"indexExpression":{"id":15588,"name":"user","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15573,"src":"6444:4:38","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6425:24:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"VariableDeclarationStatement","src":"6412:37:38"},{"assignments":[15592],"declarations":[{"constant":false,"id":15592,"mutability":"mutable","name":"best","nameLocation":"6466:4:38","nodeType":"VariableDeclaration","scope":15625,"src":"6459:11:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15591,"name":"uint32","nodeType":"ElementaryTypeName","src":"6459:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"id":15594,"initialValue":{"hexValue":"30","id":15593,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6473:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"6459:15:38"},{"body":{"id":15621,"nodeType":"Block","src":"6592:107:38","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":15611,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15606,"name":"cnt","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15586,"src":"6610:3:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"baseExpression":{"id":15607,"name":"_rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15082,"src":"6616:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep storage ref[] storage ref"}},"id":15609,"indexExpression":{"id":15608,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15596,"src":"6627:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6616:13:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_storage","typeString":"struct ReferralRewards.RateStep storage ref"}},"id":15610,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6630:12:38","memberName":"refereeCount","nodeType":"MemberAccess","referencedDeclaration":15060,"src":"6616:26:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"6610:32:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15613,"nodeType":"IfStatement","src":"6606:43:38","trueBody":{"id":15612,"nodeType":"Break","src":"6644:5:38"}},{"expression":{"id":15619,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15614,"name":"best","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15592,"src":"6663:4:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"baseExpression":{"id":15615,"name":"_rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15082,"src":"6670:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep storage ref[] storage ref"}},"id":15617,"indexExpression":{"id":15616,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15596,"src":"6681:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"6670:13:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_storage","typeString":"struct ReferralRewards.RateStep storage ref"}},"id":15618,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"6684:4:38","memberName":"rate","nodeType":"MemberAccess","referencedDeclaration":15062,"src":"6670:18:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"6663:25:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15620,"nodeType":"ExpressionStatement","src":"6663:25:38"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15602,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15599,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15596,"src":"6564:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":15600,"name":"_rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15082,"src":"6568:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep storage ref[] storage ref"}},"id":15601,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"6579:6:38","memberName":"length","nodeType":"MemberAccess","src":"6568:17:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6564:21:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15622,"initializationExpression":{"assignments":[15596],"declarations":[{"constant":false,"id":15596,"mutability":"mutable","name":"i","nameLocation":"6557:1:38","nodeType":"VariableDeclaration","scope":15622,"src":"6549:9:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15595,"name":"uint256","nodeType":"ElementaryTypeName","src":"6549:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15598,"initialValue":{"hexValue":"30","id":15597,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6561:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"6549:13:38"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":15604,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"6587:3:38","subExpression":{"id":15603,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15596,"src":"6587:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15605,"nodeType":"ExpressionStatement","src":"6587:3:38"},"nodeType":"ForStatement","src":"6544:155:38"},{"expression":{"id":15623,"name":"best","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15592,"src":"6796:4:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"functionReturnParameters":15577,"id":15624,"nodeType":"Return","src":"6789:11:38"}]},"id":15626,"implemented":true,"kind":"function","modifiers":[],"name":"_refereeCountRate","nameLocation":"6244:17:38","nodeType":"FunctionDefinition","parameters":{"id":15574,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15573,"mutability":"mutable","name":"user","nameLocation":"6270:4:38","nodeType":"VariableDeclaration","scope":15626,"src":"6262:12:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15572,"name":"address","nodeType":"ElementaryTypeName","src":"6262:7:38","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6261:14:38"},"returnParameters":{"id":15577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15576,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15626,"src":"6299:6:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15575,"name":"uint32","nodeType":"ElementaryTypeName","src":"6299:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"src":"6298:8:38"},"scope":15779,"src":"6235:572:38","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":15710,"nodeType":"Block","src":"6996:718:38","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":15641,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15639,"name":"_referralBonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15628,"src":"7010:14:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":15640,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15068,"src":"7027:8:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"7010:25:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15645,"nodeType":"IfStatement","src":"7006:53:38","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":15642,"name":"InvalidConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15122,"src":"7044:13:38","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":15643,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7044:15:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":15644,"nodeType":"RevertStatement","src":"7037:22:38"}},{"assignments":[15647],"declarations":[{"constant":false,"id":15647,"mutability":"mutable","name":"sum","nameLocation":"7128:3:38","nodeType":"VariableDeclaration","scope":15710,"src":"7120:11:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15646,"name":"uint256","nodeType":"ElementaryTypeName","src":"7120:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15668,"initialValue":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15667,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15660,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"baseExpression":{"id":15650,"name":"_levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15636,"src":"7142:11:38","typeDescriptions":{"typeIdentifier":"t_array$_t_uint32_$3_memory_ptr","typeString":"uint32[3] memory"}},"id":15652,"indexExpression":{"hexValue":"30","id":15651,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7154:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7142:14:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15649,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7134:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15648,"name":"uint256","nodeType":"ElementaryTypeName","src":"7134:7:38","typeDescriptions":{}}},"id":15653,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7134:23:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"baseExpression":{"id":15656,"name":"_levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15636,"src":"7180:11:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40223_memory_ptr","typeString":"uint32[3] memory"}},"id":15658,"indexExpression":{"hexValue":"31","id":15657,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7192:1:38","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7180:14:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15655,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7172:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15654,"name":"uint256","nodeType":"ElementaryTypeName","src":"7172:7:38","typeDescriptions":{}}},"id":15659,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7172:23:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7134:61:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"+","rightExpression":{"arguments":[{"baseExpression":{"id":15663,"name":"_levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15636,"src":"7218:11:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40243_memory_ptr","typeString":"uint32[3] memory"}},"id":15665,"indexExpression":{"hexValue":"32","id":15664,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7230:1:38","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7218:14:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15662,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7210:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15661,"name":"uint256","nodeType":"ElementaryTypeName","src":"7210:7:38","typeDescriptions":{}}},"id":15666,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7210:23:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7134:99:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7120:113:38"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15674,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15669,"name":"sum","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15647,"src":"7247:3:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"arguments":[{"id":15672,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15068,"src":"7261:8:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15671,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7253:7:38","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":15670,"name":"uint256","nodeType":"ElementaryTypeName","src":"7253:7:38","typeDescriptions":{}}},"id":15673,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7253:17:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7247:23:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15678,"nodeType":"IfStatement","src":"7243:51:38","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":15675,"name":"InvalidConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15122,"src":"7279:13:38","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":15676,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7279:15:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":15677,"nodeType":"RevertStatement","src":"7272:22:38"}},{"expression":{"id":15681,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15679,"name":"referralBonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15070,"src":"7305:13:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15680,"name":"_referralBonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15628,"src":"7321:14:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"7305:30:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15682,"nodeType":"ExpressionStatement","src":"7305:30:38"},{"expression":{"id":15685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15683,"name":"secondsUntilInactive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15072,"src":"7345:20:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15684,"name":"_secondsUntilInactive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15630,"src":"7368:21:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"7345:44:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15686,"nodeType":"ExpressionStatement","src":"7345:44:38"},{"expression":{"id":15689,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15687,"name":"onlyRewardActiveReferrers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15074,"src":"7399:25:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15688,"name":"_onlyRewardActiveReferrers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15632,"src":"7427:26:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7399:54:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15690,"nodeType":"ExpressionStatement","src":"7399:54:38"},{"expression":{"id":15693,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15691,"name":"levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15078,"src":"7463:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40293_storage","typeString":"uint32[3] storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15692,"name":"_levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15636,"src":"7476:11:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40303_memory_ptr","typeString":"uint32[3] memory"}},"src":"7463:24:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40313_storage","typeString":"uint32[3] storage ref"}},"id":15694,"nodeType":"ExpressionStatement","src":"7463:24:38"},{"eventCall":{"arguments":[{"id":15696,"name":"referralBonus","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15070,"src":"7530:13:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},{"id":15697,"name":"secondsUntilInactive","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15072,"src":"7557:20:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},{"id":15698,"name":"onlyRewardActiveReferrers","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15074,"src":"7591:25:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"baseExpression":{"id":15699,"name":"levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15078,"src":"7630:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40323_storage","typeString":"uint32[3] storage ref"}},"id":15701,"indexExpression":{"hexValue":"30","id":15700,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7641:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7630:13:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},{"baseExpression":{"id":15702,"name":"levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15078,"src":"7657:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40333_storage","typeString":"uint32[3] storage ref"}},"id":15704,"indexExpression":{"hexValue":"31","id":15703,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7668:1:38","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7657:13:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},{"baseExpression":{"id":15705,"name":"levelRates","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15078,"src":"7684:10:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40343_storage","typeString":"uint32[3] storage ref"}},"id":15707,"indexExpression":{"hexValue":"32","id":15706,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7695:1:38","typeDescriptions":{"typeIdentifier":"t_rational_2_by_1","typeString":"int_const 2"},"value":"2"},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7684:13:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint32","typeString":"uint32"},{"typeIdentifier":"t_uint32","typeString":"uint32"},{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_uint32","typeString":"uint32"},{"typeIdentifier":"t_uint32","typeString":"uint32"},{"typeIdentifier":"t_uint32","typeString":"uint32"}],"id":15695,"name":"ConfigUpdated","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15120,"src":"7503:13:38","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint32_$_t_uint32_$_t_bool_$_t_uint32_$_t_uint32_$_t_uint32_$returns$__$","typeString":"function (uint32,uint32,bool,uint32,uint32,uint32)"}},"id":15708,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7503:204:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15709,"nodeType":"EmitStatement","src":"7498:209:38"}]},"id":15711,"implemented":true,"kind":"function","modifiers":[],"name":"_setConfig","nameLocation":"6822:10:38","nodeType":"FunctionDefinition","parameters":{"id":15637,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15628,"mutability":"mutable","name":"_referralBonus","nameLocation":"6849:14:38","nodeType":"VariableDeclaration","scope":15711,"src":"6842:21:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15627,"name":"uint32","nodeType":"ElementaryTypeName","src":"6842:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15630,"mutability":"mutable","name":"_secondsUntilInactive","nameLocation":"6880:21:38","nodeType":"VariableDeclaration","scope":15711,"src":"6873:28:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15629,"name":"uint32","nodeType":"ElementaryTypeName","src":"6873:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"},{"constant":false,"id":15632,"mutability":"mutable","name":"_onlyRewardActiveReferrers","nameLocation":"6916:26:38","nodeType":"VariableDeclaration","scope":15711,"src":"6911:31:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":15631,"name":"bool","nodeType":"ElementaryTypeName","src":"6911:4:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":15636,"mutability":"mutable","name":"_levelRates","nameLocation":"6969:11:38","nodeType":"VariableDeclaration","scope":15711,"src":"6952:28:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_uint32_$3_memory_ptr","typeString":"uint32[3]"},"typeName":{"baseType":{"id":15633,"name":"uint32","nodeType":"ElementaryTypeName","src":"6952:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15635,"length":{"hexValue":"33","id":15634,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6959:1:38","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"6952:9:38","typeDescriptions":{"typeIdentifier":"t_arrayMATH_PLACEHOLDER_40413_storage_ptr","typeString":"uint32[3]"}},"visibility":"internal"}],"src":"6832:154:38"},"returnParameters":{"id":15638,"nodeType":"ParameterList","parameters":[],"src":"6996:0:38"},"scope":15779,"src":"6813:901:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":15777,"nodeType":"Block","src":"7781:370:38","statements":[{"expression":{"id":15719,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"delete","prefix":true,"src":"7791:17:38","subExpression":{"id":15718,"name":"_rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15082,"src":"7798:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep storage ref[] storage ref"}},"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15720,"nodeType":"ExpressionStatement","src":"7791:17:38"},{"assignments":[15722],"declarations":[{"constant":false,"id":15722,"mutability":"mutable","name":"prev","nameLocation":"7826:4:38","nodeType":"VariableDeclaration","scope":15777,"src":"7819:11:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"},"typeName":{"id":15721,"name":"uint32","nodeType":"ElementaryTypeName","src":"7819:6:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"visibility":"internal"}],"id":15724,"initialValue":{"hexValue":"30","id":15723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7833:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"7819:15:38"},{"body":{"id":15775,"nodeType":"Block","src":"7891:254:38","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":15741,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":15736,"name":"rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15715,"src":"7909:9:38","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_404515063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep memory[] memory"}},"id":15738,"indexExpression":{"id":15737,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15726,"src":"7919:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7909:12:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_memory_ptr","typeString":"struct ReferralRewards.RateStep memory"}},"id":15739,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"7922:4:38","memberName":"rate","nodeType":"MemberAccess","referencedDeclaration":15062,"src":"7909:17:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"id":15740,"name":"decimals","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15068,"src":"7929:8:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"7909:28:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15745,"nodeType":"IfStatement","src":"7905:56:38","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":15742,"name":"InvalidConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15122,"src":"7946:13:38","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":15743,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"7946:15:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":15744,"nodeType":"RevertStatement","src":"7939:22:38"}},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":15755,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15748,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15746,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15726,"src":"7979:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":15747,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7983:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"7979:5:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint32","typeString":"uint32"},"id":15754,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":15749,"name":"rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15715,"src":"7988:9:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep memory[] memory"}},"id":15751,"indexExpression":{"id":15750,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15726,"src":"7998:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"7988:12:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_memory_ptr","typeString":"struct ReferralRewards.RateStep memory"}},"id":15752,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8001:12:38","memberName":"refereeCount","nodeType":"MemberAccess","referencedDeclaration":15060,"src":"7988:25:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"BinaryOperation","operator":"<=","rightExpression":{"id":15753,"name":"prev","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15722,"src":"8017:4:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"7988:33:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7979:42:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15759,"nodeType":"IfStatement","src":"7975:70:38","trueBody":{"errorCall":{"arguments":[],"expression":{"argumentTypes":[],"id":15756,"name":"InvalidConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15122,"src":"8030:13:38","typeDescriptions":{"typeIdentifier":"t_function_error_pure$__$returns$_t_error_$","typeString":"function () pure returns (error)"}},"id":15757,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8030:15:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_error","typeString":"error"}},"id":15758,"nodeType":"RevertStatement","src":"8023:22:38"}},{"expression":{"id":15765,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15760,"name":"prev","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15722,"src":"8059:4:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"baseExpression":{"id":15761,"name":"rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15715,"src":"8066:9:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep memory[] memory"}},"id":15763,"indexExpression":{"id":15762,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15726,"src":"8076:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8066:12:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_memory_ptr","typeString":"struct ReferralRewards.RateStep memory"}},"id":15764,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberLocation":"8079:12:38","memberName":"refereeCount","nodeType":"MemberAccess","referencedDeclaration":15060,"src":"8066:25:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"src":"8059:32:38","typeDescriptions":{"typeIdentifier":"t_uint32","typeString":"uint32"}},"id":15766,"nodeType":"ExpressionStatement","src":"8059:32:38"},{"expression":{"arguments":[{"baseExpression":{"id":15770,"name":"rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15715,"src":"8121:9:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep memory[] memory"}},"id":15772,"indexExpression":{"id":15771,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15726,"src":"8131:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"8121:12:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_memory_ptr","typeString":"struct ReferralRewards.RateStep memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_structMATH_PLACEHOLDER_405715063_memory_ptr","typeString":"struct ReferralRewards.RateStep memory"}],"expression":{"id":15767,"name":"_rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15082,"src":"8105:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage","typeString":"struct ReferralRewards.RateStep storage ref[] storage ref"}},"id":15769,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"8116:4:38","memberName":"push","nodeType":"MemberAccess","src":"8105:15:38","typeDescriptions":{"typeIdentifier":"t_function_arraypush_nonpayable$_t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage_ptr_$_t_structMATH_PLACEHOLDER_406215063_storage_$returns$__$attached_to$_t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage_ptr_$","typeString":"function (struct ReferralRewards.RateStep storage ref[] storage pointer,struct ReferralRewards.RateStep storage ref)"}},"id":15773,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"8105:29:38","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15774,"nodeType":"ExpressionStatement","src":"8105:29:38"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":15732,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":15729,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15726,"src":"7864:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":15730,"name":"rateSteps","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15715,"src":"7868:9:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep memory[] memory"}},"id":15731,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"7878:6:38","memberName":"length","nodeType":"MemberAccess","src":"7868:16:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7864:20:38","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":15776,"initializationExpression":{"assignments":[15726],"declarations":[{"constant":false,"id":15726,"mutability":"mutable","name":"i","nameLocation":"7857:1:38","nodeType":"VariableDeclaration","scope":15776,"src":"7849:9:38","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15725,"name":"uint256","nodeType":"ElementaryTypeName","src":"7849:7:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":15728,"initialValue":{"hexValue":"30","id":15727,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7861:1:38","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"7849:13:38"},"isSimpleCounterLoop":true,"loopExpression":{"expression":{"id":15734,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"7886:3:38","subExpression":{"id":15733,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15726,"src":"7886:1:38","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":15735,"nodeType":"ExpressionStatement","src":"7886:3:38"},"nodeType":"ForStatement","src":"7844:301:38"}]},"id":15778,"implemented":true,"kind":"function","modifiers":[],"name":"_setRateSteps","nameLocation":"7729:13:38","nodeType":"FunctionDefinition","parameters":{"id":15716,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15715,"mutability":"mutable","name":"rateSteps","nameLocation":"7761:9:38","nodeType":"VariableDeclaration","scope":15778,"src":"7743:27:38","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_structMATH_PLACEHOLDER_407015063_memory_ptr_$dyn_memory_ptr","typeString":"struct ReferralRewards.RateStep[]"},"typeName":{"baseType":{"id":15713,"nodeType":"UserDefinedTypeName","pathNode":{"id":15712,"name":"RateStep","nameLocations":["7743:8:38"],"nodeType":"IdentifierPath","referencedDeclaration":15063,"src":"7743:8:38"},"referencedDeclaration":15063,"src":"7743:8:38","typeDescriptions":{"typeIdentifier":"t_struct$_RateStep_$15063_storage_ptr","typeString":"struct ReferralRewards.RateStep"}},"id":15714,"nodeType":"ArrayTypeName","src":"7743:10:38","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_RateStep_$15063_storage_$dyn_storage_ptr","typeString":"struct ReferralRewards.RateStep[]"}},"visibility":"internal"}],"src":"7742:29:38"},"returnParameters":{"id":15717,"nodeType":"ParameterList","parameters":[],"src":"7781:0:38"},"scope":15779,"src":"7720:431:38","stateMutability":"nonpayable","virtual":false,"visibility":"internal"}],"scope":15780,"src":"775:7378:38","usedErrors":[305,308,15122],"usedEvents":[317,326,335,15100,15106,15120]}],"src":"32:8123:38"},"id":38},"contracts/ReverseRegistrar.sol":{"ast":{"absolutePath":"contracts/ReverseRegistrar.sol","exportedSymbols":{"IENS":[15800],"IResolver":[15808],"ReverseRegistrar":[15886]},"id":15887,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15781,"literals":["solidity","^","0.8",".28"],"nodeType":"PragmaDirective","src":"32:24:39"},{"abstract":false,"baseContracts":[],"canonicalName":"IENS","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":15800,"linearizedBaseContracts":[15800],"name":"IENS","nameLocation":"68:4:39","nodeType":"ContractDefinition","nodes":[{"functionSelector":"06ab5923","id":15792,"implemented":false,"kind":"function","modifiers":[],"name":"setSubnodeOwner","nameLocation":"88:15:39","nodeType":"FunctionDefinition","parameters":{"id":15788,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15783,"mutability":"mutable","name":"node","nameLocation":"112:4:39","nodeType":"VariableDeclaration","scope":15792,"src":"104:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15782,"name":"bytes32","nodeType":"ElementaryTypeName","src":"104:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":15785,"mutability":"mutable","name":"label","nameLocation":"126:5:39","nodeType":"VariableDeclaration","scope":15792,"src":"118:13:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15784,"name":"bytes32","nodeType":"ElementaryTypeName","src":"118:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":15787,"mutability":"mutable","name":"owner","nameLocation":"141:5:39","nodeType":"VariableDeclaration","scope":15792,"src":"133:13:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15786,"name":"address","nodeType":"ElementaryTypeName","src":"133:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"103:44:39"},"returnParameters":{"id":15791,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15790,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15792,"src":"165:7:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15789,"name":"bytes32","nodeType":"ElementaryTypeName","src":"165:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"164:9:39"},"scope":15800,"src":"79:95:39","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"functionSelector":"02571be3","id":15799,"implemented":false,"kind":"function","modifiers":[],"name":"owner","nameLocation":"188:5:39","nodeType":"FunctionDefinition","parameters":{"id":15795,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15794,"mutability":"mutable","name":"node","nameLocation":"202:4:39","nodeType":"VariableDeclaration","scope":15799,"src":"194:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15793,"name":"bytes32","nodeType":"ElementaryTypeName","src":"194:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"193:14:39"},"returnParameters":{"id":15798,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15797,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15799,"src":"231:7:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15796,"name":"address","nodeType":"ElementaryTypeName","src":"231:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"230:9:39"},"scope":15800,"src":"179:61:39","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":15887,"src":"58:184:39","usedErrors":[],"usedEvents":[]},{"abstract":false,"baseContracts":[],"canonicalName":"IResolver","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":15808,"linearizedBaseContracts":[15808],"name":"IResolver","nameLocation":"254:9:39","nodeType":"ContractDefinition","nodes":[{"functionSelector":"77372213","id":15807,"implemented":false,"kind":"function","modifiers":[],"name":"setName","nameLocation":"279:7:39","nodeType":"FunctionDefinition","parameters":{"id":15805,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15802,"mutability":"mutable","name":"node","nameLocation":"295:4:39","nodeType":"VariableDeclaration","scope":15807,"src":"287:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15801,"name":"bytes32","nodeType":"ElementaryTypeName","src":"287:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"},{"constant":false,"id":15804,"mutability":"mutable","name":"name","nameLocation":"317:4:39","nodeType":"VariableDeclaration","scope":15807,"src":"301:20:39","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":15803,"name":"string","nodeType":"ElementaryTypeName","src":"301:6:39","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"286:36:39"},"returnParameters":{"id":15806,"nodeType":"ParameterList","parameters":[],"src":"331:0:39"},"scope":15808,"src":"270:62:39","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":15887,"src":"244:90:39","usedErrors":[],"usedEvents":[]},{"abstract":false,"baseContracts":[],"canonicalName":"ReverseRegistrar","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":15886,"linearizedBaseContracts":[15886],"name":"ReverseRegistrar","nameLocation":"345:16:39","nodeType":"ContractDefinition","nodes":[{"constant":false,"functionSelector":"3f15457f","id":15811,"mutability":"mutable","name":"ens","nameLocation":"380:3:39","nodeType":"VariableDeclaration","scope":15886,"src":"368:15:39","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_IENS_$15800","typeString":"contract IENS"},"typeName":{"id":15810,"nodeType":"UserDefinedTypeName","pathNode":{"id":15809,"name":"IENS","nameLocations":["368:4:39"],"nodeType":"IdentifierPath","referencedDeclaration":15800,"src":"368:4:39"},"referencedDeclaration":15800,"src":"368:4:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_407415800","typeString":"contract IENS"}},"visibility":"public"},{"constant":false,"functionSelector":"828eab0e","id":15814,"mutability":"mutable","name":"defaultResolver","nameLocation":"406:15:39","nodeType":"VariableDeclaration","scope":15886,"src":"389:32:39","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_407515808","typeString":"contract IResolver"},"typeName":{"id":15813,"nodeType":"UserDefinedTypeName","pathNode":{"id":15812,"name":"IResolver","nameLocations":["389:9:39"],"nodeType":"IdentifierPath","referencedDeclaration":15808,"src":"389:9:39"},"referencedDeclaration":15808,"src":"389:9:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_407615808","typeString":"contract IResolver"}},"visibility":"public"},{"constant":true,"functionSelector":"7cf8a2eb","id":15817,"mutability":"constant","name":"ADDR_REVERSE_NODE","nameLocation":"451:17:39","nodeType":"VariableDeclaration","scope":15886,"src":"427:110:39","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15815,"name":"bytes32","nodeType":"ElementaryTypeName","src":"427:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"value":{"hexValue":"307839316431373737373831383834643033613637353761383033393936653338646532613432393637666233376565616361373237323932373130323561396532","id":15816,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"471:66:39","typeDescriptions":{"typeIdentifier":"t_rational_65955458610802586644366824307633271870356699036341805474246458084352783133154_by_1","typeString":"int_const 6595...(69 digits omitted)...3154"},"value":"0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2"},"visibility":"public"},{"body":{"id":15834,"nodeType":"Block","src":"592:64:39","statements":[{"expression":{"id":15828,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15826,"name":"ens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15811,"src":"602:3:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_407715800","typeString":"contract IENS"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15827,"name":"_ens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15820,"src":"608:4:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_407815800","typeString":"contract IENS"}},"src":"602:10:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_407915800","typeString":"contract IENS"}},"id":15829,"nodeType":"ExpressionStatement","src":"602:10:39"},{"expression":{"id":15832,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":15830,"name":"defaultResolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15814,"src":"622:15:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_408015808","typeString":"contract IResolver"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":15831,"name":"_resolver","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15823,"src":"640:9:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_408115808","typeString":"contract IResolver"}},"src":"622:27:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_408215808","typeString":"contract IResolver"}},"id":15833,"nodeType":"ExpressionStatement","src":"622:27:39"}]},"id":15835,"implemented":true,"kind":"constructor","modifiers":[],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":15824,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15820,"mutability":"mutable","name":"_ens","nameLocation":"565:4:39","nodeType":"VariableDeclaration","scope":15835,"src":"560:9:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_408315800","typeString":"contract IENS"},"typeName":{"id":15819,"nodeType":"UserDefinedTypeName","pathNode":{"id":15818,"name":"IENS","nameLocations":["560:4:39"],"nodeType":"IdentifierPath","referencedDeclaration":15800,"src":"560:4:39"},"referencedDeclaration":15800,"src":"560:4:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_408415800","typeString":"contract IENS"}},"visibility":"internal"},{"constant":false,"id":15823,"mutability":"mutable","name":"_resolver","nameLocation":"581:9:39","nodeType":"VariableDeclaration","scope":15835,"src":"571:19:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_408515808","typeString":"contract IResolver"},"typeName":{"id":15822,"nodeType":"UserDefinedTypeName","pathNode":{"id":15821,"name":"IResolver","nameLocations":["571:9:39"],"nodeType":"IdentifierPath","referencedDeclaration":15808,"src":"571:9:39"},"referencedDeclaration":15808,"src":"571:9:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_408615808","typeString":"contract IResolver"}},"visibility":"internal"}],"src":"559:32:39"},"returnParameters":{"id":15825,"nodeType":"ParameterList","parameters":[],"src":"592:0:39"},"scope":15886,"src":"548:108:39","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":15871,"nodeType":"Block","src":"727:290:39","statements":[{"assignments":[15843],"declarations":[{"constant":false,"id":15843,"mutability":"mutable","name":"label","nameLocation":"745:5:39","nodeType":"VariableDeclaration","scope":15871,"src":"737:13:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15842,"name":"bytes32","nodeType":"ElementaryTypeName","src":"737:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":15848,"initialValue":{"arguments":[{"expression":{"id":15845,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"768:3:39","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":15846,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"772:6:39","memberName":"sender","nodeType":"MemberAccess","src":"768:10:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":15844,"name":"sha3HexAddress","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15885,"src":"753:14:39","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_address_$returns$_t_bytes32_$","typeString":"function (address) pure returns (bytes32)"}},"id":15847,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"753:26:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"737:42:39"},{"assignments":[15850],"declarations":[{"constant":false,"id":15850,"mutability":"mutable","name":"node","nameLocation":"797:4:39","nodeType":"VariableDeclaration","scope":15871,"src":"789:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15849,"name":"bytes32","nodeType":"ElementaryTypeName","src":"789:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"id":15858,"initialValue":{"arguments":[{"arguments":[{"id":15854,"name":"ADDR_REVERSE_NODE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15817,"src":"831:17:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":15855,"name":"label","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15843,"src":"850:5:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"}],"expression":{"id":15852,"name":"abi","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-1,"src":"814:3:39","typeDescriptions":{"typeIdentifier":"t_magic_abi","typeString":"abi"}},"id":15853,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberLocation":"818:12:39","memberName":"encodePacked","nodeType":"MemberAccess","src":"814:16:39","typeDescriptions":{"typeIdentifier":"t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$","typeString":"function () pure returns (bytes memory)"}},"id":15856,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"814:42:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"id":15851,"name":"keccak256","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-8,"src":"804:9:39","typeDescriptions":{"typeIdentifier":"t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$","typeString":"function (bytes memory) pure returns (bytes32)"}},"id":15857,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"804:53:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"nodeType":"VariableDeclarationStatement","src":"789:68:39"},{"expression":{"arguments":[{"id":15863,"name":"ADDR_REVERSE_NODE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15817,"src":"943:17:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"id":15864,"name":"label","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15843,"src":"962:5:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},{"expression":{"id":15865,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"969:3:39","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":15866,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"973:6:39","memberName":"sender","nodeType":"MemberAccess","src":"969:10:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_bytes32","typeString":"bytes32"},{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":15860,"name":"ens","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15811,"src":"922:3:39","typeDescriptions":{"typeIdentifier":"t_contractMATH_PLACEHOLDER_409315800","typeString":"contract IENS"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contractMATH_PLACEHOLDER_409415800","typeString":"contract IENS"}],"id":15859,"name":"IENS","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15800,"src":"917:4:39","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_IENS_$15800_$","typeString":"type(contract IENS)"}},"id":15861,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"917:9:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_IENS_$15800","typeString":"contract IENS"}},"id":15862,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"927:15:39","memberName":"setSubnodeOwner","nodeType":"MemberAccess","referencedDeclaration":15792,"src":"917:25:39","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$returns$_t_bytes32_$","typeString":"function (bytes32,bytes32,address) external returns (bytes32)"}},"id":15867,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"917:63:39","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":15868,"nodeType":"ExpressionStatement","src":"917:63:39"},{"expression":{"id":15869,"name":"node","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15850,"src":"1006:4:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"functionReturnParameters":15841,"id":15870,"nodeType":"Return","src":"999:11:39"}]},"functionSelector":"c47f0027","id":15872,"implemented":true,"kind":"function","modifiers":[],"name":"setName","nameLocation":"675:7:39","nodeType":"FunctionDefinition","parameters":{"id":15838,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15837,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15872,"src":"683:15:39","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_string_calldata_ptr","typeString":"string"},"typeName":{"id":15836,"name":"string","nodeType":"ElementaryTypeName","src":"683:6:39","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"682:17:39"},"returnParameters":{"id":15841,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15840,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15872,"src":"718:7:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15839,"name":"bytes32","nodeType":"ElementaryTypeName","src":"718:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"717:9:39"},"scope":15886,"src":"666:351:39","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":15884,"nodeType":"Block","src":"1100:547:39","statements":[{"expression":{"id":15879,"name":"addr","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15874,"src":"1110:4:39","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":15880,"nodeType":"ExpressionStatement","src":"1110:4:39"},{"expression":{"id":15881,"name":"ret","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15877,"src":"1124:3:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"id":15882,"nodeType":"ExpressionStatement","src":"1124:3:39"},{"AST":{"nativeSrc":"1146:495:39","nodeType":"YulBlock","src":"1146:495:39","statements":[{"nativeSrc":"1160:80:39","nodeType":"YulVariableDeclaration","src":"1160:80:39","value":{"kind":"number","nativeSrc":"1174:66:39","nodeType":"YulLiteral","src":"1174:66:39","type":"","value":"0x3031323334353637383961626364656600000000000000000000000000000000"},"variables":[{"name":"lookup","nativeSrc":"1164:6:39","nodeType":"YulTypedName","src":"1164:6:39","type":""}]},{"nativeSrc":"1253:11:39","nodeType":"YulVariableDeclaration","src":"1253:11:39","value":{"kind":"number","nativeSrc":"1262:2:39","nodeType":"YulLiteral","src":"1262:2:39","type":"","value":"40"},"variables":[{"name":"i","nativeSrc":"1257:1:39","nodeType":"YulTypedName","src":"1257:1:39","type":""}]},{"body":{"nativeSrc":"1311:271:39","nodeType":"YulBlock","src":"1311:271:39","statements":[{"nativeSrc":"1329:14:39","nodeType":"YulAssignment","src":"1329:14:39","value":{"arguments":[{"name":"i","nativeSrc":"1338:1:39","nodeType":"YulIdentifier","src":"1338:1:39"},{"kind":"number","nativeSrc":"1341:1:39","nodeType":"YulLiteral","src":"1341:1:39","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"1334:3:39","nodeType":"YulIdentifier","src":"1334:3:39"},"nativeSrc":"1334:9:39","nodeType":"YulFunctionCall","src":"1334:9:39"},"variableNames":[{"name":"i","nativeSrc":"1329:1:39","nodeType":"YulIdentifier","src":"1329:1:39"}]},{"expression":{"arguments":[{"name":"i","nativeSrc":"1368:1:39","nodeType":"YulIdentifier","src":"1368:1:39"},{"arguments":[{"arguments":[{"name":"addr","nativeSrc":"1380:4:39","nodeType":"YulIdentifier","src":"1380:4:39"},{"kind":"number","nativeSrc":"1386:3:39","nodeType":"YulLiteral","src":"1386:3:39","type":"","value":"0xf"}],"functionName":{"name":"and","nativeSrc":"1376:3:39","nodeType":"YulIdentifier","src":"1376:3:39"},"nativeSrc":"1376:14:39","nodeType":"YulFunctionCall","src":"1376:14:39"},{"name":"lookup","nativeSrc":"1392:6:39","nodeType":"YulIdentifier","src":"1392:6:39"}],"functionName":{"name":"byte","nativeSrc":"1371:4:39","nodeType":"YulIdentifier","src":"1371:4:39"},"nativeSrc":"1371:28:39","nodeType":"YulFunctionCall","src":"1371:28:39"}],"functionName":{"name":"mstore8","nativeSrc":"1360:7:39","nodeType":"YulIdentifier","src":"1360:7:39"},"nativeSrc":"1360:40:39","nodeType":"YulFunctionCall","src":"1360:40:39"},"nativeSrc":"1360:40:39","nodeType":"YulExpressionStatement","src":"1360:40:39"},{"nativeSrc":"1417:23:39","nodeType":"YulAssignment","src":"1417:23:39","value":{"arguments":[{"name":"addr","nativeSrc":"1429:4:39","nodeType":"YulIdentifier","src":"1429:4:39"},{"kind":"number","nativeSrc":"1435:4:39","nodeType":"YulLiteral","src":"1435:4:39","type":"","value":"0x10"}],"functionName":{"name":"div","nativeSrc":"1425:3:39","nodeType":"YulIdentifier","src":"1425:3:39"},"nativeSrc":"1425:15:39","nodeType":"YulFunctionCall","src":"1425:15:39"},"variableNames":[{"name":"addr","nativeSrc":"1417:4:39","nodeType":"YulIdentifier","src":"1417:4:39"}]},{"nativeSrc":"1457:14:39","nodeType":"YulAssignment","src":"1457:14:39","value":{"arguments":[{"name":"i","nativeSrc":"1466:1:39","nodeType":"YulIdentifier","src":"1466:1:39"},{"kind":"number","nativeSrc":"1469:1:39","nodeType":"YulLiteral","src":"1469:1:39","type":"","value":"1"}],"functionName":{"name":"sub","nativeSrc":"1462:3:39","nodeType":"YulIdentifier","src":"1462:3:39"},"nativeSrc":"1462:9:39","nodeType":"YulFunctionCall","src":"1462:9:39"},"variableNames":[{"name":"i","nativeSrc":"1457:1:39","nodeType":"YulIdentifier","src":"1457:1:39"}]},{"expression":{"arguments":[{"name":"i","nativeSrc":"1496:1:39","nodeType":"YulIdentifier","src":"1496:1:39"},{"arguments":[{"arguments":[{"name":"addr","nativeSrc":"1508:4:39","nodeType":"YulIdentifier","src":"1508:4:39"},{"kind":"number","nativeSrc":"1514:3:39","nodeType":"YulLiteral","src":"1514:3:39","type":"","value":"0xf"}],"functionName":{"name":"and","nativeSrc":"1504:3:39","nodeType":"YulIdentifier","src":"1504:3:39"},"nativeSrc":"1504:14:39","nodeType":"YulFunctionCall","src":"1504:14:39"},{"name":"lookup","nativeSrc":"1520:6:39","nodeType":"YulIdentifier","src":"1520:6:39"}],"functionName":{"name":"byte","nativeSrc":"1499:4:39","nodeType":"YulIdentifier","src":"1499:4:39"},"nativeSrc":"1499:28:39","nodeType":"YulFunctionCall","src":"1499:28:39"}],"functionName":{"name":"mstore8","nativeSrc":"1488:7:39","nodeType":"YulIdentifier","src":"1488:7:39"},"nativeSrc":"1488:40:39","nodeType":"YulFunctionCall","src":"1488:40:39"},"nativeSrc":"1488:40:39","nodeType":"YulExpressionStatement","src":"1488:40:39"},{"nativeSrc":"1545:23:39","nodeType":"YulAssignment","src":"1545:23:39","value":{"arguments":[{"name":"addr","nativeSrc":"1557:4:39","nodeType":"YulIdentifier","src":"1557:4:39"},{"kind":"number","nativeSrc":"1563:4:39","nodeType":"YulLiteral","src":"1563:4:39","type":"","value":"0x10"}],"functionName":{"name":"div","nativeSrc":"1553:3:39","nodeType":"YulIdentifier","src":"1553:3:39"},"nativeSrc":"1553:15:39","nodeType":"YulFunctionCall","src":"1553:15:39"},"variableNames":[{"name":"addr","nativeSrc":"1545:4:39","nodeType":"YulIdentifier","src":"1545:4:39"}]}]},"condition":{"arguments":[{"name":"i","nativeSrc":"1301:1:39","nodeType":"YulIdentifier","src":"1301:1:39"},{"kind":"number","nativeSrc":"1304:1:39","nodeType":"YulLiteral","src":"1304:1:39","type":"","value":"0"}],"functionName":{"name":"gt","nativeSrc":"1298:2:39","nodeType":"YulIdentifier","src":"1298:2:39"},"nativeSrc":"1298:8:39","nodeType":"YulFunctionCall","src":"1298:8:39"},"nativeSrc":"1290:292:39","nodeType":"YulForLoop","post":{"nativeSrc":"1307:3:39","nodeType":"YulBlock","src":"1307:3:39","statements":[]},"pre":{"nativeSrc":"1294:3:39","nodeType":"YulBlock","src":"1294:3:39","statements":[]},"src":"1290:292:39"},{"nativeSrc":"1608:23:39","nodeType":"YulAssignment","src":"1608:23:39","value":{"arguments":[{"kind":"number","nativeSrc":"1625:1:39","nodeType":"YulLiteral","src":"1625:1:39","type":"","value":"0"},{"kind":"number","nativeSrc":"1628:2:39","nodeType":"YulLiteral","src":"1628:2:39","type":"","value":"40"}],"functionName":{"name":"keccak256","nativeSrc":"1615:9:39","nodeType":"YulIdentifier","src":"1615:9:39"},"nativeSrc":"1615:16:39","nodeType":"YulFunctionCall","src":"1615:16:39"},"variableNames":[{"name":"ret","nativeSrc":"1608:3:39","nodeType":"YulIdentifier","src":"1608:3:39"}]}]},"evmVersion":"paris","externalReferences":[{"declaration":15874,"isOffset":false,"isSlot":false,"src":"1380:4:39","valueSize":1},{"declaration":15874,"isOffset":false,"isSlot":false,"src":"1417:4:39","valueSize":1},{"declaration":15874,"isOffset":false,"isSlot":false,"src":"1429:4:39","valueSize":1},{"declaration":15874,"isOffset":false,"isSlot":false,"src":"1508:4:39","valueSize":1},{"declaration":15874,"isOffset":false,"isSlot":false,"src":"1545:4:39","valueSize":1},{"declaration":15874,"isOffset":false,"isSlot":false,"src":"1557:4:39","valueSize":1},{"declaration":15877,"isOffset":false,"isSlot":false,"src":"1608:3:39","valueSize":1}],"id":15883,"nodeType":"InlineAssembly","src":"1137:504:39"}]},"id":15885,"implemented":true,"kind":"function","modifiers":[],"name":"sha3HexAddress","nameLocation":"1036:14:39","nodeType":"FunctionDefinition","parameters":{"id":15875,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15874,"mutability":"mutable","name":"addr","nameLocation":"1059:4:39","nodeType":"VariableDeclaration","scope":15885,"src":"1051:12:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":15873,"name":"address","nodeType":"ElementaryTypeName","src":"1051:7:39","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1050:14:39"},"returnParameters":{"id":15878,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15877,"mutability":"mutable","name":"ret","nameLocation":"1095:3:39","nodeType":"VariableDeclaration","scope":15885,"src":"1087:11:39","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"},"typeName":{"id":15876,"name":"bytes32","nodeType":"ElementaryTypeName","src":"1087:7:39","typeDescriptions":{"typeIdentifier":"t_bytes32","typeString":"bytes32"}},"visibility":"internal"}],"src":"1086:13:39"},"scope":15886,"src":"1027:620:39","stateMutability":"pure","virtual":false,"visibility":"private"}],"scope":15887,"src":"336:1313:39","usedErrors":[],"usedEvents":[]}],"src":"32:1618:39"},"id":39},"contracts/mocks/SimpleERC20Xylose.sol":{"ast":{"absolutePath":"contracts/mocks/SimpleERC20Xylose.sol","exportedSymbols":{"ERC20":[1055],"ERC20Permit":[1287],"SimpleERC20Xylose":[15929]},"id":15930,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":15888,"literals":["solidity","0.8",".28"],"nodeType":"PragmaDirective","src":"81:23:40"},{"absolutePath":"@openzeppelin/contracts/token/ERC20/ERC20.sol","file":"@openzeppelin/contracts/token/ERC20/ERC20.sol","id":15890,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15930,"sourceUnit":1056,"src":"106:68:40","symbolAliases":[{"foreign":{"id":15889,"name":"ERC20","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1055,"src":"114:5:40","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol","file":"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol","id":15892,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":15930,"sourceUnit":1288,"src":"175:91:40","symbolAliases":[{"foreign":{"id":15891,"name":"ERC20Permit","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1287,"src":"183:11:40","typeDescriptions":{}},"nameLocation":"-1:-1:-1"}],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":15893,"name":"ERC20","nameLocations":["298:5:40"],"nodeType":"IdentifierPath","referencedDeclaration":1055,"src":"298:5:40"},"id":15894,"nodeType":"InheritanceSpecifier","src":"298:5:40"},{"baseName":{"id":15895,"name":"ERC20Permit","nameLocations":["305:11:40"],"nodeType":"IdentifierPath","referencedDeclaration":1287,"src":"305:11:40"},"id":15896,"nodeType":"InheritanceSpecifier","src":"305:11:40"}],"canonicalName":"SimpleERC20Xylose","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":15929,"linearizedBaseContracts":[15929,1287,2644,5083,403,1349,1055,445,1313,1133,2576],"name":"SimpleERC20Xylose","nameLocation":"277:17:40","nodeType":"ContractDefinition","nodes":[{"body":{"id":15906,"nodeType":"Block","src":"424:2:40","statements":[]},"id":15907,"implemented":true,"kind":"constructor","modifiers":[{"arguments":[{"hexValue":"53696d706c65455243323058796c6f7365","id":15899,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"351:19:40","typeDescriptions":{"typeIdentifier":"t_stringliteral_f1cb74f0a80950e7639a9b56e8a88549f728edba58ad639c5311001cb8172898","typeString":"literal_string \"SimpleERC20Xylose\""},"value":"SimpleERC20Xylose"},{"hexValue":"534558","id":15900,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"372:5:40","typeDescriptions":{"typeIdentifier":"t_stringliteral_44afe8b7e4e91701ef346a96d96409b2e8cda02fe841e9097706405597c34e22","typeString":"literal_string \"SEX\""},"value":"SEX"}],"id":15901,"kind":"baseConstructorSpecifier","modifierName":{"id":15898,"name":"ERC20","nameLocations":["345:5:40"],"nodeType":"IdentifierPath","referencedDeclaration":1055,"src":"345:5:40"},"nodeType":"ModifierInvocation","src":"345:33:40"},{"arguments":[{"hexValue":"53696d706c65455243323058796c6f7365","id":15903,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"399:19:40","typeDescriptions":{"typeIdentifier":"t_stringliteral_f1cb74f0a80950e7639a9b56e8a88549f728edba58ad639c5311001cb8172898","typeString":"literal_string \"SimpleERC20Xylose\""},"value":"SimpleERC20Xylose"}],"id":15904,"kind":"baseConstructorSpecifier","modifierName":{"id":15902,"name":"ERC20Permit","nameLocations":["387:11:40"],"nodeType":"IdentifierPath","referencedDeclaration":1287,"src":"387:11:40"},"nodeType":"ModifierInvocation","src":"387:32:40"}],"name":"","nameLocation":"-1:-1:-1","nodeType":"FunctionDefinition","parameters":{"id":15897,"nodeType":"ParameterList","parameters":[],"src":"334:2:40"},"returnParameters":{"id":15905,"nodeType":"ParameterList","parameters":[],"src":"424:0:40"},"scope":15929,"src":"323:103:40","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"baseFunctions":[619],"body":{"id":15915,"nodeType":"Block","src":"537:25:40","statements":[{"expression":{"hexValue":"36","id":15913,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"554:1:40","typeDescriptions":{"typeIdentifier":"t_rational_6_by_1","typeString":"int_const 6"},"value":"6"},"functionReturnParameters":15912,"id":15914,"nodeType":"Return","src":"547:8:40"}]},"functionSelector":"313ce567","id":15916,"implemented":true,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"489:8:40","nodeType":"FunctionDefinition","overrides":{"id":15909,"nodeType":"OverrideSpecifier","overrides":[],"src":"512:8:40"},"parameters":{"id":15908,"nodeType":"ParameterList","parameters":[],"src":"497:2:40"},"returnParameters":{"id":15912,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15911,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":15916,"src":"530:5:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":15910,"name":"uint8","nodeType":"ElementaryTypeName","src":"530:5:40","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"529:7:40"},"scope":15929,"src":"480:82:40","stateMutability":"pure","virtual":false,"visibility":"public"},{"body":{"id":15927,"nodeType":"Block","src":"607:42:40","statements":[{"expression":{"arguments":[{"expression":{"id":15922,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"623:3:40","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":15923,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberLocation":"627:6:40","memberName":"sender","nodeType":"MemberAccess","src":"623:10:40","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":15924,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":15918,"src":"635:6:40","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":15921,"name":"_mint","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":895,"src":"617:5:40","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,uint256)"}},"id":15925,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"nameLocations":[],"names":[],"nodeType":"FunctionCall","src":"617:25:40","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":15926,"nodeType":"ExpressionStatement","src":"617:25:40"}]},"functionSelector":"a0712d68","id":15928,"implemented":true,"kind":"function","modifiers":[],"name":"mint","nameLocation":"577:4:40","nodeType":"FunctionDefinition","parameters":{"id":15919,"nodeType":"ParameterList","parameters":[{"constant":false,"id":15918,"mutability":"mutable","name":"amount","nameLocation":"590:6:40","nodeType":"VariableDeclaration","scope":15928,"src":"582:14:40","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":15917,"name":"uint256","nodeType":"ElementaryTypeName","src":"582:7:40","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"581:16:40"},"returnParameters":{"id":15920,"nodeType":"ParameterList","parameters":[],"src":"607:0:40"},"scope":15929,"src":"568:81:40","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":15930,"src":"268:383:40","usedErrors":[415,420,425,434,439,444,1164,1171,2586,2779,2781,4519,4524,4529],"usedEvents":[383,1067,1076]}],"src":"81:571:40"},"id":40}},"contracts":{"@openzeppelin/contracts/access/AccessControl.sol":{"AccessControl":{"abi":[{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DEFAULT_ADMIN_ROLE()":"a217fddf","getRoleAdmin(bytes32)":"248a9ca3","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ```solidity bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ```solidity function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} to enforce additional security measures for this role.\",\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}]},\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted to signal this.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xc1bebdee8943bd5e9ef1e0f2e63296aa1dd4171a66b9e74d0286220e891e1458\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://928cf2f0042c606f3dcb21bd8a272573f462a215cd65285d2d6b407f31e9bd67\",\"dweb:/ipfs/QmWGxjckno6sfjHPX5naPnsfsyisgy4PJDf46eLw9umfpx\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x4d9a2b261b56a1e4a37bb038151dec98b952fed16de2bdfdda27e38e2b12b530\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f724110f7aeb6151af800ab8c12e6060b29bda9e013f0ccb331eb754d6a7cbf0\",\"dweb:/ipfs/QmUcjzCZpxtUPdEThtAzE1f9LvuJiUGZxTdH9N6bHrb5Cf\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/access/IAccessControl.sol":{"IAccessControl":{"abi":[{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"getRoleAdmin(bytes32)":"248a9ca3","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"External interface of AccessControl declared to support ERC-165 detection.\",\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}]},\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted to signal this.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/access/IAccessControl.sol\":\"IAccessControl\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x4d9a2b261b56a1e4a37bb038151dec98b952fed16de2bdfdda27e38e2b12b530\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f724110f7aeb6151af800ab8c12e6060b29bda9e013f0ccb331eb754d6a7cbf0\",\"dweb:/ipfs/QmUcjzCZpxtUPdEThtAzE1f9LvuJiUGZxTdH9N6bHrb5Cf\"]}},\"version\":1}"}},"@openzeppelin/contracts/interfaces/IERC5267.sol":{"IERC5267":{"abi":[{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"eip712Domain()":"84b0196e"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"}},\"kind\":\"dev\",\"methods\":{\"eip712Domain()\":{\"details\":\"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/IERC5267.sol\":\"IERC5267\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0x92aa1df62dc3d33f1656d63bede0923e0df0b706ad4137c8b10b0a8fe549fd92\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5c0f29195ad64cbe556da8e257dac8f05f78c53f90323c0d2accf8e6922d33a\",\"dweb:/ipfs/QmQ61TED8uaCZwcbh8KkgRSsCav7x7HbcGHwHts3U4DmUP\"]}},\"version\":1}"}},"@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"IERC1155Errors":{"abi":[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC1155InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC1155InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"idsLength","type":"uint256"},{"internalType":"uint256","name":"valuesLength","type":"uint256"}],"name":"ERC1155InvalidArrayLength","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC1155InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC1155InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC1155InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC1155MissingApprovalForAll","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC1155InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC1155InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"idsLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"valuesLength\",\"type\":\"uint256\"}],\"name\":\"ERC1155InvalidArrayLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC1155InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC1155InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC1155InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC1155MissingApprovalForAll\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Standard ERC-1155 Errors Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\",\"errors\":{\"ERC1155InsufficientBalance(address,uint256,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC1155InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC1155InvalidArrayLength(uint256,uint256)\":[{\"details\":\"Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. Used in batch transfers.\",\"params\":{\"idsLength\":\"Length of the array of token identifiers\",\"valuesLength\":\"Length of the array of token amounts\"}}],\"ERC1155InvalidOperator(address)\":[{\"details\":\"Indicates a failure with the `operator` to be approved. Used in approvals.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC1155InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC1155InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC1155MissingApprovalForAll(address,address)\":[{\"details\":\"Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\",\"owner\":\"Address of the current owner of a token.\"}}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":\"IERC1155Errors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]}},\"version\":1}"},"IERC20Errors":{"abi":[{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Standard ERC-20 Errors Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\",\"errors\":{\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":\"IERC20Errors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]}},\"version\":1}"},"IERC721Errors":{"abi":[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721IncorrectOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721InsufficientApproval\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC721InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721NonexistentToken\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Standard ERC-721 Errors Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\",\"errors\":{\"ERC721IncorrectOwner(address,uint256,address)\":[{\"details\":\"Indicates an error related to the ownership over a particular token. Used in transfers.\",\"params\":{\"owner\":\"Address of the current owner of a token.\",\"sender\":\"Address whose tokens are being transferred.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InsufficientApproval(address,uint256)\":[{\"details\":\"Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC721InvalidOperator(address)\":[{\"details\":\"Indicates a failure with the `operator` to be approved. Used in approvals.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC721InvalidOwner(address)\":[{\"details\":\"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. Used in balance queries.\",\"params\":{\"owner\":\"Address of the current owner of a token.\"}}],\"ERC721InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC721InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC721NonexistentToken(uint256)\":[{\"details\":\"Indicates a `tokenId` whose `owner` is the zero address.\",\"params\":{\"tokenId\":\"Identifier number of a token.\"}}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":\"IERC721Errors\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/ERC20.sol":{"ERC20":{"abi":[{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. TIP: For a detailed writeup see our guide https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How to implement supply mechanisms]. The default value of {decimals} is 18. To change this, you should override this function so it returns a different value. We have followed general OpenZeppelin Contracts guidelines: functions revert instead returning `false` on failure. This behavior is nonetheless conventional and does not conflict with the expectations of ERC-20 applications.\",\"errors\":{\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}]},\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"constructor\":{\"details\":\"Sets the values for {name} and {symbol}. Both values are immutable: they can only be set once during construction.\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":\"ERC20\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0x41f6b3b9e030561e7896dbef372b499cc8d418a80c3884a4d65a68f2fdc7493a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://80b0992a11b2fd1f75ced2971696d07bbd1d19ce6761dd50d8b6d48aa435f42a\",\"dweb:/ipfs/QmZDe5xd2gXHjVEjv9t8C1KQ68K5T8qFwdinwQgmP3rF3x\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"IERC20":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC-20 standard as defined in the ERC.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol":{"ERC20Permit":{"abi":[{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","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":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","eip712Domain()":"84b0196e","name()":"06fdde03","nonces(address)":"7ecebe00","permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":"d505accf","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"ERC2612ExpiredSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC2612InvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidAccountNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"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\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in https://eips.ethereum.org/EIPS/eip-2612[ERC-2612]. Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't need to send a transaction, and thus is not required to hold Ether at all.\",\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}],\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC2612ExpiredSignature(uint256)\":[{\"details\":\"Permit deadline has expired.\"}],\"ERC2612InvalidSigner(address,address)\":[{\"details\":\"Mismatched signature.\"}],\"InvalidAccountNonce(address,uint256)\":[{\"details\":\"The nonce used for an `account` is not the expected current nonce.\"}]},\"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.\"},\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"},\"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\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\"},\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"constructor\":{\"details\":\"Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `\\\"1\\\"`. It's a good idea to use the same `name` that is defined as the ERC-20 token name.\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"eip712Domain()\":{\"details\":\"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"nonces(address)\":{\"details\":\"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times.\"},\"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol\":\"ERC20Permit\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0x92aa1df62dc3d33f1656d63bede0923e0df0b706ad4137c8b10b0a8fe549fd92\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5c0f29195ad64cbe556da8e257dac8f05f78c53f90323c0d2accf8e6922d33a\",\"dweb:/ipfs/QmQ61TED8uaCZwcbh8KkgRSsCav7x7HbcGHwHts3U4DmUP\"]},\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0x41f6b3b9e030561e7896dbef372b499cc8d418a80c3884a4d65a68f2fdc7493a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://80b0992a11b2fd1f75ced2971696d07bbd1d19ce6761dd50d8b6d48aa435f42a\",\"dweb:/ipfs/QmZDe5xd2gXHjVEjv9t8C1KQ68K5T8qFwdinwQgmP3rF3x\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol\":{\"keccak256\":\"0xaa7f0646f49ebe2606eeca169f85c56451bbaeeeb06265fa076a03369a25d1d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee931d4e832385765967efe6366dcc6d00d6a2d794f9c66ee38283c03882de9c\",\"dweb:/ipfs/QmR6SkuJGYxpQeLz38rBdghqaWqEPfzUsL9kBoXgEXKtbD\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0x27dbc90e5136ffe46c04f7596fc2dbcc3acebd8d504da3d93fdb8496e6de04f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea8b92e4245d75a5579c10f22f118f7b4ba07c57341f181f0b2a85ff8663de3\",\"dweb:/ipfs/Qme3Ss5ByjmkxxkMdLpyu7fQ1PCtjNFH1wEFszt2BZePiG\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Nonces.sol\":{\"keccak256\":\"0x0082767004fca261c332e9ad100868327a863a88ef724e844857128845ab350f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://132dce9686a54e025eb5ba5d2e48208f847a1ec3e60a3e527766d7bf53fb7f9e\",\"dweb:/ipfs/QmXn1a2nUZMpu2z6S88UoTfMVtY2YNh86iGrzJDYmMkKeZ\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0x1fcf8cceb1a67e6c8512267e780933c4a3f63ef44756e6c818fda79be51c8402\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://617d7d57f6f9cd449068b4d23daf485676d083aae648e038d05eb3a13291de35\",\"dweb:/ipfs/QmPADWPiGaSzZDFNpFEUx4ZPqhzPkYncBpHyTfAGcfsqzy\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x69f54c02b7d81d505910ec198c11ed4c6a728418a868b906b4a0cf29946fda84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e25e4bdb7ae1f21d23bfee996e22736fc0ab44cfabedac82a757b1edc5623b9\",\"dweb:/ipfs/QmQdWQvB6JCP9ZMbzi8EvQ1PTETqkcTWrbcVurS7DKpa5n\"]},\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x0c60057e7351874f086db8dc9291b7ada9ad62cb7725befd2991430d04a74572\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33cdfd1fc36410d45046f88ff9864350146b194736c32834baa38d99b843ffbe\",\"dweb:/ipfs/QmdVmqgFKjgEBURy4KUwWDA6J1LEg1BKcHcXsx4nkeHAD2\"]},\"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol\":{\"keccak256\":\"0x26670fef37d4adf55570ba78815eec5f31cb017e708f61886add4fc4da665631\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b16d45febff462bafd8a5669f904796a835baf607df58a8461916d3bf4f08c59\",\"dweb:/ipfs/QmU2eJFpjmT4vxeJWJyLeQb8Xht1kdB8Y6MKLDPFA9WPux\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"IERC20Metadata":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for the optional metadata functions from the ERC-20 standard.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets a `value` amount of tokens as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the value of tokens owned by `account`.\"},\"decimals()\":{\"details\":\"Returns the decimals places of the token.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token.\"},\"totalSupply()\":{\"details\":\"Returns the value of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism. `value` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":\"IERC20Metadata\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol":{"IERC20Permit":{"abi":[{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","nonces(address)":"7ecebe00","permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":"d505accf"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC-20 Permit extension allowing approvals to be made via signatures, as defined in https://eips.ethereum.org/EIPS/eip-2612[ERC-2612]. Adds the {permit} method, which can be used to change an account's ERC-20 allowance (see {IERC20-allowance}) by presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't need to send a transaction, and thus is not required to hold Ether at all. ==== Security Considerations There are two important considerations concerning the use of `permit`. The first is that a valid permit signature expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be considered as an intention to spend the allowance in any specific way. The second is that because permits have built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be generally recommended is: ```solidity function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} doThing(..., value); } function doThing(..., uint256 value) public { token.safeTransferFrom(msg.sender, address(this), value); ... } ``` Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also {SafeERC20-safeTransferFrom}). Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so contracts should have entry points that don't rely on permit.\",\"kind\":\"dev\",\"methods\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\"},\"nonces(address)\":{\"details\":\"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times.\"},\"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol\":\"IERC20Permit\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0x27dbc90e5136ffe46c04f7596fc2dbcc3acebd8d504da3d93fdb8496e6de04f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea8b92e4245d75a5579c10f22f118f7b4ba07c57341f181f0b2a85ff8663de3\",\"dweb:/ipfs/Qme3Ss5ByjmkxxkMdLpyu7fQ1PCtjNFH1wEFszt2BZePiG\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/ERC721.sol":{"ERC721":{"abi":[{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"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":{},"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.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721IncorrectOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721InsufficientApproval\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC721InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721NonexistentToken\",\"type\":\"error\"},{\"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[ERC-721] Non-Fungible Token Standard, including the Metadata extension, but not including the Enumerable extension, which is available separately as {ERC721Enumerable}.\",\"errors\":{\"ERC721IncorrectOwner(address,uint256,address)\":[{\"details\":\"Indicates an error related to the ownership over a particular token. Used in transfers.\",\"params\":{\"owner\":\"Address of the current owner of a token.\",\"sender\":\"Address whose tokens are being transferred.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InsufficientApproval(address,uint256)\":[{\"details\":\"Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC721InvalidOperator(address)\":[{\"details\":\"Indicates a failure with the `operator` to be approved. Used in approvals.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC721InvalidOwner(address)\":[{\"details\":\"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. Used in balance queries.\",\"params\":{\"owner\":\"Address of the current owner of a token.\"}}],\"ERC721InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC721InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC721NonexistentToken(uint256)\":[{\"details\":\"Indicates a `tokenId` whose `owner` is the zero address.\",\"params\":{\"tokenId\":\"Identifier number of a token.\"}}]},\"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\":\"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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x39ed367e54765186281efcfe83e47cf0ad62cc879f10e191360712507125f29a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2c5ae6d85bd48cca8d6d2fcec8c63efd86f56f8a5832577a47e403ce0e65cb09\",\"dweb:/ipfs/QmUtcS8AbRSWhuc61puYet58os8FvSqm329ChoW8wwZXZk\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5dc63d1c6a12fe1b17793e1745877b2fcbe1964c3edfd0a482fac21ca8f18261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b7f97c5960a50fd1822cb298551ffc908e37b7893a68d6d08bce18a11cb0f11\",\"dweb:/ipfs/QmQQvxBytoY1eBt3pRQDmvH2hZ2yjhs12YqVfzGm7KSURq\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xb5afb8e8eebc4d1c6404df2f5e1e6d2c3d24fd01e5dfc855314951ecfaae462d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78586466c424f076c6a2a551d848cfbe3f7c49e723830807598484a1047b3b34\",\"dweb:/ipfs/Qmb717ovcFxm7qgNKEShiV6M9SPR3v1qnNpAGH84D6w29p\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol\":{\"keccak256\":\"0xddab643169f47a2c5291afafcbfdca045d9e6835553307d090bc048b6dabd0ac\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d0ffbacfee42977167b3c75bd4787f8b72a7ab1176abd544f3dff662c6528e24\",\"dweb:/ipfs/QmUprM1cWCyaQ3LDjHA2DhwiPs3wekQ6MWXHFZdMMxpcyX\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]}},\"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.28+commit.7893614a\"},\"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 ERC-721 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 ERC-721 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 address zero. 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[ERC 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 ERC-721 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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5dc63d1c6a12fe1b17793e1745877b2fcbe1964c3edfd0a482fac21ca8f18261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b7f97c5960a50fd1822cb298551ffc908e37b7893a68d6d08bce18a11cb0f11\",\"dweb:/ipfs/QmQQvxBytoY1eBt3pRQDmvH2hZ2yjhs12YqVfzGm7KSURq\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"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.28+commit.7893614a\"},\"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 ERC-721 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\":\"ERC-721 token receiver interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":\"IERC721Receiver\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xb5afb8e8eebc4d1c6404df2f5e1e6d2c3d24fd01e5dfc855314951ecfaae462d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78586466c424f076c6a2a551d848cfbe3f7c49e723830807598484a1047b3b34\",\"dweb:/ipfs/Qmb717ovcFxm7qgNKEShiV6M9SPR3v1qnNpAGH84D6w29p\"]}},\"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.28+commit.7893614a\"},\"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\",\"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}\"},\"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 ERC-721 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 address zero. 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[ERC 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 ERC-721 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\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5dc63d1c6a12fe1b17793e1745877b2fcbe1964c3edfd0a482fac21ca8f18261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b7f97c5960a50fd1822cb298551ffc908e37b7893a68d6d08bce18a11cb0f11\",\"dweb:/ipfs/QmQQvxBytoY1eBt3pRQDmvH2hZ2yjhs12YqVfzGm7KSURq\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol":{"ERC721Utils":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212204623f4806a7910b95c3e372f130ffbd62cca41879fca446bb75af2abcbac19f864736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CHAINID 0x23 DELEGATECALL DUP1 PUSH11 0x7910B95C3E372F130FFBD6 0x2C 0xCA COINBASE DUP8 SWAP16 0xCA PREVRANDAO PUSH12 0xB75AF2ABCBAC19F864736F6C PUSH4 0x4300081C STOP CALLER ","sourceMap":"431:1488:13:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea26469706673582212204623f4806a7910b95c3e372f130ffbd62cca41879fca446bb75af2abcbac19f864736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CHAINID 0x23 DELEGATECALL DUP1 PUSH11 0x7910B95C3E372F130FFBD6 0x2C 0xCA COINBASE DUP8 SWAP16 0xCA PREVRANDAO PUSH12 0xB75AF2ABCBAC19F864736F6C PUSH4 0x4300081C STOP CALLER ","sourceMap":"431:1488:13:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library that provide common ERC-721 utility functions. See https://eips.ethereum.org/EIPS/eip-721[ERC-721]. _Available since v5.1._\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol\":\"ERC721Utils\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xb5afb8e8eebc4d1c6404df2f5e1e6d2c3d24fd01e5dfc855314951ecfaae462d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78586466c424f076c6a2a551d848cfbe3f7c49e723830807598484a1047b3b34\",\"dweb:/ipfs/Qmb717ovcFxm7qgNKEShiV6M9SPR3v1qnNpAGH84D6w29p\"]},\"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol\":{\"keccak256\":\"0xddab643169f47a2c5291afafcbfdca045d9e6835553307d090bc048b6dabd0ac\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d0ffbacfee42977167b3c75bd4787f8b72a7ab1176abd544f3dff662c6528e24\",\"dweb:/ipfs/QmUprM1cWCyaQ3LDjHA2DhwiPs3wekQ6MWXHFZdMMxpcyX\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Context.sol":{"Context":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Provides information about the current execution context, including the sender of the transaction and its data. While these are generally available via msg.sender and msg.data, they should not be accessed in such a direct manner, since when dealing with meta-transactions the account sending and paying for execution may not be the actual sender (as far as an application is concerned). This contract is only required for intermediate, library-like contracts.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Nonces.sol":{"Nonces":{"abi":[{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"nonces(address)":"7ecebe00"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidAccountNonce\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Provides tracking nonces for addresses. Nonces will only increment.\",\"errors\":{\"InvalidAccountNonce(address,uint256)\":[{\"details\":\"The nonce used for an `account` is not the expected current nonce.\"}]},\"kind\":\"dev\",\"methods\":{\"nonces(address)\":{\"details\":\"Returns the next unused nonce for an address.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Nonces.sol\":\"Nonces\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/Nonces.sol\":{\"keccak256\":\"0x0082767004fca261c332e9ad100868327a863a88ef724e844857128845ab350f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://132dce9686a54e025eb5ba5d2e48208f847a1ec3e60a3e527766d7bf53fb7f9e\",\"dweb:/ipfs/QmXn1a2nUZMpu2z6S88UoTfMVtY2YNh86iGrzJDYmMkKeZ\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Panic.sol":{"Panic":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea26469706673582212207a34c2eef62c6e83829e81894afb95995147f98c6b0092b8b777b768044045ff64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH27 0x34C2EEF62C6E83829E81894AFB95995147F98C6B0092B8B777B768 DIV BLOCKHASH GASLIMIT SELFDESTRUCT PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"657:1315:16:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea26469706673582212207a34c2eef62c6e83829e81894afb95995147f98c6b0092b8b777b768044045ff64736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH27 0x34C2EEF62C6E83829E81894AFB95995147F98C6B0092B8B777B768 DIV BLOCKHASH GASLIMIT SELFDESTRUCT PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"657:1315:16:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Helper library for emitting standardized panic codes. ```solidity contract Example { using Panic for uint256; // Use any of the declared internal constants function foo() { Panic.GENERIC.panic(); } // Alternatively function foo() { Panic.panic(Panic.GENERIC); } } ``` Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil]. _Available since v5.1._\",\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"ARRAY_OUT_OF_BOUNDS\":{\"details\":\"array out of bounds access\"},\"ASSERT\":{\"details\":\"used by the assert() builtin\"},\"DIVISION_BY_ZERO\":{\"details\":\"division or modulo by zero\"},\"EMPTY_ARRAY_POP\":{\"details\":\"empty array pop\"},\"ENUM_CONVERSION_ERROR\":{\"details\":\"enum conversion error\"},\"GENERIC\":{\"details\":\"generic / unspecified error\"},\"INVALID_INTERNAL_FUNCTION\":{\"details\":\"calling invalid internal function\"},\"RESOURCE_ERROR\":{\"details\":\"resource error (too large allocation or too large array)\"},\"STORAGE_ENCODING_ERROR\":{\"details\":\"invalid encoding in storage\"},\"UNDER_OVERFLOW\":{\"details\":\"arithmetic underflow or overflow\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Panic.sol\":\"Panic\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"ReentrancyGuard":{"abi":[{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at, consider using {ReentrancyGuardTransient} instead. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\",\"errors\":{\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":\"ReentrancyGuard\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0x11a5a79827df29e915a12740caf62fe21ebe27c08c9ae3e09abe9ee3ba3866d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cf0c69ab827e3251db9ee6a50647d62c90ba580a4d7bbff21f2bea39e7b2f4a\",\"dweb:/ipfs/QmZiKwtKU1SBX4RGfQtY7PZfiapbbu6SZ9vizGQD9UHjRA\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/ShortStrings.sol":{"ShortStrings":{"abi":[{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea264697066735822122013be973747cb240a5293e27fcc2a3fa7472775b800172412f95ece108b7ff66d64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SGT 0xBE SWAP8 CALLDATACOPY SELFBALANCE 0xCB 0x24 EXP MSTORE SWAP4 0xE2 PUSH32 0xCC2A3FA7472775B800172412F95ECE108B7FF66D64736F6C634300081C003300 ","sourceMap":"1255:3046:18:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea264697066735822122013be973747cb240a5293e27fcc2a3fa7472775b800172412f95ece108b7ff66d64736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SGT 0xBE SWAP8 CALLDATACOPY SELFBALANCE 0xCB 0x24 EXP MSTORE SWAP4 0xE2 PUSH32 0xCC2A3FA7472775B800172412F95ECE108B7FF66D64736F6C634300081C003300 ","sourceMap":"1255:3046:18:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"This library provides functions to convert short memory strings into a `ShortString` type that can be used as an immutable variable. Strings of arbitrary length can be optimized using this library if they are short enough (up to 31 bytes) by packing them with their length (1 byte) in a single EVM word (32 bytes). Additionally, a fallback mechanism can be used for every other case. Usage example: ```solidity contract Named { using ShortStrings for *; ShortString private immutable _name; string private _nameFallback; constructor(string memory contractName) { _name = contractName.toShortStringWithFallback(_nameFallback); } function name() external view returns (string memory) { return _name.toStringWithFallback(_nameFallback); } } ```\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/ShortStrings.sol\":\"ShortStrings\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0x1fcf8cceb1a67e6c8512267e780933c4a3f63ef44756e6c818fda79be51c8402\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://617d7d57f6f9cd449068b4d23daf485676d083aae648e038d05eb3a13291de35\",\"dweb:/ipfs/QmPADWPiGaSzZDFNpFEUx4ZPqhzPkYncBpHyTfAGcfsqzy\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/StorageSlot.sol":{"StorageSlot":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea264697066735822122075ff3ee7558f3370d11093f8b835cf8b00825d1f592fd2c0f3cc239fbf6babf164736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH22 0xFF3EE7558F3370D11093F8B835CF8B00825D1F592FD2 0xC0 RETURN 0xCC 0x23 SWAP16 0xBF PUSH12 0xABF164736F6C634300081C00 CALLER ","sourceMap":"1407:2774:19:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea264697066735822122075ff3ee7558f3370d11093f8b835cf8b00825d1f592fd2c0f3cc239fbf6babf164736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH22 0xFF3EE7558F3370D11093F8B835CF8B00825D1F592FD2 0xC0 RETURN 0xCC 0x23 SWAP16 0xBF PUSH12 0xABF164736F6C634300081C00 CALLER ","sourceMap":"1407:2774:19:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for reading and writing primitive types to specific storage slots. Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. This library helps with reading and writing to such slots without the need for inline assembly. The functions in this library return Slot structs that contain a `value` member that can be used to read or write. Example usage to set ERC-1967 implementation slot: ```solidity contract ERC1967 { // Define the slot. Alternatively, use the SlotDerivation library to derive the slot. bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; function _getImplementation() internal view returns (address) { return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; } function _setImplementation(address newImplementation) internal { require(newImplementation.code.length > 0); StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; } } ``` TIP: Consider using this library along with {SlotDerivation}.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/StorageSlot.sol\":\"StorageSlot\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/Strings.sol":{"Strings":{"abi":[{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"length","type":"uint256"}],"name":"StringsInsufficientHexLength","type":"error"},{"inputs":[],"name":"StringsInvalidAddressFormat","type":"error"},{"inputs":[],"name":"StringsInvalidChar","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea264697066735822122044b46454b59dac62749dc8a5bbe325e8b991a5d94ee8b31a4c8e6a0cd42b8df964736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PREVRANDAO 0xB4 PUSH5 0x54B59DAC62 PUSH21 0x9DC8A5BBE325E8B991A5D94EE8B31A4C8E6A0CD42B DUP14 0xF9 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"297:18980:20:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea264697066735822122044b46454b59dac62749dc8a5bbe325e8b991a5d94ee8b31a4c8e6a0cd42b8df964736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PREVRANDAO 0xB4 PUSH5 0x54B59DAC62 PUSH21 0x9DC8A5BBE325E8B991A5D94EE8B31A4C8E6A0CD42B DUP14 0xF9 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"297:18980:20:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"StringsInsufficientHexLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StringsInvalidAddressFormat\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StringsInvalidChar\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"String operations.\",\"errors\":{\"StringsInsufficientHexLength(uint256,uint256)\":[{\"details\":\"The `value` string doesn't fit in the specified `length`.\"}],\"StringsInvalidAddressFormat()\":[{\"details\":\"The string being parsed is not a properly formatted address.\"}],\"StringsInvalidChar()\":[{\"details\":\"The string being parsed contains characters that are not in scope of the given base.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"ECDSA":{"abi":[{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220d286f0dcd9d2495565483d027853f3e0194b08d550d81d3af6cf406383e4b2ed64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD2 DUP7 CREATE 0xDC 0xD9 0xD2 BLOBHASH SSTORE PUSH6 0x483D027853F3 0xE0 NOT 0x4B ADDMOD 0xD5 POP 0xD8 SAR GASPRICE 0xF6 0xCF BLOCKHASH PUSH4 0x83E4B2ED PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"344:7470:21:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea2646970667358221220d286f0dcd9d2495565483d027853f3e0194b08d550d81d3af6cf406383e4b2ed64736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xD2 DUP7 CREATE 0xDC 0xD9 0xD2 BLOBHASH SSTORE PUSH6 0x483D027853F3 0xE0 NOT 0x4B ADDMOD 0xD5 POP 0xD8 SAR GASPRICE 0xF6 0xCF BLOCKHASH PUSH4 0x83E4B2ED PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"344:7470:21:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Elliptic Curve Digital Signature Algorithm (ECDSA) operations. These functions can be used to verify that a message was signed by the holder of the private keys of a given address.\",\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":\"ECDSA\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x69f54c02b7d81d505910ec198c11ed4c6a728418a868b906b4a0cf29946fda84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e25e4bdb7ae1f21d23bfee996e22736fc0ab44cfabedac82a757b1edc5623b9\",\"dweb:/ipfs/QmQdWQvB6JCP9ZMbzi8EvQ1PTETqkcTWrbcVurS7DKpa5n\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/cryptography/EIP712.sol":{"EIP712":{"abi":[{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"eip712Domain()":"84b0196e"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"custom:oz-upgrades-unsafe-allow\":\"state-variable-immutable\",\"details\":\"https://eips.ethereum.org/EIPS/eip-712[EIP-712] is a standard for hashing and signing of typed structured data. The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to produce the hash of their typed data using a combination of `abi.encode` and `keccak256`. This contract implements the EIP-712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA ({_hashTypedDataV4}). The implementation of the domain separator was designed to be as efficient as possible while still properly updating the chain id to protect against replay attacks on an eventual fork of the chain. NOTE: This contract implements the version of the encoding known as \\\"v4\\\", as implemented by the JSON RPC method https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\",\"events\":{\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"}},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"details\":\"Initializes the domain separator and parameter caches. The meaning of `name` and `version` is specified in https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP-712]: - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. - `version`: the current major version of the signing domain. NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart contract upgrade].\"},\"eip712Domain()\":{\"details\":\"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\":\"EIP712\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0x92aa1df62dc3d33f1656d63bede0923e0df0b706ad4137c8b10b0a8fe549fd92\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5c0f29195ad64cbe556da8e257dac8f05f78c53f90323c0d2accf8e6922d33a\",\"dweb:/ipfs/QmQ61TED8uaCZwcbh8KkgRSsCav7x7HbcGHwHts3U4DmUP\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0x1fcf8cceb1a67e6c8512267e780933c4a3f63ef44756e6c818fda79be51c8402\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://617d7d57f6f9cd449068b4d23daf485676d083aae648e038d05eb3a13291de35\",\"dweb:/ipfs/QmPADWPiGaSzZDFNpFEUx4ZPqhzPkYncBpHyTfAGcfsqzy\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x0c60057e7351874f086db8dc9291b7ada9ad62cb7725befd2991430d04a74572\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33cdfd1fc36410d45046f88ff9864350146b194736c32834baa38d99b843ffbe\",\"dweb:/ipfs/QmdVmqgFKjgEBURy4KUwWDA6J1LEg1BKcHcXsx4nkeHAD2\"]},\"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol\":{\"keccak256\":\"0x26670fef37d4adf55570ba78815eec5f31cb017e708f61886add4fc4da665631\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b16d45febff462bafd8a5669f904796a835baf607df58a8461916d3bf4f08c59\",\"dweb:/ipfs/QmU2eJFpjmT4vxeJWJyLeQb8Xht1kdB8Y6MKLDPFA9WPux\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol":{"MessageHashUtils":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220f8bf5f32fbc21651a5990b74a1b8070a7d0e6f22b0907395fd9817477ebf6ea964736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xF8 0xBF PUSH0 ORIGIN 0xFB 0xC2 AND MLOAD 0xA5 SWAP10 SIGNEXTEND PUSH21 0xA1B8070A7D0E6F22B0907395FD9817477EBF6EA964 PUSH20 0x6F6C634300081C00330000000000000000000000 ","sourceMap":"521:3729:23:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea2646970667358221220f8bf5f32fbc21651a5990b74a1b8070a7d0e6f22b0907395fd9817477ebf6ea964736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xF8 0xBF PUSH0 ORIGIN 0xFB 0xC2 AND MLOAD 0xA5 SWAP10 SIGNEXTEND PUSH21 0xA1B8070A7D0E6F22B0907395FD9817477EBF6EA964 PUSH20 0x6F6C634300081C00330000000000000000000000 ","sourceMap":"521:3729:23:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing. The library provides methods for generating a hash of a message that conforms to the https://eips.ethereum.org/EIPS/eip-191[ERC-191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712] specifications.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol\":\"MessageHashUtils\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol\":{\"keccak256\":\"0x26670fef37d4adf55570ba78815eec5f31cb017e708f61886add4fc4da665631\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b16d45febff462bafd8a5669f904796a835baf607df58a8461916d3bf4f08c59\",\"dweb:/ipfs/QmU2eJFpjmT4vxeJWJyLeQb8Xht1kdB8Y6MKLDPFA9WPux\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"ERC165":{"abi":[{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the {IERC165} interface. Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check for the additional interface id that will be supported. For example: ```solidity function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); } ```\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"IERC165":{"abi":[{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC-165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[ERC]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/math/Math.sol":{"Math":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220df7c34c847ba92759d2a0c5ebd36a4f354bd94607b28b5d202bd0af5b720cf9664736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDF PUSH29 0x34C847BA92759D2A0C5EBD36A4F354BD94607B28B5D202BD0AF5B720CF SWAP7 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"281:31863:26:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea2646970667358221220df7c34c847ba92759d2a0c5ebd36a4f354bd94607b28b5d202bd0af5b720cf9664736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDF PUSH29 0x34C847BA92759D2A0C5EBD36A4F354BD94607B28B5D202BD0AF5B720CF SWAP7 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"281:31863:26:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Standard math utilities missing in the Solidity language.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/math/Math.sol\":\"Math\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"SafeCast":{"abi":[{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"int256","name":"value","type":"int256"}],"name":"SafeCastOverflowedIntDowncast","type":"error"},{"inputs":[{"internalType":"int256","name":"value","type":"int256"}],"name":"SafeCastOverflowedIntToUint","type":"error"},{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SafeCastOverflowedUintDowncast","type":"error"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SafeCastOverflowedUintToInt","type":"error"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220e11824dc518bd9c2a5a3ab4e9d5db12b47445e46a8a3b31b60f70a072affa9c164736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xE1 XOR 0x24 0xDC MLOAD DUP12 0xD9 0xC2 0xA5 LOG3 0xAB 0x4E SWAP14 TSTORE 0xB1 0x2B SELFBALANCE PREVRANDAO MCOPY CHAINID 0xA8 LOG3 0xB3 SHL PUSH1 0xF7 EXP SMOD 0x2A SELFDESTRUCT 0xA9 0xC1 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"769:34173:27:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea2646970667358221220e11824dc518bd9c2a5a3ab4e9d5db12b47445e46a8a3b31b60f70a072affa9c164736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xE1 XOR 0x24 0xDC MLOAD DUP12 0xD9 0xC2 0xA5 LOG3 0xAB 0x4E SWAP14 TSTORE 0xB1 0x2B SELFBALANCE PREVRANDAO MCOPY CHAINID 0xA8 LOG3 0xB3 SHL PUSH1 0xF7 EXP SMOD 0x2A SELFDESTRUCT 0xA9 0xC1 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"769:34173:27:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"int256\",\"name\":\"value\",\"type\":\"int256\"}],\"name\":\"SafeCastOverflowedIntDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"value\",\"type\":\"int256\"}],\"name\":\"SafeCastOverflowedIntToUint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintToInt\",\"type\":\"error\"}],\"devdoc\":{\"details\":\"Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow checks. Downcasting from uint256/int256 in Solidity does not revert on overflow. This can easily result in undesired exploitation or bugs, since developers usually assume that overflows raise errors. `SafeCast` restores this intuition by reverting the transaction when such an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.\",\"errors\":{\"SafeCastOverflowedIntDowncast(uint8,int256)\":[{\"details\":\"Value doesn't fit in an int of `bits` size.\"}],\"SafeCastOverflowedIntToUint(int256)\":[{\"details\":\"An int value doesn't fit in an uint of `bits` size.\"}],\"SafeCastOverflowedUintDowncast(uint8,uint256)\":[{\"details\":\"Value doesn't fit in an uint of `bits` size.\"}],\"SafeCastOverflowedUintToInt(uint256)\":[{\"details\":\"An uint value doesn't fit in an int of `bits` size.\"}]},\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/math/SafeCast.sol\":\"SafeCast\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]}},\"version\":1}"}},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"SignedMath":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220beea8e313b980f7f2fa28d2fb9eba3a2e0c80b95eab03c9e520eb063d168b2ea64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE 0xEA DUP15 BALANCE EXTCODESIZE SWAP9 0xF PUSH32 0x2FA28D2FB9EBA3A2E0C80B95EAB03C9E520EB063D168B2EA64736F6C63430008 SHR STOP CALLER ","sourceMap":"258:2354:28:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea2646970667358221220beea8e313b980f7f2fa28d2fb9eba3a2e0c80b95eab03c9e520eb063d168b2ea64736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE 0xEA DUP15 BALANCE EXTCODESIZE SWAP9 0xF PUSH32 0x2FA28D2FB9EBA3A2E0C80B95EAB03C9E520EB063D168B2EA64736F6C63430008 SHR STOP CALLER ","sourceMap":"258:2354:28:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Standard signed math utilities missing in the Solidity language.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts/utils/math/SignedMath.sol\":\"SignedMath\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]}},\"version\":1}"}},"contracts/CyberValley.sol":{"CyberValley":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220c16d4e56d60eb3dc850d83b6fd9604dd52513970000a3af05e88ecab246b25fc64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC1 PUSH14 0x4E56D60EB3DC850D83B6FD9604DD MSTORE MLOAD CODECOPY PUSH17 0xA3AF05E88ECAB246B25FC64736F6C63 NUMBER STOP ADDMOD SHR STOP CALLER ","sourceMap":"57:124:29:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea2646970667358221220c16d4e56d60eb3dc850d83b6fd9604dd52513970000a3af05e88ecab246b25fc64736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC1 PUSH14 0x4E56D60EB3DC850D83B6FD9604DD MSTORE MLOAD CODECOPY PUSH17 0xA3AF05E88ECAB246B25FC64736F6C63 NUMBER STOP ADDMOD SHR STOP CALLER ","sourceMap":"57:124:29:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/CyberValley.sol\":\"CyberValley\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/CyberValley.sol\":{\"keccak256\":\"0x082ddc5586096913eb8aec7c10056b3af2a76940ccc5235657631c14a2f553e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7863b9d49b42e006b04f605299ab19272309b7ca6406790e58f2bf1f493411e\",\"dweb:/ipfs/QmV2HaC7z1xqn7Z1YGVgySfSBFEVReS3GmhfrRqTcbDakA\"]}},\"version\":1}"}},"contracts/CyberValleyEventManager.sol":{"CyberValleyEventManager":{"abi":[{"inputs":[{"internalType":"address","name":"_usdtTokenContract","type":"address"},{"internalType":"address","name":"_eventTicketContract","type":"address"},{"internalType":"address","name":"_master","type":"address"},{"internalType":"uint256","name":"_initialOffest","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"provider","type":"address"},{"indexed":false,"internalType":"uint256","name":"eventPlaceId","type":"uint256"},{"indexed":false,"internalType":"uint16","name":"maxTickets","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"minTickets","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"minPrice","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"daysBeforeCancel","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"minDays","type":"uint8"},{"indexed":false,"internalType":"bool","name":"available","type":"bool"},{"indexed":false,"internalType":"enum CyberValleyEventManager.EventPlaceStatus","name":"status","type":"uint8"},{"indexed":false,"internalType":"bytes32","name":"digest","type":"bytes32"},{"indexed":false,"internalType":"uint8","name":"hashFunction","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"size","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"eventDepositSize","type":"uint256"}],"name":"EventPlaceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"eventId","type":"uint256"},{"indexed":false,"internalType":"enum CyberValleyEventManager.EventStatus","name":"status","type":"uint8"}],"name":"EventStatusChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"EventTicketVerified","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"eventPlaceId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ticketPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startDate","type":"uint256"},{"indexed":false,"internalType":"uint16","name":"daysAmount","type":"uint16"},{"indexed":false,"internalType":"bytes32","name":"digest","type":"bytes32"},{"indexed":false,"internalType":"uint8","name":"hashFunction","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"size","type":"uint8"}],"name":"EventUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"requester","type":"address"},{"indexed":false,"internalType":"uint16","name":"maxTickets","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"minTickets","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"minPrice","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"daysBeforeCancel","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"minDays","type":"uint8"},{"indexed":false,"internalType":"bool","name":"available","type":"bool"},{"indexed":false,"internalType":"bytes32","name":"digest","type":"bytes32"},{"indexed":false,"internalType":"uint8","name":"hashFunction","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"size","type":"uint8"}],"name":"NewEventPlaceRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"creator","type":"address"},{"indexed":false,"internalType":"uint256","name":"eventPlaceId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ticketPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startDate","type":"uint256"},{"indexed":false,"internalType":"uint16","name":"daysAmount","type":"uint16"},{"indexed":false,"internalType":"bytes32","name":"digest","type":"bytes32"},{"indexed":false,"internalType":"uint8","name":"hashFunction","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"size","type":"uint8"}],"name":"NewEventRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"referralRewards","type":"address"}],"name":"ReferralRewardsUpdated","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":false,"internalType":"uint256","name":"categoryId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"eventId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"uint16","name":"discountPercentage","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"quota","type":"uint16"},{"indexed":false,"internalType":"bool","name":"hasQuota","type":"bool"}],"name":"TicketCategoryCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"categoryId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"eventId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"uint16","name":"discountPercentage","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"quota","type":"uint16"},{"indexed":false,"internalType":"bool","name":"hasQuota","type":"bool"}],"name":"TicketCategoryUpdated","type":"event"},{"inputs":[],"name":"BACKEND_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BUCKET_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LOCAL_PROVIDER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MASTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECONDS_IN_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERIFIED_SHAMAN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint256","name":"distributionProfileId","type":"uint256"}],"name":"approveEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventPlaceId","type":"uint256"},{"internalType":"uint256","name":"_eventDepositSize","type":"uint256"}],"name":"approveEventPlace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"}],"name":"cancelEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"categories","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint16","name":"discountPercentage","type":"uint16"},{"internalType":"uint16","name":"quota","type":"uint16"},{"internalType":"bool","name":"hasQuota","type":"bool"},{"internalType":"uint16","name":"sold","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"categoryCounters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"}],"name":"closeEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint16","name":"discountPercentage","type":"uint16"},{"internalType":"uint16","name":"quota","type":"uint16"},{"internalType":"bool","name":"hasQuota","type":"bool"}],"name":"createCategory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"}],"name":"declineEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventPlaceId","type":"uint256"}],"name":"declineEventPlace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"eventPlaces","outputs":[{"internalType":"address","name":"requester","type":"address"},{"internalType":"address","name":"provider","type":"address"},{"internalType":"uint16","name":"maxTickets","type":"uint16"},{"internalType":"uint16","name":"minTickets","type":"uint16"},{"internalType":"uint256","name":"minPrice","type":"uint256"},{"internalType":"uint8","name":"daysBeforeCancel","type":"uint8"},{"internalType":"uint8","name":"minDays","type":"uint8"},{"internalType":"bool","name":"available","type":"bool"},{"internalType":"enum CyberValleyEventManager.EventPlaceStatus","name":"status","type":"uint8"},{"components":[{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"}],"internalType":"struct CyberValley.Multihash","name":"meta","type":"tuple"},{"internalType":"uint256","name":"eventDepositSize","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eventTicketContract","outputs":[{"internalType":"contract CyberValleyEventTicket","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"events","outputs":[{"internalType":"address","name":"creator","type":"address"},{"internalType":"uint256","name":"eventPlaceId","type":"uint256"},{"internalType":"uint256","name":"ticketPrice","type":"uint256"},{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint16","name":"daysAmount","type":"uint16"},{"internalType":"enum CyberValleyEventManager.EventStatus","name":"status","type":"uint8"},{"components":[{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"}],"internalType":"struct CyberValley.Multihash","name":"meta","type":"tuple"},{"internalType":"uint256","name":"networth","type":"uint256"},{"internalType":"uint256","name":"totalCategoryQuota","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"}],"name":"getCategoriesForEvent","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"categoryId","type":"uint256"}],"name":"getCategory","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint16","name":"discountPercentage","type":"uint16"},{"internalType":"uint16","name":"quota","type":"uint16"},{"internalType":"bool","name":"hasQuota","type":"bool"},{"internalType":"uint16","name":"sold","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEventsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"eoa","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"grantLocalProvider","outputs":[],"stateMutability":"nonpayable","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":"master","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint256","name":"categoryId","type":"uint256"},{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"address","name":"referrer","type":"address"}],"name":"mintTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint256","name":"categoryId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"address","name":"referrer","type":"address"}],"name":"mintTickets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"referralRewards","outputs":[{"internalType":"contract IReferralRewards","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revenueSplitter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"eoa","type":"address"}],"name":"revokeLocalProvider","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"eoa","type":"address"}],"name":"revokeVerifiedShaman","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_referralRewards","type":"address"}],"name":"setReferralRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_splitter","type":"address"}],"name":"setRevenueSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maxTickets","type":"uint16"},{"internalType":"uint16","name":"_minTickets","type":"uint16"},{"internalType":"uint256","name":"_minPrice","type":"uint256"},{"internalType":"uint8","name":"_daysBeforeCancel","type":"uint8"},{"internalType":"uint8","name":"_minDays","type":"uint8"},{"internalType":"bool","name":"_available","type":"bool"},{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"uint256","name":"_eventDepositSize","type":"uint256"}],"name":"submitEventPlaceRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventPlaceId","type":"uint256"},{"internalType":"uint256","name":"ticketPrice","type":"uint256"},{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint16","name":"daysAmount","type":"uint16"},{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint16","name":"discountPercentage","type":"uint16"},{"internalType":"uint16","name":"quota","type":"uint16"},{"internalType":"bool","name":"hasQuota","type":"bool"}],"internalType":"struct CyberValleyEventManager.CategoryInput[]","name":"categoriesInput","type":"tuple[]"}],"name":"submitEventRequest","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":"categoryId","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint16","name":"discountPercentage","type":"uint16"},{"internalType":"uint16","name":"quota","type":"uint16"},{"internalType":"bool","name":"hasQuota","type":"bool"}],"name":"updateCategory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint256","name":"eventPlaceId","type":"uint256"},{"internalType":"uint256","name":"ticketPrice","type":"uint256"},{"internalType":"uint256","name":"startDate","type":"uint256"},{"internalType":"uint16","name":"daysAmount","type":"uint16"},{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"}],"name":"updateEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventPlaceId","type":"uint256"},{"internalType":"uint16","name":"_maxTickets","type":"uint16"},{"internalType":"uint16","name":"_minTickets","type":"uint16"},{"internalType":"uint256","name":"_minPrice","type":"uint256"},{"internalType":"uint8","name":"_daysBeforeCancel","type":"uint8"},{"internalType":"uint8","name":"_minDays","type":"uint8"},{"internalType":"bool","name":"_available","type":"bool"},{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"uint256","name":"_eventDepositSize","type":"uint256"}],"name":"updateEventPlace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdtTokenContract","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"abi_decode_address_fromMemory":{"entryPoint":393,"id":null,"parameterSlots":1,"returnSlots":1},"fun_grantRole":{"entryPoint":413,"id":256,"parameterSlots":1,"returnSlots":1},"fun_grantRole_1150":{"entryPoint":537,"id":256,"parameterSlots":1,"returnSlots":1},"fun_grantRole_1151":{"entryPoint":689,"id":256,"parameterSlots":1,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"60803461016e57601f615f4038819003918201601f19168301916001600160401b038311848410176101735780849260809460405283398101031261016e578061004b6100c192610189565b61005760208301610189565b90606061006660408501610189565b930151600155600380546001600160a01b03199081166001600160a01b039384161790915560048054821693831693909317909255600580549092169083161790556100b18161019d565b506100bb81610219565b506102b1565b507fcc097f9ad0fe95e9677eb635e08a2eafd1be1982e54ebbbe025d4d82046f8da8600081815260208190527f944a3f6a0db97263c682edfce566f4362603ac9455907a1040399dbeebc1023a80547f25cf2b509f2a7f322675b2a5322b182f44ad2c03ac941a0af17c9b178f5d5d5f918290556040519391929091907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9080a4615b76908161034a8239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b038216820361016e57565b6001600160a01b0381166000908152600080516020615f20833981519152602052604090205460ff16610213576001600160a01b03166000818152600080516020615f2083398151915260205260408120805460ff19166001179055339190600080516020615ec08339815191528180a4600190565b50600090565b6001600160a01b0381166000908152600080516020615ee0833981519152602052604090205460ff16610213576001600160a01b03166000818152600080516020615ee083398151915260205260408120805460ff191660011790553391907f8b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4c90600080516020615ec08339815191529080a4600190565b6001600160a01b0381166000908152600080516020615f00833981519152602052604090205460ff16610213576001600160a01b03166000818152600080516020615f0083398151915260205260408120805460ff191660011790553391907f15b2da25ad3ad17b120bdf62bcb1d99394802408e2ec63d9836ecfe4af9a5ebc90600080516020615ec08339815191529080a460019056fe608080604052600436101561001357600080fd5b600090813560e01c90816301ffc9a714613d7457508063080a5a19146138e85780630b7914301461381c5780630ddee657146132ef578063124f615b14612ede57806312c5502714612ec1578063248a9ca314612e8b57806326fd107814612e625780632ee07c0014612b015780632f2ff15d14612ac057806330366d5f14612aa257806333dcc3b01461299257806336568abe1461294d57806339ee53b1146129245780633bf00de6146128335780633f69babd146125255780634b8ac1d21461247e5780635c517ad2146124555780635d20248c14611de957806361a52a3614611dcb57806390cb984514611cb657806391d1485414611c6b57806392c2becc14611c30578063995deaba14611c075780639d2b86f614611bde5780639ec47d7414611857578063a217fddf1461183b578063a23ed0ea146116c5578063a74d237a14610e3d578063af1194be14610ba9578063b02dfa8f14610b35578063c31da59b14610942578063c511eef814610734578063c6cdbe5e146106c7578063c785d4e714610636578063cf6272a21461060c578063d547741f146105c2578063d7a8d96f146103a0578063d8b03fa414610377578063dc2248631461034e578063df71e9a71461030d578063ee97f7f3146102e4578063eeb58da5146102765763f3052d261461020557600080fd5b346102735760203660031901126102735761022e600435610229600a5482106143f4565b61405d565b5060018101549061026f6102466002830154926140b6565b604051938361ffff869560281c169260ff8260201c169261ffff808460101c169316918761419b565b0390f35b80fd5b5034610273576020366003190112610273577f94a541ed5bd917fc5c41e47580a934608eeeac1ff9780b05684b239d3069b11460206102b3613f52565b6102bb614944565b600780546001600160a01b0319166001600160a01b03929092169182179055604051908152a180f35b50346102735780600319360112610273576005546040516001600160a01b039091168152602090f35b50346102735761031c36614047565b91908152600b6020526040812090815483101561027357602061033f84846141db565b90549060031b1c604051908152f35b50346102735780600319360112610273576020604051600080516020615b218339815191528152f35b50346102735780600319360112610273576020604051600080516020615a818339815191528152f35b503461027357610100366003190112610273576004356024356044359160643560843561ffff81168091036105be5760a4356103da613e3a565b916103e3613e09565b936103ec6148f6565b6103f9600954871061439d565b61040286613e4a565b509760018901978854610414816157eb565b60038b019a8b918254600483019261ffff845416948684149e8f159f6105b3575b8f156105a8575b87905587600283015561044e8961518c565b9055835461ffff1916891784556040519b8c9b61046a8d613e7f565b8b8d5260ff9081166020909d018d9052811660409d909d018d9052600682018b905560078201805461ffff19168d1760089290921b61ff00169190911790556104b2906151ac565b7f0a77f211d2fe7b0b3c4d15f44cbd0b7b5a47a486439226b2a844d951df1f72159d6101009d61050f575b5050505050604051978852602088015260408701526060860152608085015260a084015260c083015260e0820152a180f35b61055f61056a938361052761059d9861ffff96614a21565b9161054260015461053a8185101561555b565b8410156155b9565b61055a63015180006105548486614255565b10615615565b61573b565b505492541682614a21565b9061058560015461057d8184101561555b565b8310156155b9565b61059763015180006105548385614255565b8361566b565b5038808080806104dd565b868b14159f5061043c565b838a14159f50610435565b8580fd5b5034610273576040366003190112610273576106086004356105e2613f3c565b906106036105fe82600052600060205260016040600020015490565b6149a4565b614cca565b5080f35b503461027357602036600319011261027357610608610629613f52565b6106316148f6565b614c10565b503461027357602036600319011261027357610650613f52565b610658614944565b6001600160a01b03168015610682576bffffffffffffffffffffffff60a01b600654161760065580f35b60405162461bcd60e51b815260206004820152601f60248201527f53706c697474657220616464726573732063616e6e6f74206265207a65726f006044820152606490fd5b503461027357602036600319011261027357600435600a54811015610730576106ef9061405d565b506106f9816140b6565b61026f6002600184015493015491604051938361ffff869560281c169260ff8260201c169261ffff808460101c169316918761419b565b5080fd5b50346102735760203660031901126102735761074e613f52565b610756614944565b6001600160a01b038116825b6008548110156108b857808261077960019361401b565b5083808060a01b039101541614610791575b01610762565b818060a01b0360055416826107a58361401b565b500180546001600160a01b03191660a085901b859003928316179055600554600080516020615ac1833981519152918391166108b061ffff866107e78561401b565b50015460a01c168361ffff886107fc8361401b565b50015460b01c16600261080e8361401b565b50015460ff600361081e8561401b565b5001541660ff600361082f8661401b565b50015460081c1660ff60036108438761401b565b50015460101c169060ff60036108588861401b565b50015460181c1692600461086b8861401b565b5001549460ff600561087c8a61401b565b500154169660066108a060ff60056108938d61401b565b50015460081c169a61401b565b500154996040519d8e9d8e61431d565b0390a161078b565b505060065460055483916001600160a01b039182169116803b1561093e5760405163489be24560e11b81526001600160a01b03858116600483015292909216602483015282908290604490829084905af180156109335761091e575b5061060882614b7a565b8161092891613ecc565b610730578138610914565b6040513d84823e3d90fd5b8280fd5b503461027357602036600319011261027357600080516020615b2183398151915281526020818152604080832033600090815292529020546004359060ff1615610b28575b610994600954821061439d565b61099d81613e4a565b509060018201908154916109b0836149df565b600484019260ff845460101c166005811015610b14576109de610a24926109d96020931561473d565b61401b565b5060035487546006929092015460405163a9059cbb60e01b81526001600160a01b03938416600482015260248101919091529384929091169082908a9082906044820190565b03925af1908115610b09578691610ada575b5015610a955760ff604093610a7c600080516020615b01833981519152966003610a91956202000062ff0000198654161785555491015461052761ffff85541682614a21565b505460101c1683519283526020830190613f19565ba180f35b60405162461bcd60e51b815260206004820152601e60248201527f4661696c656420746f20726566756e64206576656e74207265717565737400006044820152606490fd5b610afc915060203d602011610b02575b610af48183613ecc565b81019061461d565b38610a36565b503d610aea565b6040513d88823e3d90fd5b634e487b7160e01b87526021600452602487fd5b610b306148f6565b610987565b5034610273576020366003190112610273576003610b64600435610b576148f6565b6109d96008548210614681565b500160ff815460181c166003811015610b9557610b8190156146cd565b805463ff0000001916630200000017905580f35b634e487b7160e01b83526021600452602483fd5b503461027357610bb836614047565b600080516020615b21833981519152835260208381526040808520336000908152925290205460ff1615610e30575b610bf4600954831061439d565b610bfd82613e4a565b5060018101610c0c81546149df565b600482019260ff845460101c166005811015610b1457610c2c901561473d565b848652600b602052604086205415610ddd576006546040516315b935b560e11b8152600481018390523360248201526001600160a01b0390911690602081604481855afa908115610dd2578891610db3575b5015610d5d578691813b1561093e578291604483926040519485938492630339a01960e31b84528c600485015260248401525af1801561093357610d3e575b50600080516020615b01833981519152604086610a9160ff88610d1a8960038a54910154610cf061ffff85541682614a21565b91610d0360015461053a8185101561555b565b610d1563015180006105548486614255565b61566b565b506201000062ff0000198254161781555460101c1683519283526020830190613f19565b81610d4b91969496613ecc565b610d59578438949294610cbd565b8480fd5b60405162461bcd60e51b815260206004820152602860248201527f43616c6c6572206d757374206f776e2074686520646973747269627574696f6e6044820152672070726f66696c6560c01b6064820152608490fd5b610dcc915060203d602011610b0257610af48183613ecc565b38610c7e565b6040513d8a823e3d90fd5b60405162461bcd60e51b815260206004820152602560248201527f4576656e74206d7573742068617665206174206c65617374206f6e652063617460448201526465676f727960d81b6064820152608490fd5b610e386148f6565b610be7565b5034610273576101003660031901126102735760643561ffff8116810361073057610e66613e2a565b610e6e613e3a565b906001600160401b0360e435116116c15736602360e4350112156116c1576001600160401b0360e43560040135116116c15736602460e4356004013560051b60e4350101116116c157610ec660085460043510614681565b6006610ed360043561401b565b500154801561167c576003546040516370a0823160e01b81523360048201526001600160a01b0390911690602081602481855afa80156116035783918891611647575b501061160e57604051636eb1769f60e11b8152336004820152306024820152602081604481855afa801561160357839188916115c9575b5010611584576040516323b872dd60e01b815233600482015230602482015260448101929092526020908290606490829089905af190811561157957859161155a575b501561151557610fa160443561518c565b9360209260405195610fb38588613ecc565b828752600036813760405190610fc882613e7f565b608435825260ff85168683015260ff831660408301526040519761014089018981106001600160401b038211176114d95760405233895286890192600435845260408a0191602435835260608b0193845261ffff8a1660808c01528660a08c015260c08b015260e08a0152846101008a0152846101208a0152600954600160401b8110156114d9578060016110609201600955613e4a565b93909361150157895184546001600160a01b0319166001600160a01b0391909116178455516001840155516002830155516003820155608087015160048201805461ffff191661ffff9290921691909117905560a08701519660058810156114ed5760009762ff000060048401549160101b169062ff0000191617600483015560c08101518051906001600160401b0382116114d957600160401b82116114d957879060058501548360058701558084106114bc575b5001600584018652878620865b8381106114a15750505050610120816111748860ff604060e06009970151805160068a0155828060078b01958301511616831985541617845501511661ff0082549160081b169061ff001916179055565b61010081015160088501550151910155600954928360001981011161148d576111a96111a36000198601613e4a565b506151ac565b60e435600401351561143e57825b60e435600401358110156112bd5760248160051b60e4350101359060a21960e435360301821215610d5957608060e435830136036023190112610d5957604051608081018181106001600160401b038211176112a9576040526001600160401b0360248460e435010135116105be5761123c36602460e4358601818101350101613f68565b9283825261125060448260e4350101613dda565b808a840152608461126760648460e4350101613dda565b9283604086015260e4350101359485151586036112a55761ffff8087600198606061129f980152151594169216906000198b01614dd8565b016111b7565b8c80fd5b634e487b7160e01b87526041600452602487fd5b5091949092936112d06000198601613e4a565b506112de600182015461401b565b50906112ed6000198801615507565b15611369575b877f643a612289e1dd3493236d0c8a82f599690d576e4f1d8511e3ec6dc9ad28ebb96101208960ff8a818b61ffff8c8c6040519760001901885233908801526004356040880152602435606088015260443560808801521660a086015260843560c08601521660e084015216610100820152a180f35b6009600191015491015461ffff8160b01c1682106113e75760a01c61ffff16106113945786806112f3565b6084906040519062461bcd60e51b82526004820152602660248201527f546f74616c207469636b6574732063616e6e6f7420657863656564206d61785460448201526569636b65747360d01b6064820152fd5b60405162461bcd60e51b815260048101849052602960248201527f546f74616c207469636b657473206d757374206265206174206c65617374206d604482015268696e5469636b65747360b81b6064820152608490fd5b60405162461bcd60e51b815260048101869052602160248201527f4174206c65617374206f6e652063617465676f727920697320726571756972656044820152601960fa1b6064820152608490fd5b634e487b7160e01b83526011600452602483fd5b82516001600160a01b03168282015591890191600101611123565b6005860188528288206114d39181019085016145d0565b38611116565b634e487b7160e01b86526041600452602486fd5b634e487b7160e01b84526021600452602484fd5b634e487b7160e01b86526004869052602486fd5b60405162461bcd60e51b815260206004820152601c60248201527f4576656e742072657175657374207061796d656e74206661696c6564000000006044820152606490fd5b611573915060203d602011610b0257610af48183613ecc565b38610f90565b6040513d87823e3d90fd5b60405162461bcd60e51b815260206004820152601f60248201527f526571756972656420616d6f756e7420776173206e6f7420616c6c6f776564006044820152606490fd5b9150506020813d6020116115fb575b816115e560209383613ecc565b810103126115f65782905138610f4d565b600080fd5b3d91506115d8565b6040513d89823e3d90fd5b60405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820746f6b656e7360781b6044820152606490fd5b9150506020813d602011611674575b8161166360209383613ecc565b810103126115f65782905138610f16565b3d9150611656565b60405162461bcd60e51b815260206004820152601e60248201527f4576656e74506c616365206465706f736974206d7573742062652073657400006044820152606490fd5b8380fd5b5034610273576116d436613fbe565b600080516020615ae1833981519152865260208681526040808820336000908152925290205490939192919060ff1615611816576009548510156117da5761171b85613e4a565b50546001600160a01b0316331480156117ab575b156117405761173d94614dd8565b80f35b60405162461bcd60e51b815260206004820152603760248201527f4f6e6c79206576656e742063726561746f72206f72206c6f63616c2070726f7660448201527f696465722063616e206164642063617465676f726965730000000000000000006064820152608490fd5b50600080516020615a81833981519152865260208681526040808820336000908152925290205460ff1661172f565b60405162461bcd60e51b8152602060048201526014602482015273115d995b9d08191bd95cc81b9bdd08195e1a5cdd60621b6044820152606490fd5b63e2517d3f60e01b865233600452600080516020615ae1833981519152602452604486fd5b5034610273578060031936011261027357602090604051908152f35b50346102735761016036600319011261027357600435611875613dc9565b9060443561ffff811681036116c15761188c613df9565b611894613e2a565b60c435948515158603611bda576118a9613e19565b90610124359260ff84168403611bd6576118c16148f6565b600854871015611b91576118d48761401b565b5060018101549091906001600160a01b03163303611b365760ff600383015460181c166003811015611b2257600103611acb5760068201546101443503611a1f575b60018201805461ffff60b01b60b08a901b1663ffffffff60a01b1990911661ffff60a01b60a087901b1617179055606435600283015560038201805462ff00008b151560101b1662ffffff1990911660ff89161761ff00600885901b1617179055604051600080516020615ac183398151915299611a1997969594939290916119e1906119a281613e7f565b60e43580825260ff88811660208401819052908a16604090930192909252600486015560058501805461ffff1916909117600889901b61ff0016179055565b6119f26119ed84614278565b614795565b600660ff600385015460181c16930154966040519a8b9a60e43596606435928d339061431d565b0390a180f35b9493929190611a2d88614d4c565b611a6a57600080516020615ac183398151915298611a1996611a536101443515156141f3565b610144356006840155919293949596509850611916565b60405162461bcd60e51b815260206004820152603360248201527f43616e6e6f74206368616e6765206465706f736974207768696c652074686572604482015272652061726520616374697665206576656e747360681b6064820152608490fd5b60405162461bcd60e51b815260206004820152602960248201527f4576656e74506c616365206d75737420626520617070726f76656420746f206260448201526819481d5c19185d195960ba1b6064820152608490fd5b634e487b7160e01b8b52602160045260248bfd5b60405162461bcd60e51b815260206004820152602d60248201527f476976656e206576656e7420706c6163652062656c6f6e677320746f20616e6f60448201526c3a3432b910383937bb34b232b960991b6064820152608490fd5b60405162461bcd60e51b815260206004820152601960248201527f6576656e74506c61636549642073686f756c64206578697374000000000000006044820152606490fd5b8880fd5b8680fd5b50346102735780600319360112610273576006546040516001600160a01b039091168152602090f35b50346102735780600319360112610273576007546040516001600160a01b039091168152602090f35b503461027357806003193601126102735760206040517f25cf2b509f2a7f322675b2a5322b182f44ad2c03ac941a0af17c9b178f5d5d5f8152f35b5034610273576040366003190112610273576040611c87613f3c565b91600435815280602052209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b503461027357611cc536614047565b9190611ccf6148f6565b611cdc6008548210614681565b611ce78315156141f3565b611cf08161401b565b506003810160ff815460181c166003811015611db75794611a1991611d25600080516020615ac18339815191529697156146cd565b630100000063ff000000198254161781556001840160018060a01b0333166bffffffffffffffffffffffff60a01b82541617815582600686015554946002850154915494600560048201549101549260405197889760ff808760081c1696169460ff8260181c169360ff8360101c169360ff808560081c1694169261ffff808360b01c169260a01c16908d339061431d565b634e487b7160e01b85526021600452602485fd5b50346102735780600319360112610273576020604051620151808152f35b50346102735760c03660031901126102735760043590602435611e0a613de9565b611e12613df9565b60a435916001600160a01b038316918284036105be57611e3e6009548810611e398161439d565b61439d565b611e4787613e4a565b509460ff600487015460101c1660058110156124415760010361240457611e71600a5482106143f4565b611e7a8161405d565b50886001820154036123b05760020180549060ff8260201c16612315575b611eae915061ffff60028901549154169061585f565b9384800460011485151715612301576003546040516323b872dd60e01b81523360048201523060248201526044810187905290602090829060649082908d906001600160a01b03165af19081156122f65789916122d7575b50156122925760075488966001600160a01b039091169081612014575b5050879860018060a09a9798999a1b036004541693843b15611bda5786946101249360ff8793816040519a8b998a986305a02d9360e51b8a523360048b015260248a015260448901526001606489015260443560848901521660a48701521660c485015260e4840152886101048401525af1801561093357611fff575b505060058301805490600160401b8210156114d95792600892611fcf83611ffa966001611ff0960181556141db565b81546001600160a01b0360039290921b91821b19163390911b179055614255565b9201918254614563565b905580f35b8161200991613ecc565b6116c1578338611fa0565b612064975060e091879133850361228d57508a5b60405163e696d10d851b81523360048201526001600160a01b0390911660248201526044810192909252909788919082908c9082906064820190565b03925af1988915610dd257889989978a916121b5575b5096895b6003811061208f5750819a50611f23565b8a8c6001600160a01b036120a384836148e5565b51161515806121a2575b6120bc575b505060010161207e565b60035461211c9260209290916001600160a01b03908116916120df9087906148e5565b51166120eb86886148e5565b5160405163a9059cbb60e01b81526001600160a01b0390921660048301526024820152938492839182906044820190565b03925af1908115612197578c91612179575b501561213b578a8c6120b2565b60405162461bcd60e51b815260206004820152601660248201527511985a5b1959081d1bc81c185e481c9959995c9c985b60521b6044820152606490fd5b612191915060203d8111610b0257610af48183613ecc565b3861212e565b6040513d8e823e3d90fd5b506121ad83856148e5565b5115156120ad565b9a5050955060e03d60e011612286575b6121cf818b613ecc565b89019560e08a880312611bd65786601f8b011215611bd657604051966121f6606089613ecc565b60608b019a88828d1161225a5781905b8d821061226257505081607f8201121561225e576040519b61222960608e613ecc565b60c08d920192831161225a57905b82821061224a575050519699963861207a565b8151815260209182019101612237565b8b80fd5b8a80fd5b81516001600160a01b038116810361228257815260209182019101612206565b8d80fd5b503d6121c5565b612028565b60405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f207472616e7366657220746f6b656e73000000000000006044820152606490fd5b6122f0915060203d602011610b0257610af48183613ecc565b38611f06565b6040513d8b823e3d90fd5b634e487b7160e01b88526011600452602488fd5b61ffff8260281c169161ffff8061232b856148bb565b9260101c1691161161236b57612366612346611eae936148bb565b825466ffff0000000000191660289190911b66ffff000000000016178255565b611e98565b60405162461bcd60e51b815260206004820152601760248201527f43617465676f72792071756f74612065786365656465640000000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152602660248201527f43617465676f727920646f6573206e6f742062656c6f6e6720746f207468697360448201526508195d995b9d60d21b6064820152608490fd5b60405162461bcd60e51b8152602060048201526015602482015274115d995b9d081a5cc81b9bdd08185c1c1c9bdd9959605a1b6044820152606490fd5b634e487b7160e01b88526021600452602488fd5b50346102735780600319360112610273576003546040516001600160a01b039091168152602090f35b5034610273576020366003190112610273576004358152600b60205260408120604051908160208254918281520190819285526020852090855b81811061250f57505050826124ce910383613ecc565b604051928392602084019060208552518091526040840192915b8181106124f6575050500390f35b82518452859450602093840193909201916001016124e8565b82548452602090930192600192830192016124b8565b503461027357602036600319011261027357600080516020615b2183398151915281526020818152604080832033600090815292529020546004359060ff1615612826575b612577600954821061439d565b61258081613e4a565b50906001820154612590816149df565b600483019260ff845460101c166005811015612812576001036127b7576125b7859261401b565b50906006820154806126ed575b506008019081549081612611575b83600080516020615b01833981519152604087610a9160ff8b868a556203000062ff0000198254161781555460101c1683519283526020830190613f19565b6003546001919091015460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810193909352929493509091602091839160449183918a91165af19081156115795785916126ce575b50156126735790839038806125d2565b60405162461bcd60e51b815260206004820152602d60248201527f4661696c656420746f207472616e73666572207469636b657420726576656e7560448201526c32903a3790383937bb34b232b960991b6064820152608490fd5b6126e7915060203d602011610b0257610af48183613ecc565b38612663565b600354825460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101939093529294509091602091839160449183918b91165af1908115610b09578691612798575b5015612747578491386125c4565b60405162461bcd60e51b815260206004820152602360248201527f4661696c656420746f20726566756e64206465706f73697420746f20637265616044820152623a37b960e91b6064820152608490fd5b6127b1915060203d602011610b0257610af48183613ecc565b38612739565b60405162461bcd60e51b815260206004820152602d60248201527f4f6e6c79206576656e7420696e20617070726f7665642073746174652063616e60448201526c0818994818d85b98d95b1b1959609a1b6064820152608490fd5b634e487b7160e01b86526021600452602486fd5b61282e6148f6565b61256a565b50346102735760203660031901126102735760043590600854821015610273576101a061285f8361401b565b5060018060a01b038154169061291c6001820154916128f8600282015460038301549061ffff600661289360048701613eed565b9501549660405198895260018060a01b03811660208a0152818160a01c1660408a015260b01c166060880152608087015260ff811660a087015260ff8160081c1660c087015260ff8160101c16151560e087015260ff61010087019160181c1661403a565b61012084019060ff6040809280518552826020820151166020860152015116910152565b610180820152f35b50346102735780600319360112610273576020604051600080516020615ae18339815191528152f35b503461027357604036600319011261027357612967613f3c565b336001600160a01b038216036129835761060890600435614cca565b63334bd91960e11b8252600482fd5b5034610273576040366003190112610273576129ac613f52565b6129b4614944565b6001600160a01b03811615612a4f576006548291906129dd906001600160a01b03161515614635565b6129e681614a51565b506006546001600160a01b0316803b15612a4b5760405163593f8c2560e01b81526001600160a01b03929092166004830152602480359083015282908290604490829084905af1801561093357612a3a5750f35b81612a4491613ecc565b6102735780f35b5050fd5b60405162461bcd60e51b815260206004820152602560248201527f4c6f63616c2070726f76696465722063616e6e6f74206265207a65726f206164604482015264647265737360d81b6064820152608490fd5b50346102735780600319360112610273576020600954604051908152f35b503461027357604036600319011261027357610608600435612ae0613f3c565b90612afc6105fe82600052600060205260016040600020015490565b614aef565b503461027357602036600319011261027357600080516020615b2183398151915281526020818152604080832033600090815292529020546004359060ff1615612e55575b612b53600954821061439d565b612b5c81613e4a565b50600181015490612b6c826149df565b6004810191825460ff8160101c166005811015610b1457600103612dfd576003830154612b9d9161ffff1690614a21565b421115612db8576020612bb2612bf89261401b565b5060035484546006929092015460405163a9059cbb60e01b81526001600160a01b0393841660048201526024810191909152938492909116908290899082906044820190565b03925af1908115611579578591612d99575b5015612d485760088491015480612c5a575b5091610a9160ff604093600080516020615b0183398151915295506204000062ff0000198254161781555460101c1683519283526020830190613f19565b600654612cb79060209083906001600160a01b0316612c7a811515614635565b60035460405163095ea7b360e01b81526001600160a01b039283166004820152602481019390935291938492909116908290879082906044820190565b03925af18015612d3d57612d20575b506006546001600160a01b031690813b1561093e578291604483926040519485938492634ae699ef60e01b845260048401528960248401525af180156109335715612c1c5781612d1591613ecc565b61093e578238612c1c565b612d389060203d602011610b0257610af48183613ecc565b612cc6565b6040513d85823e3d90fd5b60405162461bcd60e51b815260206004820152602360248201527f4661696c656420746f2072657475726e206465706f73697420746f20637265616044820152623a37b960e91b6064820152608490fd5b612db2915060203d602011610b0257610af48183613ecc565b38612c0a565b60405162461bcd60e51b815260206004820152601f60248201527f4576656e7420686173206e6f74206265656e2066696e697368656420796574006044820152606490fd5b60405162461bcd60e51b815260206004820152602a60248201527f4f6e6c79206576656e7420696e20617070726f7665642073746174652063616e6044820152690818994818db1bdcd95960b21b6064820152608490fd5b612e5d6148f6565b612b46565b50346102735780600319360112610273576004546040516001600160a01b039091168152602090f35b5034610273576020366003190112610273576020612eb9600435600052600060205260016040600020015490565b604051908152f35b503461027357806003193601126102735760206040516101008152f35b503461027357612eed36613fbe565b612efc959491959392936148f6565b612f09600a5483106143f4565b612f1b61271061ffff86161115614440565b612f248261405d565b509560018701612f348154613e4a565b506001612f438183015461401b565b500154336001600160a01b038216036132845760ff600483015460101c16600581101561327057612f749015614480565b84156132035761ffff8416612f8a8115156144cb565b60028b01549161ffff8360281c1682106131a757612fdc91600961ffff612fd39360a01c1695612fbc87841115614517565b019384549060ff8160201c1661318f575b50614563565b92831115614570565b555b8451976001600160401b03891161317b57612ff9815461407c565b601f8111613140575b50602098601f81116001146130b05784600261309f9695949383613091948d9e7f10911411b2f44e2516f7dd0deb300cad44abf67ade2e67b6883bd6d43605435c9d9e916130a5575b508160011b916000199060031b1c19161781555b01805464ffffffffff191661ffff8c161763ffff0000601087901b161791151560201b64ff0000000016919091179055565b5496604051958695866145e7565b0390a280f35b90508b01513861304b565b81895289892099601f1982168a5b8181106131285750869594936001847f10911411b2f44e2516f7dd0deb300cad44abf67ade2e67b6883bd6d43605435c9c9d9e61309f9a95613091976002961061310f575b5050811b01815561305f565b8d015160001960f88460031b161c191690553880613103565b898301518d556001909c019b602092830192016130be565b61316b90828a5260208a20601f8c0160051c81019160208d10613171575b601f0160051c01906145d0565b38613002565b909150819061315e565b634e487b7160e01b88526041600452602488fd5b9061ffff6131a19260101c1690614255565b38612fcd565b60405162461bcd60e51b815260206004820152602e60248201527f51756f74612063616e6e6f74206265206c657373207468616e207469636b657460448201526d1cc8185b1c9958591e481cdbdb1960921b6064820152608490fd5b505060ff600289015460201c1615612fde5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f74206368616e67652066726f6d206c696d6974656420746f20756e60448201526c6c696d697465642071756f746160981b6064820152608490fd5b634e487b7160e01b8a52602160045260248afd5b60405162461bcd60e51b815260206004820152603a60248201527f4f6e6c7920746865206c6f63616c2070726f7669646572206f6620746865206560448201527f76656e742063616e207570646174652063617465676f726965730000000000006064820152608490fd5b50346102735760e03660031901126102735760443590600435602435613313613df9565b61331b613e2a565b9460c435926001600160a01b03841692838503611bda576133436009548710611e398161439d565b82156137d75761335286613e4a565b509560ff600488015460101c1660058110156137c3576001036124045761337c600a5484106143f4565b6133858361405d565b50816001820154036123b05760020180549060ff8260201c16613785575b6133b9915061ffff60028a01549154169061585f565b986133c4858b61472a565b6003546040516323b872dd60e01b81523360048201523060248201526044810183905291979190602090829060649082908f906001600160a01b03165af190811561377a578b9161375b575b5015612292576007548a986001600160a01b0390911690816134ec575b5050899a60018060a09c98999a9b9c1b036004541691823b156134e85760ff889481610124986040519c8d9b8c9a6305a02d9360e51b8c523360048d015260248c015260448b015260648a015260643560848a01521660a48801521660c486015260e48501526101048401525af18015611579576134d4575b5060058301805490600160401b8210156114d95792600892611fcf83611ffa966001611ff0960181556141db565b846134e191959295613ecc565b92386134a6565b8780fd5b61353c995060e091899133850361375657508c5b60405163e696d10d851b81523360048201526001600160a01b039091166024820152604481019290925290998a919082908e9082906064820190565b03925af19a8b1561374b578a988b908c9d61365f575b5060039c998c9d8e5b106135695750819c5061342d565b8d6001600160a01b0361357c82846148e5565b51161515908161364b575b5061359a575b600160039e019d8e61355b565b6135cb60208f8f9060018060a01b0360035416906120eb60018060a01b036135c283896148e5565b511691886148e5565b03925af190811561363e578e91613620575b5061358d5760405162461bcd60e51b815260206004820152601660248201527511985a5b1959081d1bc81c185e481c9959995c9c985b60521b6044820152606490fd5b613638915060203d8111610b0257610af48183613ecc565b386135dd565b8e604051903d90823e3d90fd5b6136569150836148e5565b5115158e613587565b9b9a9950509a5060e03d60e011613744575b61367b818c613ecc565b8a019a60e08b8d0312613740578b601f8c011215613740578a9b8a9b999a50604051906136a9606083613ecc565b6060829b019a818c11612282578e8c839282915b8210613710575050607f0112156112a5576040519a6136dd60608d613ecc565b60c08c9f01918211612282579d818f5b106136fe5750519c50986003613552565b8e51815260209e8f019e01818f6136ed565b815191935091506001600160a01b038116810361373c5781602092918392520191018f9083928e6136bd565b8f80fd5b8980fd5b503d613671565b6040513d8c823e3d90fd5b613500565b613774915060203d602011610b0257610af48183613ecc565b38613410565b6040513d8d823e3d90fd5b61ffff8260281c169161ffff87169061ffff806137a284876148cf565b9260101c1691161161236b576123466137be916133b9946148cf565b6133a3565b634e487b7160e01b89526021600452602489fd5b60405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606490fd5b503461027357602036600319011261027357600435906009548210156102735761016061384883613e4a565b5060018060a01b03815416906001810154906138da60028201546138b7600384015460048501549061387c60068701613eed565b936009600888015497015497604051998a5260208a01526040890152606088015261ffff8116608088015260ff60a088019160101c16613f19565b60c085019060ff6040809280518552826020820151166020860152015116910152565b610120830152610140820152f35b503461027357610140366003190112610273576004359061ffff8216820361027357613912613dc9565b60443561391d613de9565b613925613df9565b60a4359182151583036105be5761393a613e09565b93613943613e19565b600080516020615a81833981519152885260208881526040808a20338b5290915288205460ff1698909690898015613d47575b15613d125789613cff575b8915613cf957335b8a15613cf35760015b6040519061399f82613e7f565b60c435825260ff8a16602083015260ff8b166040830152888888604051946139c686613eb0565b338652602086019660018060a01b03168752604086019661ffff891688526060870161ffff8b16815260808801928c845260ff60a08a019516855260ff60c08a019616865260e089019615158752613a236101008a019889614249565b61012089015261012435610140890152600854600160401b811015613cdb57806001613a52920160085561401b565b999099613cc45788518a546001600160a01b0319166001600160a01b03918216178b55925160018b0180549251935160a09490941b61ffff60a01b16919094166001600160c01b0319909216919091171760b09190911b61ffff60b01b16179055516002870155516003860180549251935161ff0060089590951b9490941660ff90921662ffffff19909316929092171791151560101b62ff000016919091179055516003811015613cb0576006916101409163ff00000060038601549160181b169063ff0000001916176003850155613b646101208201518051600487015560ff60406005880192828060208301511616831985541617845501511661ff0082549160081b169061ff001916179055565b01519101556008546000198101908111613c9c57899a613b8f6119ed613b898461401b565b50614278565b15613c1c5760408051338152602081019290925261ffff9283169082015291166060820152608081019190915260ff91821660a0820152911660c082015290151560e082015292509160ff6101a09281600080516020615ac183398151915295600161010086015260c435610120860152166101408401521661016082015261012435610180820152a180f35b98506040519889523360208a015261ffff16604089015261ffff166060880152608087015260ff1660a086015260ff1660c0850152151560e084015260c43561010084015260ff1661012083015260ff166101408201526101607f9ff4f860dc119dff15347f57fad0189a16d6940238a52efe730908119a17450c91a180f35b634e487b7160e01b8a52601160045260248afd5b634e487b7160e01b8c52602160045260248cfd5b5050505060248f634e487b7160e01b815280600452fd5b5050505060248f634e487b7160e01b81526041600452fd5b89613992565b88613989565b613d0d6101243515156141f3565b613981565b60405162461bcd60e51b815260206004820152600d60248201526c1858d8d95cdcc819195b9a5959609a1b6044820152606490fd5b50600080516020615ae1833981519152895260208981526040808b20338c5290915289205460ff16613976565b9050346107305760203660031901126107305760043563ffffffff60e01b811680910361093e5760209250637965db0b60e01b8114908115613db8575b5015158152f35b6301ffc9a760e01b14905038613db1565b6024359061ffff821682036115f657565b359061ffff821682036115f657565b6064359060ff821682036115f657565b6084359060ff821682036115f657565b60e4359060ff821682036115f657565b610104359060ff821682036115f657565b60a4359060ff821682036115f657565b60c4359060ff821682036115f657565b600954811015613e69576009600052600a602060002091020190600090565b634e487b7160e01b600052603260045260246000fd5b606081019081106001600160401b03821117613e9a57604052565b634e487b7160e01b600052604160045260246000fd5b61016081019081106001600160401b03821117613e9a57604052565b90601f801991011681019081106001600160401b03821117613e9a57604052565b90604051613efa81613e7f565b604060ff60018395805485520154818116602085015260081c16910152565b906005821015613f265752565b634e487b7160e01b600052602160045260246000fd5b602435906001600160a01b03821682036115f657565b600435906001600160a01b03821682036115f657565b81601f820112156115f6578035906001600160401b038211613e9a5760405192613f9c601f8401601f191660200185613ecc565b828452602083830101116115f657816000926020809301838601378301015290565b9060a06003198301126115f65760043591602435906001600160401b0382116115f657613fed91600401613f68565b9060443561ffff811681036115f6579060643561ffff811681036115f6579060843580151581036115f65790565b600854811015613e695760086000526007602060002091020190600090565b906003821015613f265752565b60409060031901126115f6576004359060243590565b600a54811015613e6957600a6000526003602060002091020190600090565b90600182811c921680156140ac575b602083101461409657565b634e487b7160e01b600052602260045260246000fd5b91607f169161408b565b90604051918260008254926140ca8461407c565b808452936001811690811561413857506001146140f1575b506140ef92500383613ecc565b565b90506000929192526020600020906000915b81831061411c5750509060206140ef92820101386140e2565b6020919350806001915483858901015201910190918492614103565b9050602092506140ef94915060ff191682840152151560051b820101386140e2565b919082519283825260005b848110614186575050826000602080949584010152601f8019910116010190565b80602080928401015182828601015201614165565b949060a09461ffff80956141bc82949b9a969b60c08b5260c08b019061415a565b9a60208a01521660408801521660608601521515608085015216910152565b8054821015613e695760005260206000200190600090565b156141fa57565b60405162461bcd60e51b815260206004820152602160248201527f4465706f736974206d7573742062652067726561746572207468616e207a65726044820152606f60f81b6064820152608490fd5b6003821015613f265752565b9190820391821161426257565b634e487b7160e01b600052601160045260246000fd5b9060405161428581613eb0565b6101406006829460018060a01b03815416845261ffff600182015460018060a01b0381166020870152818160a01c16604087015260b01c1660608501526002810154608085015261430460ff600383015481811660a0880152818160081c1660c0880152818160101c16151560e088015260181c166101008601614249565b61431060048201613eed565b6101208501520154910152565b9a98969492909d9c9b99979593916101a08c019e600160a01b60019003168c5260208c015261ffff1660408b015261ffff1660608a0152608089015260ff1660a088015260ff1660c0870152151560e0860152610100850161437e9161403a565b61012084015260ff1661014083015260ff166101608201526101800152565b156143a457565b60405162461bcd60e51b815260206004820152602260248201527f4576656e74207769746820676976656e20696420646f6573206e6f74206578696044820152611cdd60f21b6064820152608490fd5b156143fb57565b60405162461bcd60e51b815260206004820152601760248201527f43617465676f727920646f6573206e6f742065786973740000000000000000006044820152606490fd5b1561444757565b60405162461bcd60e51b8152602060048201526011602482015270088d2e6c6deeadce840e8dede40d0d2ced607b1b6044820152606490fd5b1561448757565b606460405162461bcd60e51b815260206004820152602060248201527f4576656e74206d75737420626520696e207375626d69747465642073746174656044820152fd5b156144d257565b60405162461bcd60e51b815260206004820152601c60248201527f51756f7461206d7573742062652067726561746572207468616e2030000000006044820152606490fd5b1561451e57565b60405162461bcd60e51b815260206004820152601c60248201527f51756f74612065786365656473206576656e74206361706163697479000000006044820152606490fd5b9190820180921161426257565b1561457757565b60405162461bcd60e51b815260206004820152602b60248201527f546f74616c2063617465676f72792071756f746173206578636565642065766560448201526a6e7420636170616369747960a81b6064820152608490fd5b8181106145db575050565b600081556001016145d0565b9361ffff6146096080959897948294885260a0602089015260a088019061415a565b971660408601521660608401521515910152565b908160209103126115f6575180151581036115f65790565b1561463c57565b60405162461bcd60e51b815260206004820152601860248201527f526576656e75652073706c6974746572206e6f742073657400000000000000006044820152606490fd5b1561468857565b60405162461bcd60e51b815260206004820152601960248201527f4576656e74506c61636520646f6573206e6f74206578697374000000000000006044820152606490fd5b156146d457565b60405162461bcd60e51b815260206004820152602860248201527f4576656e74506c6163652073746174757320646966666572732066726f6d20736044820152671d589b5a5d1d195960c21b6064820152608490fd5b8181029291811591840414171561426257565b1561474457565b60405162461bcd60e51b815260206004820152602360248201527f4576656e742073746174757320646966666572732066726f6d207375626d69746044820152621d195960ea1b6064820152608490fd5b604081019061ffff82511691606082019261ffff8451161161485d575161ffff161515918261484e575b5081614840575b8161482f575b8161481e575b50156147da57565b606460405162461bcd60e51b815260206004820152602060248201527f56616c756573206d7573742062652067726561746572207468616e207a65726f6044820152fd5b60ff915060c00151161515386147d2565b60a081015160ff16151591506147cc565b6080810151151591506147c6565b5161ffff1615159150386147bf565b60405162461bcd60e51b815260206004820152603060248201527f4d6178207469636b657473206d7573742062652067726561746572206f72206560448201526f7175616c206d696e207469636b65747360801b6064820152608490fd5b61ffff60019116019061ffff821161426257565b9061ffff8091169116019061ffff821161426257565b906003811015613e695760051b0190565b336000908152600080516020615aa1833981519152602052604090205460ff161561491d57565b63e2517d3f60e01b60005233600452600080516020615a8183398151915260245260446000fd5b3360009081527f7e6bd641aa5a36165d118b996b76e05ceffbb271e65750d5550562c950981cea602052604090205460ff161561497d57565b63e2517d3f60e01b60005233600452600080516020615b2183398151915260245260446000fd5b60008181526020818152604080832033845290915290205460ff16156149c75750565b63e2517d3f60e01b6000523360045260245260446000fd5b3360009081527f7e6bd641aa5a36165d118b996b76e05ceffbb271e65750d5550562c950981cea602052604090205460ff16614a1e576140ef906157eb565b50565b906000198101908111614262576201518081029080820462015180149015171561426257614a4e91614563565b90565b6001600160a01b0381166000908152600080516020615aa1833981519152602052604090205460ff16614ae9576001600160a01b03166000818152600080516020615aa183398151915260205260408120805460ff19166001179055339190600080516020615a81833981519152907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50600090565b6000818152602081815260408083206001600160a01b038616845290915290205460ff16614b73576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5050600090565b6001600160a01b0381166000908152600080516020615aa1833981519152602052604090205460ff1615614ae9576001600160a01b03166000818152600080516020615aa183398151915260205260408120805460ff19169055339190600080516020615a81833981519152907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6001600160a01b03811660009081527f944a3f6a0db97263c682edfce566f4362603ac9455907a1040399dbeebc10239602052604090205460ff1615614ae9576001600160a01b031660008181527f944a3f6a0db97263c682edfce566f4362603ac9455907a1040399dbeebc1023960205260408120805460ff19169055339190600080516020615ae1833981519152907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6000818152602081815260408083206001600160a01b038616845290915290205460ff1615614b73576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6009549060005b828110614d6257505050600090565b816001614d6e83613e4a565b50015414614d7f575b600101614d53565b60ff6004614d8c83613e4a565b50015460101c166005811015613f2657158015614db2575b15614d77575b505050600190565b5060ff6004614dc083613e4a565b50015460101c166005811015613f2657600114614da4565b939091614de485613e4a565b5060ff600482015460101c166005811015613f2657614e039015614480565b61ffff821690614e17612710831115614440565b831561512657614e7561ffff8716614e308115156144cb565b600961ffff6001614e438187015461401b565b50015460a01c1693614e5785841115614517565b0192614e70845491614e698484614563565b1115614570565b614563565b90555b60405160c081018181106001600160401b03821117613e9a576040528481526020810190878252604081019283526060810161ffff881681526080820191861515835260a081019360008552600a54600160401b811015613e9a57806001614ee39201600a5561405d565b92909261511057518051906001600160401b038211613e9a57614f06845461407c565b601f81116150de575b50602090601f831160011461505f579461ffff806002614fa497829a9787614f8798614fc49f9e9c988699600092615054575b50508160011b916000199060031b1c19161782555b516001820155019951161682198954161788555116869063ffff000082549160101b169063ffff00001916179055565b51845464ff00000000191690151560201b64ff0000000016178455565b51825466ffff00000000001916911660281b66ffff000000000016179055565b600a546000198101929083116142625785600052600b602052604060002094855492600160401b841015613e9a576150438561502a867f54d2df69997747c3ef7cf04a5c9f979d39ed128d21af00034e2f660262a8aabb9a600161504f990181556141db565b90919082549060031b91821b91600019901b1916179055565b604051958695866145e7565b0390a2565b015190503880614f42565b90601f1983169185600052816000209260005b8181106150c657506002614fa49761ffff9a97600188614fc49f9e9c97988e998a98614f879c8a99106150ad575b505050811b018255614f57565b015160001960f88460031b161c191690553880806150a0565b92936020600181928786015181550195019301615072565b61510a90856000526020600020601f850160051c8101916020861061317157601f0160051c01906145d0565b38614f0f565b634e487b7160e01b600052600060045260246000fd5b5061513086615507565b15614e785760405162461bcd60e51b815260206004820152602960248201527f4f6e6c79206f6e6520756e6c696d697465642071756f74612063617465676f726044820152681e48185b1b1bddd95960ba1b6064820152608490fd5b620151809004620151808102908082046201518014901517156142625790565b60018101546151ba8161401b565b5091600481015460ff8160101c166005811015613f26576001106154c95760038401549360ff8560181c166003811015613f26576001036154845760ff8560101c161561543f57600201546002830154106153f05761ffff16928360ff8260081c16116153ac5760ff61522c4261518c565b91169081620151800291620151808304036142625760039161524d91614563565b91015480911161535b57630151800061526e6152684261518c565b83614255565b11615305576152806152aa9382614a21565b9161529360015461053a8185101561555b565b6152a563015180006105548486614255565b615886565b156152b157565b60405162461bcd60e51b815260206004820152602660248201527f526571756573746564206576656e74206f7665726c6170732077697468206578604482015265697374696e6760d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602860248201527f526571756573746564206576656e7420697320746f6f2066617220696e207468604482015267652066757475726560c01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f4e6f7420656e6f7567682074696d6520746f2061766f69642063616e63656c6c604482015262696e6760e81b6064820152608490fd5b606460405162461bcd60e51b815260206004820152602060248201527f4461797320616d6f756e74206973206c657373207468616e20616c6c6f7765646044820152fd5b60405162461bcd60e51b815260206004820152602160248201527f5469636b6574207072696365206973206c657373207468616e20616c6c6f77656044820152601960fa1b6064820152608490fd5b60405162461bcd60e51b815260206004820152601b60248201527f4576656e74506c616365206973206e6f7420617661696c61626c6500000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601b60248201527f4576656e74506c616365206d75737420626520617070726f76656400000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152754576656e74206973206e6f7420617661696c61626c6560501b6044820152606490fd5b600052600b60205260406000206000908054915b82811061552a57505050600090565b60ff600261554761553b84866141db565b90549060031b1c61405d565b50015460201c1615614daa5760010161551b565b1561556257565b60405162461bcd60e51b815260206004820152602960248201527f537461727420646174652073686f756c6420626520616674657220696e697469604482015268185b081bd9999cd95d60ba1b6064820152608490fd5b156155c057565b60405162461bcd60e51b815260206004820152602760248201527f456e6420646174652073686f756c6420626520616674657220696e697469616c604482015266081bd9999cd95d60ca1b6064820152608490fd5b1561561c57565b60405162461bcd60e51b815260206004820152602160248201527f446174652072616e67652063616e6e6f742065786365656420323535206461796044820152607360f81b6064820152608490fd5b916156ba9260005260026020526040600020916201518061568e60015483614255565b0460081c9384916156b4620151806156a860015487614255565b0460081c968792615976565b93615976565b916156c582856159a6565b848214615729576156f89261571986936156f86156f161571e956156ec6157249b8b6159a6565b615a0b565b91886141db565b909182548260031b1c179082549060031b91821b91600019901b1916179055565b615a37565b926141db565b600190565b61572494506156f89261571e91615a55565b9161575e9260005260026020526040600020916201518061568e60015483614255565b918354808310908115916157e0575b506157d6578482146157c45761579c92615719615724969361579c6157946157bd95615a0b565b1991886141db565b909182548260031b1c169082549060031b91821b91600019901b1916179055565b19926141db565b615724945061579c926157bd91615a55565b5050505050600190565b90508510153861576d565b6157f49061401b565b50600101546001600160a01b0316330361580a57565b60405162461bcd60e51b815260206004820152602760248201527f476976656e206576656e742062656c6f6e677320746f20616e6f7468657220706044820152663937bb34b232b960c91b6064820152608490fd5b9061ffff168015615882579061271061587b614a4e938361472a565b0490614255565b5090565b91909160005260026020526040600020918254801561596d57620151806158af60015484614255565b0460081c92818410156157d6576158e684936158e0620151806158d460015486614255565b0460081c958692615976565b92615976565b9083851461595d576158f790615a0b565b918310156159445761590b61591291615a37565b93856141db565b90549060031b1c16159283615928575b50505090565b6159339293506141db565b90549060031b1c1615388080615922565b50926159519291506141db565b90549060031b1c161590565b61595194935061571e9250615a55565b50505050600190565b615987620151809160015490614255565b04908060081b90808204610100149015171561426257614a4e91614255565b805460018082119118026001186000198101908111614262575b828111156159cd57505050565b8154600160401b811015613e9a578060016159eb92018455836141db565b8154906000199060031b1b191690556000198114614262576001016159c0565b8060ff0360ff81116142625760018101809111614262576001901b906000198201918211614262571b90565b60018101809111614262576001901b60001981019081116142625790565b9081615a6091614255565b60018101809111614262576001901b906000198201918211614262571b9056fe15b2da25ad3ad17b120bdf62bcb1d99394802408e2ec63d9836ecfe4af9a5ebc05c38ba7688f8355c4880bd298fc35e85ee17fe7ece6b76866024ceb0b6273234d3ad87900ce51c248544f0024b48c13df583e7900eb6124202253f6c985b68ecc097f9ad0fe95e9677eb635e08a2eafd1be1982e54ebbbe025d4d82046f8da89d8cf36abe2d20e715d261aa411007463c15b28ebb52d1841ab9ac22aae665108b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4ca264697066735822122082a411eb233ed6c67accceee4450c2ae44b7257a879c53d9df982800ec1e59a864736f6c634300081c00332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d7e6bd641aa5a36165d118b996b76e05ceffbb271e65750d5550562c950981cea05c38ba7688f8355c4880bd298fc35e85ee17fe7ece6b76866024ceb0b627323ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5","opcodes":"PUSH1 0x80 CALLVALUE PUSH2 0x16E JUMPI PUSH1 0x1F PUSH2 0x5F40 CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH2 0x173 JUMPI DUP1 DUP5 SWAP3 PUSH1 0x80 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH2 0x16E JUMPI DUP1 PUSH2 0x4B PUSH2 0xC1 SWAP3 PUSH2 0x189 JUMP JUMPDEST PUSH2 0x57 PUSH1 0x20 DUP4 ADD PUSH2 0x189 JUMP JUMPDEST SWAP1 PUSH1 0x60 PUSH2 0x66 PUSH1 0x40 DUP6 ADD PUSH2 0x189 JUMP JUMPDEST SWAP4 ADD MLOAD PUSH1 0x1 SSTORE PUSH1 0x3 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP1 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND OR SWAP1 SWAP2 SSTORE PUSH1 0x4 DUP1 SLOAD DUP3 AND SWAP4 DUP4 AND SWAP4 SWAP1 SWAP4 OR SWAP1 SWAP3 SSTORE PUSH1 0x5 DUP1 SLOAD SWAP1 SWAP3 AND SWAP1 DUP4 AND OR SWAP1 SSTORE PUSH2 0xB1 DUP2 PUSH2 0x19D JUMP JUMPDEST POP PUSH2 0xBB DUP2 PUSH2 0x219 JUMP JUMPDEST POP PUSH2 0x2B1 JUMP JUMPDEST POP PUSH32 0xCC097F9AD0FE95E9677EB635E08A2EAFD1BE1982E54EBBBE025D4D82046F8DA8 PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH32 0x944A3F6A0DB97263C682EDFCE566F4362603AC9455907A1040399DBEEBC1023A DUP1 SLOAD PUSH32 0x25CF2B509F2A7F322675B2A5322B182F44AD2C03AC941A0AF17C9B178F5D5D5F SWAP2 DUP3 SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP4 SWAP2 SWAP3 SWAP1 SWAP2 SWAP1 PUSH32 0xBD79B86FFE0AB8E8776151514217CD7CACD52C909F66475C3AF44E129F0B00FF SWAP1 DUP1 LOG4 PUSH2 0x5B76 SWAP1 DUP2 PUSH2 0x34A DUP3 CODECOPY RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x16E JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5F20 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x213 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5F20 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5EC0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5EE0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x213 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5EE0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0x8B8C0776DF2C2176EDF6F82391C35EA4891146D7A976EE36FD07F1A6FB4EAD4C SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5EC0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5F00 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x213 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5F00 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0x15B2DA25AD3AD17B120BDF62BCB1D99394802408E2EC63D9836ECFE4AF9A5EBC SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5EC0 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SWAP1 DUP2 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x1FFC9A7 EQ PUSH2 0x3D74 JUMPI POP DUP1 PUSH4 0x80A5A19 EQ PUSH2 0x38E8 JUMPI DUP1 PUSH4 0xB791430 EQ PUSH2 0x381C JUMPI DUP1 PUSH4 0xDDEE657 EQ PUSH2 0x32EF JUMPI DUP1 PUSH4 0x124F615B EQ PUSH2 0x2EDE JUMPI DUP1 PUSH4 0x12C55027 EQ PUSH2 0x2EC1 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x2E8B JUMPI DUP1 PUSH4 0x26FD1078 EQ PUSH2 0x2E62 JUMPI DUP1 PUSH4 0x2EE07C00 EQ PUSH2 0x2B01 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x2AC0 JUMPI DUP1 PUSH4 0x30366D5F EQ PUSH2 0x2AA2 JUMPI DUP1 PUSH4 0x33DCC3B0 EQ PUSH2 0x2992 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x294D JUMPI DUP1 PUSH4 0x39EE53B1 EQ PUSH2 0x2924 JUMPI DUP1 PUSH4 0x3BF00DE6 EQ PUSH2 0x2833 JUMPI DUP1 PUSH4 0x3F69BABD EQ PUSH2 0x2525 JUMPI DUP1 PUSH4 0x4B8AC1D2 EQ PUSH2 0x247E JUMPI DUP1 PUSH4 0x5C517AD2 EQ PUSH2 0x2455 JUMPI DUP1 PUSH4 0x5D20248C EQ PUSH2 0x1DE9 JUMPI DUP1 PUSH4 0x61A52A36 EQ PUSH2 0x1DCB JUMPI DUP1 PUSH4 0x90CB9845 EQ PUSH2 0x1CB6 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x1C6B JUMPI DUP1 PUSH4 0x92C2BECC EQ PUSH2 0x1C30 JUMPI DUP1 PUSH4 0x995DEABA EQ PUSH2 0x1C07 JUMPI DUP1 PUSH4 0x9D2B86F6 EQ PUSH2 0x1BDE JUMPI DUP1 PUSH4 0x9EC47D74 EQ PUSH2 0x1857 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x183B JUMPI DUP1 PUSH4 0xA23ED0EA EQ PUSH2 0x16C5 JUMPI DUP1 PUSH4 0xA74D237A EQ PUSH2 0xE3D JUMPI DUP1 PUSH4 0xAF1194BE EQ PUSH2 0xBA9 JUMPI DUP1 PUSH4 0xB02DFA8F EQ PUSH2 0xB35 JUMPI DUP1 PUSH4 0xC31DA59B EQ PUSH2 0x942 JUMPI DUP1 PUSH4 0xC511EEF8 EQ PUSH2 0x734 JUMPI DUP1 PUSH4 0xC6CDBE5E EQ PUSH2 0x6C7 JUMPI DUP1 PUSH4 0xC785D4E7 EQ PUSH2 0x636 JUMPI DUP1 PUSH4 0xCF6272A2 EQ PUSH2 0x60C JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x5C2 JUMPI DUP1 PUSH4 0xD7A8D96F EQ PUSH2 0x3A0 JUMPI DUP1 PUSH4 0xD8B03FA4 EQ PUSH2 0x377 JUMPI DUP1 PUSH4 0xDC224863 EQ PUSH2 0x34E JUMPI DUP1 PUSH4 0xDF71E9A7 EQ PUSH2 0x30D JUMPI DUP1 PUSH4 0xEE97F7F3 EQ PUSH2 0x2E4 JUMPI DUP1 PUSH4 0xEEB58DA5 EQ PUSH2 0x276 JUMPI PUSH4 0xF3052D26 EQ PUSH2 0x205 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x22E PUSH1 0x4 CALLDATALOAD PUSH2 0x229 PUSH1 0xA SLOAD DUP3 LT PUSH2 0x43F4 JUMP JUMPDEST PUSH2 0x405D JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SLOAD SWAP1 PUSH2 0x26F PUSH2 0x246 PUSH1 0x2 DUP4 ADD SLOAD SWAP3 PUSH2 0x40B6 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP4 DUP4 PUSH2 0xFFFF DUP7 SWAP6 PUSH1 0x28 SHR AND SWAP3 PUSH1 0xFF DUP3 PUSH1 0x20 SHR AND SWAP3 PUSH2 0xFFFF DUP1 DUP5 PUSH1 0x10 SHR AND SWAP4 AND SWAP2 DUP8 PUSH2 0x419B JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH32 0x94A541ED5BD917FC5C41E47580A934608EEEAC1FF9780B05684B239D3069B114 PUSH1 0x20 PUSH2 0x2B3 PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x2BB PUSH2 0x4944 JUMP JUMPDEST PUSH1 0x7 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 DUP3 OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG1 DUP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x5 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x31C CALLDATASIZE PUSH2 0x4047 JUMP JUMPDEST SWAP2 SWAP1 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SWAP1 DUP2 SLOAD DUP4 LT ISZERO PUSH2 0x273 JUMPI PUSH1 0x20 PUSH2 0x33F DUP5 DUP5 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH1 0x44 CALLDATALOAD SWAP2 PUSH1 0x64 CALLDATALOAD PUSH1 0x84 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x5BE JUMPI PUSH1 0xA4 CALLDATALOAD PUSH2 0x3DA PUSH2 0x3E3A JUMP JUMPDEST SWAP2 PUSH2 0x3E3 PUSH2 0x3E09 JUMP JUMPDEST SWAP4 PUSH2 0x3EC PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x3F9 PUSH1 0x9 SLOAD DUP8 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0x402 DUP7 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP8 PUSH1 0x1 DUP10 ADD SWAP8 DUP9 SLOAD PUSH2 0x414 DUP2 PUSH2 0x57EB JUMP JUMPDEST PUSH1 0x3 DUP12 ADD SWAP11 DUP12 SWAP2 DUP3 SLOAD PUSH1 0x4 DUP4 ADD SWAP3 PUSH2 0xFFFF DUP5 SLOAD AND SWAP5 DUP7 DUP5 EQ SWAP15 DUP16 ISZERO SWAP16 PUSH2 0x5B3 JUMPI JUMPDEST DUP16 ISZERO PUSH2 0x5A8 JUMPI JUMPDEST DUP8 SWAP1 SSTORE DUP8 PUSH1 0x2 DUP4 ADD SSTORE PUSH2 0x44E DUP10 PUSH2 0x518C JUMP JUMPDEST SWAP1 SSTORE DUP4 SLOAD PUSH2 0xFFFF NOT AND DUP10 OR DUP5 SSTORE PUSH1 0x40 MLOAD SWAP12 DUP13 SWAP12 PUSH2 0x46A DUP14 PUSH2 0x3E7F JUMP JUMPDEST DUP12 DUP14 MSTORE PUSH1 0xFF SWAP1 DUP2 AND PUSH1 0x20 SWAP1 SWAP14 ADD DUP14 SWAP1 MSTORE DUP2 AND PUSH1 0x40 SWAP14 SWAP1 SWAP14 ADD DUP14 SWAP1 MSTORE PUSH1 0x6 DUP3 ADD DUP12 SWAP1 SSTORE PUSH1 0x7 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND DUP14 OR PUSH1 0x8 SWAP3 SWAP1 SWAP3 SHL PUSH2 0xFF00 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH2 0x4B2 SWAP1 PUSH2 0x51AC JUMP JUMPDEST PUSH32 0xA77F211D2FE7B0B3C4D15F44CBD0B7B5A47A486439226B2A844D951DF1F7215 SWAP14 PUSH2 0x100 SWAP14 PUSH2 0x50F JUMPI JUMPDEST POP POP POP POP POP PUSH1 0x40 MLOAD SWAP8 DUP9 MSTORE PUSH1 0x20 DUP9 ADD MSTORE PUSH1 0x40 DUP8 ADD MSTORE PUSH1 0x60 DUP7 ADD MSTORE PUSH1 0x80 DUP6 ADD MSTORE PUSH1 0xA0 DUP5 ADD MSTORE PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0xE0 DUP3 ADD MSTORE LOG1 DUP1 RETURN JUMPDEST PUSH2 0x55F PUSH2 0x56A SWAP4 DUP4 PUSH2 0x527 PUSH2 0x59D SWAP9 PUSH2 0xFFFF SWAP7 PUSH2 0x4A21 JUMP JUMPDEST SWAP2 PUSH2 0x542 PUSH1 0x1 SLOAD PUSH2 0x53A DUP2 DUP6 LT ISZERO PUSH2 0x555B JUMP JUMPDEST DUP5 LT ISZERO PUSH2 0x55B9 JUMP JUMPDEST PUSH2 0x55A PUSH4 0x1518000 PUSH2 0x554 DUP5 DUP7 PUSH2 0x4255 JUMP JUMPDEST LT PUSH2 0x5615 JUMP JUMPDEST PUSH2 0x573B JUMP JUMPDEST POP SLOAD SWAP3 SLOAD AND DUP3 PUSH2 0x4A21 JUMP JUMPDEST SWAP1 PUSH2 0x585 PUSH1 0x1 SLOAD PUSH2 0x57D DUP2 DUP5 LT ISZERO PUSH2 0x555B JUMP JUMPDEST DUP4 LT ISZERO PUSH2 0x55B9 JUMP JUMPDEST PUSH2 0x597 PUSH4 0x1518000 PUSH2 0x554 DUP4 DUP6 PUSH2 0x4255 JUMP JUMPDEST DUP4 PUSH2 0x566B JUMP JUMPDEST POP CODESIZE DUP1 DUP1 DUP1 DUP1 PUSH2 0x4DD JUMP JUMPDEST DUP7 DUP12 EQ ISZERO SWAP16 POP PUSH2 0x43C JUMP JUMPDEST DUP4 DUP11 EQ ISZERO SWAP16 POP PUSH2 0x435 JUMP JUMPDEST DUP6 DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x608 PUSH1 0x4 CALLDATALOAD PUSH2 0x5E2 PUSH2 0x3F3C JUMP JUMPDEST SWAP1 PUSH2 0x603 PUSH2 0x5FE DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x49A4 JUMP JUMPDEST PUSH2 0x4CCA JUMP JUMPDEST POP DUP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x608 PUSH2 0x629 PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x631 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x4C10 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x650 PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x658 PUSH2 0x4944 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0x682 JUMPI PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL PUSH1 0x6 SLOAD AND OR PUSH1 0x6 SSTORE DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x53706C697474657220616464726573732063616E6E6F74206265207A65726F00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0xA SLOAD DUP2 LT ISZERO PUSH2 0x730 JUMPI PUSH2 0x6EF SWAP1 PUSH2 0x405D JUMP JUMPDEST POP PUSH2 0x6F9 DUP2 PUSH2 0x40B6 JUMP JUMPDEST PUSH2 0x26F PUSH1 0x2 PUSH1 0x1 DUP5 ADD SLOAD SWAP4 ADD SLOAD SWAP2 PUSH1 0x40 MLOAD SWAP4 DUP4 PUSH2 0xFFFF DUP7 SWAP6 PUSH1 0x28 SHR AND SWAP3 PUSH1 0xFF DUP3 PUSH1 0x20 SHR AND SWAP3 PUSH2 0xFFFF DUP1 DUP5 PUSH1 0x10 SHR AND SWAP4 AND SWAP2 DUP8 PUSH2 0x419B JUMP JUMPDEST POP DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x74E PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x756 PUSH2 0x4944 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP3 JUMPDEST PUSH1 0x8 SLOAD DUP2 LT ISZERO PUSH2 0x8B8 JUMPI DUP1 DUP3 PUSH2 0x779 PUSH1 0x1 SWAP4 PUSH2 0x401B JUMP JUMPDEST POP DUP4 DUP1 DUP1 PUSH1 0xA0 SHL SUB SWAP2 ADD SLOAD AND EQ PUSH2 0x791 JUMPI JUMPDEST ADD PUSH2 0x762 JUMP JUMPDEST DUP2 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x5 SLOAD AND DUP3 PUSH2 0x7A5 DUP4 PUSH2 0x401B JUMP JUMPDEST POP ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0xA0 DUP6 SWAP1 SHL DUP6 SWAP1 SUB SWAP3 DUP4 AND OR SWAP1 SSTORE PUSH1 0x5 SLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 DUP4 SWAP2 AND PUSH2 0x8B0 PUSH2 0xFFFF DUP7 PUSH2 0x7E7 DUP6 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0xA0 SHR AND DUP4 PUSH2 0xFFFF DUP9 PUSH2 0x7FC DUP4 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0xB0 SHR AND PUSH1 0x2 PUSH2 0x80E DUP4 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0xFF PUSH1 0x3 PUSH2 0x81E DUP6 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD AND PUSH1 0xFF PUSH1 0x3 PUSH2 0x82F DUP7 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0x8 SHR AND PUSH1 0xFF PUSH1 0x3 PUSH2 0x843 DUP8 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0x10 SHR AND SWAP1 PUSH1 0xFF PUSH1 0x3 PUSH2 0x858 DUP9 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0x18 SHR AND SWAP3 PUSH1 0x4 PUSH2 0x86B DUP9 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD SWAP5 PUSH1 0xFF PUSH1 0x5 PUSH2 0x87C DUP11 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD AND SWAP7 PUSH1 0x6 PUSH2 0x8A0 PUSH1 0xFF PUSH1 0x5 PUSH2 0x893 DUP14 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0x8 SHR AND SWAP11 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD SWAP10 PUSH1 0x40 MLOAD SWAP14 DUP15 SWAP14 DUP15 PUSH2 0x431D JUMP JUMPDEST SUB SWAP1 LOG1 PUSH2 0x78B JUMP JUMPDEST POP POP PUSH1 0x6 SLOAD PUSH1 0x5 SLOAD DUP4 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND DUP1 EXTCODESIZE ISZERO PUSH2 0x93E JUMPI PUSH1 0x40 MLOAD PUSH4 0x489BE245 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE SWAP3 SWAP1 SWAP3 AND PUSH1 0x24 DUP4 ADD MSTORE DUP3 SWAP1 DUP3 SWAP1 PUSH1 0x44 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI PUSH2 0x91E JUMPI JUMPDEST POP PUSH2 0x608 DUP3 PUSH2 0x4B7A JUMP JUMPDEST DUP2 PUSH2 0x928 SWAP2 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x730 JUMPI DUP2 CODESIZE PUSH2 0x914 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP5 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST DUP3 DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0xB28 JUMPI JUMPDEST PUSH2 0x994 PUSH1 0x9 SLOAD DUP3 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0x99D DUP2 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP1 PUSH1 0x1 DUP3 ADD SWAP1 DUP2 SLOAD SWAP2 PUSH2 0x9B0 DUP4 PUSH2 0x49DF JUMP JUMPDEST PUSH1 0x4 DUP5 ADD SWAP3 PUSH1 0xFF DUP5 SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB14 JUMPI PUSH2 0x9DE PUSH2 0xA24 SWAP3 PUSH2 0x9D9 PUSH1 0x20 SWAP4 ISZERO PUSH2 0x473D JUMP JUMPDEST PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x3 SLOAD DUP8 SLOAD PUSH1 0x6 SWAP3 SWAP1 SWAP3 ADD SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 DUP5 SWAP3 SWAP1 SWAP2 AND SWAP1 DUP3 SWAP1 DUP11 SWAP1 DUP3 SWAP1 PUSH1 0x44 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xB09 JUMPI DUP7 SWAP2 PUSH2 0xADA JUMPI JUMPDEST POP ISZERO PUSH2 0xA95 JUMPI PUSH1 0xFF PUSH1 0x40 SWAP4 PUSH2 0xA7C PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP7 PUSH1 0x3 PUSH2 0xA91 SWAP6 PUSH3 0x20000 PUSH3 0xFF0000 NOT DUP7 SLOAD AND OR DUP6 SSTORE SLOAD SWAP2 ADD SLOAD PUSH2 0x527 PUSH2 0xFFFF DUP6 SLOAD AND DUP3 PUSH2 0x4A21 JUMP JUMPDEST POP SLOAD PUSH1 0x10 SHR AND DUP4 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x3F19 JUMP JUMPDEST LOG1 DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4661696C656420746F20726566756E64206576656E7420726571756573740000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0xAFC SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI JUMPDEST PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x461D JUMP JUMPDEST CODESIZE PUSH2 0xA36 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0xAEA JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP9 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP8 REVERT JUMPDEST PUSH2 0xB30 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x987 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x3 PUSH2 0xB64 PUSH1 0x4 CALLDATALOAD PUSH2 0xB57 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x9D9 PUSH1 0x8 SLOAD DUP3 LT PUSH2 0x4681 JUMP JUMPDEST POP ADD PUSH1 0xFF DUP2 SLOAD PUSH1 0x18 SHR AND PUSH1 0x3 DUP2 LT ISZERO PUSH2 0xB95 JUMPI PUSH2 0xB81 SWAP1 ISZERO PUSH2 0x46CD JUMP JUMPDEST DUP1 SLOAD PUSH4 0xFF000000 NOT AND PUSH4 0x2000000 OR SWAP1 SSTORE DUP1 RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP4 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0xBB8 CALLDATASIZE PUSH2 0x4047 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 MSTORE PUSH1 0x20 DUP4 DUP2 MSTORE PUSH1 0x40 DUP1 DUP6 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0xE30 JUMPI JUMPDEST PUSH2 0xBF4 PUSH1 0x9 SLOAD DUP4 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0xBFD DUP3 PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD PUSH2 0xC0C DUP2 SLOAD PUSH2 0x49DF JUMP JUMPDEST PUSH1 0x4 DUP3 ADD SWAP3 PUSH1 0xFF DUP5 SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB14 JUMPI PUSH2 0xC2C SWAP1 ISZERO PUSH2 0x473D JUMP JUMPDEST DUP5 DUP7 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP7 KECCAK256 SLOAD ISZERO PUSH2 0xDDD JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH4 0x15B935B5 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH1 0x20 DUP2 PUSH1 0x44 DUP2 DUP6 GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xDD2 JUMPI DUP9 SWAP2 PUSH2 0xDB3 JUMPI JUMPDEST POP ISZERO PUSH2 0xD5D JUMPI DUP7 SWAP2 DUP2 EXTCODESIZE ISZERO PUSH2 0x93E JUMPI DUP3 SWAP2 PUSH1 0x44 DUP4 SWAP3 PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP4 DUP5 SWAP3 PUSH4 0x339A019 PUSH1 0xE3 SHL DUP5 MSTORE DUP13 PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI PUSH2 0xD3E JUMPI JUMPDEST POP PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x40 DUP7 PUSH2 0xA91 PUSH1 0xFF DUP9 PUSH2 0xD1A DUP10 PUSH1 0x3 DUP11 SLOAD SWAP2 ADD SLOAD PUSH2 0xCF0 PUSH2 0xFFFF DUP6 SLOAD AND DUP3 PUSH2 0x4A21 JUMP JUMPDEST SWAP2 PUSH2 0xD03 PUSH1 0x1 SLOAD PUSH2 0x53A DUP2 DUP6 LT ISZERO PUSH2 0x555B JUMP JUMPDEST PUSH2 0xD15 PUSH4 0x1518000 PUSH2 0x554 DUP5 DUP7 PUSH2 0x4255 JUMP JUMPDEST PUSH2 0x566B JUMP JUMPDEST POP PUSH3 0x10000 PUSH3 0xFF0000 NOT DUP3 SLOAD AND OR DUP2 SSTORE SLOAD PUSH1 0x10 SHR AND DUP4 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x3F19 JUMP JUMPDEST DUP2 PUSH2 0xD4B SWAP2 SWAP7 SWAP5 SWAP7 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0xD59 JUMPI DUP5 CODESIZE SWAP5 SWAP3 SWAP5 PUSH2 0xCBD JUMP JUMPDEST DUP5 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43616C6C6572206D757374206F776E2074686520646973747269627574696F6E PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x2070726F66696C65 PUSH1 0xC0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0xDCC SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0xC7E JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP11 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST 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 0x4576656E74206D7573742068617665206174206C65617374206F6E6520636174 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x65676F7279 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0xE38 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0xBE7 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x64 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 SUB PUSH2 0x730 JUMPI PUSH2 0xE66 PUSH2 0x3E2A JUMP JUMPDEST PUSH2 0xE6E PUSH2 0x3E3A JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB PUSH1 0xE4 CALLDATALOAD GT PUSH2 0x16C1 JUMPI CALLDATASIZE PUSH1 0x23 PUSH1 0xE4 CALLDATALOAD ADD SLT ISZERO PUSH2 0x16C1 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB PUSH1 0xE4 CALLDATALOAD PUSH1 0x4 ADD CALLDATALOAD GT PUSH2 0x16C1 JUMPI CALLDATASIZE PUSH1 0x24 PUSH1 0xE4 CALLDATALOAD PUSH1 0x4 ADD CALLDATALOAD PUSH1 0x5 SHL PUSH1 0xE4 CALLDATALOAD ADD ADD GT PUSH2 0x16C1 JUMPI PUSH2 0xEC6 PUSH1 0x8 SLOAD PUSH1 0x4 CALLDATALOAD LT PUSH2 0x4681 JUMP JUMPDEST PUSH1 0x6 PUSH2 0xED3 PUSH1 0x4 CALLDATALOAD PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD DUP1 ISZERO PUSH2 0x167C JUMPI PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH1 0x20 DUP2 PUSH1 0x24 DUP2 DUP6 GAS STATICCALL DUP1 ISZERO PUSH2 0x1603 JUMPI DUP4 SWAP2 DUP9 SWAP2 PUSH2 0x1647 JUMPI JUMPDEST POP LT PUSH2 0x160E JUMPI PUSH1 0x40 MLOAD PUSH4 0x6EB1769F PUSH1 0xE1 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x20 DUP2 PUSH1 0x44 DUP2 DUP6 GAS STATICCALL DUP1 ISZERO PUSH2 0x1603 JUMPI DUP4 SWAP2 DUP9 SWAP2 PUSH2 0x15C9 JUMPI JUMPDEST POP LT PUSH2 0x1584 JUMPI PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP10 SWAP1 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x1579 JUMPI DUP6 SWAP2 PUSH2 0x155A JUMPI JUMPDEST POP ISZERO PUSH2 0x1515 JUMPI PUSH2 0xFA1 PUSH1 0x44 CALLDATALOAD PUSH2 0x518C JUMP JUMPDEST SWAP4 PUSH1 0x20 SWAP3 PUSH1 0x40 MLOAD SWAP6 PUSH2 0xFB3 DUP6 DUP9 PUSH2 0x3ECC JUMP JUMPDEST DUP3 DUP8 MSTORE PUSH1 0x0 CALLDATASIZE DUP2 CALLDATACOPY PUSH1 0x40 MLOAD SWAP1 PUSH2 0xFC8 DUP3 PUSH2 0x3E7F JUMP JUMPDEST PUSH1 0x84 CALLDATALOAD DUP3 MSTORE PUSH1 0xFF DUP6 AND DUP7 DUP4 ADD MSTORE PUSH1 0xFF DUP4 AND PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x40 MLOAD SWAP8 PUSH2 0x140 DUP10 ADD DUP10 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x14D9 JUMPI PUSH1 0x40 MSTORE CALLER DUP10 MSTORE DUP7 DUP10 ADD SWAP3 PUSH1 0x4 CALLDATALOAD DUP5 MSTORE PUSH1 0x40 DUP11 ADD SWAP2 PUSH1 0x24 CALLDATALOAD DUP4 MSTORE PUSH1 0x60 DUP12 ADD SWAP4 DUP5 MSTORE PUSH2 0xFFFF DUP11 AND PUSH1 0x80 DUP13 ADD MSTORE DUP7 PUSH1 0xA0 DUP13 ADD MSTORE PUSH1 0xC0 DUP12 ADD MSTORE PUSH1 0xE0 DUP11 ADD MSTORE DUP5 PUSH2 0x100 DUP11 ADD MSTORE DUP5 PUSH2 0x120 DUP11 ADD MSTORE PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x14D9 JUMPI DUP1 PUSH1 0x1 PUSH2 0x1060 SWAP3 ADD PUSH1 0x9 SSTORE PUSH2 0x3E4A JUMP JUMPDEST SWAP4 SWAP1 SWAP4 PUSH2 0x1501 JUMPI DUP10 MLOAD DUP5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND OR DUP5 SSTORE MLOAD PUSH1 0x1 DUP5 ADD SSTORE MLOAD PUSH1 0x2 DUP4 ADD SSTORE MLOAD PUSH1 0x3 DUP3 ADD SSTORE PUSH1 0x80 DUP8 ADD MLOAD PUSH1 0x4 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0xA0 DUP8 ADD MLOAD SWAP7 PUSH1 0x5 DUP9 LT ISZERO PUSH2 0x14ED JUMPI PUSH1 0x0 SWAP8 PUSH3 0xFF0000 PUSH1 0x4 DUP5 ADD SLOAD SWAP2 PUSH1 0x10 SHL AND SWAP1 PUSH3 0xFF0000 NOT AND OR PUSH1 0x4 DUP4 ADD SSTORE PUSH1 0xC0 DUP2 ADD MLOAD DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x14D9 JUMPI PUSH1 0x1 PUSH1 0x40 SHL DUP3 GT PUSH2 0x14D9 JUMPI DUP8 SWAP1 PUSH1 0x5 DUP6 ADD SLOAD DUP4 PUSH1 0x5 DUP8 ADD SSTORE DUP1 DUP5 LT PUSH2 0x14BC JUMPI JUMPDEST POP ADD PUSH1 0x5 DUP5 ADD DUP7 MSTORE DUP8 DUP7 KECCAK256 DUP7 JUMPDEST DUP4 DUP2 LT PUSH2 0x14A1 JUMPI POP POP POP POP PUSH2 0x120 DUP2 PUSH2 0x1174 DUP9 PUSH1 0xFF PUSH1 0x40 PUSH1 0xE0 PUSH1 0x9 SWAP8 ADD MLOAD DUP1 MLOAD PUSH1 0x6 DUP11 ADD SSTORE DUP3 DUP1 PUSH1 0x7 DUP12 ADD SWAP6 DUP4 ADD MLOAD AND AND DUP4 NOT DUP6 SLOAD AND OR DUP5 SSTORE ADD MLOAD AND PUSH2 0xFF00 DUP3 SLOAD SWAP2 PUSH1 0x8 SHL AND SWAP1 PUSH2 0xFF00 NOT AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x100 DUP2 ADD MLOAD PUSH1 0x8 DUP6 ADD SSTORE ADD MLOAD SWAP2 ADD SSTORE PUSH1 0x9 SLOAD SWAP3 DUP4 PUSH1 0x0 NOT DUP2 ADD GT PUSH2 0x148D JUMPI PUSH2 0x11A9 PUSH2 0x11A3 PUSH1 0x0 NOT DUP7 ADD PUSH2 0x3E4A JUMP JUMPDEST POP PUSH2 0x51AC JUMP JUMPDEST PUSH1 0xE4 CALLDATALOAD PUSH1 0x4 ADD CALLDATALOAD ISZERO PUSH2 0x143E JUMPI DUP3 JUMPDEST PUSH1 0xE4 CALLDATALOAD PUSH1 0x4 ADD CALLDATALOAD DUP2 LT ISZERO PUSH2 0x12BD JUMPI PUSH1 0x24 DUP2 PUSH1 0x5 SHL PUSH1 0xE4 CALLDATALOAD ADD ADD CALLDATALOAD SWAP1 PUSH1 0xA2 NOT PUSH1 0xE4 CALLDATALOAD CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0xD59 JUMPI PUSH1 0x80 PUSH1 0xE4 CALLDATALOAD DUP4 ADD CALLDATASIZE SUB PUSH1 0x23 NOT ADD SLT PUSH2 0xD59 JUMPI PUSH1 0x40 MLOAD PUSH1 0x80 DUP2 ADD DUP2 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x12A9 JUMPI PUSH1 0x40 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB PUSH1 0x24 DUP5 PUSH1 0xE4 CALLDATALOAD ADD ADD CALLDATALOAD GT PUSH2 0x5BE JUMPI PUSH2 0x123C CALLDATASIZE PUSH1 0x24 PUSH1 0xE4 CALLDATALOAD DUP7 ADD DUP2 DUP2 ADD CALLDATALOAD ADD ADD PUSH2 0x3F68 JUMP JUMPDEST SWAP3 DUP4 DUP3 MSTORE PUSH2 0x1250 PUSH1 0x44 DUP3 PUSH1 0xE4 CALLDATALOAD ADD ADD PUSH2 0x3DDA JUMP JUMPDEST DUP1 DUP11 DUP5 ADD MSTORE PUSH1 0x84 PUSH2 0x1267 PUSH1 0x64 DUP5 PUSH1 0xE4 CALLDATALOAD ADD ADD PUSH2 0x3DDA JUMP JUMPDEST SWAP3 DUP4 PUSH1 0x40 DUP7 ADD MSTORE PUSH1 0xE4 CALLDATALOAD ADD ADD CALLDATALOAD SWAP5 DUP6 ISZERO ISZERO DUP7 SUB PUSH2 0x12A5 JUMPI PUSH2 0xFFFF DUP1 DUP8 PUSH1 0x1 SWAP9 PUSH1 0x60 PUSH2 0x129F SWAP9 ADD MSTORE ISZERO ISZERO SWAP5 AND SWAP3 AND SWAP1 PUSH1 0x0 NOT DUP12 ADD PUSH2 0x4DD8 JUMP JUMPDEST ADD PUSH2 0x11B7 JUMP JUMPDEST DUP13 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP8 REVERT JUMPDEST POP SWAP2 SWAP5 SWAP1 SWAP3 SWAP4 PUSH2 0x12D0 PUSH1 0x0 NOT DUP7 ADD PUSH2 0x3E4A JUMP JUMPDEST POP PUSH2 0x12DE PUSH1 0x1 DUP3 ADD SLOAD PUSH2 0x401B JUMP JUMPDEST POP SWAP1 PUSH2 0x12ED PUSH1 0x0 NOT DUP9 ADD PUSH2 0x5507 JUMP JUMPDEST ISZERO PUSH2 0x1369 JUMPI JUMPDEST DUP8 PUSH32 0x643A612289E1DD3493236D0C8A82F599690D576E4F1D8511E3EC6DC9AD28EBB9 PUSH2 0x120 DUP10 PUSH1 0xFF DUP11 DUP2 DUP12 PUSH2 0xFFFF DUP13 DUP13 PUSH1 0x40 MLOAD SWAP8 PUSH1 0x0 NOT ADD DUP9 MSTORE CALLER SWAP1 DUP9 ADD MSTORE PUSH1 0x4 CALLDATALOAD PUSH1 0x40 DUP9 ADD MSTORE PUSH1 0x24 CALLDATALOAD PUSH1 0x60 DUP9 ADD MSTORE PUSH1 0x44 CALLDATALOAD PUSH1 0x80 DUP9 ADD MSTORE AND PUSH1 0xA0 DUP7 ADD MSTORE PUSH1 0x84 CALLDATALOAD PUSH1 0xC0 DUP7 ADD MSTORE AND PUSH1 0xE0 DUP5 ADD MSTORE AND PUSH2 0x100 DUP3 ADD MSTORE LOG1 DUP1 RETURN JUMPDEST PUSH1 0x9 PUSH1 0x1 SWAP2 ADD SLOAD SWAP2 ADD SLOAD PUSH2 0xFFFF DUP2 PUSH1 0xB0 SHR AND DUP3 LT PUSH2 0x13E7 JUMPI PUSH1 0xA0 SHR PUSH2 0xFFFF AND LT PUSH2 0x1394 JUMPI DUP7 DUP1 PUSH2 0x12F3 JUMP JUMPDEST PUSH1 0x84 SWAP1 PUSH1 0x40 MLOAD SWAP1 PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546F74616C207469636B6574732063616E6E6F7420657863656564206D617854 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x69636B657473 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546F74616C207469636B657473206D757374206265206174206C65617374206D PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x696E5469636B657473 PUSH1 0xB8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4174206C65617374206F6E652063617465676F72792069732072657175697265 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0xFA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 DUP4 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 DUP3 ADD SSTORE SWAP2 DUP10 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x1123 JUMP JUMPDEST PUSH1 0x5 DUP7 ADD DUP9 MSTORE DUP3 DUP9 KECCAK256 PUSH2 0x14D3 SWAP2 DUP2 ADD SWAP1 DUP6 ADD PUSH2 0x45D0 JUMP JUMPDEST CODESIZE PUSH2 0x1116 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP7 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP7 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP5 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP7 MSTORE PUSH1 0x4 DUP7 SWAP1 MSTORE PUSH1 0x24 DUP7 REVERT JUMPDEST 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 0x4576656E742072657175657374207061796D656E74206661696C656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x1573 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0xF90 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP8 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x526571756972656420616D6F756E7420776173206E6F7420616C6C6F77656400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP2 POP POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x15FB JUMPI JUMPDEST DUP2 PUSH2 0x15E5 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x3ECC JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x15F6 JUMPI DUP3 SWAP1 MLOAD CODESIZE PUSH2 0xF4D JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x15D8 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP10 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x4E6F7420656E6F75676820746F6B656E73 PUSH1 0x78 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP2 POP POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x1674 JUMPI JUMPDEST DUP2 PUSH2 0x1663 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x3ECC JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x15F6 JUMPI DUP3 SWAP1 MLOAD CODESIZE PUSH2 0xF16 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x1656 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74506C616365206465706F736974206D757374206265207365740000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST DUP4 DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x16D4 CALLDATASIZE PUSH2 0x3FBE JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP7 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP9 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD SWAP1 SWAP4 SWAP2 SWAP3 SWAP2 SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0x1816 JUMPI PUSH1 0x9 SLOAD DUP6 LT ISZERO PUSH2 0x17DA JUMPI PUSH2 0x171B DUP6 PUSH2 0x3E4A JUMP JUMPDEST POP SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ DUP1 ISZERO PUSH2 0x17AB JUMPI JUMPDEST ISZERO PUSH2 0x1740 JUMPI PUSH2 0x173D SWAP5 PUSH2 0x4DD8 JUMP JUMPDEST DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C79206576656E742063726561746F72206F72206C6F63616C2070726F76 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x696465722063616E206164642063617465676F72696573000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP7 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP9 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x172F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x115D995B9D08191BD95CC81B9BDD08195E1A5CDD PUSH1 0x62 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL DUP7 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 DUP7 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 SWAP1 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x160 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x1875 PUSH2 0x3DC9 JUMP JUMPDEST SWAP1 PUSH1 0x44 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 SUB PUSH2 0x16C1 JUMPI PUSH2 0x188C PUSH2 0x3DF9 JUMP JUMPDEST PUSH2 0x1894 PUSH2 0x3E2A JUMP JUMPDEST PUSH1 0xC4 CALLDATALOAD SWAP5 DUP6 ISZERO ISZERO DUP7 SUB PUSH2 0x1BDA JUMPI PUSH2 0x18A9 PUSH2 0x3E19 JUMP JUMPDEST SWAP1 PUSH2 0x124 CALLDATALOAD SWAP3 PUSH1 0xFF DUP5 AND DUP5 SUB PUSH2 0x1BD6 JUMPI PUSH2 0x18C1 PUSH2 0x48F6 JUMP JUMPDEST PUSH1 0x8 SLOAD DUP8 LT ISZERO PUSH2 0x1B91 JUMPI PUSH2 0x18D4 DUP8 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SLOAD SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x1B36 JUMPI PUSH1 0xFF PUSH1 0x3 DUP4 ADD SLOAD PUSH1 0x18 SHR AND PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x1B22 JUMPI PUSH1 0x1 SUB PUSH2 0x1ACB JUMPI PUSH1 0x6 DUP3 ADD SLOAD PUSH2 0x144 CALLDATALOAD SUB PUSH2 0x1A1F JUMPI JUMPDEST PUSH1 0x1 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF PUSH1 0xB0 SHL PUSH1 0xB0 DUP11 SWAP1 SHL AND PUSH4 0xFFFFFFFF PUSH1 0xA0 SHL NOT SWAP1 SWAP2 AND PUSH2 0xFFFF PUSH1 0xA0 SHL PUSH1 0xA0 DUP8 SWAP1 SHL AND OR OR SWAP1 SSTORE PUSH1 0x64 CALLDATALOAD PUSH1 0x2 DUP4 ADD SSTORE PUSH1 0x3 DUP3 ADD DUP1 SLOAD PUSH3 0xFF0000 DUP12 ISZERO ISZERO PUSH1 0x10 SHL AND PUSH3 0xFFFFFF NOT SWAP1 SWAP2 AND PUSH1 0xFF DUP10 AND OR PUSH2 0xFF00 PUSH1 0x8 DUP6 SWAP1 SHL AND OR OR SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP10 PUSH2 0x1A19 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP1 SWAP2 PUSH2 0x19E1 SWAP1 PUSH2 0x19A2 DUP2 PUSH2 0x3E7F JUMP JUMPDEST PUSH1 0xE4 CALLDATALOAD DUP1 DUP3 MSTORE PUSH1 0xFF DUP9 DUP2 AND PUSH1 0x20 DUP5 ADD DUP2 SWAP1 MSTORE SWAP1 DUP11 AND PUSH1 0x40 SWAP1 SWAP4 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x4 DUP7 ADD SSTORE PUSH1 0x5 DUP6 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND SWAP1 SWAP2 OR PUSH1 0x8 DUP10 SWAP1 SHL PUSH2 0xFF00 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x19F2 PUSH2 0x19ED DUP5 PUSH2 0x4278 JUMP JUMPDEST PUSH2 0x4795 JUMP JUMPDEST PUSH1 0x6 PUSH1 0xFF PUSH1 0x3 DUP6 ADD SLOAD PUSH1 0x18 SHR AND SWAP4 ADD SLOAD SWAP7 PUSH1 0x40 MLOAD SWAP11 DUP12 SWAP11 PUSH1 0xE4 CALLDATALOAD SWAP7 PUSH1 0x64 CALLDATALOAD SWAP3 DUP14 CALLER SWAP1 PUSH2 0x431D JUMP JUMPDEST SUB SWAP1 LOG1 DUP1 RETURN JUMPDEST SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A2D DUP9 PUSH2 0x4D4C JUMP JUMPDEST PUSH2 0x1A6A JUMPI PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP9 PUSH2 0x1A19 SWAP7 PUSH2 0x1A53 PUSH2 0x144 CALLDATALOAD ISZERO ISZERO PUSH2 0x41F3 JUMP JUMPDEST PUSH2 0x144 CALLDATALOAD PUSH1 0x6 DUP5 ADD SSTORE SWAP2 SWAP3 SWAP4 SWAP5 SWAP6 SWAP7 POP SWAP9 POP PUSH2 0x1916 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43616E6E6F74206368616E6765206465706F736974207768696C652074686572 PUSH1 0x44 DUP3 ADD MSTORE PUSH19 0x652061726520616374697665206576656E7473 PUSH1 0x68 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST 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 0x4576656E74506C616365206D75737420626520617070726F76656420746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x19481D5C19185D1959 PUSH1 0xBA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP12 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP12 REVERT JUMPDEST 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 0x476976656E206576656E7420706C6163652062656C6F6E677320746F20616E6F PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x3A3432B910383937BB34B232B9 PUSH1 0x99 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST 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 0x6576656E74506C61636549642073686F756C6420657869737400000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST DUP9 DUP1 REVERT JUMPDEST DUP7 DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x7 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x25CF2B509F2A7F322675B2A5322B182F44AD2C03AC941A0AF17C9B178F5D5D5F DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x40 PUSH2 0x1C87 PUSH2 0x3F3C JUMP JUMPDEST SWAP2 PUSH1 0x4 CALLDATALOAD DUP2 MSTORE DUP1 PUSH1 0x20 MSTORE KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x1CC5 CALLDATASIZE PUSH2 0x4047 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x1CCF PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x1CDC PUSH1 0x8 SLOAD DUP3 LT PUSH2 0x4681 JUMP JUMPDEST PUSH2 0x1CE7 DUP4 ISZERO ISZERO PUSH2 0x41F3 JUMP JUMPDEST PUSH2 0x1CF0 DUP2 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x3 DUP2 ADD PUSH1 0xFF DUP2 SLOAD PUSH1 0x18 SHR AND PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x1DB7 JUMPI SWAP5 PUSH2 0x1A19 SWAP2 PUSH2 0x1D25 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP7 SWAP8 ISZERO PUSH2 0x46CD JUMP JUMPDEST PUSH4 0x1000000 PUSH4 0xFF000000 NOT DUP3 SLOAD AND OR DUP2 SSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL DUP3 SLOAD AND OR DUP2 SSTORE DUP3 PUSH1 0x6 DUP7 ADD SSTORE SLOAD SWAP5 PUSH1 0x2 DUP6 ADD SLOAD SWAP2 SLOAD SWAP5 PUSH1 0x5 PUSH1 0x4 DUP3 ADD SLOAD SWAP2 ADD SLOAD SWAP3 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP8 PUSH1 0xFF DUP1 DUP8 PUSH1 0x8 SHR AND SWAP7 AND SWAP5 PUSH1 0xFF DUP3 PUSH1 0x18 SHR AND SWAP4 PUSH1 0xFF DUP4 PUSH1 0x10 SHR AND SWAP4 PUSH1 0xFF DUP1 DUP6 PUSH1 0x8 SHR AND SWAP5 AND SWAP3 PUSH2 0xFFFF DUP1 DUP4 PUSH1 0xB0 SHR AND SWAP3 PUSH1 0xA0 SHR AND SWAP1 DUP14 CALLER SWAP1 PUSH2 0x431D JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP6 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0x15180 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x24 CALLDATALOAD PUSH2 0x1E0A PUSH2 0x3DE9 JUMP JUMPDEST PUSH2 0x1E12 PUSH2 0x3DF9 JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP2 DUP3 DUP5 SUB PUSH2 0x5BE JUMPI PUSH2 0x1E3E PUSH1 0x9 SLOAD DUP9 LT PUSH2 0x1E39 DUP2 PUSH2 0x439D JUMP JUMPDEST PUSH2 0x439D JUMP JUMPDEST PUSH2 0x1E47 DUP8 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP5 PUSH1 0xFF PUSH1 0x4 DUP8 ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x2441 JUMPI PUSH1 0x1 SUB PUSH2 0x2404 JUMPI PUSH2 0x1E71 PUSH1 0xA SLOAD DUP3 LT PUSH2 0x43F4 JUMP JUMPDEST PUSH2 0x1E7A DUP2 PUSH2 0x405D JUMP JUMPDEST POP DUP9 PUSH1 0x1 DUP3 ADD SLOAD SUB PUSH2 0x23B0 JUMPI PUSH1 0x2 ADD DUP1 SLOAD SWAP1 PUSH1 0xFF DUP3 PUSH1 0x20 SHR AND PUSH2 0x2315 JUMPI JUMPDEST PUSH2 0x1EAE SWAP2 POP PUSH2 0xFFFF PUSH1 0x2 DUP10 ADD SLOAD SWAP2 SLOAD AND SWAP1 PUSH2 0x585F JUMP JUMPDEST SWAP4 DUP5 DUP1 DIV PUSH1 0x1 EQ DUP6 ISZERO OR ISZERO PUSH2 0x2301 JUMPI PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP8 SWAP1 MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP14 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x22F6 JUMPI DUP10 SWAP2 PUSH2 0x22D7 JUMPI JUMPDEST POP ISZERO PUSH2 0x2292 JUMPI PUSH1 0x7 SLOAD DUP9 SWAP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP2 PUSH2 0x2014 JUMPI JUMPDEST POP POP DUP8 SWAP9 PUSH1 0x1 DUP1 PUSH1 0xA0 SWAP11 SWAP8 SWAP9 SWAP10 SWAP11 SHL SUB PUSH1 0x4 SLOAD AND SWAP4 DUP5 EXTCODESIZE ISZERO PUSH2 0x1BDA JUMPI DUP7 SWAP5 PUSH2 0x124 SWAP4 PUSH1 0xFF DUP8 SWAP4 DUP2 PUSH1 0x40 MLOAD SWAP11 DUP12 SWAP10 DUP11 SWAP9 PUSH4 0x5A02D93 PUSH1 0xE5 SHL DUP11 MSTORE CALLER PUSH1 0x4 DUP12 ADD MSTORE PUSH1 0x24 DUP11 ADD MSTORE PUSH1 0x44 DUP10 ADD MSTORE PUSH1 0x1 PUSH1 0x64 DUP10 ADD MSTORE PUSH1 0x44 CALLDATALOAD PUSH1 0x84 DUP10 ADD MSTORE AND PUSH1 0xA4 DUP8 ADD MSTORE AND PUSH1 0xC4 DUP6 ADD MSTORE PUSH1 0xE4 DUP5 ADD MSTORE DUP9 PUSH2 0x104 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI PUSH2 0x1FFF JUMPI JUMPDEST POP POP PUSH1 0x5 DUP4 ADD DUP1 SLOAD SWAP1 PUSH1 0x1 PUSH1 0x40 SHL DUP3 LT ISZERO PUSH2 0x14D9 JUMPI SWAP3 PUSH1 0x8 SWAP3 PUSH2 0x1FCF DUP4 PUSH2 0x1FFA SWAP7 PUSH1 0x1 PUSH2 0x1FF0 SWAP7 ADD DUP2 SSTORE PUSH2 0x41DB JUMP JUMPDEST DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH1 0x3 SWAP3 SWAP1 SWAP3 SHL SWAP2 DUP3 SHL NOT AND CALLER SWAP1 SWAP2 SHL OR SWAP1 SSTORE PUSH2 0x4255 JUMP JUMPDEST SWAP3 ADD SWAP2 DUP3 SLOAD PUSH2 0x4563 JUMP JUMPDEST SWAP1 SSTORE DUP1 RETURN JUMPDEST DUP2 PUSH2 0x2009 SWAP2 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x16C1 JUMPI DUP4 CODESIZE PUSH2 0x1FA0 JUMP JUMPDEST PUSH2 0x2064 SWAP8 POP PUSH1 0xE0 SWAP2 DUP8 SWAP2 CALLER DUP6 SUB PUSH2 0x228D JUMPI POP DUP11 JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xE696D10D DUP6 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 SWAP8 DUP9 SWAP2 SWAP1 DUP3 SWAP1 DUP13 SWAP1 DUP3 SWAP1 PUSH1 0x64 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP9 DUP10 ISZERO PUSH2 0xDD2 JUMPI DUP9 SWAP10 DUP10 SWAP8 DUP11 SWAP2 PUSH2 0x21B5 JUMPI JUMPDEST POP SWAP7 DUP10 JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x208F JUMPI POP DUP2 SWAP11 POP PUSH2 0x1F23 JUMP JUMPDEST DUP11 DUP13 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x20A3 DUP5 DUP4 PUSH2 0x48E5 JUMP JUMPDEST MLOAD AND ISZERO ISZERO DUP1 PUSH2 0x21A2 JUMPI JUMPDEST PUSH2 0x20BC JUMPI JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0x207E JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x211C SWAP3 PUSH1 0x20 SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 PUSH2 0x20DF SWAP1 DUP8 SWAP1 PUSH2 0x48E5 JUMP JUMPDEST MLOAD AND PUSH2 0x20EB DUP7 DUP9 PUSH2 0x48E5 JUMP JUMPDEST MLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD MSTORE SWAP4 DUP5 SWAP3 DUP4 SWAP2 DUP3 SWAP1 PUSH1 0x44 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x2197 JUMPI DUP13 SWAP2 PUSH2 0x2179 JUMPI JUMPDEST POP ISZERO PUSH2 0x213B JUMPI DUP11 DUP13 PUSH2 0x20B2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x11985A5B1959081D1BC81C185E481C9959995C9C985B PUSH1 0x52 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x2191 SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x212E JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP15 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST POP PUSH2 0x21AD DUP4 DUP6 PUSH2 0x48E5 JUMP JUMPDEST MLOAD ISZERO ISZERO PUSH2 0x20AD JUMP JUMPDEST SWAP11 POP POP SWAP6 POP PUSH1 0xE0 RETURNDATASIZE PUSH1 0xE0 GT PUSH2 0x2286 JUMPI JUMPDEST PUSH2 0x21CF DUP2 DUP12 PUSH2 0x3ECC JUMP JUMPDEST DUP10 ADD SWAP6 PUSH1 0xE0 DUP11 DUP9 SUB SLT PUSH2 0x1BD6 JUMPI DUP7 PUSH1 0x1F DUP12 ADD SLT ISZERO PUSH2 0x1BD6 JUMPI PUSH1 0x40 MLOAD SWAP7 PUSH2 0x21F6 PUSH1 0x60 DUP10 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0x60 DUP12 ADD SWAP11 DUP9 DUP3 DUP14 GT PUSH2 0x225A JUMPI DUP2 SWAP1 JUMPDEST DUP14 DUP3 LT PUSH2 0x2262 JUMPI POP POP DUP2 PUSH1 0x7F DUP3 ADD SLT ISZERO PUSH2 0x225E JUMPI PUSH1 0x40 MLOAD SWAP12 PUSH2 0x2229 PUSH1 0x60 DUP15 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0xC0 DUP14 SWAP3 ADD SWAP3 DUP4 GT PUSH2 0x225A JUMPI SWAP1 JUMPDEST DUP3 DUP3 LT PUSH2 0x224A JUMPI POP POP MLOAD SWAP7 SWAP10 SWAP7 CODESIZE PUSH2 0x207A JUMP JUMPDEST DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x2237 JUMP JUMPDEST DUP12 DUP1 REVERT JUMPDEST DUP11 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x2282 JUMPI DUP2 MSTORE PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x2206 JUMP JUMPDEST DUP14 DUP1 REVERT JUMPDEST POP RETURNDATASIZE PUSH2 0x21C5 JUMP JUMPDEST PUSH2 0x2028 JUMP JUMPDEST 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 0x4661696C656420746F207472616E7366657220746F6B656E7300000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x22F0 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x1F06 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP12 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP9 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 DUP9 REVERT JUMPDEST PUSH2 0xFFFF DUP3 PUSH1 0x28 SHR AND SWAP2 PUSH2 0xFFFF DUP1 PUSH2 0x232B DUP6 PUSH2 0x48BB JUMP JUMPDEST SWAP3 PUSH1 0x10 SHR AND SWAP2 AND GT PUSH2 0x236B JUMPI PUSH2 0x2366 PUSH2 0x2346 PUSH2 0x1EAE SWAP4 PUSH2 0x48BB JUMP JUMPDEST DUP3 SLOAD PUSH7 0xFFFF0000000000 NOT AND PUSH1 0x28 SWAP2 SWAP1 SWAP2 SHL PUSH7 0xFFFF0000000000 AND OR DUP3 SSTORE JUMP JUMPDEST PUSH2 0x1E98 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43617465676F72792071756F7461206578636565646564000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43617465676F727920646F6573206E6F742062656C6F6E6720746F2074686973 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x8195D995B9D PUSH1 0xD2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x115D995B9D081A5CC81B9BDD08185C1C1C9BDD9959 PUSH1 0x5A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP9 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP9 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH1 0x40 MLOAD SWAP1 DUP2 PUSH1 0x20 DUP3 SLOAD SWAP2 DUP3 DUP2 MSTORE ADD SWAP1 DUP2 SWAP3 DUP6 MSTORE PUSH1 0x20 DUP6 KECCAK256 SWAP1 DUP6 JUMPDEST DUP2 DUP2 LT PUSH2 0x250F JUMPI POP POP POP DUP3 PUSH2 0x24CE SWAP2 SUB DUP4 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 PUSH1 0x20 DUP5 ADD SWAP1 PUSH1 0x20 DUP6 MSTORE MLOAD DUP1 SWAP2 MSTORE PUSH1 0x40 DUP5 ADD SWAP3 SWAP2 JUMPDEST DUP2 DUP2 LT PUSH2 0x24F6 JUMPI POP POP POP SUB SWAP1 RETURN JUMPDEST DUP3 MLOAD DUP5 MSTORE DUP6 SWAP5 POP PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x24E8 JUMP JUMPDEST DUP3 SLOAD DUP5 MSTORE PUSH1 0x20 SWAP1 SWAP4 ADD SWAP3 PUSH1 0x1 SWAP3 DUP4 ADD SWAP3 ADD PUSH2 0x24B8 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0x2826 JUMPI JUMPDEST PUSH2 0x2577 PUSH1 0x9 SLOAD DUP3 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0x2580 DUP2 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP1 PUSH1 0x1 DUP3 ADD SLOAD PUSH2 0x2590 DUP2 PUSH2 0x49DF JUMP JUMPDEST PUSH1 0x4 DUP4 ADD SWAP3 PUSH1 0xFF DUP5 SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x2812 JUMPI PUSH1 0x1 SUB PUSH2 0x27B7 JUMPI PUSH2 0x25B7 DUP6 SWAP3 PUSH2 0x401B JUMP JUMPDEST POP SWAP1 PUSH1 0x6 DUP3 ADD SLOAD DUP1 PUSH2 0x26ED JUMPI JUMPDEST POP PUSH1 0x8 ADD SWAP1 DUP2 SLOAD SWAP1 DUP2 PUSH2 0x2611 JUMPI JUMPDEST DUP4 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x40 DUP8 PUSH2 0xA91 PUSH1 0xFF DUP12 DUP7 DUP11 SSTORE PUSH3 0x30000 PUSH3 0xFF0000 NOT DUP3 SLOAD AND OR DUP2 SSTORE SLOAD PUSH1 0x10 SHR AND DUP4 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x3F19 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0x1 SWAP2 SWAP1 SWAP2 ADD SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP3 SWAP5 SWAP4 POP SWAP1 SWAP2 PUSH1 0x20 SWAP2 DUP4 SWAP2 PUSH1 0x44 SWAP2 DUP4 SWAP2 DUP11 SWAP2 AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x1579 JUMPI DUP6 SWAP2 PUSH2 0x26CE JUMPI JUMPDEST POP ISZERO PUSH2 0x2673 JUMPI SWAP1 DUP4 SWAP1 CODESIZE DUP1 PUSH2 0x25D2 JUMP JUMPDEST 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 0x4661696C656420746F207472616E73666572207469636B657420726576656E75 PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x32903A3790383937BB34B232B9 PUSH1 0x99 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0x26E7 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x2663 JUMP JUMPDEST PUSH1 0x3 SLOAD DUP3 SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP3 SWAP5 POP SWAP1 SWAP2 PUSH1 0x20 SWAP2 DUP4 SWAP2 PUSH1 0x44 SWAP2 DUP4 SWAP2 DUP12 SWAP2 AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xB09 JUMPI DUP7 SWAP2 PUSH2 0x2798 JUMPI JUMPDEST POP ISZERO PUSH2 0x2747 JUMPI DUP5 SWAP2 CODESIZE PUSH2 0x25C4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4661696C656420746F20726566756E64206465706F73697420746F2063726561 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x3A37B9 PUSH1 0xE9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0x27B1 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x2739 JUMP JUMPDEST 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 0x4F6E6C79206576656E7420696E20617070726F7665642073746174652063616E PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x818994818D85B98D95B1B1959 PUSH1 0x9A SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP7 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP7 REVERT JUMPDEST PUSH2 0x282E PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x256A JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x8 SLOAD DUP3 LT ISZERO PUSH2 0x273 JUMPI PUSH2 0x1A0 PUSH2 0x285F DUP4 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 SLOAD AND SWAP1 PUSH2 0x291C PUSH1 0x1 DUP3 ADD SLOAD SWAP2 PUSH2 0x28F8 PUSH1 0x2 DUP3 ADD SLOAD PUSH1 0x3 DUP4 ADD SLOAD SWAP1 PUSH2 0xFFFF PUSH1 0x6 PUSH2 0x2893 PUSH1 0x4 DUP8 ADD PUSH2 0x3EED JUMP JUMPDEST SWAP6 ADD SLOAD SWAP7 PUSH1 0x40 MLOAD SWAP9 DUP10 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x20 DUP11 ADD MSTORE DUP2 DUP2 PUSH1 0xA0 SHR AND PUSH1 0x40 DUP11 ADD MSTORE PUSH1 0xB0 SHR AND PUSH1 0x60 DUP9 ADD MSTORE PUSH1 0x80 DUP8 ADD MSTORE PUSH1 0xFF DUP2 AND PUSH1 0xA0 DUP8 ADD MSTORE PUSH1 0xFF DUP2 PUSH1 0x8 SHR AND PUSH1 0xC0 DUP8 ADD MSTORE PUSH1 0xFF DUP2 PUSH1 0x10 SHR AND ISZERO ISZERO PUSH1 0xE0 DUP8 ADD MSTORE PUSH1 0xFF PUSH2 0x100 DUP8 ADD SWAP2 PUSH1 0x18 SHR AND PUSH2 0x403A JUMP JUMPDEST PUSH2 0x120 DUP5 ADD SWAP1 PUSH1 0xFF PUSH1 0x40 DUP1 SWAP3 DUP1 MLOAD DUP6 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MLOAD AND PUSH1 0x20 DUP7 ADD MSTORE ADD MLOAD AND SWAP2 ADD MSTORE JUMP JUMPDEST PUSH2 0x180 DUP3 ADD MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x2967 PUSH2 0x3F3C JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0x2983 JUMPI PUSH2 0x608 SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x4CCA JUMP JUMPDEST PUSH4 0x334BD919 PUSH1 0xE1 SHL DUP3 MSTORE PUSH1 0x4 DUP3 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x29AC PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x29B4 PUSH2 0x4944 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0x2A4F JUMPI PUSH1 0x6 SLOAD DUP3 SWAP2 SWAP1 PUSH2 0x29DD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO ISZERO PUSH2 0x4635 JUMP JUMPDEST PUSH2 0x29E6 DUP2 PUSH2 0x4A51 JUMP JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2A4B JUMPI PUSH1 0x40 MLOAD PUSH4 0x593F8C25 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP1 CALLDATALOAD SWAP1 DUP4 ADD MSTORE DUP3 SWAP1 DUP3 SWAP1 PUSH1 0x44 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI PUSH2 0x2A3A JUMPI POP RETURN JUMPDEST DUP2 PUSH2 0x2A44 SWAP2 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x273 JUMPI DUP1 RETURN JUMPDEST POP POP REVERT JUMPDEST 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 0x4C6F63616C2070726F76696465722063616E6E6F74206265207A65726F206164 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x6472657373 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x9 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x608 PUSH1 0x4 CALLDATALOAD PUSH2 0x2AE0 PUSH2 0x3F3C JUMP JUMPDEST SWAP1 PUSH2 0x2AFC PUSH2 0x5FE DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x4AEF JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0x2E55 JUMPI JUMPDEST PUSH2 0x2B53 PUSH1 0x9 SLOAD DUP3 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0x2B5C DUP2 PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SLOAD SWAP1 PUSH2 0x2B6C DUP3 PUSH2 0x49DF JUMP JUMPDEST PUSH1 0x4 DUP2 ADD SWAP2 DUP3 SLOAD PUSH1 0xFF DUP2 PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB14 JUMPI PUSH1 0x1 SUB PUSH2 0x2DFD JUMPI PUSH1 0x3 DUP4 ADD SLOAD PUSH2 0x2B9D SWAP2 PUSH2 0xFFFF AND SWAP1 PUSH2 0x4A21 JUMP JUMPDEST TIMESTAMP GT ISZERO PUSH2 0x2DB8 JUMPI PUSH1 0x20 PUSH2 0x2BB2 PUSH2 0x2BF8 SWAP3 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x3 SLOAD DUP5 SLOAD PUSH1 0x6 SWAP3 SWAP1 SWAP3 ADD SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 DUP5 SWAP3 SWAP1 SWAP2 AND SWAP1 DUP3 SWAP1 DUP10 SWAP1 DUP3 SWAP1 PUSH1 0x44 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x1579 JUMPI DUP6 SWAP2 PUSH2 0x2D99 JUMPI JUMPDEST POP ISZERO PUSH2 0x2D48 JUMPI PUSH1 0x8 DUP5 SWAP2 ADD SLOAD DUP1 PUSH2 0x2C5A JUMPI JUMPDEST POP SWAP2 PUSH2 0xA91 PUSH1 0xFF PUSH1 0x40 SWAP4 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP6 POP PUSH3 0x40000 PUSH3 0xFF0000 NOT DUP3 SLOAD AND OR DUP2 SSTORE SLOAD PUSH1 0x10 SHR AND DUP4 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x3F19 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH2 0x2CB7 SWAP1 PUSH1 0x20 SWAP1 DUP4 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x2C7A DUP2 ISZERO ISZERO PUSH2 0x4635 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP2 SWAP4 DUP5 SWAP3 SWAP1 SWAP2 AND SWAP1 DUP3 SWAP1 DUP8 SWAP1 DUP3 SWAP1 PUSH1 0x44 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0x2D3D JUMPI PUSH2 0x2D20 JUMPI JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 EXTCODESIZE ISZERO PUSH2 0x93E JUMPI DUP3 SWAP2 PUSH1 0x44 DUP4 SWAP3 PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP4 DUP5 SWAP3 PUSH4 0x4AE699EF PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x4 DUP5 ADD MSTORE DUP10 PUSH1 0x24 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI ISZERO PUSH2 0x2C1C JUMPI DUP2 PUSH2 0x2D15 SWAP2 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x93E JUMPI DUP3 CODESIZE PUSH2 0x2C1C JUMP JUMPDEST PUSH2 0x2D38 SWAP1 PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x2CC6 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP6 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4661696C656420746F2072657475726E206465706F73697420746F2063726561 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x3A37B9 PUSH1 0xE9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0x2DB2 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x2C0A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E7420686173206E6F74206265656E2066696E69736865642079657400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C79206576656E7420696E20617070726F7665642073746174652063616E PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x818994818DB1BDCD959 PUSH1 0xB2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0x2E5D PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x2B46 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH2 0x2EB9 PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x100 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x2EED CALLDATASIZE PUSH2 0x3FBE JUMP JUMPDEST PUSH2 0x2EFC SWAP6 SWAP5 SWAP2 SWAP6 SWAP4 SWAP3 SWAP4 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x2F09 PUSH1 0xA SLOAD DUP4 LT PUSH2 0x43F4 JUMP JUMPDEST PUSH2 0x2F1B PUSH2 0x2710 PUSH2 0xFFFF DUP7 AND GT ISZERO PUSH2 0x4440 JUMP JUMPDEST PUSH2 0x2F24 DUP3 PUSH2 0x405D JUMP JUMPDEST POP SWAP6 PUSH1 0x1 DUP8 ADD PUSH2 0x2F34 DUP2 SLOAD PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0x1 PUSH2 0x2F43 DUP2 DUP4 ADD SLOAD PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0x3284 JUMPI PUSH1 0xFF PUSH1 0x4 DUP4 ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3270 JUMPI PUSH2 0x2F74 SWAP1 ISZERO PUSH2 0x4480 JUMP JUMPDEST DUP5 ISZERO PUSH2 0x3203 JUMPI PUSH2 0xFFFF DUP5 AND PUSH2 0x2F8A DUP2 ISZERO ISZERO PUSH2 0x44CB JUMP JUMPDEST PUSH1 0x2 DUP12 ADD SLOAD SWAP2 PUSH2 0xFFFF DUP4 PUSH1 0x28 SHR AND DUP3 LT PUSH2 0x31A7 JUMPI PUSH2 0x2FDC SWAP2 PUSH1 0x9 PUSH2 0xFFFF PUSH2 0x2FD3 SWAP4 PUSH1 0xA0 SHR AND SWAP6 PUSH2 0x2FBC DUP8 DUP5 GT ISZERO PUSH2 0x4517 JUMP JUMPDEST ADD SWAP4 DUP5 SLOAD SWAP1 PUSH1 0xFF DUP2 PUSH1 0x20 SHR AND PUSH2 0x318F JUMPI JUMPDEST POP PUSH2 0x4563 JUMP JUMPDEST SWAP3 DUP4 GT ISZERO PUSH2 0x4570 JUMP JUMPDEST SSTORE JUMPDEST DUP5 MLOAD SWAP8 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP10 GT PUSH2 0x317B JUMPI PUSH2 0x2FF9 DUP2 SLOAD PUSH2 0x407C JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x3140 JUMPI JUMPDEST POP PUSH1 0x20 SWAP9 PUSH1 0x1F DUP2 GT PUSH1 0x1 EQ PUSH2 0x30B0 JUMPI DUP5 PUSH1 0x2 PUSH2 0x309F SWAP7 SWAP6 SWAP5 SWAP4 DUP4 PUSH2 0x3091 SWAP5 DUP14 SWAP15 PUSH32 0x10911411B2F44E2516F7DD0DEB300CAD44ABF67ADE2E67B6883BD6D43605435C SWAP14 SWAP15 SWAP2 PUSH2 0x30A5 JUMPI JUMPDEST POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR DUP2 SSTORE JUMPDEST ADD DUP1 SLOAD PUSH5 0xFFFFFFFFFF NOT AND PUSH2 0xFFFF DUP13 AND OR PUSH4 0xFFFF0000 PUSH1 0x10 DUP8 SWAP1 SHL AND OR SWAP2 ISZERO ISZERO PUSH1 0x20 SHL PUSH5 0xFF00000000 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST SLOAD SWAP7 PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP6 DUP7 PUSH2 0x45E7 JUMP JUMPDEST SUB SWAP1 LOG2 DUP1 RETURN JUMPDEST SWAP1 POP DUP12 ADD MLOAD CODESIZE PUSH2 0x304B JUMP JUMPDEST DUP2 DUP10 MSTORE DUP10 DUP10 KECCAK256 SWAP10 PUSH1 0x1F NOT DUP3 AND DUP11 JUMPDEST DUP2 DUP2 LT PUSH2 0x3128 JUMPI POP DUP7 SWAP6 SWAP5 SWAP4 PUSH1 0x1 DUP5 PUSH32 0x10911411B2F44E2516F7DD0DEB300CAD44ABF67ADE2E67B6883BD6D43605435C SWAP13 SWAP14 SWAP15 PUSH2 0x309F SWAP11 SWAP6 PUSH2 0x3091 SWAP8 PUSH1 0x2 SWAP7 LT PUSH2 0x310F JUMPI JUMPDEST POP POP DUP2 SHL ADD DUP2 SSTORE PUSH2 0x305F JUMP JUMPDEST DUP14 ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 PUSH2 0x3103 JUMP JUMPDEST DUP10 DUP4 ADD MLOAD DUP14 SSTORE PUSH1 0x1 SWAP1 SWAP13 ADD SWAP12 PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 ADD PUSH2 0x30BE JUMP JUMPDEST PUSH2 0x316B SWAP1 DUP3 DUP11 MSTORE PUSH1 0x20 DUP11 KECCAK256 PUSH1 0x1F DUP13 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP14 LT PUSH2 0x3171 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 PUSH2 0x45D0 JUMP JUMPDEST CODESIZE PUSH2 0x3002 JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x315E JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP9 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP9 REVERT JUMPDEST SWAP1 PUSH2 0xFFFF PUSH2 0x31A1 SWAP3 PUSH1 0x10 SHR AND SWAP1 PUSH2 0x4255 JUMP JUMPDEST CODESIZE PUSH2 0x2FCD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x51756F74612063616E6E6F74206265206C657373207468616E207469636B6574 PUSH1 0x44 DUP3 ADD MSTORE PUSH14 0x1CC8185B1C9958591E481CDBDB19 PUSH1 0x92 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP POP PUSH1 0xFF PUSH1 0x2 DUP10 ADD SLOAD PUSH1 0x20 SHR AND ISZERO PUSH2 0x2FDE 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 0x43616E6E6F74206368616E67652066726F6D206C696D6974656420746F20756E PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x6C696D697465642071756F7461 PUSH1 0x98 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP11 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP11 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C7920746865206C6F63616C2070726F7669646572206F66207468652065 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x76656E742063616E207570646174652063617465676F72696573000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0xE0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x4 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH2 0x3313 PUSH2 0x3DF9 JUMP JUMPDEST PUSH2 0x331B PUSH2 0x3E2A JUMP JUMPDEST SWAP5 PUSH1 0xC4 CALLDATALOAD SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP3 DUP4 DUP6 SUB PUSH2 0x1BDA JUMPI PUSH2 0x3343 PUSH1 0x9 SLOAD DUP8 LT PUSH2 0x1E39 DUP2 PUSH2 0x439D JUMP JUMPDEST DUP3 ISZERO PUSH2 0x37D7 JUMPI PUSH2 0x3352 DUP7 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP6 PUSH1 0xFF PUSH1 0x4 DUP9 ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x37C3 JUMPI PUSH1 0x1 SUB PUSH2 0x2404 JUMPI PUSH2 0x337C PUSH1 0xA SLOAD DUP5 LT PUSH2 0x43F4 JUMP JUMPDEST PUSH2 0x3385 DUP4 PUSH2 0x405D JUMP JUMPDEST POP DUP2 PUSH1 0x1 DUP3 ADD SLOAD SUB PUSH2 0x23B0 JUMPI PUSH1 0x2 ADD DUP1 SLOAD SWAP1 PUSH1 0xFF DUP3 PUSH1 0x20 SHR AND PUSH2 0x3785 JUMPI JUMPDEST PUSH2 0x33B9 SWAP2 POP PUSH2 0xFFFF PUSH1 0x2 DUP11 ADD SLOAD SWAP2 SLOAD AND SWAP1 PUSH2 0x585F JUMP JUMPDEST SWAP9 PUSH2 0x33C4 DUP6 DUP12 PUSH2 0x472A JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP4 SWAP1 MSTORE SWAP2 SWAP8 SWAP2 SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP16 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x377A JUMPI DUP12 SWAP2 PUSH2 0x375B JUMPI JUMPDEST POP ISZERO PUSH2 0x2292 JUMPI PUSH1 0x7 SLOAD DUP11 SWAP9 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP2 PUSH2 0x34EC JUMPI JUMPDEST POP POP DUP10 SWAP11 PUSH1 0x1 DUP1 PUSH1 0xA0 SWAP13 SWAP9 SWAP10 SWAP11 SWAP12 SWAP13 SHL SUB PUSH1 0x4 SLOAD AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x34E8 JUMPI PUSH1 0xFF DUP9 SWAP5 DUP2 PUSH2 0x124 SWAP9 PUSH1 0x40 MLOAD SWAP13 DUP14 SWAP12 DUP13 SWAP11 PUSH4 0x5A02D93 PUSH1 0xE5 SHL DUP13 MSTORE CALLER PUSH1 0x4 DUP14 ADD MSTORE PUSH1 0x24 DUP13 ADD MSTORE PUSH1 0x44 DUP12 ADD MSTORE PUSH1 0x64 DUP11 ADD MSTORE PUSH1 0x64 CALLDATALOAD PUSH1 0x84 DUP11 ADD MSTORE AND PUSH1 0xA4 DUP9 ADD MSTORE AND PUSH1 0xC4 DUP7 ADD MSTORE PUSH1 0xE4 DUP6 ADD MSTORE PUSH2 0x104 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x1579 JUMPI PUSH2 0x34D4 JUMPI JUMPDEST POP PUSH1 0x5 DUP4 ADD DUP1 SLOAD SWAP1 PUSH1 0x1 PUSH1 0x40 SHL DUP3 LT ISZERO PUSH2 0x14D9 JUMPI SWAP3 PUSH1 0x8 SWAP3 PUSH2 0x1FCF DUP4 PUSH2 0x1FFA SWAP7 PUSH1 0x1 PUSH2 0x1FF0 SWAP7 ADD DUP2 SSTORE PUSH2 0x41DB JUMP JUMPDEST DUP5 PUSH2 0x34E1 SWAP2 SWAP6 SWAP3 SWAP6 PUSH2 0x3ECC JUMP JUMPDEST SWAP3 CODESIZE PUSH2 0x34A6 JUMP JUMPDEST DUP8 DUP1 REVERT JUMPDEST PUSH2 0x353C SWAP10 POP PUSH1 0xE0 SWAP2 DUP10 SWAP2 CALLER DUP6 SUB PUSH2 0x3756 JUMPI POP DUP13 JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xE696D10D DUP6 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 SWAP10 DUP11 SWAP2 SWAP1 DUP3 SWAP1 DUP15 SWAP1 DUP3 SWAP1 PUSH1 0x64 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP11 DUP12 ISZERO PUSH2 0x374B JUMPI DUP11 SWAP9 DUP12 SWAP1 DUP13 SWAP14 PUSH2 0x365F JUMPI JUMPDEST POP PUSH1 0x3 SWAP13 SWAP10 DUP13 SWAP14 DUP15 JUMPDEST LT PUSH2 0x3569 JUMPI POP DUP2 SWAP13 POP PUSH2 0x342D JUMP JUMPDEST DUP14 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x357C DUP3 DUP5 PUSH2 0x48E5 JUMP JUMPDEST MLOAD AND ISZERO ISZERO SWAP1 DUP2 PUSH2 0x364B JUMPI JUMPDEST POP PUSH2 0x359A JUMPI JUMPDEST PUSH1 0x1 PUSH1 0x3 SWAP15 ADD SWAP14 DUP15 PUSH2 0x355B JUMP JUMPDEST PUSH2 0x35CB PUSH1 0x20 DUP16 DUP16 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x3 SLOAD AND SWAP1 PUSH2 0x20EB PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x35C2 DUP4 DUP10 PUSH2 0x48E5 JUMP JUMPDEST MLOAD AND SWAP2 DUP9 PUSH2 0x48E5 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x363E JUMPI DUP15 SWAP2 PUSH2 0x3620 JUMPI JUMPDEST POP PUSH2 0x358D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x11985A5B1959081D1BC81C185E481C9959995C9C985B PUSH1 0x52 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x3638 SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x35DD JUMP JUMPDEST DUP15 PUSH1 0x40 MLOAD SWAP1 RETURNDATASIZE SWAP1 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH2 0x3656 SWAP2 POP DUP4 PUSH2 0x48E5 JUMP JUMPDEST MLOAD ISZERO ISZERO DUP15 PUSH2 0x3587 JUMP JUMPDEST SWAP12 SWAP11 SWAP10 POP POP SWAP11 POP PUSH1 0xE0 RETURNDATASIZE PUSH1 0xE0 GT PUSH2 0x3744 JUMPI JUMPDEST PUSH2 0x367B DUP2 DUP13 PUSH2 0x3ECC JUMP JUMPDEST DUP11 ADD SWAP11 PUSH1 0xE0 DUP12 DUP14 SUB SLT PUSH2 0x3740 JUMPI DUP12 PUSH1 0x1F DUP13 ADD SLT ISZERO PUSH2 0x3740 JUMPI DUP11 SWAP12 DUP11 SWAP12 SWAP10 SWAP11 POP PUSH1 0x40 MLOAD SWAP1 PUSH2 0x36A9 PUSH1 0x60 DUP4 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0x60 DUP3 SWAP12 ADD SWAP11 DUP2 DUP13 GT PUSH2 0x2282 JUMPI DUP15 DUP13 DUP4 SWAP3 DUP3 SWAP2 JUMPDEST DUP3 LT PUSH2 0x3710 JUMPI POP POP PUSH1 0x7F ADD SLT ISZERO PUSH2 0x12A5 JUMPI PUSH1 0x40 MLOAD SWAP11 PUSH2 0x36DD PUSH1 0x60 DUP14 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0xC0 DUP13 SWAP16 ADD SWAP2 DUP3 GT PUSH2 0x2282 JUMPI SWAP14 DUP2 DUP16 JUMPDEST LT PUSH2 0x36FE JUMPI POP MLOAD SWAP13 POP SWAP9 PUSH1 0x3 PUSH2 0x3552 JUMP JUMPDEST DUP15 MLOAD DUP2 MSTORE PUSH1 0x20 SWAP15 DUP16 ADD SWAP15 ADD DUP2 DUP16 PUSH2 0x36ED JUMP JUMPDEST DUP2 MLOAD SWAP2 SWAP4 POP SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x373C JUMPI DUP2 PUSH1 0x20 SWAP3 SWAP2 DUP4 SWAP3 MSTORE ADD SWAP2 ADD DUP16 SWAP1 DUP4 SWAP3 DUP15 PUSH2 0x36BD JUMP JUMPDEST DUP16 DUP1 REVERT JUMPDEST DUP10 DUP1 REVERT JUMPDEST POP RETURNDATASIZE PUSH2 0x3671 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP13 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH2 0x3500 JUMP JUMPDEST PUSH2 0x3774 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x3410 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP14 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH2 0xFFFF DUP3 PUSH1 0x28 SHR AND SWAP2 PUSH2 0xFFFF DUP8 AND SWAP1 PUSH2 0xFFFF DUP1 PUSH2 0x37A2 DUP5 DUP8 PUSH2 0x48CF JUMP JUMPDEST SWAP3 PUSH1 0x10 SHR AND SWAP2 AND GT PUSH2 0x236B JUMPI PUSH2 0x2346 PUSH2 0x37BE SWAP2 PUSH2 0x33B9 SWAP5 PUSH2 0x48CF JUMP JUMPDEST PUSH2 0x33A3 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP10 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP10 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416D6F756E74206D7573742062652067726561746572207468616E2030000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x9 SLOAD DUP3 LT ISZERO PUSH2 0x273 JUMPI PUSH2 0x160 PUSH2 0x3848 DUP4 PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 SLOAD AND SWAP1 PUSH1 0x1 DUP2 ADD SLOAD SWAP1 PUSH2 0x38DA PUSH1 0x2 DUP3 ADD SLOAD PUSH2 0x38B7 PUSH1 0x3 DUP5 ADD SLOAD PUSH1 0x4 DUP6 ADD SLOAD SWAP1 PUSH2 0x387C PUSH1 0x6 DUP8 ADD PUSH2 0x3EED JUMP JUMPDEST SWAP4 PUSH1 0x9 PUSH1 0x8 DUP9 ADD SLOAD SWAP8 ADD SLOAD SWAP8 PUSH1 0x40 MLOAD SWAP10 DUP11 MSTORE PUSH1 0x20 DUP11 ADD MSTORE PUSH1 0x40 DUP10 ADD MSTORE PUSH1 0x60 DUP9 ADD MSTORE PUSH2 0xFFFF DUP2 AND PUSH1 0x80 DUP9 ADD MSTORE PUSH1 0xFF PUSH1 0xA0 DUP9 ADD SWAP2 PUSH1 0x10 SHR AND PUSH2 0x3F19 JUMP JUMPDEST PUSH1 0xC0 DUP6 ADD SWAP1 PUSH1 0xFF PUSH1 0x40 DUP1 SWAP3 DUP1 MLOAD DUP6 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MLOAD AND PUSH1 0x20 DUP7 ADD MSTORE ADD MLOAD AND SWAP2 ADD MSTORE JUMP JUMPDEST PUSH2 0x120 DUP4 ADD MSTORE PUSH2 0x140 DUP3 ADD MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x140 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH2 0xFFFF DUP3 AND DUP3 SUB PUSH2 0x273 JUMPI PUSH2 0x3912 PUSH2 0x3DC9 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH2 0x391D PUSH2 0x3DE9 JUMP JUMPDEST PUSH2 0x3925 PUSH2 0x3DF9 JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP2 DUP3 ISZERO ISZERO DUP4 SUB PUSH2 0x5BE JUMPI PUSH2 0x393A PUSH2 0x3E09 JUMP JUMPDEST SWAP4 PUSH2 0x3943 PUSH2 0x3E19 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP9 MSTORE PUSH1 0x20 DUP9 DUP2 MSTORE PUSH1 0x40 DUP1 DUP11 KECCAK256 CALLER DUP12 MSTORE SWAP1 SWAP2 MSTORE DUP9 KECCAK256 SLOAD PUSH1 0xFF AND SWAP9 SWAP1 SWAP7 SWAP1 DUP10 DUP1 ISZERO PUSH2 0x3D47 JUMPI JUMPDEST ISZERO PUSH2 0x3D12 JUMPI DUP10 PUSH2 0x3CFF JUMPI JUMPDEST DUP10 ISZERO PUSH2 0x3CF9 JUMPI CALLER JUMPDEST DUP11 ISZERO PUSH2 0x3CF3 JUMPI PUSH1 0x1 JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH2 0x399F DUP3 PUSH2 0x3E7F JUMP JUMPDEST PUSH1 0xC4 CALLDATALOAD DUP3 MSTORE PUSH1 0xFF DUP11 AND PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0xFF DUP12 AND PUSH1 0x40 DUP4 ADD MSTORE DUP9 DUP9 DUP9 PUSH1 0x40 MLOAD SWAP5 PUSH2 0x39C6 DUP7 PUSH2 0x3EB0 JUMP JUMPDEST CALLER DUP7 MSTORE PUSH1 0x20 DUP7 ADD SWAP7 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP8 MSTORE PUSH1 0x40 DUP7 ADD SWAP7 PUSH2 0xFFFF DUP10 AND DUP9 MSTORE PUSH1 0x60 DUP8 ADD PUSH2 0xFFFF DUP12 AND DUP2 MSTORE PUSH1 0x80 DUP9 ADD SWAP3 DUP13 DUP5 MSTORE PUSH1 0xFF PUSH1 0xA0 DUP11 ADD SWAP6 AND DUP6 MSTORE PUSH1 0xFF PUSH1 0xC0 DUP11 ADD SWAP7 AND DUP7 MSTORE PUSH1 0xE0 DUP10 ADD SWAP7 ISZERO ISZERO DUP8 MSTORE PUSH2 0x3A23 PUSH2 0x100 DUP11 ADD SWAP9 DUP10 PUSH2 0x4249 JUMP JUMPDEST PUSH2 0x120 DUP10 ADD MSTORE PUSH2 0x124 CALLDATALOAD PUSH2 0x140 DUP10 ADD MSTORE PUSH1 0x8 SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x3CDB JUMPI DUP1 PUSH1 0x1 PUSH2 0x3A52 SWAP3 ADD PUSH1 0x8 SSTORE PUSH2 0x401B JUMP JUMPDEST SWAP10 SWAP1 SWAP10 PUSH2 0x3CC4 JUMPI DUP9 MLOAD DUP11 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND OR DUP12 SSTORE SWAP3 MLOAD PUSH1 0x1 DUP12 ADD DUP1 SLOAD SWAP3 MLOAD SWAP4 MLOAD PUSH1 0xA0 SWAP5 SWAP1 SWAP5 SHL PUSH2 0xFFFF PUSH1 0xA0 SHL AND SWAP2 SWAP1 SWAP5 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xC0 SHL SUB NOT SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR OR PUSH1 0xB0 SWAP2 SWAP1 SWAP2 SHL PUSH2 0xFFFF PUSH1 0xB0 SHL AND OR SWAP1 SSTORE MLOAD PUSH1 0x2 DUP8 ADD SSTORE MLOAD PUSH1 0x3 DUP7 ADD DUP1 SLOAD SWAP3 MLOAD SWAP4 MLOAD PUSH2 0xFF00 PUSH1 0x8 SWAP6 SWAP1 SWAP6 SHL SWAP5 SWAP1 SWAP5 AND PUSH1 0xFF SWAP1 SWAP3 AND PUSH3 0xFFFFFF NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR OR SWAP2 ISZERO ISZERO PUSH1 0x10 SHL PUSH3 0xFF0000 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE MLOAD PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x3CB0 JUMPI PUSH1 0x6 SWAP2 PUSH2 0x140 SWAP2 PUSH4 0xFF000000 PUSH1 0x3 DUP7 ADD SLOAD SWAP2 PUSH1 0x18 SHL AND SWAP1 PUSH4 0xFF000000 NOT AND OR PUSH1 0x3 DUP6 ADD SSTORE PUSH2 0x3B64 PUSH2 0x120 DUP3 ADD MLOAD DUP1 MLOAD PUSH1 0x4 DUP8 ADD SSTORE PUSH1 0xFF PUSH1 0x40 PUSH1 0x5 DUP9 ADD SWAP3 DUP3 DUP1 PUSH1 0x20 DUP4 ADD MLOAD AND AND DUP4 NOT DUP6 SLOAD AND OR DUP5 SSTORE ADD MLOAD AND PUSH2 0xFF00 DUP3 SLOAD SWAP2 PUSH1 0x8 SHL AND SWAP1 PUSH2 0xFF00 NOT AND OR SWAP1 SSTORE JUMP JUMPDEST ADD MLOAD SWAP2 ADD SSTORE PUSH1 0x8 SLOAD PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP2 GT PUSH2 0x3C9C JUMPI DUP10 SWAP11 PUSH2 0x3B8F PUSH2 0x19ED PUSH2 0x3B89 DUP5 PUSH2 0x401B JUMP JUMPDEST POP PUSH2 0x4278 JUMP JUMPDEST ISZERO PUSH2 0x3C1C JUMPI PUSH1 0x40 DUP1 MLOAD CALLER DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH2 0xFFFF SWAP3 DUP4 AND SWAP1 DUP3 ADD MSTORE SWAP2 AND PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0xFF SWAP2 DUP3 AND PUSH1 0xA0 DUP3 ADD MSTORE SWAP2 AND PUSH1 0xC0 DUP3 ADD MSTORE SWAP1 ISZERO ISZERO PUSH1 0xE0 DUP3 ADD MSTORE SWAP3 POP SWAP2 PUSH1 0xFF PUSH2 0x1A0 SWAP3 DUP2 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP6 PUSH1 0x1 PUSH2 0x100 DUP7 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH2 0x120 DUP7 ADD MSTORE AND PUSH2 0x140 DUP5 ADD MSTORE AND PUSH2 0x160 DUP3 ADD MSTORE PUSH2 0x124 CALLDATALOAD PUSH2 0x180 DUP3 ADD MSTORE LOG1 DUP1 RETURN JUMPDEST SWAP9 POP PUSH1 0x40 MLOAD SWAP9 DUP10 MSTORE CALLER PUSH1 0x20 DUP11 ADD MSTORE PUSH2 0xFFFF AND PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0xFFFF AND PUSH1 0x60 DUP9 ADD MSTORE PUSH1 0x80 DUP8 ADD MSTORE PUSH1 0xFF AND PUSH1 0xA0 DUP7 ADD MSTORE PUSH1 0xFF AND PUSH1 0xC0 DUP6 ADD MSTORE ISZERO ISZERO PUSH1 0xE0 DUP5 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH2 0x100 DUP5 ADD MSTORE PUSH1 0xFF AND PUSH2 0x120 DUP4 ADD MSTORE PUSH1 0xFF AND PUSH2 0x140 DUP3 ADD MSTORE PUSH2 0x160 PUSH32 0x9FF4F860DC119DFF15347F57FAD0189A16D6940238A52EFE730908119A17450C SWAP2 LOG1 DUP1 RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP11 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 DUP11 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP13 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP13 REVERT JUMPDEST POP POP POP POP PUSH1 0x24 DUP16 PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP2 MSTORE DUP1 PUSH1 0x4 MSTORE REVERT JUMPDEST POP POP POP POP PUSH1 0x24 DUP16 PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE REVERT JUMPDEST DUP10 PUSH2 0x3992 JUMP JUMPDEST DUP9 PUSH2 0x3989 JUMP JUMPDEST PUSH2 0x3D0D PUSH2 0x124 CALLDATALOAD ISZERO ISZERO PUSH2 0x41F3 JUMP JUMPDEST PUSH2 0x3981 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xD PUSH1 0x24 DUP3 ADD MSTORE PUSH13 0x1858D8D95CDCC819195B9A5959 PUSH1 0x9A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP10 MSTORE PUSH1 0x20 DUP10 DUP2 MSTORE PUSH1 0x40 DUP1 DUP12 KECCAK256 CALLER DUP13 MSTORE SWAP1 SWAP2 MSTORE DUP10 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x3976 JUMP JUMPDEST SWAP1 POP CALLVALUE PUSH2 0x730 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x730 JUMPI PUSH1 0x4 CALLDATALOAD PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP2 AND DUP1 SWAP2 SUB PUSH2 0x93E JUMPI PUSH1 0x20 SWAP3 POP PUSH4 0x7965DB0B PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x3DB8 JUMPI JUMPDEST POP ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL EQ SWAP1 POP CODESIZE PUSH2 0x3DB1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH2 0xFFFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH2 0xFFFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0x84 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0xE4 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH2 0x104 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0xC4 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0x9 SLOAD DUP2 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0x9 PUSH1 0x0 MSTORE PUSH1 0xA PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP2 MUL ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x60 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x3E9A JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x160 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x3E9A JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x3E9A JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD PUSH2 0x3EFA DUP2 PUSH2 0x3E7F JUMP JUMPDEST PUSH1 0x40 PUSH1 0xFF PUSH1 0x1 DUP4 SWAP6 DUP1 SLOAD DUP6 MSTORE ADD SLOAD DUP2 DUP2 AND PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x8 SHR AND SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 PUSH1 0x5 DUP3 LT ISZERO PUSH2 0x3F26 JUMPI MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x15F6 JUMPI DUP1 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x3E9A JUMPI PUSH1 0x40 MLOAD SWAP3 PUSH2 0x3F9C PUSH1 0x1F DUP5 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP6 PUSH2 0x3ECC JUMP JUMPDEST DUP3 DUP5 MSTORE PUSH1 0x20 DUP4 DUP4 ADD ADD GT PUSH2 0x15F6 JUMPI DUP2 PUSH1 0x0 SWAP3 PUSH1 0x20 DUP1 SWAP4 ADD DUP4 DUP7 ADD CALLDATACOPY DUP4 ADD ADD MSTORE SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0xA0 PUSH1 0x3 NOT DUP4 ADD SLT PUSH2 0x15F6 JUMPI PUSH1 0x4 CALLDATALOAD SWAP2 PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x15F6 JUMPI PUSH2 0x3FED SWAP2 PUSH1 0x4 ADD PUSH2 0x3F68 JUMP JUMPDEST SWAP1 PUSH1 0x44 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 SUB PUSH2 0x15F6 JUMPI SWAP1 PUSH1 0x64 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 SUB PUSH2 0x15F6 JUMPI SWAP1 PUSH1 0x84 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x15F6 JUMPI SWAP1 JUMP JUMPDEST PUSH1 0x8 SLOAD DUP2 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0x8 PUSH1 0x0 MSTORE PUSH1 0x7 PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP2 MUL ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x3 DUP3 LT ISZERO PUSH2 0x3F26 JUMPI MSTORE JUMP JUMPDEST PUSH1 0x40 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x15F6 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x24 CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0xA SLOAD DUP2 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0xA PUSH1 0x0 MSTORE PUSH1 0x3 PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP2 MUL ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x40AC JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x4096 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x408B JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 PUSH1 0x0 DUP3 SLOAD SWAP3 PUSH2 0x40CA DUP5 PUSH2 0x407C JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP4 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x4138 JUMPI POP PUSH1 0x1 EQ PUSH2 0x40F1 JUMPI JUMPDEST POP PUSH2 0x40EF SWAP3 POP SUB DUP4 PUSH2 0x3ECC JUMP JUMPDEST JUMP JUMPDEST SWAP1 POP PUSH1 0x0 SWAP3 SWAP2 SWAP3 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP2 JUMPDEST DUP2 DUP4 LT PUSH2 0x411C JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0x40EF SWAP3 DUP3 ADD ADD CODESIZE PUSH2 0x40E2 JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP10 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP5 SWAP3 PUSH2 0x4103 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 SWAP3 POP PUSH2 0x40EF SWAP5 SWAP2 POP PUSH1 0xFF NOT AND DUP3 DUP5 ADD MSTORE ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD ADD CODESIZE PUSH2 0x40E2 JUMP JUMPDEST SWAP2 SWAP1 DUP3 MLOAD SWAP3 DUP4 DUP3 MSTORE PUSH1 0x0 JUMPDEST DUP5 DUP2 LT PUSH2 0x4186 JUMPI POP POP DUP3 PUSH1 0x0 PUSH1 0x20 DUP1 SWAP5 SWAP6 DUP5 ADD ADD MSTORE PUSH1 0x1F DUP1 NOT SWAP2 ADD AND ADD ADD SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x20 DUP1 SWAP3 DUP5 ADD ADD MLOAD DUP3 DUP3 DUP7 ADD ADD MSTORE ADD PUSH2 0x4165 JUMP JUMPDEST SWAP5 SWAP1 PUSH1 0xA0 SWAP5 PUSH2 0xFFFF DUP1 SWAP6 PUSH2 0x41BC DUP3 SWAP5 SWAP12 SWAP11 SWAP7 SWAP12 PUSH1 0xC0 DUP12 MSTORE PUSH1 0xC0 DUP12 ADD SWAP1 PUSH2 0x415A JUMP JUMPDEST SWAP11 PUSH1 0x20 DUP11 ADD MSTORE AND PUSH1 0x40 DUP9 ADD MSTORE AND PUSH1 0x60 DUP7 ADD MSTORE ISZERO ISZERO PUSH1 0x80 DUP6 ADD MSTORE AND SWAP2 ADD MSTORE JUMP JUMPDEST DUP1 SLOAD DUP3 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST ISZERO PUSH2 0x41FA JUMPI JUMP JUMPDEST 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 0x4465706F736974206D7573742062652067726561746572207468616E207A6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x6F PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x3 DUP3 LT ISZERO PUSH2 0x3F26 JUMPI MSTORE JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0x4262 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x40 MLOAD PUSH2 0x4285 DUP2 PUSH2 0x3EB0 JUMP JUMPDEST PUSH2 0x140 PUSH1 0x6 DUP3 SWAP5 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 SLOAD AND DUP5 MSTORE PUSH2 0xFFFF PUSH1 0x1 DUP3 ADD SLOAD PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x20 DUP8 ADD MSTORE DUP2 DUP2 PUSH1 0xA0 SHR AND PUSH1 0x40 DUP8 ADD MSTORE PUSH1 0xB0 SHR AND PUSH1 0x60 DUP6 ADD MSTORE PUSH1 0x2 DUP2 ADD SLOAD PUSH1 0x80 DUP6 ADD MSTORE PUSH2 0x4304 PUSH1 0xFF PUSH1 0x3 DUP4 ADD SLOAD DUP2 DUP2 AND PUSH1 0xA0 DUP9 ADD MSTORE DUP2 DUP2 PUSH1 0x8 SHR AND PUSH1 0xC0 DUP9 ADD MSTORE DUP2 DUP2 PUSH1 0x10 SHR AND ISZERO ISZERO PUSH1 0xE0 DUP9 ADD MSTORE PUSH1 0x18 SHR AND PUSH2 0x100 DUP7 ADD PUSH2 0x4249 JUMP JUMPDEST PUSH2 0x4310 PUSH1 0x4 DUP3 ADD PUSH2 0x3EED JUMP JUMPDEST PUSH2 0x120 DUP6 ADD MSTORE ADD SLOAD SWAP2 ADD MSTORE JUMP JUMPDEST SWAP11 SWAP9 SWAP7 SWAP5 SWAP3 SWAP1 SWAP14 SWAP13 SWAP12 SWAP10 SWAP8 SWAP6 SWAP4 SWAP2 PUSH2 0x1A0 DUP13 ADD SWAP15 PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 SWAP1 SUB AND DUP13 MSTORE PUSH1 0x20 DUP13 ADD MSTORE PUSH2 0xFFFF AND PUSH1 0x40 DUP12 ADD MSTORE PUSH2 0xFFFF AND PUSH1 0x60 DUP11 ADD MSTORE PUSH1 0x80 DUP10 ADD MSTORE PUSH1 0xFF AND PUSH1 0xA0 DUP9 ADD MSTORE PUSH1 0xFF AND PUSH1 0xC0 DUP8 ADD MSTORE ISZERO ISZERO PUSH1 0xE0 DUP7 ADD MSTORE PUSH2 0x100 DUP6 ADD PUSH2 0x437E SWAP2 PUSH2 0x403A JUMP JUMPDEST PUSH2 0x120 DUP5 ADD MSTORE PUSH1 0xFF AND PUSH2 0x140 DUP4 ADD MSTORE PUSH1 0xFF AND PUSH2 0x160 DUP3 ADD MSTORE PUSH2 0x180 ADD MSTORE JUMP JUMPDEST ISZERO PUSH2 0x43A4 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74207769746820676976656E20696420646F6573206E6F7420657869 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x1CDD PUSH1 0xF2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x43FB JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43617465676F727920646F6573206E6F74206578697374000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x4447 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x88D2E6C6DEEADCE840E8DEDE40D0D2CED PUSH1 0x7B SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x4487 JUMPI JUMP JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74206D75737420626520696E207375626D6974746564207374617465 PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST ISZERO PUSH2 0x44D2 JUMPI JUMP JUMPDEST 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 0x51756F7461206D7573742062652067726561746572207468616E203000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x451E JUMPI JUMP JUMPDEST 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 0x51756F74612065786365656473206576656E7420636170616369747900000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x4262 JUMPI JUMP JUMPDEST ISZERO PUSH2 0x4577 JUMPI JUMP JUMPDEST 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 0x546F74616C2063617465676F72792071756F7461732065786365656420657665 PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x6E74206361706163697479 PUSH1 0xA8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST DUP2 DUP2 LT PUSH2 0x45DB JUMPI POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x45D0 JUMP JUMPDEST SWAP4 PUSH2 0xFFFF PUSH2 0x4609 PUSH1 0x80 SWAP6 SWAP9 SWAP8 SWAP5 DUP3 SWAP5 DUP9 MSTORE PUSH1 0xA0 PUSH1 0x20 DUP10 ADD MSTORE PUSH1 0xA0 DUP9 ADD SWAP1 PUSH2 0x415A JUMP JUMPDEST SWAP8 AND PUSH1 0x40 DUP7 ADD MSTORE AND PUSH1 0x60 DUP5 ADD MSTORE ISZERO ISZERO SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x15F6 JUMPI MLOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x15F6 JUMPI SWAP1 JUMP JUMPDEST ISZERO PUSH2 0x463C JUMPI JUMP JUMPDEST 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 0x526576656E75652073706C6974746572206E6F74207365740000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x4688 JUMPI JUMP JUMPDEST 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 0x4576656E74506C61636520646F6573206E6F7420657869737400000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x46D4 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74506C6163652073746174757320646966666572732066726F6D2073 PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x1D589B5A5D1D1959 PUSH1 0xC2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST DUP2 DUP2 MUL SWAP3 SWAP2 DUP2 ISZERO SWAP2 DUP5 DIV EQ OR ISZERO PUSH2 0x4262 JUMPI JUMP JUMPDEST ISZERO PUSH2 0x4744 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E742073746174757320646966666572732066726F6D207375626D6974 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x1D1959 PUSH1 0xEA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP2 ADD SWAP1 PUSH2 0xFFFF DUP3 MLOAD AND SWAP2 PUSH1 0x60 DUP3 ADD SWAP3 PUSH2 0xFFFF DUP5 MLOAD AND GT PUSH2 0x485D JUMPI MLOAD PUSH2 0xFFFF AND ISZERO ISZERO SWAP2 DUP3 PUSH2 0x484E JUMPI JUMPDEST POP DUP2 PUSH2 0x4840 JUMPI JUMPDEST DUP2 PUSH2 0x482F JUMPI JUMPDEST DUP2 PUSH2 0x481E JUMPI JUMPDEST POP ISZERO PUSH2 0x47DA JUMPI JUMP JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x56616C756573206D7573742062652067726561746572207468616E207A65726F PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST PUSH1 0xFF SWAP2 POP PUSH1 0xC0 ADD MLOAD AND ISZERO ISZERO CODESIZE PUSH2 0x47D2 JUMP JUMPDEST PUSH1 0xA0 DUP2 ADD MLOAD PUSH1 0xFF AND ISZERO ISZERO SWAP2 POP PUSH2 0x47CC JUMP JUMPDEST PUSH1 0x80 DUP2 ADD MLOAD ISZERO ISZERO SWAP2 POP PUSH2 0x47C6 JUMP JUMPDEST MLOAD PUSH2 0xFFFF AND ISZERO ISZERO SWAP2 POP CODESIZE PUSH2 0x47BF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x30 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D6178207469636B657473206D7573742062652067726561746572206F722065 PUSH1 0x44 DUP3 ADD MSTORE PUSH16 0x7175616C206D696E207469636B657473 PUSH1 0x80 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0xFFFF PUSH1 0x1 SWAP2 AND ADD SWAP1 PUSH2 0xFFFF DUP3 GT PUSH2 0x4262 JUMPI JUMP JUMPDEST SWAP1 PUSH2 0xFFFF DUP1 SWAP2 AND SWAP2 AND ADD SWAP1 PUSH2 0xFFFF DUP3 GT PUSH2 0x4262 JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0x5 SHL ADD SWAP1 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x491D JUMPI JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x7E6BD641AA5A36165D118B996B76E05CEFFBB271E65750D5550562C950981CEA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x497D JUMPI JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x49C7 JUMPI POP JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x7E6BD641AA5A36165D118B996B76E05CEFFBB271E65750D5550562C950981CEA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x4A1E JUMPI PUSH2 0x40EF SWAP1 PUSH2 0x57EB JUMP JUMPDEST POP JUMP JUMPDEST SWAP1 PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP2 GT PUSH2 0x4262 JUMPI PUSH3 0x15180 DUP2 MUL SWAP1 DUP1 DUP3 DIV PUSH3 0x15180 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x4262 JUMPI PUSH2 0x4A4E SWAP2 PUSH2 0x4563 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x4AE9 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x4B73 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x4AE9 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x944A3F6A0DB97263C682EDFCE566F4362603AC9455907A1040399DBEEBC10239 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x4AE9 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH32 0x944A3F6A0DB97263C682EDFCE566F4362603AC9455907A1040399DBEEBC10239 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x4B73 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x9 SLOAD SWAP1 PUSH1 0x0 JUMPDEST DUP3 DUP2 LT PUSH2 0x4D62 JUMPI POP POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH2 0x4D6E DUP4 PUSH2 0x3E4A JUMP JUMPDEST POP ADD SLOAD EQ PUSH2 0x4D7F JUMPI JUMPDEST PUSH1 0x1 ADD PUSH2 0x4D53 JUMP JUMPDEST PUSH1 0xFF PUSH1 0x4 PUSH2 0x4D8C DUP4 PUSH2 0x3E4A JUMP JUMPDEST POP ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI ISZERO DUP1 ISZERO PUSH2 0x4DB2 JUMPI JUMPDEST ISZERO PUSH2 0x4D77 JUMPI JUMPDEST POP POP POP PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0xFF PUSH1 0x4 PUSH2 0x4DC0 DUP4 PUSH2 0x3E4A JUMP JUMPDEST POP ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI PUSH1 0x1 EQ PUSH2 0x4DA4 JUMP JUMPDEST SWAP4 SWAP1 SWAP2 PUSH2 0x4DE4 DUP6 PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0xFF PUSH1 0x4 DUP3 ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI PUSH2 0x4E03 SWAP1 ISZERO PUSH2 0x4480 JUMP JUMPDEST PUSH2 0xFFFF DUP3 AND SWAP1 PUSH2 0x4E17 PUSH2 0x2710 DUP4 GT ISZERO PUSH2 0x4440 JUMP JUMPDEST DUP4 ISZERO PUSH2 0x5126 JUMPI PUSH2 0x4E75 PUSH2 0xFFFF DUP8 AND PUSH2 0x4E30 DUP2 ISZERO ISZERO PUSH2 0x44CB JUMP JUMPDEST PUSH1 0x9 PUSH2 0xFFFF PUSH1 0x1 PUSH2 0x4E43 DUP2 DUP8 ADD SLOAD PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0xA0 SHR AND SWAP4 PUSH2 0x4E57 DUP6 DUP5 GT ISZERO PUSH2 0x4517 JUMP JUMPDEST ADD SWAP3 PUSH2 0x4E70 DUP5 SLOAD SWAP2 PUSH2 0x4E69 DUP5 DUP5 PUSH2 0x4563 JUMP JUMPDEST GT ISZERO PUSH2 0x4570 JUMP JUMPDEST PUSH2 0x4563 JUMP JUMPDEST SWAP1 SSTORE JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xC0 DUP2 ADD DUP2 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x3E9A JUMPI PUSH1 0x40 MSTORE DUP5 DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP1 DUP8 DUP3 MSTORE PUSH1 0x40 DUP2 ADD SWAP3 DUP4 MSTORE PUSH1 0x60 DUP2 ADD PUSH2 0xFFFF DUP9 AND DUP2 MSTORE PUSH1 0x80 DUP3 ADD SWAP2 DUP7 ISZERO ISZERO DUP4 MSTORE PUSH1 0xA0 DUP2 ADD SWAP4 PUSH1 0x0 DUP6 MSTORE PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x3E9A JUMPI DUP1 PUSH1 0x1 PUSH2 0x4EE3 SWAP3 ADD PUSH1 0xA SSTORE PUSH2 0x405D JUMP JUMPDEST SWAP3 SWAP1 SWAP3 PUSH2 0x5110 JUMPI MLOAD DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x3E9A JUMPI PUSH2 0x4F06 DUP5 SLOAD PUSH2 0x407C JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x50DE JUMPI JUMPDEST POP PUSH1 0x20 SWAP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 EQ PUSH2 0x505F JUMPI SWAP5 PUSH2 0xFFFF DUP1 PUSH1 0x2 PUSH2 0x4FA4 SWAP8 DUP3 SWAP11 SWAP8 DUP8 PUSH2 0x4F87 SWAP9 PUSH2 0x4FC4 SWAP16 SWAP15 SWAP13 SWAP9 DUP7 SWAP10 PUSH1 0x0 SWAP3 PUSH2 0x5054 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR DUP3 SSTORE JUMPDEST MLOAD PUSH1 0x1 DUP3 ADD SSTORE ADD SWAP10 MLOAD AND AND DUP3 NOT DUP10 SLOAD AND OR DUP9 SSTORE MLOAD AND DUP7 SWAP1 PUSH4 0xFFFF0000 DUP3 SLOAD SWAP2 PUSH1 0x10 SHL AND SWAP1 PUSH4 0xFFFF0000 NOT AND OR SWAP1 SSTORE JUMP JUMPDEST MLOAD DUP5 SLOAD PUSH5 0xFF00000000 NOT AND SWAP1 ISZERO ISZERO PUSH1 0x20 SHL PUSH5 0xFF00000000 AND OR DUP5 SSTORE JUMP JUMPDEST MLOAD DUP3 SLOAD PUSH7 0xFFFF0000000000 NOT AND SWAP2 AND PUSH1 0x28 SHL PUSH7 0xFFFF0000000000 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x0 NOT DUP2 ADD SWAP3 SWAP1 DUP4 GT PUSH2 0x4262 JUMPI DUP6 PUSH1 0x0 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP5 DUP6 SLOAD SWAP3 PUSH1 0x1 PUSH1 0x40 SHL DUP5 LT ISZERO PUSH2 0x3E9A JUMPI PUSH2 0x5043 DUP6 PUSH2 0x502A DUP7 PUSH32 0x54D2DF69997747C3EF7CF04A5C9F979D39ED128D21AF00034E2F660262A8AABB SWAP11 PUSH1 0x1 PUSH2 0x504F SWAP10 ADD DUP2 SSTORE PUSH2 0x41DB JUMP JUMPDEST SWAP1 SWAP2 SWAP1 DUP3 SLOAD SWAP1 PUSH1 0x3 SHL SWAP2 DUP3 SHL SWAP2 PUSH1 0x0 NOT SWAP1 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP6 DUP7 PUSH2 0x45E7 JUMP JUMPDEST SUB SWAP1 LOG2 JUMP JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0x4F42 JUMP JUMPDEST SWAP1 PUSH1 0x1F NOT DUP4 AND SWAP2 DUP6 PUSH1 0x0 MSTORE DUP2 PUSH1 0x0 KECCAK256 SWAP3 PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x50C6 JUMPI POP PUSH1 0x2 PUSH2 0x4FA4 SWAP8 PUSH2 0xFFFF SWAP11 SWAP8 PUSH1 0x1 DUP9 PUSH2 0x4FC4 SWAP16 SWAP15 SWAP13 SWAP8 SWAP9 DUP15 SWAP10 DUP11 SWAP9 PUSH2 0x4F87 SWAP13 DUP11 SWAP10 LT PUSH2 0x50AD JUMPI JUMPDEST POP POP POP DUP2 SHL ADD DUP3 SSTORE PUSH2 0x4F57 JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x50A0 JUMP JUMPDEST SWAP3 SWAP4 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP8 DUP7 ADD MLOAD DUP2 SSTORE ADD SWAP6 ADD SWAP4 ADD PUSH2 0x5072 JUMP JUMPDEST PUSH2 0x510A SWAP1 DUP6 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP7 LT PUSH2 0x3171 JUMPI PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 PUSH2 0x45D0 JUMP JUMPDEST CODESIZE PUSH2 0x4F0F JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH2 0x5130 DUP7 PUSH2 0x5507 JUMP JUMPDEST ISZERO PUSH2 0x4E78 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 0x4F6E6C79206F6E6520756E6C696D697465642071756F74612063617465676F72 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x1E48185B1B1BDDD959 PUSH1 0xBA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH3 0x15180 SWAP1 DIV PUSH3 0x15180 DUP2 MUL SWAP1 DUP1 DUP3 DIV PUSH3 0x15180 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x4262 JUMPI SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SLOAD PUSH2 0x51BA DUP2 PUSH2 0x401B JUMP JUMPDEST POP SWAP2 PUSH1 0x4 DUP2 ADD SLOAD PUSH1 0xFF DUP2 PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI PUSH1 0x1 LT PUSH2 0x54C9 JUMPI PUSH1 0x3 DUP5 ADD SLOAD SWAP4 PUSH1 0xFF DUP6 PUSH1 0x18 SHR AND PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI PUSH1 0x1 SUB PUSH2 0x5484 JUMPI PUSH1 0xFF DUP6 PUSH1 0x10 SHR AND ISZERO PUSH2 0x543F JUMPI PUSH1 0x2 ADD SLOAD PUSH1 0x2 DUP4 ADD SLOAD LT PUSH2 0x53F0 JUMPI PUSH2 0xFFFF AND SWAP3 DUP4 PUSH1 0xFF DUP3 PUSH1 0x8 SHR AND GT PUSH2 0x53AC JUMPI PUSH1 0xFF PUSH2 0x522C TIMESTAMP PUSH2 0x518C JUMP JUMPDEST SWAP2 AND SWAP1 DUP2 PUSH3 0x15180 MUL SWAP2 PUSH3 0x15180 DUP4 DIV SUB PUSH2 0x4262 JUMPI PUSH1 0x3 SWAP2 PUSH2 0x524D SWAP2 PUSH2 0x4563 JUMP JUMPDEST SWAP2 ADD SLOAD DUP1 SWAP2 GT PUSH2 0x535B JUMPI PUSH4 0x1518000 PUSH2 0x526E PUSH2 0x5268 TIMESTAMP PUSH2 0x518C JUMP JUMPDEST DUP4 PUSH2 0x4255 JUMP JUMPDEST GT PUSH2 0x5305 JUMPI PUSH2 0x5280 PUSH2 0x52AA SWAP4 DUP3 PUSH2 0x4A21 JUMP JUMPDEST SWAP2 PUSH2 0x5293 PUSH1 0x1 SLOAD PUSH2 0x53A DUP2 DUP6 LT ISZERO PUSH2 0x555B JUMP JUMPDEST PUSH2 0x52A5 PUSH4 0x1518000 PUSH2 0x554 DUP5 DUP7 PUSH2 0x4255 JUMP JUMPDEST PUSH2 0x5886 JUMP JUMPDEST ISZERO PUSH2 0x52B1 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x526571756573746564206576656E74206F7665726C6170732077697468206578 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x697374696E67 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x526571756573746564206576656E7420697320746F6F2066617220696E207468 PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x6520667574757265 PUSH1 0xC0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6F7420656E6F7567682074696D6520746F2061766F69642063616E63656C6C PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x696E67 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4461797320616D6F756E74206973206C657373207468616E20616C6C6F776564 PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST 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 0x5469636B6574207072696365206973206C657373207468616E20616C6C6F7765 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0xFA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74506C616365206973206E6F7420617661696C61626C650000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74506C616365206D75737420626520617070726F7665640000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x4576656E74206973206E6F7420617661696C61626C65 PUSH1 0x50 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x0 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 DUP1 SLOAD SWAP2 JUMPDEST DUP3 DUP2 LT PUSH2 0x552A JUMPI POP POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0xFF PUSH1 0x2 PUSH2 0x5547 PUSH2 0x553B DUP5 DUP7 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR PUSH2 0x405D JUMP JUMPDEST POP ADD SLOAD PUSH1 0x20 SHR AND ISZERO PUSH2 0x4DAA JUMPI PUSH1 0x1 ADD PUSH2 0x551B JUMP JUMPDEST ISZERO PUSH2 0x5562 JUMPI JUMP JUMPDEST 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 0x537461727420646174652073686F756C6420626520616674657220696E697469 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x185B081BD9999CD95D PUSH1 0xBA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x55C0 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x456E6420646174652073686F756C6420626520616674657220696E697469616C PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x81BD9999CD95D PUSH1 0xCA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x561C JUMPI JUMP JUMPDEST 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 0x446174652072616E67652063616E6E6F74206578636565642032353520646179 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x73 PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST SWAP2 PUSH2 0x56BA SWAP3 PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP2 PUSH3 0x15180 PUSH2 0x568E PUSH1 0x1 SLOAD DUP4 PUSH2 0x4255 JUMP JUMPDEST DIV PUSH1 0x8 SHR SWAP4 DUP5 SWAP2 PUSH2 0x56B4 PUSH3 0x15180 PUSH2 0x56A8 PUSH1 0x1 SLOAD DUP8 PUSH2 0x4255 JUMP JUMPDEST DIV PUSH1 0x8 SHR SWAP7 DUP8 SWAP3 PUSH2 0x5976 JUMP JUMPDEST SWAP4 PUSH2 0x5976 JUMP JUMPDEST SWAP2 PUSH2 0x56C5 DUP3 DUP6 PUSH2 0x59A6 JUMP JUMPDEST DUP5 DUP3 EQ PUSH2 0x5729 JUMPI PUSH2 0x56F8 SWAP3 PUSH2 0x5719 DUP7 SWAP4 PUSH2 0x56F8 PUSH2 0x56F1 PUSH2 0x571E SWAP6 PUSH2 0x56EC PUSH2 0x5724 SWAP12 DUP12 PUSH2 0x59A6 JUMP JUMPDEST PUSH2 0x5A0B JUMP JUMPDEST SWAP2 DUP9 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SWAP2 DUP3 SLOAD DUP3 PUSH1 0x3 SHL SHR OR SWAP1 DUP3 SLOAD SWAP1 PUSH1 0x3 SHL SWAP2 DUP3 SHL SWAP2 PUSH1 0x0 NOT SWAP1 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x5A37 JUMP JUMPDEST SWAP3 PUSH2 0x41DB JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x5724 SWAP5 POP PUSH2 0x56F8 SWAP3 PUSH2 0x571E SWAP2 PUSH2 0x5A55 JUMP JUMPDEST SWAP2 PUSH2 0x575E SWAP3 PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP2 PUSH3 0x15180 PUSH2 0x568E PUSH1 0x1 SLOAD DUP4 PUSH2 0x4255 JUMP JUMPDEST SWAP2 DUP4 SLOAD DUP1 DUP4 LT SWAP1 DUP2 ISZERO SWAP2 PUSH2 0x57E0 JUMPI JUMPDEST POP PUSH2 0x57D6 JUMPI DUP5 DUP3 EQ PUSH2 0x57C4 JUMPI PUSH2 0x579C SWAP3 PUSH2 0x5719 PUSH2 0x5724 SWAP7 SWAP4 PUSH2 0x579C PUSH2 0x5794 PUSH2 0x57BD SWAP6 PUSH2 0x5A0B JUMP JUMPDEST NOT SWAP2 DUP9 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SWAP2 DUP3 SLOAD DUP3 PUSH1 0x3 SHL SHR AND SWAP1 DUP3 SLOAD SWAP1 PUSH1 0x3 SHL SWAP2 DUP3 SHL SWAP2 PUSH1 0x0 NOT SWAP1 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST NOT SWAP3 PUSH2 0x41DB JUMP JUMPDEST PUSH2 0x5724 SWAP5 POP PUSH2 0x579C SWAP3 PUSH2 0x57BD SWAP2 PUSH2 0x5A55 JUMP JUMPDEST POP POP POP POP POP PUSH1 0x1 SWAP1 JUMP JUMPDEST SWAP1 POP DUP6 LT ISZERO CODESIZE PUSH2 0x576D JUMP JUMPDEST PUSH2 0x57F4 SWAP1 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x1 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x580A JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x476976656E206576656E742062656C6F6E677320746F20616E6F746865722070 PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x3937BB34B232B9 PUSH1 0xC9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST SWAP1 PUSH2 0xFFFF AND DUP1 ISZERO PUSH2 0x5882 JUMPI SWAP1 PUSH2 0x2710 PUSH2 0x587B PUSH2 0x4A4E SWAP4 DUP4 PUSH2 0x472A JUMP JUMPDEST DIV SWAP1 PUSH2 0x4255 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP2 DUP3 SLOAD DUP1 ISZERO PUSH2 0x596D JUMPI PUSH3 0x15180 PUSH2 0x58AF PUSH1 0x1 SLOAD DUP5 PUSH2 0x4255 JUMP JUMPDEST DIV PUSH1 0x8 SHR SWAP3 DUP2 DUP5 LT ISZERO PUSH2 0x57D6 JUMPI PUSH2 0x58E6 DUP5 SWAP4 PUSH2 0x58E0 PUSH3 0x15180 PUSH2 0x58D4 PUSH1 0x1 SLOAD DUP7 PUSH2 0x4255 JUMP JUMPDEST DIV PUSH1 0x8 SHR SWAP6 DUP7 SWAP3 PUSH2 0x5976 JUMP JUMPDEST SWAP3 PUSH2 0x5976 JUMP JUMPDEST SWAP1 DUP4 DUP6 EQ PUSH2 0x595D JUMPI PUSH2 0x58F7 SWAP1 PUSH2 0x5A0B JUMP JUMPDEST SWAP2 DUP4 LT ISZERO PUSH2 0x5944 JUMPI PUSH2 0x590B PUSH2 0x5912 SWAP2 PUSH2 0x5A37 JUMP JUMPDEST SWAP4 DUP6 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND ISZERO SWAP3 DUP4 PUSH2 0x5928 JUMPI JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH2 0x5933 SWAP3 SWAP4 POP PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND ISZERO CODESIZE DUP1 DUP1 PUSH2 0x5922 JUMP JUMPDEST POP SWAP3 PUSH2 0x5951 SWAP3 SWAP2 POP PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x5951 SWAP5 SWAP4 POP PUSH2 0x571E SWAP3 POP PUSH2 0x5A55 JUMP JUMPDEST POP POP POP POP PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x5987 PUSH3 0x15180 SWAP2 PUSH1 0x1 SLOAD SWAP1 PUSH2 0x4255 JUMP JUMPDEST DIV SWAP1 DUP1 PUSH1 0x8 SHL SWAP1 DUP1 DUP3 DIV PUSH2 0x100 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x4262 JUMPI PUSH2 0x4A4E SWAP2 PUSH2 0x4255 JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 DUP1 DUP3 GT SWAP2 XOR MUL PUSH1 0x1 XOR PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP2 GT PUSH2 0x4262 JUMPI JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x59CD JUMPI POP POP POP JUMP JUMPDEST DUP2 SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x3E9A JUMPI DUP1 PUSH1 0x1 PUSH2 0x59EB SWAP3 ADD DUP5 SSTORE DUP4 PUSH2 0x41DB JUMP JUMPDEST DUP2 SLOAD SWAP1 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHL NOT AND SWAP1 SSTORE PUSH1 0x0 NOT DUP2 EQ PUSH2 0x4262 JUMPI PUSH1 0x1 ADD PUSH2 0x59C0 JUMP JUMPDEST DUP1 PUSH1 0xFF SUB PUSH1 0xFF DUP2 GT PUSH2 0x4262 JUMPI PUSH1 0x1 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x4262 JUMPI PUSH1 0x1 SWAP1 SHL SWAP1 PUSH1 0x0 NOT DUP3 ADD SWAP2 DUP3 GT PUSH2 0x4262 JUMPI SHL SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x4262 JUMPI PUSH1 0x1 SWAP1 SHL PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP2 GT PUSH2 0x4262 JUMPI SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH2 0x5A60 SWAP2 PUSH2 0x4255 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x4262 JUMPI PUSH1 0x1 SWAP1 SHL SWAP1 PUSH1 0x0 NOT DUP3 ADD SWAP2 DUP3 GT PUSH2 0x4262 JUMPI SHL SWAP1 JUMP INVALID ISZERO 0xB2 0xDA 0x25 0xAD GASPRICE 0xD1 PUSH28 0x120BDF62BCB1D99394802408E2EC63D9836ECFE4AF9A5EBC05C38BA7 PUSH9 0x8F8355C4880BD298FC CALLDATALOAD 0xE8 MCOPY 0xE1 PUSH32 0xE7ECE6B76866024CEB0B6273234D3AD87900CE51C248544F0024B48C13DF583E PUSH26 0xEB6124202253F6C985B68ECC097F9AD0FE95E9677EB635E08A 0x2E 0xAF 0xD1 0xBE NOT DUP3 0xE5 0x4E 0xBB 0xBE MUL TSTORE 0x4D DUP3 DIV PUSH16 0x8DA89D8CF36ABE2D20E715D261AA4110 SMOD CHAINID EXTCODECOPY ISZERO 0xB2 DUP15 0xBB MSTORE 0xD1 DUP5 BYTE 0xB9 0xAC 0x22 0xAA 0xE6 PUSH6 0x108B8C0776DF 0x2C 0x21 PUSH23 0xEDF6F82391C35EA4891146D7A976EE36FD07F1A6FB4EAD 0x4C LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP3 LOG4 GT 0xEB 0x23 RETURNDATACOPY 0xD6 0xC6 PUSH27 0xCCCEEE4450C2AE44B7257A879C53D9DF982800EC1E59A864736F6C PUSH4 0x4300081C STOP CALLER 0x2F DUP8 DUP9 GT PUSH31 0x7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D7E6BD641 0xAA GAS CALLDATASIZE AND TSTORE GT DUP12 SWAP10 PUSH12 0x76E05CEFFBB271E65750D555 SDIV PUSH3 0xC95098 SHR 0xEA SDIV 0xC3 DUP12 0xA7 PUSH9 0x8F8355C4880BD298FC CALLDATALOAD 0xE8 MCOPY 0xE1 PUSH32 0xE7ECE6B76866024CEB0B627323AD3228B676F7D3CD4284A5443F17F1962B36E4 SWAP2 0xB3 EXP BLOCKHASH 0xB2 BLOCKHASH PC BLOBHASH 0xE5 SWAP8 0xBA PUSH0 0xB5 ","sourceMap":"395:36152:30:-:0;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;5952:40;395:36152;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;5702:46;395:36152;;-1:-1:-1;;;;;;395:36152:30;;;-1:-1:-1;;;;;395:36152:30;;;;;;;5758:66;395:36152;;;;;;;;;;;;;;5834:16;395:36152;;;;;;;;;;;5861:39;395:36152;5861:39;:::i;:::-;;5910:32;;;:::i;:::-;;5952:40;:::i;:::-;-1:-1:-1;720:33:30;-1:-1:-1;395:36152:30;;;;;;;3901:22:0;395:36152:30;;798:25;395:36152;;;;;;;798:25;;395:36152;;720:33;5886:52:0;;-1:-1:-1;5886:52:0;395:36152:30;;;;;;;;-1:-1:-1;395:36152:30;;;;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;395:36152:30;;;;-1:-1:-1;;;;;395:36152:30;;;;;;:::o;6179:316:0:-;-1:-1:-1;;;;;395:36152:30;;2232:4:0;395:36152:30;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;2232:4:0;395:36152:30;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;-1:-1:-1;;395:36152:30;;;;;735:10:14;;395:36152:30;-1:-1:-1;;;;;;;;;;;2232:4:0;;6370:40;6347:4;6424:11;:::o;6272:217::-;6466:12;2232:4;6466:12;:::o;6179:316::-;-1:-1:-1;;;;;395:36152:30;;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;-1:-1:-1;;395:36152:30;;;;;735:10:14;;395:36152:30;559:24;;-1:-1:-1;;;;;;;;;;;6370:40:0;395:36152:30;6370:40:0;6347:4;6424:11;:::o;6179:316::-;-1:-1:-1;;;;;395:36152:30;;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;-1:-1:-1;;395:36152:30;;;;;735:10:14;;395:36152:30;635:32;;-1:-1:-1;;;;;;;;;;;6370:40:0;395:36152:30;6370:40:0;6347:4;6424:11;:::o"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":16188,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_68328":{"entryPoint":16210,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_bool_fromMemory":{"entryPoint":17949,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_string":{"entryPoint":16232,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_uint16":{"entryPoint":15834,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_uint16_68299":{"entryPoint":15817,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint256t_stringt_uint16t_uint16t_bool":{"entryPoint":16318,"id":null,"parameterSlots":1,"returnSlots":5},"abi_decode_uint256t_uint256":{"entryPoint":16455,"id":null,"parameterSlots":1,"returnSlots":2},"abi_decode_uint8":{"entryPoint":15930,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint8_68300":{"entryPoint":15849,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint8_68301":{"entryPoint":15865,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint8_68303":{"entryPoint":15881,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint8_68304":{"entryPoint":15897,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint8_68312":{"entryPoint":15914,"id":null,"parameterSlots":0,"returnSlots":1},"abi_encode_address_address":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_address_address_uint256":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_address_uint256":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_address_uint256_uint16_uint16_uint256_uint8_uint8_bool_enum_EventPlaceStatus_bytes32_uint8_uint8_uint256":{"entryPoint":17181,"id":null,"parameterSlots":14,"returnSlots":1},"abi_encode_enum_EventPlaceStatus":{"entryPoint":16442,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_enum_EventStatus":{"entryPoint":16153,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_string":{"entryPoint":16730,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_string_uint256_uint16_uint16_bool_uint16":{"entryPoint":16795,"id":null,"parameterSlots":7,"returnSlots":1},"abi_encode_struct_Multihash":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"abi_encode_uint256_string_uint16_uint16_bool":{"entryPoint":17895,"id":null,"parameterSlots":6,"returnSlots":1},"checked_add_uint16":{"entryPoint":18639,"id":null,"parameterSlots":2,"returnSlots":1},"checked_add_uint16_68342":{"entryPoint":18619,"id":null,"parameterSlots":1,"returnSlots":1},"checked_add_uint256":{"entryPoint":17763,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_uint256":{"entryPoint":18218,"id":null,"parameterSlots":2,"returnSlots":1},"checked_sub_uint256":{"entryPoint":16981,"id":null,"parameterSlots":2,"returnSlots":1},"clear_storage_range_bytes1":{"entryPoint":17872,"id":null,"parameterSlots":2,"returnSlots":0},"copy_array_from_storage_to_memory_string":{"entryPoint":16566,"id":null,"parameterSlots":1,"returnSlots":1},"extract_byte_array_length":{"entryPoint":16508,"id":null,"parameterSlots":1,"returnSlots":1},"finalize_allocation":{"entryPoint":16076,"id":null,"parameterSlots":2,"returnSlots":0},"finalize_allocation_68305":{"entryPoint":15999,"id":null,"parameterSlots":1,"returnSlots":0},"finalize_allocation_68306":{"entryPoint":16048,"id":null,"parameterSlots":1,"returnSlots":0},"fun_allocateDateRange_inner":{"entryPoint":22123,"id":null,"parameterSlots":3,"returnSlots":1},"fun_applyDiscount":{"entryPoint":22623,"id":10821,"parameterSlots":2,"returnSlots":1},"fun_calcDaysAfter":{"entryPoint":18977,"id":11074,"parameterSlots":2,"returnSlots":1},"fun_checkNoOverlap_inner":{"entryPoint":22662,"id":null,"parameterSlots":3,"returnSlots":1},"fun_checkRole":{"entryPoint":18852,"id":93,"parameterSlots":1,"returnSlots":0},"fun_checkRole_68319":{"entryPoint":18678,"id":93,"parameterSlots":0,"returnSlots":0},"fun_checkRole_68329":{"entryPoint":18756,"id":93,"parameterSlots":0,"returnSlots":0},"fun_createBucketsIfNeeded":{"entryPoint":22950,"id":12840,"parameterSlots":2,"returnSlots":0},"fun_createCategoryForEvent":{"entryPoint":19928,"id":11296,"parameterSlots":5,"returnSlots":0},"fun_dateToBucketRelativeDays":{"entryPoint":22902,"id":12781,"parameterSlots":2,"returnSlots":1},"fun_daysRangeToMask":{"entryPoint":23125,"id":12806,"parameterSlots":2,"returnSlots":1},"fun_daysRangeToMask_68788":{"entryPoint":23051,"id":12806,"parameterSlots":1,"returnSlots":1},"fun_daysRangeToMask_68789":{"entryPoint":23095,"id":12806,"parameterSlots":1,"returnSlots":1},"fun_ensureEventBelongsToProvider":{"entryPoint":22507,"id":11153,"parameterSlots":1,"returnSlots":0},"fun_ensureEventBelongsToProviderOrMaster":{"entryPoint":18911,"id":11171,"parameterSlots":1,"returnSlots":0},"fun_eventHasUnlimitedCategory":{"entryPoint":21767,"id":11136,"parameterSlots":1,"returnSlots":1},"fun_floorTimestampToDate":{"entryPoint":20876,"id":11055,"parameterSlots":1,"returnSlots":1},"fun_freeDateRange_inner":{"entryPoint":22331,"id":null,"parameterSlots":3,"returnSlots":1},"fun_getRoleAdmin":{"entryPoint":null,"id":128,"parameterSlots":1,"returnSlots":1},"fun_grantRole":{"entryPoint":19183,"id":256,"parameterSlots":2,"returnSlots":1},"fun_grantRole_68330":{"entryPoint":19025,"id":256,"parameterSlots":1,"returnSlots":1},"fun_hasActiveEvents":{"entryPoint":19788,"id":9108,"parameterSlots":1,"returnSlots":1},"fun_revokeRole":{"entryPoint":19658,"id":294,"parameterSlots":2,"returnSlots":1},"fun_revokeRole_68404":{"entryPoint":19322,"id":294,"parameterSlots":1,"returnSlots":1},"fun_revokeRole_68410":{"entryPoint":19472,"id":294,"parameterSlots":1,"returnSlots":1},"fun_validateEvent":{"entryPoint":20908,"id":10479,"parameterSlots":1,"returnSlots":0},"fun_validateEventPlace":{"entryPoint":18325,"id":9837,"parameterSlots":1,"returnSlots":0},"memory_array_index_access_address":{"entryPoint":18661,"id":null,"parameterSlots":2,"returnSlots":1},"read_from_storage_reference_type_struct_EventPlace":{"entryPoint":17016,"id":null,"parameterSlots":1,"returnSlots":1},"read_from_storage_reference_type_struct_Multihash":{"entryPoint":16109,"id":null,"parameterSlots":1,"returnSlots":1},"require_helper_stringliteral":{"entryPoint":17973,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_0622":{"entryPoint":18237,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_1b41":{"entryPoint":21851,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_2cd1":{"entryPoint":17611,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_3d4b":{"entryPoint":17309,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_3fc3":{"entryPoint":18125,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_45af":{"entryPoint":17396,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_541c":{"entryPoint":22037,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_5bc1":{"entryPoint":18049,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_5d48":{"entryPoint":17472,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_92d9":{"entryPoint":17687,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_9625":{"entryPoint":21945,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_a2d0":{"entryPoint":17776,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_c113":{"entryPoint":16883,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_c584":{"entryPoint":17536,"id":null,"parameterSlots":1,"returnSlots":0},"storage_array_index_access_struct_EventPlace__dyn":{"entryPoint":16411,"id":null,"parameterSlots":1,"returnSlots":2},"storage_array_index_access_struct_Event__dyn":{"entryPoint":15946,"id":null,"parameterSlots":1,"returnSlots":2},"storage_array_index_access_struct_TicketCategory__dyn":{"entryPoint":16477,"id":null,"parameterSlots":1,"returnSlots":2},"storage_array_index_access_uint256_dyn":{"entryPoint":16859,"id":null,"parameterSlots":2,"returnSlots":2},"update_storage_value_offset_22_uint16_to_uint16":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"update_storage_value_offset_2_bool_to_bool":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"update_storage_value_offset_2_uint16_to_uint16":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"update_storage_value_offset_bool_to_bool":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"update_storage_value_offset_t_uint16_to_t_uint16":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"update_storage_value_offset_uint16_to_uint16":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"update_storage_value_offset_uint8_to_uint8":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"update_storage_value_uint256_to_uint256":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":0},"write_to_memory_enum_EventPlaceStatus":{"entryPoint":16969,"id":null,"parameterSlots":2,"returnSlots":0}},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"608080604052600436101561001357600080fd5b600090813560e01c90816301ffc9a714613d7457508063080a5a19146138e85780630b7914301461381c5780630ddee657146132ef578063124f615b14612ede57806312c5502714612ec1578063248a9ca314612e8b57806326fd107814612e625780632ee07c0014612b015780632f2ff15d14612ac057806330366d5f14612aa257806333dcc3b01461299257806336568abe1461294d57806339ee53b1146129245780633bf00de6146128335780633f69babd146125255780634b8ac1d21461247e5780635c517ad2146124555780635d20248c14611de957806361a52a3614611dcb57806390cb984514611cb657806391d1485414611c6b57806392c2becc14611c30578063995deaba14611c075780639d2b86f614611bde5780639ec47d7414611857578063a217fddf1461183b578063a23ed0ea146116c5578063a74d237a14610e3d578063af1194be14610ba9578063b02dfa8f14610b35578063c31da59b14610942578063c511eef814610734578063c6cdbe5e146106c7578063c785d4e714610636578063cf6272a21461060c578063d547741f146105c2578063d7a8d96f146103a0578063d8b03fa414610377578063dc2248631461034e578063df71e9a71461030d578063ee97f7f3146102e4578063eeb58da5146102765763f3052d261461020557600080fd5b346102735760203660031901126102735761022e600435610229600a5482106143f4565b61405d565b5060018101549061026f6102466002830154926140b6565b604051938361ffff869560281c169260ff8260201c169261ffff808460101c169316918761419b565b0390f35b80fd5b5034610273576020366003190112610273577f94a541ed5bd917fc5c41e47580a934608eeeac1ff9780b05684b239d3069b11460206102b3613f52565b6102bb614944565b600780546001600160a01b0319166001600160a01b03929092169182179055604051908152a180f35b50346102735780600319360112610273576005546040516001600160a01b039091168152602090f35b50346102735761031c36614047565b91908152600b6020526040812090815483101561027357602061033f84846141db565b90549060031b1c604051908152f35b50346102735780600319360112610273576020604051600080516020615b218339815191528152f35b50346102735780600319360112610273576020604051600080516020615a818339815191528152f35b503461027357610100366003190112610273576004356024356044359160643560843561ffff81168091036105be5760a4356103da613e3a565b916103e3613e09565b936103ec6148f6565b6103f9600954871061439d565b61040286613e4a565b509760018901978854610414816157eb565b60038b019a8b918254600483019261ffff845416948684149e8f159f6105b3575b8f156105a8575b87905587600283015561044e8961518c565b9055835461ffff1916891784556040519b8c9b61046a8d613e7f565b8b8d5260ff9081166020909d018d9052811660409d909d018d9052600682018b905560078201805461ffff19168d1760089290921b61ff00169190911790556104b2906151ac565b7f0a77f211d2fe7b0b3c4d15f44cbd0b7b5a47a486439226b2a844d951df1f72159d6101009d61050f575b5050505050604051978852602088015260408701526060860152608085015260a084015260c083015260e0820152a180f35b61055f61056a938361052761059d9861ffff96614a21565b9161054260015461053a8185101561555b565b8410156155b9565b61055a63015180006105548486614255565b10615615565b61573b565b505492541682614a21565b9061058560015461057d8184101561555b565b8310156155b9565b61059763015180006105548385614255565b8361566b565b5038808080806104dd565b868b14159f5061043c565b838a14159f50610435565b8580fd5b5034610273576040366003190112610273576106086004356105e2613f3c565b906106036105fe82600052600060205260016040600020015490565b6149a4565b614cca565b5080f35b503461027357602036600319011261027357610608610629613f52565b6106316148f6565b614c10565b503461027357602036600319011261027357610650613f52565b610658614944565b6001600160a01b03168015610682576bffffffffffffffffffffffff60a01b600654161760065580f35b60405162461bcd60e51b815260206004820152601f60248201527f53706c697474657220616464726573732063616e6e6f74206265207a65726f006044820152606490fd5b503461027357602036600319011261027357600435600a54811015610730576106ef9061405d565b506106f9816140b6565b61026f6002600184015493015491604051938361ffff869560281c169260ff8260201c169261ffff808460101c169316918761419b565b5080fd5b50346102735760203660031901126102735761074e613f52565b610756614944565b6001600160a01b038116825b6008548110156108b857808261077960019361401b565b5083808060a01b039101541614610791575b01610762565b818060a01b0360055416826107a58361401b565b500180546001600160a01b03191660a085901b859003928316179055600554600080516020615ac1833981519152918391166108b061ffff866107e78561401b565b50015460a01c168361ffff886107fc8361401b565b50015460b01c16600261080e8361401b565b50015460ff600361081e8561401b565b5001541660ff600361082f8661401b565b50015460081c1660ff60036108438761401b565b50015460101c169060ff60036108588861401b565b50015460181c1692600461086b8861401b565b5001549460ff600561087c8a61401b565b500154169660066108a060ff60056108938d61401b565b50015460081c169a61401b565b500154996040519d8e9d8e61431d565b0390a161078b565b505060065460055483916001600160a01b039182169116803b1561093e5760405163489be24560e11b81526001600160a01b03858116600483015292909216602483015282908290604490829084905af180156109335761091e575b5061060882614b7a565b8161092891613ecc565b610730578138610914565b6040513d84823e3d90fd5b8280fd5b503461027357602036600319011261027357600080516020615b2183398151915281526020818152604080832033600090815292529020546004359060ff1615610b28575b610994600954821061439d565b61099d81613e4a565b509060018201908154916109b0836149df565b600484019260ff845460101c166005811015610b14576109de610a24926109d96020931561473d565b61401b565b5060035487546006929092015460405163a9059cbb60e01b81526001600160a01b03938416600482015260248101919091529384929091169082908a9082906044820190565b03925af1908115610b09578691610ada575b5015610a955760ff604093610a7c600080516020615b01833981519152966003610a91956202000062ff0000198654161785555491015461052761ffff85541682614a21565b505460101c1683519283526020830190613f19565ba180f35b60405162461bcd60e51b815260206004820152601e60248201527f4661696c656420746f20726566756e64206576656e74207265717565737400006044820152606490fd5b610afc915060203d602011610b02575b610af48183613ecc565b81019061461d565b38610a36565b503d610aea565b6040513d88823e3d90fd5b634e487b7160e01b87526021600452602487fd5b610b306148f6565b610987565b5034610273576020366003190112610273576003610b64600435610b576148f6565b6109d96008548210614681565b500160ff815460181c166003811015610b9557610b8190156146cd565b805463ff0000001916630200000017905580f35b634e487b7160e01b83526021600452602483fd5b503461027357610bb836614047565b600080516020615b21833981519152835260208381526040808520336000908152925290205460ff1615610e30575b610bf4600954831061439d565b610bfd82613e4a565b5060018101610c0c81546149df565b600482019260ff845460101c166005811015610b1457610c2c901561473d565b848652600b602052604086205415610ddd576006546040516315b935b560e11b8152600481018390523360248201526001600160a01b0390911690602081604481855afa908115610dd2578891610db3575b5015610d5d578691813b1561093e578291604483926040519485938492630339a01960e31b84528c600485015260248401525af1801561093357610d3e575b50600080516020615b01833981519152604086610a9160ff88610d1a8960038a54910154610cf061ffff85541682614a21565b91610d0360015461053a8185101561555b565b610d1563015180006105548486614255565b61566b565b506201000062ff0000198254161781555460101c1683519283526020830190613f19565b81610d4b91969496613ecc565b610d59578438949294610cbd565b8480fd5b60405162461bcd60e51b815260206004820152602860248201527f43616c6c6572206d757374206f776e2074686520646973747269627574696f6e6044820152672070726f66696c6560c01b6064820152608490fd5b610dcc915060203d602011610b0257610af48183613ecc565b38610c7e565b6040513d8a823e3d90fd5b60405162461bcd60e51b815260206004820152602560248201527f4576656e74206d7573742068617665206174206c65617374206f6e652063617460448201526465676f727960d81b6064820152608490fd5b610e386148f6565b610be7565b5034610273576101003660031901126102735760643561ffff8116810361073057610e66613e2a565b610e6e613e3a565b906001600160401b0360e435116116c15736602360e4350112156116c1576001600160401b0360e43560040135116116c15736602460e4356004013560051b60e4350101116116c157610ec660085460043510614681565b6006610ed360043561401b565b500154801561167c576003546040516370a0823160e01b81523360048201526001600160a01b0390911690602081602481855afa80156116035783918891611647575b501061160e57604051636eb1769f60e11b8152336004820152306024820152602081604481855afa801561160357839188916115c9575b5010611584576040516323b872dd60e01b815233600482015230602482015260448101929092526020908290606490829089905af190811561157957859161155a575b501561151557610fa160443561518c565b9360209260405195610fb38588613ecc565b828752600036813760405190610fc882613e7f565b608435825260ff85168683015260ff831660408301526040519761014089018981106001600160401b038211176114d95760405233895286890192600435845260408a0191602435835260608b0193845261ffff8a1660808c01528660a08c015260c08b015260e08a0152846101008a0152846101208a0152600954600160401b8110156114d9578060016110609201600955613e4a565b93909361150157895184546001600160a01b0319166001600160a01b0391909116178455516001840155516002830155516003820155608087015160048201805461ffff191661ffff9290921691909117905560a08701519660058810156114ed5760009762ff000060048401549160101b169062ff0000191617600483015560c08101518051906001600160401b0382116114d957600160401b82116114d957879060058501548360058701558084106114bc575b5001600584018652878620865b8381106114a15750505050610120816111748860ff604060e06009970151805160068a0155828060078b01958301511616831985541617845501511661ff0082549160081b169061ff001916179055565b61010081015160088501550151910155600954928360001981011161148d576111a96111a36000198601613e4a565b506151ac565b60e435600401351561143e57825b60e435600401358110156112bd5760248160051b60e4350101359060a21960e435360301821215610d5957608060e435830136036023190112610d5957604051608081018181106001600160401b038211176112a9576040526001600160401b0360248460e435010135116105be5761123c36602460e4358601818101350101613f68565b9283825261125060448260e4350101613dda565b808a840152608461126760648460e4350101613dda565b9283604086015260e4350101359485151586036112a55761ffff8087600198606061129f980152151594169216906000198b01614dd8565b016111b7565b8c80fd5b634e487b7160e01b87526041600452602487fd5b5091949092936112d06000198601613e4a565b506112de600182015461401b565b50906112ed6000198801615507565b15611369575b877f643a612289e1dd3493236d0c8a82f599690d576e4f1d8511e3ec6dc9ad28ebb96101208960ff8a818b61ffff8c8c6040519760001901885233908801526004356040880152602435606088015260443560808801521660a086015260843560c08601521660e084015216610100820152a180f35b6009600191015491015461ffff8160b01c1682106113e75760a01c61ffff16106113945786806112f3565b6084906040519062461bcd60e51b82526004820152602660248201527f546f74616c207469636b6574732063616e6e6f7420657863656564206d61785460448201526569636b65747360d01b6064820152fd5b60405162461bcd60e51b815260048101849052602960248201527f546f74616c207469636b657473206d757374206265206174206c65617374206d604482015268696e5469636b65747360b81b6064820152608490fd5b60405162461bcd60e51b815260048101869052602160248201527f4174206c65617374206f6e652063617465676f727920697320726571756972656044820152601960fa1b6064820152608490fd5b634e487b7160e01b83526011600452602483fd5b82516001600160a01b03168282015591890191600101611123565b6005860188528288206114d39181019085016145d0565b38611116565b634e487b7160e01b86526041600452602486fd5b634e487b7160e01b84526021600452602484fd5b634e487b7160e01b86526004869052602486fd5b60405162461bcd60e51b815260206004820152601c60248201527f4576656e742072657175657374207061796d656e74206661696c6564000000006044820152606490fd5b611573915060203d602011610b0257610af48183613ecc565b38610f90565b6040513d87823e3d90fd5b60405162461bcd60e51b815260206004820152601f60248201527f526571756972656420616d6f756e7420776173206e6f7420616c6c6f776564006044820152606490fd5b9150506020813d6020116115fb575b816115e560209383613ecc565b810103126115f65782905138610f4d565b600080fd5b3d91506115d8565b6040513d89823e3d90fd5b60405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820746f6b656e7360781b6044820152606490fd5b9150506020813d602011611674575b8161166360209383613ecc565b810103126115f65782905138610f16565b3d9150611656565b60405162461bcd60e51b815260206004820152601e60248201527f4576656e74506c616365206465706f736974206d7573742062652073657400006044820152606490fd5b8380fd5b5034610273576116d436613fbe565b600080516020615ae1833981519152865260208681526040808820336000908152925290205490939192919060ff1615611816576009548510156117da5761171b85613e4a565b50546001600160a01b0316331480156117ab575b156117405761173d94614dd8565b80f35b60405162461bcd60e51b815260206004820152603760248201527f4f6e6c79206576656e742063726561746f72206f72206c6f63616c2070726f7660448201527f696465722063616e206164642063617465676f726965730000000000000000006064820152608490fd5b50600080516020615a81833981519152865260208681526040808820336000908152925290205460ff1661172f565b60405162461bcd60e51b8152602060048201526014602482015273115d995b9d08191bd95cc81b9bdd08195e1a5cdd60621b6044820152606490fd5b63e2517d3f60e01b865233600452600080516020615ae1833981519152602452604486fd5b5034610273578060031936011261027357602090604051908152f35b50346102735761016036600319011261027357600435611875613dc9565b9060443561ffff811681036116c15761188c613df9565b611894613e2a565b60c435948515158603611bda576118a9613e19565b90610124359260ff84168403611bd6576118c16148f6565b600854871015611b91576118d48761401b565b5060018101549091906001600160a01b03163303611b365760ff600383015460181c166003811015611b2257600103611acb5760068201546101443503611a1f575b60018201805461ffff60b01b60b08a901b1663ffffffff60a01b1990911661ffff60a01b60a087901b1617179055606435600283015560038201805462ff00008b151560101b1662ffffff1990911660ff89161761ff00600885901b1617179055604051600080516020615ac183398151915299611a1997969594939290916119e1906119a281613e7f565b60e43580825260ff88811660208401819052908a16604090930192909252600486015560058501805461ffff1916909117600889901b61ff0016179055565b6119f26119ed84614278565b614795565b600660ff600385015460181c16930154966040519a8b9a60e43596606435928d339061431d565b0390a180f35b9493929190611a2d88614d4c565b611a6a57600080516020615ac183398151915298611a1996611a536101443515156141f3565b610144356006840155919293949596509850611916565b60405162461bcd60e51b815260206004820152603360248201527f43616e6e6f74206368616e6765206465706f736974207768696c652074686572604482015272652061726520616374697665206576656e747360681b6064820152608490fd5b60405162461bcd60e51b815260206004820152602960248201527f4576656e74506c616365206d75737420626520617070726f76656420746f206260448201526819481d5c19185d195960ba1b6064820152608490fd5b634e487b7160e01b8b52602160045260248bfd5b60405162461bcd60e51b815260206004820152602d60248201527f476976656e206576656e7420706c6163652062656c6f6e677320746f20616e6f60448201526c3a3432b910383937bb34b232b960991b6064820152608490fd5b60405162461bcd60e51b815260206004820152601960248201527f6576656e74506c61636549642073686f756c64206578697374000000000000006044820152606490fd5b8880fd5b8680fd5b50346102735780600319360112610273576006546040516001600160a01b039091168152602090f35b50346102735780600319360112610273576007546040516001600160a01b039091168152602090f35b503461027357806003193601126102735760206040517f25cf2b509f2a7f322675b2a5322b182f44ad2c03ac941a0af17c9b178f5d5d5f8152f35b5034610273576040366003190112610273576040611c87613f3c565b91600435815280602052209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b503461027357611cc536614047565b9190611ccf6148f6565b611cdc6008548210614681565b611ce78315156141f3565b611cf08161401b565b506003810160ff815460181c166003811015611db75794611a1991611d25600080516020615ac18339815191529697156146cd565b630100000063ff000000198254161781556001840160018060a01b0333166bffffffffffffffffffffffff60a01b82541617815582600686015554946002850154915494600560048201549101549260405197889760ff808760081c1696169460ff8260181c169360ff8360101c169360ff808560081c1694169261ffff808360b01c169260a01c16908d339061431d565b634e487b7160e01b85526021600452602485fd5b50346102735780600319360112610273576020604051620151808152f35b50346102735760c03660031901126102735760043590602435611e0a613de9565b611e12613df9565b60a435916001600160a01b038316918284036105be57611e3e6009548810611e398161439d565b61439d565b611e4787613e4a565b509460ff600487015460101c1660058110156124415760010361240457611e71600a5482106143f4565b611e7a8161405d565b50886001820154036123b05760020180549060ff8260201c16612315575b611eae915061ffff60028901549154169061585f565b9384800460011485151715612301576003546040516323b872dd60e01b81523360048201523060248201526044810187905290602090829060649082908d906001600160a01b03165af19081156122f65789916122d7575b50156122925760075488966001600160a01b039091169081612014575b5050879860018060a09a9798999a1b036004541693843b15611bda5786946101249360ff8793816040519a8b998a986305a02d9360e51b8a523360048b015260248a015260448901526001606489015260443560848901521660a48701521660c485015260e4840152886101048401525af1801561093357611fff575b505060058301805490600160401b8210156114d95792600892611fcf83611ffa966001611ff0960181556141db565b81546001600160a01b0360039290921b91821b19163390911b179055614255565b9201918254614563565b905580f35b8161200991613ecc565b6116c1578338611fa0565b612064975060e091879133850361228d57508a5b60405163e696d10d851b81523360048201526001600160a01b0390911660248201526044810192909252909788919082908c9082906064820190565b03925af1988915610dd257889989978a916121b5575b5096895b6003811061208f5750819a50611f23565b8a8c6001600160a01b036120a384836148e5565b51161515806121a2575b6120bc575b505060010161207e565b60035461211c9260209290916001600160a01b03908116916120df9087906148e5565b51166120eb86886148e5565b5160405163a9059cbb60e01b81526001600160a01b0390921660048301526024820152938492839182906044820190565b03925af1908115612197578c91612179575b501561213b578a8c6120b2565b60405162461bcd60e51b815260206004820152601660248201527511985a5b1959081d1bc81c185e481c9959995c9c985b60521b6044820152606490fd5b612191915060203d8111610b0257610af48183613ecc565b3861212e565b6040513d8e823e3d90fd5b506121ad83856148e5565b5115156120ad565b9a5050955060e03d60e011612286575b6121cf818b613ecc565b89019560e08a880312611bd65786601f8b011215611bd657604051966121f6606089613ecc565b60608b019a88828d1161225a5781905b8d821061226257505081607f8201121561225e576040519b61222960608e613ecc565b60c08d920192831161225a57905b82821061224a575050519699963861207a565b8151815260209182019101612237565b8b80fd5b8a80fd5b81516001600160a01b038116810361228257815260209182019101612206565b8d80fd5b503d6121c5565b612028565b60405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f207472616e7366657220746f6b656e73000000000000006044820152606490fd5b6122f0915060203d602011610b0257610af48183613ecc565b38611f06565b6040513d8b823e3d90fd5b634e487b7160e01b88526011600452602488fd5b61ffff8260281c169161ffff8061232b856148bb565b9260101c1691161161236b57612366612346611eae936148bb565b825466ffff0000000000191660289190911b66ffff000000000016178255565b611e98565b60405162461bcd60e51b815260206004820152601760248201527f43617465676f72792071756f74612065786365656465640000000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152602660248201527f43617465676f727920646f6573206e6f742062656c6f6e6720746f207468697360448201526508195d995b9d60d21b6064820152608490fd5b60405162461bcd60e51b8152602060048201526015602482015274115d995b9d081a5cc81b9bdd08185c1c1c9bdd9959605a1b6044820152606490fd5b634e487b7160e01b88526021600452602488fd5b50346102735780600319360112610273576003546040516001600160a01b039091168152602090f35b5034610273576020366003190112610273576004358152600b60205260408120604051908160208254918281520190819285526020852090855b81811061250f57505050826124ce910383613ecc565b604051928392602084019060208552518091526040840192915b8181106124f6575050500390f35b82518452859450602093840193909201916001016124e8565b82548452602090930192600192830192016124b8565b503461027357602036600319011261027357600080516020615b2183398151915281526020818152604080832033600090815292529020546004359060ff1615612826575b612577600954821061439d565b61258081613e4a565b50906001820154612590816149df565b600483019260ff845460101c166005811015612812576001036127b7576125b7859261401b565b50906006820154806126ed575b506008019081549081612611575b83600080516020615b01833981519152604087610a9160ff8b868a556203000062ff0000198254161781555460101c1683519283526020830190613f19565b6003546001919091015460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810193909352929493509091602091839160449183918a91165af19081156115795785916126ce575b50156126735790839038806125d2565b60405162461bcd60e51b815260206004820152602d60248201527f4661696c656420746f207472616e73666572207469636b657420726576656e7560448201526c32903a3790383937bb34b232b960991b6064820152608490fd5b6126e7915060203d602011610b0257610af48183613ecc565b38612663565b600354825460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101939093529294509091602091839160449183918b91165af1908115610b09578691612798575b5015612747578491386125c4565b60405162461bcd60e51b815260206004820152602360248201527f4661696c656420746f20726566756e64206465706f73697420746f20637265616044820152623a37b960e91b6064820152608490fd5b6127b1915060203d602011610b0257610af48183613ecc565b38612739565b60405162461bcd60e51b815260206004820152602d60248201527f4f6e6c79206576656e7420696e20617070726f7665642073746174652063616e60448201526c0818994818d85b98d95b1b1959609a1b6064820152608490fd5b634e487b7160e01b86526021600452602486fd5b61282e6148f6565b61256a565b50346102735760203660031901126102735760043590600854821015610273576101a061285f8361401b565b5060018060a01b038154169061291c6001820154916128f8600282015460038301549061ffff600661289360048701613eed565b9501549660405198895260018060a01b03811660208a0152818160a01c1660408a015260b01c166060880152608087015260ff811660a087015260ff8160081c1660c087015260ff8160101c16151560e087015260ff61010087019160181c1661403a565b61012084019060ff6040809280518552826020820151166020860152015116910152565b610180820152f35b50346102735780600319360112610273576020604051600080516020615ae18339815191528152f35b503461027357604036600319011261027357612967613f3c565b336001600160a01b038216036129835761060890600435614cca565b63334bd91960e11b8252600482fd5b5034610273576040366003190112610273576129ac613f52565b6129b4614944565b6001600160a01b03811615612a4f576006548291906129dd906001600160a01b03161515614635565b6129e681614a51565b506006546001600160a01b0316803b15612a4b5760405163593f8c2560e01b81526001600160a01b03929092166004830152602480359083015282908290604490829084905af1801561093357612a3a5750f35b81612a4491613ecc565b6102735780f35b5050fd5b60405162461bcd60e51b815260206004820152602560248201527f4c6f63616c2070726f76696465722063616e6e6f74206265207a65726f206164604482015264647265737360d81b6064820152608490fd5b50346102735780600319360112610273576020600954604051908152f35b503461027357604036600319011261027357610608600435612ae0613f3c565b90612afc6105fe82600052600060205260016040600020015490565b614aef565b503461027357602036600319011261027357600080516020615b2183398151915281526020818152604080832033600090815292529020546004359060ff1615612e55575b612b53600954821061439d565b612b5c81613e4a565b50600181015490612b6c826149df565b6004810191825460ff8160101c166005811015610b1457600103612dfd576003830154612b9d9161ffff1690614a21565b421115612db8576020612bb2612bf89261401b565b5060035484546006929092015460405163a9059cbb60e01b81526001600160a01b0393841660048201526024810191909152938492909116908290899082906044820190565b03925af1908115611579578591612d99575b5015612d485760088491015480612c5a575b5091610a9160ff604093600080516020615b0183398151915295506204000062ff0000198254161781555460101c1683519283526020830190613f19565b600654612cb79060209083906001600160a01b0316612c7a811515614635565b60035460405163095ea7b360e01b81526001600160a01b039283166004820152602481019390935291938492909116908290879082906044820190565b03925af18015612d3d57612d20575b506006546001600160a01b031690813b1561093e578291604483926040519485938492634ae699ef60e01b845260048401528960248401525af180156109335715612c1c5781612d1591613ecc565b61093e578238612c1c565b612d389060203d602011610b0257610af48183613ecc565b612cc6565b6040513d85823e3d90fd5b60405162461bcd60e51b815260206004820152602360248201527f4661696c656420746f2072657475726e206465706f73697420746f20637265616044820152623a37b960e91b6064820152608490fd5b612db2915060203d602011610b0257610af48183613ecc565b38612c0a565b60405162461bcd60e51b815260206004820152601f60248201527f4576656e7420686173206e6f74206265656e2066696e697368656420796574006044820152606490fd5b60405162461bcd60e51b815260206004820152602a60248201527f4f6e6c79206576656e7420696e20617070726f7665642073746174652063616e6044820152690818994818db1bdcd95960b21b6064820152608490fd5b612e5d6148f6565b612b46565b50346102735780600319360112610273576004546040516001600160a01b039091168152602090f35b5034610273576020366003190112610273576020612eb9600435600052600060205260016040600020015490565b604051908152f35b503461027357806003193601126102735760206040516101008152f35b503461027357612eed36613fbe565b612efc959491959392936148f6565b612f09600a5483106143f4565b612f1b61271061ffff86161115614440565b612f248261405d565b509560018701612f348154613e4a565b506001612f438183015461401b565b500154336001600160a01b038216036132845760ff600483015460101c16600581101561327057612f749015614480565b84156132035761ffff8416612f8a8115156144cb565b60028b01549161ffff8360281c1682106131a757612fdc91600961ffff612fd39360a01c1695612fbc87841115614517565b019384549060ff8160201c1661318f575b50614563565b92831115614570565b555b8451976001600160401b03891161317b57612ff9815461407c565b601f8111613140575b50602098601f81116001146130b05784600261309f9695949383613091948d9e7f10911411b2f44e2516f7dd0deb300cad44abf67ade2e67b6883bd6d43605435c9d9e916130a5575b508160011b916000199060031b1c19161781555b01805464ffffffffff191661ffff8c161763ffff0000601087901b161791151560201b64ff0000000016919091179055565b5496604051958695866145e7565b0390a280f35b90508b01513861304b565b81895289892099601f1982168a5b8181106131285750869594936001847f10911411b2f44e2516f7dd0deb300cad44abf67ade2e67b6883bd6d43605435c9c9d9e61309f9a95613091976002961061310f575b5050811b01815561305f565b8d015160001960f88460031b161c191690553880613103565b898301518d556001909c019b602092830192016130be565b61316b90828a5260208a20601f8c0160051c81019160208d10613171575b601f0160051c01906145d0565b38613002565b909150819061315e565b634e487b7160e01b88526041600452602488fd5b9061ffff6131a19260101c1690614255565b38612fcd565b60405162461bcd60e51b815260206004820152602e60248201527f51756f74612063616e6e6f74206265206c657373207468616e207469636b657460448201526d1cc8185b1c9958591e481cdbdb1960921b6064820152608490fd5b505060ff600289015460201c1615612fde5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f74206368616e67652066726f6d206c696d6974656420746f20756e60448201526c6c696d697465642071756f746160981b6064820152608490fd5b634e487b7160e01b8a52602160045260248afd5b60405162461bcd60e51b815260206004820152603a60248201527f4f6e6c7920746865206c6f63616c2070726f7669646572206f6620746865206560448201527f76656e742063616e207570646174652063617465676f726965730000000000006064820152608490fd5b50346102735760e03660031901126102735760443590600435602435613313613df9565b61331b613e2a565b9460c435926001600160a01b03841692838503611bda576133436009548710611e398161439d565b82156137d75761335286613e4a565b509560ff600488015460101c1660058110156137c3576001036124045761337c600a5484106143f4565b6133858361405d565b50816001820154036123b05760020180549060ff8260201c16613785575b6133b9915061ffff60028a01549154169061585f565b986133c4858b61472a565b6003546040516323b872dd60e01b81523360048201523060248201526044810183905291979190602090829060649082908f906001600160a01b03165af190811561377a578b9161375b575b5015612292576007548a986001600160a01b0390911690816134ec575b5050899a60018060a09c98999a9b9c1b036004541691823b156134e85760ff889481610124986040519c8d9b8c9a6305a02d9360e51b8c523360048d015260248c015260448b015260648a015260643560848a01521660a48801521660c486015260e48501526101048401525af18015611579576134d4575b5060058301805490600160401b8210156114d95792600892611fcf83611ffa966001611ff0960181556141db565b846134e191959295613ecc565b92386134a6565b8780fd5b61353c995060e091899133850361375657508c5b60405163e696d10d851b81523360048201526001600160a01b039091166024820152604481019290925290998a919082908e9082906064820190565b03925af19a8b1561374b578a988b908c9d61365f575b5060039c998c9d8e5b106135695750819c5061342d565b8d6001600160a01b0361357c82846148e5565b51161515908161364b575b5061359a575b600160039e019d8e61355b565b6135cb60208f8f9060018060a01b0360035416906120eb60018060a01b036135c283896148e5565b511691886148e5565b03925af190811561363e578e91613620575b5061358d5760405162461bcd60e51b815260206004820152601660248201527511985a5b1959081d1bc81c185e481c9959995c9c985b60521b6044820152606490fd5b613638915060203d8111610b0257610af48183613ecc565b386135dd565b8e604051903d90823e3d90fd5b6136569150836148e5565b5115158e613587565b9b9a9950509a5060e03d60e011613744575b61367b818c613ecc565b8a019a60e08b8d0312613740578b601f8c011215613740578a9b8a9b999a50604051906136a9606083613ecc565b6060829b019a818c11612282578e8c839282915b8210613710575050607f0112156112a5576040519a6136dd60608d613ecc565b60c08c9f01918211612282579d818f5b106136fe5750519c50986003613552565b8e51815260209e8f019e01818f6136ed565b815191935091506001600160a01b038116810361373c5781602092918392520191018f9083928e6136bd565b8f80fd5b8980fd5b503d613671565b6040513d8c823e3d90fd5b613500565b613774915060203d602011610b0257610af48183613ecc565b38613410565b6040513d8d823e3d90fd5b61ffff8260281c169161ffff87169061ffff806137a284876148cf565b9260101c1691161161236b576123466137be916133b9946148cf565b6133a3565b634e487b7160e01b89526021600452602489fd5b60405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606490fd5b503461027357602036600319011261027357600435906009548210156102735761016061384883613e4a565b5060018060a01b03815416906001810154906138da60028201546138b7600384015460048501549061387c60068701613eed565b936009600888015497015497604051998a5260208a01526040890152606088015261ffff8116608088015260ff60a088019160101c16613f19565b60c085019060ff6040809280518552826020820151166020860152015116910152565b610120830152610140820152f35b503461027357610140366003190112610273576004359061ffff8216820361027357613912613dc9565b60443561391d613de9565b613925613df9565b60a4359182151583036105be5761393a613e09565b93613943613e19565b600080516020615a81833981519152885260208881526040808a20338b5290915288205460ff1698909690898015613d47575b15613d125789613cff575b8915613cf957335b8a15613cf35760015b6040519061399f82613e7f565b60c435825260ff8a16602083015260ff8b166040830152888888604051946139c686613eb0565b338652602086019660018060a01b03168752604086019661ffff891688526060870161ffff8b16815260808801928c845260ff60a08a019516855260ff60c08a019616865260e089019615158752613a236101008a019889614249565b61012089015261012435610140890152600854600160401b811015613cdb57806001613a52920160085561401b565b999099613cc45788518a546001600160a01b0319166001600160a01b03918216178b55925160018b0180549251935160a09490941b61ffff60a01b16919094166001600160c01b0319909216919091171760b09190911b61ffff60b01b16179055516002870155516003860180549251935161ff0060089590951b9490941660ff90921662ffffff19909316929092171791151560101b62ff000016919091179055516003811015613cb0576006916101409163ff00000060038601549160181b169063ff0000001916176003850155613b646101208201518051600487015560ff60406005880192828060208301511616831985541617845501511661ff0082549160081b169061ff001916179055565b01519101556008546000198101908111613c9c57899a613b8f6119ed613b898461401b565b50614278565b15613c1c5760408051338152602081019290925261ffff9283169082015291166060820152608081019190915260ff91821660a0820152911660c082015290151560e082015292509160ff6101a09281600080516020615ac183398151915295600161010086015260c435610120860152166101408401521661016082015261012435610180820152a180f35b98506040519889523360208a015261ffff16604089015261ffff166060880152608087015260ff1660a086015260ff1660c0850152151560e084015260c43561010084015260ff1661012083015260ff166101408201526101607f9ff4f860dc119dff15347f57fad0189a16d6940238a52efe730908119a17450c91a180f35b634e487b7160e01b8a52601160045260248afd5b634e487b7160e01b8c52602160045260248cfd5b5050505060248f634e487b7160e01b815280600452fd5b5050505060248f634e487b7160e01b81526041600452fd5b89613992565b88613989565b613d0d6101243515156141f3565b613981565b60405162461bcd60e51b815260206004820152600d60248201526c1858d8d95cdcc819195b9a5959609a1b6044820152606490fd5b50600080516020615ae1833981519152895260208981526040808b20338c5290915289205460ff16613976565b9050346107305760203660031901126107305760043563ffffffff60e01b811680910361093e5760209250637965db0b60e01b8114908115613db8575b5015158152f35b6301ffc9a760e01b14905038613db1565b6024359061ffff821682036115f657565b359061ffff821682036115f657565b6064359060ff821682036115f657565b6084359060ff821682036115f657565b60e4359060ff821682036115f657565b610104359060ff821682036115f657565b60a4359060ff821682036115f657565b60c4359060ff821682036115f657565b600954811015613e69576009600052600a602060002091020190600090565b634e487b7160e01b600052603260045260246000fd5b606081019081106001600160401b03821117613e9a57604052565b634e487b7160e01b600052604160045260246000fd5b61016081019081106001600160401b03821117613e9a57604052565b90601f801991011681019081106001600160401b03821117613e9a57604052565b90604051613efa81613e7f565b604060ff60018395805485520154818116602085015260081c16910152565b906005821015613f265752565b634e487b7160e01b600052602160045260246000fd5b602435906001600160a01b03821682036115f657565b600435906001600160a01b03821682036115f657565b81601f820112156115f6578035906001600160401b038211613e9a5760405192613f9c601f8401601f191660200185613ecc565b828452602083830101116115f657816000926020809301838601378301015290565b9060a06003198301126115f65760043591602435906001600160401b0382116115f657613fed91600401613f68565b9060443561ffff811681036115f6579060643561ffff811681036115f6579060843580151581036115f65790565b600854811015613e695760086000526007602060002091020190600090565b906003821015613f265752565b60409060031901126115f6576004359060243590565b600a54811015613e6957600a6000526003602060002091020190600090565b90600182811c921680156140ac575b602083101461409657565b634e487b7160e01b600052602260045260246000fd5b91607f169161408b565b90604051918260008254926140ca8461407c565b808452936001811690811561413857506001146140f1575b506140ef92500383613ecc565b565b90506000929192526020600020906000915b81831061411c5750509060206140ef92820101386140e2565b6020919350806001915483858901015201910190918492614103565b9050602092506140ef94915060ff191682840152151560051b820101386140e2565b919082519283825260005b848110614186575050826000602080949584010152601f8019910116010190565b80602080928401015182828601015201614165565b949060a09461ffff80956141bc82949b9a969b60c08b5260c08b019061415a565b9a60208a01521660408801521660608601521515608085015216910152565b8054821015613e695760005260206000200190600090565b156141fa57565b60405162461bcd60e51b815260206004820152602160248201527f4465706f736974206d7573742062652067726561746572207468616e207a65726044820152606f60f81b6064820152608490fd5b6003821015613f265752565b9190820391821161426257565b634e487b7160e01b600052601160045260246000fd5b9060405161428581613eb0565b6101406006829460018060a01b03815416845261ffff600182015460018060a01b0381166020870152818160a01c16604087015260b01c1660608501526002810154608085015261430460ff600383015481811660a0880152818160081c1660c0880152818160101c16151560e088015260181c166101008601614249565b61431060048201613eed565b6101208501520154910152565b9a98969492909d9c9b99979593916101a08c019e600160a01b60019003168c5260208c015261ffff1660408b015261ffff1660608a0152608089015260ff1660a088015260ff1660c0870152151560e0860152610100850161437e9161403a565b61012084015260ff1661014083015260ff166101608201526101800152565b156143a457565b60405162461bcd60e51b815260206004820152602260248201527f4576656e74207769746820676976656e20696420646f6573206e6f74206578696044820152611cdd60f21b6064820152608490fd5b156143fb57565b60405162461bcd60e51b815260206004820152601760248201527f43617465676f727920646f6573206e6f742065786973740000000000000000006044820152606490fd5b1561444757565b60405162461bcd60e51b8152602060048201526011602482015270088d2e6c6deeadce840e8dede40d0d2ced607b1b6044820152606490fd5b1561448757565b606460405162461bcd60e51b815260206004820152602060248201527f4576656e74206d75737420626520696e207375626d69747465642073746174656044820152fd5b156144d257565b60405162461bcd60e51b815260206004820152601c60248201527f51756f7461206d7573742062652067726561746572207468616e2030000000006044820152606490fd5b1561451e57565b60405162461bcd60e51b815260206004820152601c60248201527f51756f74612065786365656473206576656e74206361706163697479000000006044820152606490fd5b9190820180921161426257565b1561457757565b60405162461bcd60e51b815260206004820152602b60248201527f546f74616c2063617465676f72792071756f746173206578636565642065766560448201526a6e7420636170616369747960a81b6064820152608490fd5b8181106145db575050565b600081556001016145d0565b9361ffff6146096080959897948294885260a0602089015260a088019061415a565b971660408601521660608401521515910152565b908160209103126115f6575180151581036115f65790565b1561463c57565b60405162461bcd60e51b815260206004820152601860248201527f526576656e75652073706c6974746572206e6f742073657400000000000000006044820152606490fd5b1561468857565b60405162461bcd60e51b815260206004820152601960248201527f4576656e74506c61636520646f6573206e6f74206578697374000000000000006044820152606490fd5b156146d457565b60405162461bcd60e51b815260206004820152602860248201527f4576656e74506c6163652073746174757320646966666572732066726f6d20736044820152671d589b5a5d1d195960c21b6064820152608490fd5b8181029291811591840414171561426257565b1561474457565b60405162461bcd60e51b815260206004820152602360248201527f4576656e742073746174757320646966666572732066726f6d207375626d69746044820152621d195960ea1b6064820152608490fd5b604081019061ffff82511691606082019261ffff8451161161485d575161ffff161515918261484e575b5081614840575b8161482f575b8161481e575b50156147da57565b606460405162461bcd60e51b815260206004820152602060248201527f56616c756573206d7573742062652067726561746572207468616e207a65726f6044820152fd5b60ff915060c00151161515386147d2565b60a081015160ff16151591506147cc565b6080810151151591506147c6565b5161ffff1615159150386147bf565b60405162461bcd60e51b815260206004820152603060248201527f4d6178207469636b657473206d7573742062652067726561746572206f72206560448201526f7175616c206d696e207469636b65747360801b6064820152608490fd5b61ffff60019116019061ffff821161426257565b9061ffff8091169116019061ffff821161426257565b906003811015613e695760051b0190565b336000908152600080516020615aa1833981519152602052604090205460ff161561491d57565b63e2517d3f60e01b60005233600452600080516020615a8183398151915260245260446000fd5b3360009081527f7e6bd641aa5a36165d118b996b76e05ceffbb271e65750d5550562c950981cea602052604090205460ff161561497d57565b63e2517d3f60e01b60005233600452600080516020615b2183398151915260245260446000fd5b60008181526020818152604080832033845290915290205460ff16156149c75750565b63e2517d3f60e01b6000523360045260245260446000fd5b3360009081527f7e6bd641aa5a36165d118b996b76e05ceffbb271e65750d5550562c950981cea602052604090205460ff16614a1e576140ef906157eb565b50565b906000198101908111614262576201518081029080820462015180149015171561426257614a4e91614563565b90565b6001600160a01b0381166000908152600080516020615aa1833981519152602052604090205460ff16614ae9576001600160a01b03166000818152600080516020615aa183398151915260205260408120805460ff19166001179055339190600080516020615a81833981519152907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50600090565b6000818152602081815260408083206001600160a01b038616845290915290205460ff16614b73576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5050600090565b6001600160a01b0381166000908152600080516020615aa1833981519152602052604090205460ff1615614ae9576001600160a01b03166000818152600080516020615aa183398151915260205260408120805460ff19169055339190600080516020615a81833981519152907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6001600160a01b03811660009081527f944a3f6a0db97263c682edfce566f4362603ac9455907a1040399dbeebc10239602052604090205460ff1615614ae9576001600160a01b031660008181527f944a3f6a0db97263c682edfce566f4362603ac9455907a1040399dbeebc1023960205260408120805460ff19169055339190600080516020615ae1833981519152907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6000818152602081815260408083206001600160a01b038616845290915290205460ff1615614b73576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6009549060005b828110614d6257505050600090565b816001614d6e83613e4a565b50015414614d7f575b600101614d53565b60ff6004614d8c83613e4a565b50015460101c166005811015613f2657158015614db2575b15614d77575b505050600190565b5060ff6004614dc083613e4a565b50015460101c166005811015613f2657600114614da4565b939091614de485613e4a565b5060ff600482015460101c166005811015613f2657614e039015614480565b61ffff821690614e17612710831115614440565b831561512657614e7561ffff8716614e308115156144cb565b600961ffff6001614e438187015461401b565b50015460a01c1693614e5785841115614517565b0192614e70845491614e698484614563565b1115614570565b614563565b90555b60405160c081018181106001600160401b03821117613e9a576040528481526020810190878252604081019283526060810161ffff881681526080820191861515835260a081019360008552600a54600160401b811015613e9a57806001614ee39201600a5561405d565b92909261511057518051906001600160401b038211613e9a57614f06845461407c565b601f81116150de575b50602090601f831160011461505f579461ffff806002614fa497829a9787614f8798614fc49f9e9c988699600092615054575b50508160011b916000199060031b1c19161782555b516001820155019951161682198954161788555116869063ffff000082549160101b169063ffff00001916179055565b51845464ff00000000191690151560201b64ff0000000016178455565b51825466ffff00000000001916911660281b66ffff000000000016179055565b600a546000198101929083116142625785600052600b602052604060002094855492600160401b841015613e9a576150438561502a867f54d2df69997747c3ef7cf04a5c9f979d39ed128d21af00034e2f660262a8aabb9a600161504f990181556141db565b90919082549060031b91821b91600019901b1916179055565b604051958695866145e7565b0390a2565b015190503880614f42565b90601f1983169185600052816000209260005b8181106150c657506002614fa49761ffff9a97600188614fc49f9e9c97988e998a98614f879c8a99106150ad575b505050811b018255614f57565b015160001960f88460031b161c191690553880806150a0565b92936020600181928786015181550195019301615072565b61510a90856000526020600020601f850160051c8101916020861061317157601f0160051c01906145d0565b38614f0f565b634e487b7160e01b600052600060045260246000fd5b5061513086615507565b15614e785760405162461bcd60e51b815260206004820152602960248201527f4f6e6c79206f6e6520756e6c696d697465642071756f74612063617465676f726044820152681e48185b1b1bddd95960ba1b6064820152608490fd5b620151809004620151808102908082046201518014901517156142625790565b60018101546151ba8161401b565b5091600481015460ff8160101c166005811015613f26576001106154c95760038401549360ff8560181c166003811015613f26576001036154845760ff8560101c161561543f57600201546002830154106153f05761ffff16928360ff8260081c16116153ac5760ff61522c4261518c565b91169081620151800291620151808304036142625760039161524d91614563565b91015480911161535b57630151800061526e6152684261518c565b83614255565b11615305576152806152aa9382614a21565b9161529360015461053a8185101561555b565b6152a563015180006105548486614255565b615886565b156152b157565b60405162461bcd60e51b815260206004820152602660248201527f526571756573746564206576656e74206f7665726c6170732077697468206578604482015265697374696e6760d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602860248201527f526571756573746564206576656e7420697320746f6f2066617220696e207468604482015267652066757475726560c01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f4e6f7420656e6f7567682074696d6520746f2061766f69642063616e63656c6c604482015262696e6760e81b6064820152608490fd5b606460405162461bcd60e51b815260206004820152602060248201527f4461797320616d6f756e74206973206c657373207468616e20616c6c6f7765646044820152fd5b60405162461bcd60e51b815260206004820152602160248201527f5469636b6574207072696365206973206c657373207468616e20616c6c6f77656044820152601960fa1b6064820152608490fd5b60405162461bcd60e51b815260206004820152601b60248201527f4576656e74506c616365206973206e6f7420617661696c61626c6500000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601b60248201527f4576656e74506c616365206d75737420626520617070726f76656400000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260166024820152754576656e74206973206e6f7420617661696c61626c6560501b6044820152606490fd5b600052600b60205260406000206000908054915b82811061552a57505050600090565b60ff600261554761553b84866141db565b90549060031b1c61405d565b50015460201c1615614daa5760010161551b565b1561556257565b60405162461bcd60e51b815260206004820152602960248201527f537461727420646174652073686f756c6420626520616674657220696e697469604482015268185b081bd9999cd95d60ba1b6064820152608490fd5b156155c057565b60405162461bcd60e51b815260206004820152602760248201527f456e6420646174652073686f756c6420626520616674657220696e697469616c604482015266081bd9999cd95d60ca1b6064820152608490fd5b1561561c57565b60405162461bcd60e51b815260206004820152602160248201527f446174652072616e67652063616e6e6f742065786365656420323535206461796044820152607360f81b6064820152608490fd5b916156ba9260005260026020526040600020916201518061568e60015483614255565b0460081c9384916156b4620151806156a860015487614255565b0460081c968792615976565b93615976565b916156c582856159a6565b848214615729576156f89261571986936156f86156f161571e956156ec6157249b8b6159a6565b615a0b565b91886141db565b909182548260031b1c179082549060031b91821b91600019901b1916179055565b615a37565b926141db565b600190565b61572494506156f89261571e91615a55565b9161575e9260005260026020526040600020916201518061568e60015483614255565b918354808310908115916157e0575b506157d6578482146157c45761579c92615719615724969361579c6157946157bd95615a0b565b1991886141db565b909182548260031b1c169082549060031b91821b91600019901b1916179055565b19926141db565b615724945061579c926157bd91615a55565b5050505050600190565b90508510153861576d565b6157f49061401b565b50600101546001600160a01b0316330361580a57565b60405162461bcd60e51b815260206004820152602760248201527f476976656e206576656e742062656c6f6e677320746f20616e6f7468657220706044820152663937bb34b232b960c91b6064820152608490fd5b9061ffff168015615882579061271061587b614a4e938361472a565b0490614255565b5090565b91909160005260026020526040600020918254801561596d57620151806158af60015484614255565b0460081c92818410156157d6576158e684936158e0620151806158d460015486614255565b0460081c958692615976565b92615976565b9083851461595d576158f790615a0b565b918310156159445761590b61591291615a37565b93856141db565b90549060031b1c16159283615928575b50505090565b6159339293506141db565b90549060031b1c1615388080615922565b50926159519291506141db565b90549060031b1c161590565b61595194935061571e9250615a55565b50505050600190565b615987620151809160015490614255565b04908060081b90808204610100149015171561426257614a4e91614255565b805460018082119118026001186000198101908111614262575b828111156159cd57505050565b8154600160401b811015613e9a578060016159eb92018455836141db565b8154906000199060031b1b191690556000198114614262576001016159c0565b8060ff0360ff81116142625760018101809111614262576001901b906000198201918211614262571b90565b60018101809111614262576001901b60001981019081116142625790565b9081615a6091614255565b60018101809111614262576001901b906000198201918211614262571b9056fe15b2da25ad3ad17b120bdf62bcb1d99394802408e2ec63d9836ecfe4af9a5ebc05c38ba7688f8355c4880bd298fc35e85ee17fe7ece6b76866024ceb0b6273234d3ad87900ce51c248544f0024b48c13df583e7900eb6124202253f6c985b68ecc097f9ad0fe95e9677eb635e08a2eafd1be1982e54ebbbe025d4d82046f8da89d8cf36abe2d20e715d261aa411007463c15b28ebb52d1841ab9ac22aae665108b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4ca264697066735822122082a411eb233ed6c67accceee4450c2ae44b7257a879c53d9df982800ec1e59a864736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SWAP1 DUP2 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x1FFC9A7 EQ PUSH2 0x3D74 JUMPI POP DUP1 PUSH4 0x80A5A19 EQ PUSH2 0x38E8 JUMPI DUP1 PUSH4 0xB791430 EQ PUSH2 0x381C JUMPI DUP1 PUSH4 0xDDEE657 EQ PUSH2 0x32EF JUMPI DUP1 PUSH4 0x124F615B EQ PUSH2 0x2EDE JUMPI DUP1 PUSH4 0x12C55027 EQ PUSH2 0x2EC1 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x2E8B JUMPI DUP1 PUSH4 0x26FD1078 EQ PUSH2 0x2E62 JUMPI DUP1 PUSH4 0x2EE07C00 EQ PUSH2 0x2B01 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x2AC0 JUMPI DUP1 PUSH4 0x30366D5F EQ PUSH2 0x2AA2 JUMPI DUP1 PUSH4 0x33DCC3B0 EQ PUSH2 0x2992 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x294D JUMPI DUP1 PUSH4 0x39EE53B1 EQ PUSH2 0x2924 JUMPI DUP1 PUSH4 0x3BF00DE6 EQ PUSH2 0x2833 JUMPI DUP1 PUSH4 0x3F69BABD EQ PUSH2 0x2525 JUMPI DUP1 PUSH4 0x4B8AC1D2 EQ PUSH2 0x247E JUMPI DUP1 PUSH4 0x5C517AD2 EQ PUSH2 0x2455 JUMPI DUP1 PUSH4 0x5D20248C EQ PUSH2 0x1DE9 JUMPI DUP1 PUSH4 0x61A52A36 EQ PUSH2 0x1DCB JUMPI DUP1 PUSH4 0x90CB9845 EQ PUSH2 0x1CB6 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x1C6B JUMPI DUP1 PUSH4 0x92C2BECC EQ PUSH2 0x1C30 JUMPI DUP1 PUSH4 0x995DEABA EQ PUSH2 0x1C07 JUMPI DUP1 PUSH4 0x9D2B86F6 EQ PUSH2 0x1BDE JUMPI DUP1 PUSH4 0x9EC47D74 EQ PUSH2 0x1857 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x183B JUMPI DUP1 PUSH4 0xA23ED0EA EQ PUSH2 0x16C5 JUMPI DUP1 PUSH4 0xA74D237A EQ PUSH2 0xE3D JUMPI DUP1 PUSH4 0xAF1194BE EQ PUSH2 0xBA9 JUMPI DUP1 PUSH4 0xB02DFA8F EQ PUSH2 0xB35 JUMPI DUP1 PUSH4 0xC31DA59B EQ PUSH2 0x942 JUMPI DUP1 PUSH4 0xC511EEF8 EQ PUSH2 0x734 JUMPI DUP1 PUSH4 0xC6CDBE5E EQ PUSH2 0x6C7 JUMPI DUP1 PUSH4 0xC785D4E7 EQ PUSH2 0x636 JUMPI DUP1 PUSH4 0xCF6272A2 EQ PUSH2 0x60C JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x5C2 JUMPI DUP1 PUSH4 0xD7A8D96F EQ PUSH2 0x3A0 JUMPI DUP1 PUSH4 0xD8B03FA4 EQ PUSH2 0x377 JUMPI DUP1 PUSH4 0xDC224863 EQ PUSH2 0x34E JUMPI DUP1 PUSH4 0xDF71E9A7 EQ PUSH2 0x30D JUMPI DUP1 PUSH4 0xEE97F7F3 EQ PUSH2 0x2E4 JUMPI DUP1 PUSH4 0xEEB58DA5 EQ PUSH2 0x276 JUMPI PUSH4 0xF3052D26 EQ PUSH2 0x205 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x22E PUSH1 0x4 CALLDATALOAD PUSH2 0x229 PUSH1 0xA SLOAD DUP3 LT PUSH2 0x43F4 JUMP JUMPDEST PUSH2 0x405D JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SLOAD SWAP1 PUSH2 0x26F PUSH2 0x246 PUSH1 0x2 DUP4 ADD SLOAD SWAP3 PUSH2 0x40B6 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP4 DUP4 PUSH2 0xFFFF DUP7 SWAP6 PUSH1 0x28 SHR AND SWAP3 PUSH1 0xFF DUP3 PUSH1 0x20 SHR AND SWAP3 PUSH2 0xFFFF DUP1 DUP5 PUSH1 0x10 SHR AND SWAP4 AND SWAP2 DUP8 PUSH2 0x419B JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH32 0x94A541ED5BD917FC5C41E47580A934608EEEAC1FF9780B05684B239D3069B114 PUSH1 0x20 PUSH2 0x2B3 PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x2BB PUSH2 0x4944 JUMP JUMPDEST PUSH1 0x7 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 DUP3 OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG1 DUP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x5 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x31C CALLDATASIZE PUSH2 0x4047 JUMP JUMPDEST SWAP2 SWAP1 DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SWAP1 DUP2 SLOAD DUP4 LT ISZERO PUSH2 0x273 JUMPI PUSH1 0x20 PUSH2 0x33F DUP5 DUP5 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH1 0x44 CALLDATALOAD SWAP2 PUSH1 0x64 CALLDATALOAD PUSH1 0x84 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x5BE JUMPI PUSH1 0xA4 CALLDATALOAD PUSH2 0x3DA PUSH2 0x3E3A JUMP JUMPDEST SWAP2 PUSH2 0x3E3 PUSH2 0x3E09 JUMP JUMPDEST SWAP4 PUSH2 0x3EC PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x3F9 PUSH1 0x9 SLOAD DUP8 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0x402 DUP7 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP8 PUSH1 0x1 DUP10 ADD SWAP8 DUP9 SLOAD PUSH2 0x414 DUP2 PUSH2 0x57EB JUMP JUMPDEST PUSH1 0x3 DUP12 ADD SWAP11 DUP12 SWAP2 DUP3 SLOAD PUSH1 0x4 DUP4 ADD SWAP3 PUSH2 0xFFFF DUP5 SLOAD AND SWAP5 DUP7 DUP5 EQ SWAP15 DUP16 ISZERO SWAP16 PUSH2 0x5B3 JUMPI JUMPDEST DUP16 ISZERO PUSH2 0x5A8 JUMPI JUMPDEST DUP8 SWAP1 SSTORE DUP8 PUSH1 0x2 DUP4 ADD SSTORE PUSH2 0x44E DUP10 PUSH2 0x518C JUMP JUMPDEST SWAP1 SSTORE DUP4 SLOAD PUSH2 0xFFFF NOT AND DUP10 OR DUP5 SSTORE PUSH1 0x40 MLOAD SWAP12 DUP13 SWAP12 PUSH2 0x46A DUP14 PUSH2 0x3E7F JUMP JUMPDEST DUP12 DUP14 MSTORE PUSH1 0xFF SWAP1 DUP2 AND PUSH1 0x20 SWAP1 SWAP14 ADD DUP14 SWAP1 MSTORE DUP2 AND PUSH1 0x40 SWAP14 SWAP1 SWAP14 ADD DUP14 SWAP1 MSTORE PUSH1 0x6 DUP3 ADD DUP12 SWAP1 SSTORE PUSH1 0x7 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND DUP14 OR PUSH1 0x8 SWAP3 SWAP1 SWAP3 SHL PUSH2 0xFF00 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH2 0x4B2 SWAP1 PUSH2 0x51AC JUMP JUMPDEST PUSH32 0xA77F211D2FE7B0B3C4D15F44CBD0B7B5A47A486439226B2A844D951DF1F7215 SWAP14 PUSH2 0x100 SWAP14 PUSH2 0x50F JUMPI JUMPDEST POP POP POP POP POP PUSH1 0x40 MLOAD SWAP8 DUP9 MSTORE PUSH1 0x20 DUP9 ADD MSTORE PUSH1 0x40 DUP8 ADD MSTORE PUSH1 0x60 DUP7 ADD MSTORE PUSH1 0x80 DUP6 ADD MSTORE PUSH1 0xA0 DUP5 ADD MSTORE PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0xE0 DUP3 ADD MSTORE LOG1 DUP1 RETURN JUMPDEST PUSH2 0x55F PUSH2 0x56A SWAP4 DUP4 PUSH2 0x527 PUSH2 0x59D SWAP9 PUSH2 0xFFFF SWAP7 PUSH2 0x4A21 JUMP JUMPDEST SWAP2 PUSH2 0x542 PUSH1 0x1 SLOAD PUSH2 0x53A DUP2 DUP6 LT ISZERO PUSH2 0x555B JUMP JUMPDEST DUP5 LT ISZERO PUSH2 0x55B9 JUMP JUMPDEST PUSH2 0x55A PUSH4 0x1518000 PUSH2 0x554 DUP5 DUP7 PUSH2 0x4255 JUMP JUMPDEST LT PUSH2 0x5615 JUMP JUMPDEST PUSH2 0x573B JUMP JUMPDEST POP SLOAD SWAP3 SLOAD AND DUP3 PUSH2 0x4A21 JUMP JUMPDEST SWAP1 PUSH2 0x585 PUSH1 0x1 SLOAD PUSH2 0x57D DUP2 DUP5 LT ISZERO PUSH2 0x555B JUMP JUMPDEST DUP4 LT ISZERO PUSH2 0x55B9 JUMP JUMPDEST PUSH2 0x597 PUSH4 0x1518000 PUSH2 0x554 DUP4 DUP6 PUSH2 0x4255 JUMP JUMPDEST DUP4 PUSH2 0x566B JUMP JUMPDEST POP CODESIZE DUP1 DUP1 DUP1 DUP1 PUSH2 0x4DD JUMP JUMPDEST DUP7 DUP12 EQ ISZERO SWAP16 POP PUSH2 0x43C JUMP JUMPDEST DUP4 DUP11 EQ ISZERO SWAP16 POP PUSH2 0x435 JUMP JUMPDEST DUP6 DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x608 PUSH1 0x4 CALLDATALOAD PUSH2 0x5E2 PUSH2 0x3F3C JUMP JUMPDEST SWAP1 PUSH2 0x603 PUSH2 0x5FE DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x49A4 JUMP JUMPDEST PUSH2 0x4CCA JUMP JUMPDEST POP DUP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x608 PUSH2 0x629 PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x631 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x4C10 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x650 PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x658 PUSH2 0x4944 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0x682 JUMPI PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL PUSH1 0x6 SLOAD AND OR PUSH1 0x6 SSTORE DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x53706C697474657220616464726573732063616E6E6F74206265207A65726F00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0xA SLOAD DUP2 LT ISZERO PUSH2 0x730 JUMPI PUSH2 0x6EF SWAP1 PUSH2 0x405D JUMP JUMPDEST POP PUSH2 0x6F9 DUP2 PUSH2 0x40B6 JUMP JUMPDEST PUSH2 0x26F PUSH1 0x2 PUSH1 0x1 DUP5 ADD SLOAD SWAP4 ADD SLOAD SWAP2 PUSH1 0x40 MLOAD SWAP4 DUP4 PUSH2 0xFFFF DUP7 SWAP6 PUSH1 0x28 SHR AND SWAP3 PUSH1 0xFF DUP3 PUSH1 0x20 SHR AND SWAP3 PUSH2 0xFFFF DUP1 DUP5 PUSH1 0x10 SHR AND SWAP4 AND SWAP2 DUP8 PUSH2 0x419B JUMP JUMPDEST POP DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x74E PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x756 PUSH2 0x4944 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP3 JUMPDEST PUSH1 0x8 SLOAD DUP2 LT ISZERO PUSH2 0x8B8 JUMPI DUP1 DUP3 PUSH2 0x779 PUSH1 0x1 SWAP4 PUSH2 0x401B JUMP JUMPDEST POP DUP4 DUP1 DUP1 PUSH1 0xA0 SHL SUB SWAP2 ADD SLOAD AND EQ PUSH2 0x791 JUMPI JUMPDEST ADD PUSH2 0x762 JUMP JUMPDEST DUP2 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x5 SLOAD AND DUP3 PUSH2 0x7A5 DUP4 PUSH2 0x401B JUMP JUMPDEST POP ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0xA0 DUP6 SWAP1 SHL DUP6 SWAP1 SUB SWAP3 DUP4 AND OR SWAP1 SSTORE PUSH1 0x5 SLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 DUP4 SWAP2 AND PUSH2 0x8B0 PUSH2 0xFFFF DUP7 PUSH2 0x7E7 DUP6 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0xA0 SHR AND DUP4 PUSH2 0xFFFF DUP9 PUSH2 0x7FC DUP4 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0xB0 SHR AND PUSH1 0x2 PUSH2 0x80E DUP4 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0xFF PUSH1 0x3 PUSH2 0x81E DUP6 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD AND PUSH1 0xFF PUSH1 0x3 PUSH2 0x82F DUP7 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0x8 SHR AND PUSH1 0xFF PUSH1 0x3 PUSH2 0x843 DUP8 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0x10 SHR AND SWAP1 PUSH1 0xFF PUSH1 0x3 PUSH2 0x858 DUP9 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0x18 SHR AND SWAP3 PUSH1 0x4 PUSH2 0x86B DUP9 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD SWAP5 PUSH1 0xFF PUSH1 0x5 PUSH2 0x87C DUP11 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD AND SWAP7 PUSH1 0x6 PUSH2 0x8A0 PUSH1 0xFF PUSH1 0x5 PUSH2 0x893 DUP14 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0x8 SHR AND SWAP11 PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD SWAP10 PUSH1 0x40 MLOAD SWAP14 DUP15 SWAP14 DUP15 PUSH2 0x431D JUMP JUMPDEST SUB SWAP1 LOG1 PUSH2 0x78B JUMP JUMPDEST POP POP PUSH1 0x6 SLOAD PUSH1 0x5 SLOAD DUP4 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND DUP1 EXTCODESIZE ISZERO PUSH2 0x93E JUMPI PUSH1 0x40 MLOAD PUSH4 0x489BE245 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE SWAP3 SWAP1 SWAP3 AND PUSH1 0x24 DUP4 ADD MSTORE DUP3 SWAP1 DUP3 SWAP1 PUSH1 0x44 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI PUSH2 0x91E JUMPI JUMPDEST POP PUSH2 0x608 DUP3 PUSH2 0x4B7A JUMP JUMPDEST DUP2 PUSH2 0x928 SWAP2 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x730 JUMPI DUP2 CODESIZE PUSH2 0x914 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP5 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST DUP3 DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0xB28 JUMPI JUMPDEST PUSH2 0x994 PUSH1 0x9 SLOAD DUP3 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0x99D DUP2 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP1 PUSH1 0x1 DUP3 ADD SWAP1 DUP2 SLOAD SWAP2 PUSH2 0x9B0 DUP4 PUSH2 0x49DF JUMP JUMPDEST PUSH1 0x4 DUP5 ADD SWAP3 PUSH1 0xFF DUP5 SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB14 JUMPI PUSH2 0x9DE PUSH2 0xA24 SWAP3 PUSH2 0x9D9 PUSH1 0x20 SWAP4 ISZERO PUSH2 0x473D JUMP JUMPDEST PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x3 SLOAD DUP8 SLOAD PUSH1 0x6 SWAP3 SWAP1 SWAP3 ADD SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 DUP5 SWAP3 SWAP1 SWAP2 AND SWAP1 DUP3 SWAP1 DUP11 SWAP1 DUP3 SWAP1 PUSH1 0x44 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xB09 JUMPI DUP7 SWAP2 PUSH2 0xADA JUMPI JUMPDEST POP ISZERO PUSH2 0xA95 JUMPI PUSH1 0xFF PUSH1 0x40 SWAP4 PUSH2 0xA7C PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP7 PUSH1 0x3 PUSH2 0xA91 SWAP6 PUSH3 0x20000 PUSH3 0xFF0000 NOT DUP7 SLOAD AND OR DUP6 SSTORE SLOAD SWAP2 ADD SLOAD PUSH2 0x527 PUSH2 0xFFFF DUP6 SLOAD AND DUP3 PUSH2 0x4A21 JUMP JUMPDEST POP SLOAD PUSH1 0x10 SHR AND DUP4 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x3F19 JUMP JUMPDEST LOG1 DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4661696C656420746F20726566756E64206576656E7420726571756573740000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0xAFC SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI JUMPDEST PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x461D JUMP JUMPDEST CODESIZE PUSH2 0xA36 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0xAEA JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP9 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP8 REVERT JUMPDEST PUSH2 0xB30 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x987 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x3 PUSH2 0xB64 PUSH1 0x4 CALLDATALOAD PUSH2 0xB57 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x9D9 PUSH1 0x8 SLOAD DUP3 LT PUSH2 0x4681 JUMP JUMPDEST POP ADD PUSH1 0xFF DUP2 SLOAD PUSH1 0x18 SHR AND PUSH1 0x3 DUP2 LT ISZERO PUSH2 0xB95 JUMPI PUSH2 0xB81 SWAP1 ISZERO PUSH2 0x46CD JUMP JUMPDEST DUP1 SLOAD PUSH4 0xFF000000 NOT AND PUSH4 0x2000000 OR SWAP1 SSTORE DUP1 RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP4 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0xBB8 CALLDATASIZE PUSH2 0x4047 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 MSTORE PUSH1 0x20 DUP4 DUP2 MSTORE PUSH1 0x40 DUP1 DUP6 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0xE30 JUMPI JUMPDEST PUSH2 0xBF4 PUSH1 0x9 SLOAD DUP4 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0xBFD DUP3 PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD PUSH2 0xC0C DUP2 SLOAD PUSH2 0x49DF JUMP JUMPDEST PUSH1 0x4 DUP3 ADD SWAP3 PUSH1 0xFF DUP5 SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB14 JUMPI PUSH2 0xC2C SWAP1 ISZERO PUSH2 0x473D JUMP JUMPDEST DUP5 DUP7 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP7 KECCAK256 SLOAD ISZERO PUSH2 0xDDD JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH4 0x15B935B5 PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE CALLER PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH1 0x20 DUP2 PUSH1 0x44 DUP2 DUP6 GAS STATICCALL SWAP1 DUP2 ISZERO PUSH2 0xDD2 JUMPI DUP9 SWAP2 PUSH2 0xDB3 JUMPI JUMPDEST POP ISZERO PUSH2 0xD5D JUMPI DUP7 SWAP2 DUP2 EXTCODESIZE ISZERO PUSH2 0x93E JUMPI DUP3 SWAP2 PUSH1 0x44 DUP4 SWAP3 PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP4 DUP5 SWAP3 PUSH4 0x339A019 PUSH1 0xE3 SHL DUP5 MSTORE DUP13 PUSH1 0x4 DUP6 ADD MSTORE PUSH1 0x24 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI PUSH2 0xD3E JUMPI JUMPDEST POP PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x40 DUP7 PUSH2 0xA91 PUSH1 0xFF DUP9 PUSH2 0xD1A DUP10 PUSH1 0x3 DUP11 SLOAD SWAP2 ADD SLOAD PUSH2 0xCF0 PUSH2 0xFFFF DUP6 SLOAD AND DUP3 PUSH2 0x4A21 JUMP JUMPDEST SWAP2 PUSH2 0xD03 PUSH1 0x1 SLOAD PUSH2 0x53A DUP2 DUP6 LT ISZERO PUSH2 0x555B JUMP JUMPDEST PUSH2 0xD15 PUSH4 0x1518000 PUSH2 0x554 DUP5 DUP7 PUSH2 0x4255 JUMP JUMPDEST PUSH2 0x566B JUMP JUMPDEST POP PUSH3 0x10000 PUSH3 0xFF0000 NOT DUP3 SLOAD AND OR DUP2 SSTORE SLOAD PUSH1 0x10 SHR AND DUP4 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x3F19 JUMP JUMPDEST DUP2 PUSH2 0xD4B SWAP2 SWAP7 SWAP5 SWAP7 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0xD59 JUMPI DUP5 CODESIZE SWAP5 SWAP3 SWAP5 PUSH2 0xCBD JUMP JUMPDEST DUP5 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43616C6C6572206D757374206F776E2074686520646973747269627574696F6E PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x2070726F66696C65 PUSH1 0xC0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0xDCC SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0xC7E JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP11 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST 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 0x4576656E74206D7573742068617665206174206C65617374206F6E6520636174 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x65676F7279 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0xE38 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0xBE7 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x64 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 SUB PUSH2 0x730 JUMPI PUSH2 0xE66 PUSH2 0x3E2A JUMP JUMPDEST PUSH2 0xE6E PUSH2 0x3E3A JUMP JUMPDEST SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB PUSH1 0xE4 CALLDATALOAD GT PUSH2 0x16C1 JUMPI CALLDATASIZE PUSH1 0x23 PUSH1 0xE4 CALLDATALOAD ADD SLT ISZERO PUSH2 0x16C1 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB PUSH1 0xE4 CALLDATALOAD PUSH1 0x4 ADD CALLDATALOAD GT PUSH2 0x16C1 JUMPI CALLDATASIZE PUSH1 0x24 PUSH1 0xE4 CALLDATALOAD PUSH1 0x4 ADD CALLDATALOAD PUSH1 0x5 SHL PUSH1 0xE4 CALLDATALOAD ADD ADD GT PUSH2 0x16C1 JUMPI PUSH2 0xEC6 PUSH1 0x8 SLOAD PUSH1 0x4 CALLDATALOAD LT PUSH2 0x4681 JUMP JUMPDEST PUSH1 0x6 PUSH2 0xED3 PUSH1 0x4 CALLDATALOAD PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD DUP1 ISZERO PUSH2 0x167C JUMPI PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH1 0x20 DUP2 PUSH1 0x24 DUP2 DUP6 GAS STATICCALL DUP1 ISZERO PUSH2 0x1603 JUMPI DUP4 SWAP2 DUP9 SWAP2 PUSH2 0x1647 JUMPI JUMPDEST POP LT PUSH2 0x160E JUMPI PUSH1 0x40 MLOAD PUSH4 0x6EB1769F PUSH1 0xE1 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x20 DUP2 PUSH1 0x44 DUP2 DUP6 GAS STATICCALL DUP1 ISZERO PUSH2 0x1603 JUMPI DUP4 SWAP2 DUP9 SWAP2 PUSH2 0x15C9 JUMPI JUMPDEST POP LT PUSH2 0x1584 JUMPI PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP10 SWAP1 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x1579 JUMPI DUP6 SWAP2 PUSH2 0x155A JUMPI JUMPDEST POP ISZERO PUSH2 0x1515 JUMPI PUSH2 0xFA1 PUSH1 0x44 CALLDATALOAD PUSH2 0x518C JUMP JUMPDEST SWAP4 PUSH1 0x20 SWAP3 PUSH1 0x40 MLOAD SWAP6 PUSH2 0xFB3 DUP6 DUP9 PUSH2 0x3ECC JUMP JUMPDEST DUP3 DUP8 MSTORE PUSH1 0x0 CALLDATASIZE DUP2 CALLDATACOPY PUSH1 0x40 MLOAD SWAP1 PUSH2 0xFC8 DUP3 PUSH2 0x3E7F JUMP JUMPDEST PUSH1 0x84 CALLDATALOAD DUP3 MSTORE PUSH1 0xFF DUP6 AND DUP7 DUP4 ADD MSTORE PUSH1 0xFF DUP4 AND PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x40 MLOAD SWAP8 PUSH2 0x140 DUP10 ADD DUP10 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x14D9 JUMPI PUSH1 0x40 MSTORE CALLER DUP10 MSTORE DUP7 DUP10 ADD SWAP3 PUSH1 0x4 CALLDATALOAD DUP5 MSTORE PUSH1 0x40 DUP11 ADD SWAP2 PUSH1 0x24 CALLDATALOAD DUP4 MSTORE PUSH1 0x60 DUP12 ADD SWAP4 DUP5 MSTORE PUSH2 0xFFFF DUP11 AND PUSH1 0x80 DUP13 ADD MSTORE DUP7 PUSH1 0xA0 DUP13 ADD MSTORE PUSH1 0xC0 DUP12 ADD MSTORE PUSH1 0xE0 DUP11 ADD MSTORE DUP5 PUSH2 0x100 DUP11 ADD MSTORE DUP5 PUSH2 0x120 DUP11 ADD MSTORE PUSH1 0x9 SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x14D9 JUMPI DUP1 PUSH1 0x1 PUSH2 0x1060 SWAP3 ADD PUSH1 0x9 SSTORE PUSH2 0x3E4A JUMP JUMPDEST SWAP4 SWAP1 SWAP4 PUSH2 0x1501 JUMPI DUP10 MLOAD DUP5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND OR DUP5 SSTORE MLOAD PUSH1 0x1 DUP5 ADD SSTORE MLOAD PUSH1 0x2 DUP4 ADD SSTORE MLOAD PUSH1 0x3 DUP3 ADD SSTORE PUSH1 0x80 DUP8 ADD MLOAD PUSH1 0x4 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND PUSH2 0xFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0xA0 DUP8 ADD MLOAD SWAP7 PUSH1 0x5 DUP9 LT ISZERO PUSH2 0x14ED JUMPI PUSH1 0x0 SWAP8 PUSH3 0xFF0000 PUSH1 0x4 DUP5 ADD SLOAD SWAP2 PUSH1 0x10 SHL AND SWAP1 PUSH3 0xFF0000 NOT AND OR PUSH1 0x4 DUP4 ADD SSTORE PUSH1 0xC0 DUP2 ADD MLOAD DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x14D9 JUMPI PUSH1 0x1 PUSH1 0x40 SHL DUP3 GT PUSH2 0x14D9 JUMPI DUP8 SWAP1 PUSH1 0x5 DUP6 ADD SLOAD DUP4 PUSH1 0x5 DUP8 ADD SSTORE DUP1 DUP5 LT PUSH2 0x14BC JUMPI JUMPDEST POP ADD PUSH1 0x5 DUP5 ADD DUP7 MSTORE DUP8 DUP7 KECCAK256 DUP7 JUMPDEST DUP4 DUP2 LT PUSH2 0x14A1 JUMPI POP POP POP POP PUSH2 0x120 DUP2 PUSH2 0x1174 DUP9 PUSH1 0xFF PUSH1 0x40 PUSH1 0xE0 PUSH1 0x9 SWAP8 ADD MLOAD DUP1 MLOAD PUSH1 0x6 DUP11 ADD SSTORE DUP3 DUP1 PUSH1 0x7 DUP12 ADD SWAP6 DUP4 ADD MLOAD AND AND DUP4 NOT DUP6 SLOAD AND OR DUP5 SSTORE ADD MLOAD AND PUSH2 0xFF00 DUP3 SLOAD SWAP2 PUSH1 0x8 SHL AND SWAP1 PUSH2 0xFF00 NOT AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x100 DUP2 ADD MLOAD PUSH1 0x8 DUP6 ADD SSTORE ADD MLOAD SWAP2 ADD SSTORE PUSH1 0x9 SLOAD SWAP3 DUP4 PUSH1 0x0 NOT DUP2 ADD GT PUSH2 0x148D JUMPI PUSH2 0x11A9 PUSH2 0x11A3 PUSH1 0x0 NOT DUP7 ADD PUSH2 0x3E4A JUMP JUMPDEST POP PUSH2 0x51AC JUMP JUMPDEST PUSH1 0xE4 CALLDATALOAD PUSH1 0x4 ADD CALLDATALOAD ISZERO PUSH2 0x143E JUMPI DUP3 JUMPDEST PUSH1 0xE4 CALLDATALOAD PUSH1 0x4 ADD CALLDATALOAD DUP2 LT ISZERO PUSH2 0x12BD JUMPI PUSH1 0x24 DUP2 PUSH1 0x5 SHL PUSH1 0xE4 CALLDATALOAD ADD ADD CALLDATALOAD SWAP1 PUSH1 0xA2 NOT PUSH1 0xE4 CALLDATALOAD CALLDATASIZE SUB ADD DUP3 SLT ISZERO PUSH2 0xD59 JUMPI PUSH1 0x80 PUSH1 0xE4 CALLDATALOAD DUP4 ADD CALLDATASIZE SUB PUSH1 0x23 NOT ADD SLT PUSH2 0xD59 JUMPI PUSH1 0x40 MLOAD PUSH1 0x80 DUP2 ADD DUP2 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x12A9 JUMPI PUSH1 0x40 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB PUSH1 0x24 DUP5 PUSH1 0xE4 CALLDATALOAD ADD ADD CALLDATALOAD GT PUSH2 0x5BE JUMPI PUSH2 0x123C CALLDATASIZE PUSH1 0x24 PUSH1 0xE4 CALLDATALOAD DUP7 ADD DUP2 DUP2 ADD CALLDATALOAD ADD ADD PUSH2 0x3F68 JUMP JUMPDEST SWAP3 DUP4 DUP3 MSTORE PUSH2 0x1250 PUSH1 0x44 DUP3 PUSH1 0xE4 CALLDATALOAD ADD ADD PUSH2 0x3DDA JUMP JUMPDEST DUP1 DUP11 DUP5 ADD MSTORE PUSH1 0x84 PUSH2 0x1267 PUSH1 0x64 DUP5 PUSH1 0xE4 CALLDATALOAD ADD ADD PUSH2 0x3DDA JUMP JUMPDEST SWAP3 DUP4 PUSH1 0x40 DUP7 ADD MSTORE PUSH1 0xE4 CALLDATALOAD ADD ADD CALLDATALOAD SWAP5 DUP6 ISZERO ISZERO DUP7 SUB PUSH2 0x12A5 JUMPI PUSH2 0xFFFF DUP1 DUP8 PUSH1 0x1 SWAP9 PUSH1 0x60 PUSH2 0x129F SWAP9 ADD MSTORE ISZERO ISZERO SWAP5 AND SWAP3 AND SWAP1 PUSH1 0x0 NOT DUP12 ADD PUSH2 0x4DD8 JUMP JUMPDEST ADD PUSH2 0x11B7 JUMP JUMPDEST DUP13 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP8 REVERT JUMPDEST POP SWAP2 SWAP5 SWAP1 SWAP3 SWAP4 PUSH2 0x12D0 PUSH1 0x0 NOT DUP7 ADD PUSH2 0x3E4A JUMP JUMPDEST POP PUSH2 0x12DE PUSH1 0x1 DUP3 ADD SLOAD PUSH2 0x401B JUMP JUMPDEST POP SWAP1 PUSH2 0x12ED PUSH1 0x0 NOT DUP9 ADD PUSH2 0x5507 JUMP JUMPDEST ISZERO PUSH2 0x1369 JUMPI JUMPDEST DUP8 PUSH32 0x643A612289E1DD3493236D0C8A82F599690D576E4F1D8511E3EC6DC9AD28EBB9 PUSH2 0x120 DUP10 PUSH1 0xFF DUP11 DUP2 DUP12 PUSH2 0xFFFF DUP13 DUP13 PUSH1 0x40 MLOAD SWAP8 PUSH1 0x0 NOT ADD DUP9 MSTORE CALLER SWAP1 DUP9 ADD MSTORE PUSH1 0x4 CALLDATALOAD PUSH1 0x40 DUP9 ADD MSTORE PUSH1 0x24 CALLDATALOAD PUSH1 0x60 DUP9 ADD MSTORE PUSH1 0x44 CALLDATALOAD PUSH1 0x80 DUP9 ADD MSTORE AND PUSH1 0xA0 DUP7 ADD MSTORE PUSH1 0x84 CALLDATALOAD PUSH1 0xC0 DUP7 ADD MSTORE AND PUSH1 0xE0 DUP5 ADD MSTORE AND PUSH2 0x100 DUP3 ADD MSTORE LOG1 DUP1 RETURN JUMPDEST PUSH1 0x9 PUSH1 0x1 SWAP2 ADD SLOAD SWAP2 ADD SLOAD PUSH2 0xFFFF DUP2 PUSH1 0xB0 SHR AND DUP3 LT PUSH2 0x13E7 JUMPI PUSH1 0xA0 SHR PUSH2 0xFFFF AND LT PUSH2 0x1394 JUMPI DUP7 DUP1 PUSH2 0x12F3 JUMP JUMPDEST PUSH1 0x84 SWAP1 PUSH1 0x40 MLOAD SWAP1 PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546F74616C207469636B6574732063616E6E6F7420657863656564206D617854 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x69636B657473 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546F74616C207469636B657473206D757374206265206174206C65617374206D PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x696E5469636B657473 PUSH1 0xB8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4174206C65617374206F6E652063617465676F72792069732072657175697265 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0xFA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 DUP4 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 DUP3 ADD SSTORE SWAP2 DUP10 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x1123 JUMP JUMPDEST PUSH1 0x5 DUP7 ADD DUP9 MSTORE DUP3 DUP9 KECCAK256 PUSH2 0x14D3 SWAP2 DUP2 ADD SWAP1 DUP6 ADD PUSH2 0x45D0 JUMP JUMPDEST CODESIZE PUSH2 0x1116 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP7 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP7 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP5 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP7 MSTORE PUSH1 0x4 DUP7 SWAP1 MSTORE PUSH1 0x24 DUP7 REVERT JUMPDEST 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 0x4576656E742072657175657374207061796D656E74206661696C656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x1573 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0xF90 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP8 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x526571756972656420616D6F756E7420776173206E6F7420616C6C6F77656400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP2 POP POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x15FB JUMPI JUMPDEST DUP2 PUSH2 0x15E5 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x3ECC JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x15F6 JUMPI DUP3 SWAP1 MLOAD CODESIZE PUSH2 0xF4D JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x15D8 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP10 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x4E6F7420656E6F75676820746F6B656E73 PUSH1 0x78 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP2 POP POP PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x1674 JUMPI JUMPDEST DUP2 PUSH2 0x1663 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x3ECC JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x15F6 JUMPI DUP3 SWAP1 MLOAD CODESIZE PUSH2 0xF16 JUMP JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x1656 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74506C616365206465706F736974206D757374206265207365740000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST DUP4 DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x16D4 CALLDATASIZE PUSH2 0x3FBE JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP7 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP9 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD SWAP1 SWAP4 SWAP2 SWAP3 SWAP2 SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0x1816 JUMPI PUSH1 0x9 SLOAD DUP6 LT ISZERO PUSH2 0x17DA JUMPI PUSH2 0x171B DUP6 PUSH2 0x3E4A JUMP JUMPDEST POP SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ DUP1 ISZERO PUSH2 0x17AB JUMPI JUMPDEST ISZERO PUSH2 0x1740 JUMPI PUSH2 0x173D SWAP5 PUSH2 0x4DD8 JUMP JUMPDEST DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x37 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C79206576656E742063726561746F72206F72206C6F63616C2070726F76 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x696465722063616E206164642063617465676F72696573000000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP7 MSTORE PUSH1 0x20 DUP7 DUP2 MSTORE PUSH1 0x40 DUP1 DUP9 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x172F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x115D995B9D08191BD95CC81B9BDD08195E1A5CDD PUSH1 0x62 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL DUP7 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 DUP7 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 SWAP1 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x160 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x1875 PUSH2 0x3DC9 JUMP JUMPDEST SWAP1 PUSH1 0x44 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 SUB PUSH2 0x16C1 JUMPI PUSH2 0x188C PUSH2 0x3DF9 JUMP JUMPDEST PUSH2 0x1894 PUSH2 0x3E2A JUMP JUMPDEST PUSH1 0xC4 CALLDATALOAD SWAP5 DUP6 ISZERO ISZERO DUP7 SUB PUSH2 0x1BDA JUMPI PUSH2 0x18A9 PUSH2 0x3E19 JUMP JUMPDEST SWAP1 PUSH2 0x124 CALLDATALOAD SWAP3 PUSH1 0xFF DUP5 AND DUP5 SUB PUSH2 0x1BD6 JUMPI PUSH2 0x18C1 PUSH2 0x48F6 JUMP JUMPDEST PUSH1 0x8 SLOAD DUP8 LT ISZERO PUSH2 0x1B91 JUMPI PUSH2 0x18D4 DUP8 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SLOAD SWAP1 SWAP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x1B36 JUMPI PUSH1 0xFF PUSH1 0x3 DUP4 ADD SLOAD PUSH1 0x18 SHR AND PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x1B22 JUMPI PUSH1 0x1 SUB PUSH2 0x1ACB JUMPI PUSH1 0x6 DUP3 ADD SLOAD PUSH2 0x144 CALLDATALOAD SUB PUSH2 0x1A1F JUMPI JUMPDEST PUSH1 0x1 DUP3 ADD DUP1 SLOAD PUSH2 0xFFFF PUSH1 0xB0 SHL PUSH1 0xB0 DUP11 SWAP1 SHL AND PUSH4 0xFFFFFFFF PUSH1 0xA0 SHL NOT SWAP1 SWAP2 AND PUSH2 0xFFFF PUSH1 0xA0 SHL PUSH1 0xA0 DUP8 SWAP1 SHL AND OR OR SWAP1 SSTORE PUSH1 0x64 CALLDATALOAD PUSH1 0x2 DUP4 ADD SSTORE PUSH1 0x3 DUP3 ADD DUP1 SLOAD PUSH3 0xFF0000 DUP12 ISZERO ISZERO PUSH1 0x10 SHL AND PUSH3 0xFFFFFF NOT SWAP1 SWAP2 AND PUSH1 0xFF DUP10 AND OR PUSH2 0xFF00 PUSH1 0x8 DUP6 SWAP1 SHL AND OR OR SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP10 PUSH2 0x1A19 SWAP8 SWAP7 SWAP6 SWAP5 SWAP4 SWAP3 SWAP1 SWAP2 PUSH2 0x19E1 SWAP1 PUSH2 0x19A2 DUP2 PUSH2 0x3E7F JUMP JUMPDEST PUSH1 0xE4 CALLDATALOAD DUP1 DUP3 MSTORE PUSH1 0xFF DUP9 DUP2 AND PUSH1 0x20 DUP5 ADD DUP2 SWAP1 MSTORE SWAP1 DUP11 AND PUSH1 0x40 SWAP1 SWAP4 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x4 DUP7 ADD SSTORE PUSH1 0x5 DUP6 ADD DUP1 SLOAD PUSH2 0xFFFF NOT AND SWAP1 SWAP2 OR PUSH1 0x8 DUP10 SWAP1 SHL PUSH2 0xFF00 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x19F2 PUSH2 0x19ED DUP5 PUSH2 0x4278 JUMP JUMPDEST PUSH2 0x4795 JUMP JUMPDEST PUSH1 0x6 PUSH1 0xFF PUSH1 0x3 DUP6 ADD SLOAD PUSH1 0x18 SHR AND SWAP4 ADD SLOAD SWAP7 PUSH1 0x40 MLOAD SWAP11 DUP12 SWAP11 PUSH1 0xE4 CALLDATALOAD SWAP7 PUSH1 0x64 CALLDATALOAD SWAP3 DUP14 CALLER SWAP1 PUSH2 0x431D JUMP JUMPDEST SUB SWAP1 LOG1 DUP1 RETURN JUMPDEST SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0x1A2D DUP9 PUSH2 0x4D4C JUMP JUMPDEST PUSH2 0x1A6A JUMPI PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP9 PUSH2 0x1A19 SWAP7 PUSH2 0x1A53 PUSH2 0x144 CALLDATALOAD ISZERO ISZERO PUSH2 0x41F3 JUMP JUMPDEST PUSH2 0x144 CALLDATALOAD PUSH1 0x6 DUP5 ADD SSTORE SWAP2 SWAP3 SWAP4 SWAP5 SWAP6 SWAP7 POP SWAP9 POP PUSH2 0x1916 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43616E6E6F74206368616E6765206465706F736974207768696C652074686572 PUSH1 0x44 DUP3 ADD MSTORE PUSH19 0x652061726520616374697665206576656E7473 PUSH1 0x68 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST 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 0x4576656E74506C616365206D75737420626520617070726F76656420746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x19481D5C19185D1959 PUSH1 0xBA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP12 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP12 REVERT JUMPDEST 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 0x476976656E206576656E7420706C6163652062656C6F6E677320746F20616E6F PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x3A3432B910383937BB34B232B9 PUSH1 0x99 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST 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 0x6576656E74506C61636549642073686F756C6420657869737400000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST DUP9 DUP1 REVERT JUMPDEST DUP7 DUP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x7 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x25CF2B509F2A7F322675B2A5322B182F44AD2C03AC941A0AF17C9B178F5D5D5F DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x40 PUSH2 0x1C87 PUSH2 0x3F3C JUMP JUMPDEST SWAP2 PUSH1 0x4 CALLDATALOAD DUP2 MSTORE DUP1 PUSH1 0x20 MSTORE KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x1CC5 CALLDATASIZE PUSH2 0x4047 JUMP JUMPDEST SWAP2 SWAP1 PUSH2 0x1CCF PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x1CDC PUSH1 0x8 SLOAD DUP3 LT PUSH2 0x4681 JUMP JUMPDEST PUSH2 0x1CE7 DUP4 ISZERO ISZERO PUSH2 0x41F3 JUMP JUMPDEST PUSH2 0x1CF0 DUP2 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x3 DUP2 ADD PUSH1 0xFF DUP2 SLOAD PUSH1 0x18 SHR AND PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x1DB7 JUMPI SWAP5 PUSH2 0x1A19 SWAP2 PUSH2 0x1D25 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP7 SWAP8 ISZERO PUSH2 0x46CD JUMP JUMPDEST PUSH4 0x1000000 PUSH4 0xFF000000 NOT DUP3 SLOAD AND OR DUP2 SSTORE PUSH1 0x1 DUP5 ADD PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL DUP3 SLOAD AND OR DUP2 SSTORE DUP3 PUSH1 0x6 DUP7 ADD SSTORE SLOAD SWAP5 PUSH1 0x2 DUP6 ADD SLOAD SWAP2 SLOAD SWAP5 PUSH1 0x5 PUSH1 0x4 DUP3 ADD SLOAD SWAP2 ADD SLOAD SWAP3 PUSH1 0x40 MLOAD SWAP8 DUP9 SWAP8 PUSH1 0xFF DUP1 DUP8 PUSH1 0x8 SHR AND SWAP7 AND SWAP5 PUSH1 0xFF DUP3 PUSH1 0x18 SHR AND SWAP4 PUSH1 0xFF DUP4 PUSH1 0x10 SHR AND SWAP4 PUSH1 0xFF DUP1 DUP6 PUSH1 0x8 SHR AND SWAP5 AND SWAP3 PUSH2 0xFFFF DUP1 DUP4 PUSH1 0xB0 SHR AND SWAP3 PUSH1 0xA0 SHR AND SWAP1 DUP14 CALLER SWAP1 PUSH2 0x431D JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP6 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0x15180 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x24 CALLDATALOAD PUSH2 0x1E0A PUSH2 0x3DE9 JUMP JUMPDEST PUSH2 0x1E12 PUSH2 0x3DF9 JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP2 DUP3 DUP5 SUB PUSH2 0x5BE JUMPI PUSH2 0x1E3E PUSH1 0x9 SLOAD DUP9 LT PUSH2 0x1E39 DUP2 PUSH2 0x439D JUMP JUMPDEST PUSH2 0x439D JUMP JUMPDEST PUSH2 0x1E47 DUP8 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP5 PUSH1 0xFF PUSH1 0x4 DUP8 ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x2441 JUMPI PUSH1 0x1 SUB PUSH2 0x2404 JUMPI PUSH2 0x1E71 PUSH1 0xA SLOAD DUP3 LT PUSH2 0x43F4 JUMP JUMPDEST PUSH2 0x1E7A DUP2 PUSH2 0x405D JUMP JUMPDEST POP DUP9 PUSH1 0x1 DUP3 ADD SLOAD SUB PUSH2 0x23B0 JUMPI PUSH1 0x2 ADD DUP1 SLOAD SWAP1 PUSH1 0xFF DUP3 PUSH1 0x20 SHR AND PUSH2 0x2315 JUMPI JUMPDEST PUSH2 0x1EAE SWAP2 POP PUSH2 0xFFFF PUSH1 0x2 DUP10 ADD SLOAD SWAP2 SLOAD AND SWAP1 PUSH2 0x585F JUMP JUMPDEST SWAP4 DUP5 DUP1 DIV PUSH1 0x1 EQ DUP6 ISZERO OR ISZERO PUSH2 0x2301 JUMPI PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP8 SWAP1 MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP14 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x22F6 JUMPI DUP10 SWAP2 PUSH2 0x22D7 JUMPI JUMPDEST POP ISZERO PUSH2 0x2292 JUMPI PUSH1 0x7 SLOAD DUP9 SWAP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP2 PUSH2 0x2014 JUMPI JUMPDEST POP POP DUP8 SWAP9 PUSH1 0x1 DUP1 PUSH1 0xA0 SWAP11 SWAP8 SWAP9 SWAP10 SWAP11 SHL SUB PUSH1 0x4 SLOAD AND SWAP4 DUP5 EXTCODESIZE ISZERO PUSH2 0x1BDA JUMPI DUP7 SWAP5 PUSH2 0x124 SWAP4 PUSH1 0xFF DUP8 SWAP4 DUP2 PUSH1 0x40 MLOAD SWAP11 DUP12 SWAP10 DUP11 SWAP9 PUSH4 0x5A02D93 PUSH1 0xE5 SHL DUP11 MSTORE CALLER PUSH1 0x4 DUP12 ADD MSTORE PUSH1 0x24 DUP11 ADD MSTORE PUSH1 0x44 DUP10 ADD MSTORE PUSH1 0x1 PUSH1 0x64 DUP10 ADD MSTORE PUSH1 0x44 CALLDATALOAD PUSH1 0x84 DUP10 ADD MSTORE AND PUSH1 0xA4 DUP8 ADD MSTORE AND PUSH1 0xC4 DUP6 ADD MSTORE PUSH1 0xE4 DUP5 ADD MSTORE DUP9 PUSH2 0x104 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI PUSH2 0x1FFF JUMPI JUMPDEST POP POP PUSH1 0x5 DUP4 ADD DUP1 SLOAD SWAP1 PUSH1 0x1 PUSH1 0x40 SHL DUP3 LT ISZERO PUSH2 0x14D9 JUMPI SWAP3 PUSH1 0x8 SWAP3 PUSH2 0x1FCF DUP4 PUSH2 0x1FFA SWAP7 PUSH1 0x1 PUSH2 0x1FF0 SWAP7 ADD DUP2 SSTORE PUSH2 0x41DB JUMP JUMPDEST DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH1 0x3 SWAP3 SWAP1 SWAP3 SHL SWAP2 DUP3 SHL NOT AND CALLER SWAP1 SWAP2 SHL OR SWAP1 SSTORE PUSH2 0x4255 JUMP JUMPDEST SWAP3 ADD SWAP2 DUP3 SLOAD PUSH2 0x4563 JUMP JUMPDEST SWAP1 SSTORE DUP1 RETURN JUMPDEST DUP2 PUSH2 0x2009 SWAP2 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x16C1 JUMPI DUP4 CODESIZE PUSH2 0x1FA0 JUMP JUMPDEST PUSH2 0x2064 SWAP8 POP PUSH1 0xE0 SWAP2 DUP8 SWAP2 CALLER DUP6 SUB PUSH2 0x228D JUMPI POP DUP11 JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xE696D10D DUP6 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 SWAP8 DUP9 SWAP2 SWAP1 DUP3 SWAP1 DUP13 SWAP1 DUP3 SWAP1 PUSH1 0x64 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP9 DUP10 ISZERO PUSH2 0xDD2 JUMPI DUP9 SWAP10 DUP10 SWAP8 DUP11 SWAP2 PUSH2 0x21B5 JUMPI JUMPDEST POP SWAP7 DUP10 JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x208F JUMPI POP DUP2 SWAP11 POP PUSH2 0x1F23 JUMP JUMPDEST DUP11 DUP13 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x20A3 DUP5 DUP4 PUSH2 0x48E5 JUMP JUMPDEST MLOAD AND ISZERO ISZERO DUP1 PUSH2 0x21A2 JUMPI JUMPDEST PUSH2 0x20BC JUMPI JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0x207E JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH2 0x211C SWAP3 PUSH1 0x20 SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND SWAP2 PUSH2 0x20DF SWAP1 DUP8 SWAP1 PUSH2 0x48E5 JUMP JUMPDEST MLOAD AND PUSH2 0x20EB DUP7 DUP9 PUSH2 0x48E5 JUMP JUMPDEST MLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD MSTORE SWAP4 DUP5 SWAP3 DUP4 SWAP2 DUP3 SWAP1 PUSH1 0x44 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x2197 JUMPI DUP13 SWAP2 PUSH2 0x2179 JUMPI JUMPDEST POP ISZERO PUSH2 0x213B JUMPI DUP11 DUP13 PUSH2 0x20B2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x11985A5B1959081D1BC81C185E481C9959995C9C985B PUSH1 0x52 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x2191 SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x212E JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP15 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST POP PUSH2 0x21AD DUP4 DUP6 PUSH2 0x48E5 JUMP JUMPDEST MLOAD ISZERO ISZERO PUSH2 0x20AD JUMP JUMPDEST SWAP11 POP POP SWAP6 POP PUSH1 0xE0 RETURNDATASIZE PUSH1 0xE0 GT PUSH2 0x2286 JUMPI JUMPDEST PUSH2 0x21CF DUP2 DUP12 PUSH2 0x3ECC JUMP JUMPDEST DUP10 ADD SWAP6 PUSH1 0xE0 DUP11 DUP9 SUB SLT PUSH2 0x1BD6 JUMPI DUP7 PUSH1 0x1F DUP12 ADD SLT ISZERO PUSH2 0x1BD6 JUMPI PUSH1 0x40 MLOAD SWAP7 PUSH2 0x21F6 PUSH1 0x60 DUP10 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0x60 DUP12 ADD SWAP11 DUP9 DUP3 DUP14 GT PUSH2 0x225A JUMPI DUP2 SWAP1 JUMPDEST DUP14 DUP3 LT PUSH2 0x2262 JUMPI POP POP DUP2 PUSH1 0x7F DUP3 ADD SLT ISZERO PUSH2 0x225E JUMPI PUSH1 0x40 MLOAD SWAP12 PUSH2 0x2229 PUSH1 0x60 DUP15 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0xC0 DUP14 SWAP3 ADD SWAP3 DUP4 GT PUSH2 0x225A JUMPI SWAP1 JUMPDEST DUP3 DUP3 LT PUSH2 0x224A JUMPI POP POP MLOAD SWAP7 SWAP10 SWAP7 CODESIZE PUSH2 0x207A JUMP JUMPDEST DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x2237 JUMP JUMPDEST DUP12 DUP1 REVERT JUMPDEST DUP11 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x2282 JUMPI DUP2 MSTORE PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x2206 JUMP JUMPDEST DUP14 DUP1 REVERT JUMPDEST POP RETURNDATASIZE PUSH2 0x21C5 JUMP JUMPDEST PUSH2 0x2028 JUMP JUMPDEST 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 0x4661696C656420746F207472616E7366657220746F6B656E7300000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x22F0 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x1F06 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP12 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP9 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 DUP9 REVERT JUMPDEST PUSH2 0xFFFF DUP3 PUSH1 0x28 SHR AND SWAP2 PUSH2 0xFFFF DUP1 PUSH2 0x232B DUP6 PUSH2 0x48BB JUMP JUMPDEST SWAP3 PUSH1 0x10 SHR AND SWAP2 AND GT PUSH2 0x236B JUMPI PUSH2 0x2366 PUSH2 0x2346 PUSH2 0x1EAE SWAP4 PUSH2 0x48BB JUMP JUMPDEST DUP3 SLOAD PUSH7 0xFFFF0000000000 NOT AND PUSH1 0x28 SWAP2 SWAP1 SWAP2 SHL PUSH7 0xFFFF0000000000 AND OR DUP3 SSTORE JUMP JUMPDEST PUSH2 0x1E98 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43617465676F72792071756F7461206578636565646564000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43617465676F727920646F6573206E6F742062656C6F6E6720746F2074686973 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x8195D995B9D PUSH1 0xD2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x115D995B9D081A5CC81B9BDD08185C1C1C9BDD9959 PUSH1 0x5A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP9 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP9 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD DUP2 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH1 0x40 MLOAD SWAP1 DUP2 PUSH1 0x20 DUP3 SLOAD SWAP2 DUP3 DUP2 MSTORE ADD SWAP1 DUP2 SWAP3 DUP6 MSTORE PUSH1 0x20 DUP6 KECCAK256 SWAP1 DUP6 JUMPDEST DUP2 DUP2 LT PUSH2 0x250F JUMPI POP POP POP DUP3 PUSH2 0x24CE SWAP2 SUB DUP4 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 PUSH1 0x20 DUP5 ADD SWAP1 PUSH1 0x20 DUP6 MSTORE MLOAD DUP1 SWAP2 MSTORE PUSH1 0x40 DUP5 ADD SWAP3 SWAP2 JUMPDEST DUP2 DUP2 LT PUSH2 0x24F6 JUMPI POP POP POP SUB SWAP1 RETURN JUMPDEST DUP3 MLOAD DUP5 MSTORE DUP6 SWAP5 POP PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x24E8 JUMP JUMPDEST DUP3 SLOAD DUP5 MSTORE PUSH1 0x20 SWAP1 SWAP4 ADD SWAP3 PUSH1 0x1 SWAP3 DUP4 ADD SWAP3 ADD PUSH2 0x24B8 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0x2826 JUMPI JUMPDEST PUSH2 0x2577 PUSH1 0x9 SLOAD DUP3 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0x2580 DUP2 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP1 PUSH1 0x1 DUP3 ADD SLOAD PUSH2 0x2590 DUP2 PUSH2 0x49DF JUMP JUMPDEST PUSH1 0x4 DUP4 ADD SWAP3 PUSH1 0xFF DUP5 SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x2812 JUMPI PUSH1 0x1 SUB PUSH2 0x27B7 JUMPI PUSH2 0x25B7 DUP6 SWAP3 PUSH2 0x401B JUMP JUMPDEST POP SWAP1 PUSH1 0x6 DUP3 ADD SLOAD DUP1 PUSH2 0x26ED JUMPI JUMPDEST POP PUSH1 0x8 ADD SWAP1 DUP2 SLOAD SWAP1 DUP2 PUSH2 0x2611 JUMPI JUMPDEST DUP4 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x40 DUP8 PUSH2 0xA91 PUSH1 0xFF DUP12 DUP7 DUP11 SSTORE PUSH3 0x30000 PUSH3 0xFF0000 NOT DUP3 SLOAD AND OR DUP2 SSTORE SLOAD PUSH1 0x10 SHR AND DUP4 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x3F19 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0x1 SWAP2 SWAP1 SWAP2 ADD SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP3 SWAP5 SWAP4 POP SWAP1 SWAP2 PUSH1 0x20 SWAP2 DUP4 SWAP2 PUSH1 0x44 SWAP2 DUP4 SWAP2 DUP11 SWAP2 AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x1579 JUMPI DUP6 SWAP2 PUSH2 0x26CE JUMPI JUMPDEST POP ISZERO PUSH2 0x2673 JUMPI SWAP1 DUP4 SWAP1 CODESIZE DUP1 PUSH2 0x25D2 JUMP JUMPDEST 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 0x4661696C656420746F207472616E73666572207469636B657420726576656E75 PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x32903A3790383937BB34B232B9 PUSH1 0x99 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0x26E7 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x2663 JUMP JUMPDEST PUSH1 0x3 SLOAD DUP3 SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP3 SWAP5 POP SWAP1 SWAP2 PUSH1 0x20 SWAP2 DUP4 SWAP2 PUSH1 0x44 SWAP2 DUP4 SWAP2 DUP12 SWAP2 AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xB09 JUMPI DUP7 SWAP2 PUSH2 0x2798 JUMPI JUMPDEST POP ISZERO PUSH2 0x2747 JUMPI DUP5 SWAP2 CODESIZE PUSH2 0x25C4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4661696C656420746F20726566756E64206465706F73697420746F2063726561 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x3A37B9 PUSH1 0xE9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0x27B1 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x2739 JUMP JUMPDEST 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 0x4F6E6C79206576656E7420696E20617070726F7665642073746174652063616E PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x818994818D85B98D95B1B1959 PUSH1 0x9A SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP7 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP7 REVERT JUMPDEST PUSH2 0x282E PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x256A JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x8 SLOAD DUP3 LT ISZERO PUSH2 0x273 JUMPI PUSH2 0x1A0 PUSH2 0x285F DUP4 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 SLOAD AND SWAP1 PUSH2 0x291C PUSH1 0x1 DUP3 ADD SLOAD SWAP2 PUSH2 0x28F8 PUSH1 0x2 DUP3 ADD SLOAD PUSH1 0x3 DUP4 ADD SLOAD SWAP1 PUSH2 0xFFFF PUSH1 0x6 PUSH2 0x2893 PUSH1 0x4 DUP8 ADD PUSH2 0x3EED JUMP JUMPDEST SWAP6 ADD SLOAD SWAP7 PUSH1 0x40 MLOAD SWAP9 DUP10 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x20 DUP11 ADD MSTORE DUP2 DUP2 PUSH1 0xA0 SHR AND PUSH1 0x40 DUP11 ADD MSTORE PUSH1 0xB0 SHR AND PUSH1 0x60 DUP9 ADD MSTORE PUSH1 0x80 DUP8 ADD MSTORE PUSH1 0xFF DUP2 AND PUSH1 0xA0 DUP8 ADD MSTORE PUSH1 0xFF DUP2 PUSH1 0x8 SHR AND PUSH1 0xC0 DUP8 ADD MSTORE PUSH1 0xFF DUP2 PUSH1 0x10 SHR AND ISZERO ISZERO PUSH1 0xE0 DUP8 ADD MSTORE PUSH1 0xFF PUSH2 0x100 DUP8 ADD SWAP2 PUSH1 0x18 SHR AND PUSH2 0x403A JUMP JUMPDEST PUSH2 0x120 DUP5 ADD SWAP1 PUSH1 0xFF PUSH1 0x40 DUP1 SWAP3 DUP1 MLOAD DUP6 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MLOAD AND PUSH1 0x20 DUP7 ADD MSTORE ADD MLOAD AND SWAP2 ADD MSTORE JUMP JUMPDEST PUSH2 0x180 DUP3 ADD MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x2967 PUSH2 0x3F3C JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0x2983 JUMPI PUSH2 0x608 SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x4CCA JUMP JUMPDEST PUSH4 0x334BD919 PUSH1 0xE1 SHL DUP3 MSTORE PUSH1 0x4 DUP3 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x29AC PUSH2 0x3F52 JUMP JUMPDEST PUSH2 0x29B4 PUSH2 0x4944 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0x2A4F JUMPI PUSH1 0x6 SLOAD DUP3 SWAP2 SWAP1 PUSH2 0x29DD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ISZERO ISZERO PUSH2 0x4635 JUMP JUMPDEST PUSH2 0x29E6 DUP2 PUSH2 0x4A51 JUMP JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 EXTCODESIZE ISZERO PUSH2 0x2A4B JUMPI PUSH1 0x40 MLOAD PUSH4 0x593F8C25 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP1 CALLDATALOAD SWAP1 DUP4 ADD MSTORE DUP3 SWAP1 DUP3 SWAP1 PUSH1 0x44 SWAP1 DUP3 SWAP1 DUP5 SWAP1 GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI PUSH2 0x2A3A JUMPI POP RETURN JUMPDEST DUP2 PUSH2 0x2A44 SWAP2 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x273 JUMPI DUP1 RETURN JUMPDEST POP POP REVERT JUMPDEST 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 0x4C6F63616C2070726F76696465722063616E6E6F74206265207A65726F206164 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x6472657373 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x9 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH2 0x608 PUSH1 0x4 CALLDATALOAD PUSH2 0x2AE0 PUSH2 0x3F3C JUMP JUMPDEST SWAP1 PUSH2 0x2AFC PUSH2 0x5FE DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x4AEF JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE SWAP3 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0x2E55 JUMPI JUMPDEST PUSH2 0x2B53 PUSH1 0x9 SLOAD DUP3 LT PUSH2 0x439D JUMP JUMPDEST PUSH2 0x2B5C DUP2 PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SLOAD SWAP1 PUSH2 0x2B6C DUP3 PUSH2 0x49DF JUMP JUMPDEST PUSH1 0x4 DUP2 ADD SWAP2 DUP3 SLOAD PUSH1 0xFF DUP2 PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0xB14 JUMPI PUSH1 0x1 SUB PUSH2 0x2DFD JUMPI PUSH1 0x3 DUP4 ADD SLOAD PUSH2 0x2B9D SWAP2 PUSH2 0xFFFF AND SWAP1 PUSH2 0x4A21 JUMP JUMPDEST TIMESTAMP GT ISZERO PUSH2 0x2DB8 JUMPI PUSH1 0x20 PUSH2 0x2BB2 PUSH2 0x2BF8 SWAP3 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x3 SLOAD DUP5 SLOAD PUSH1 0x6 SWAP3 SWAP1 SWAP3 ADD SLOAD PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 DUP5 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP4 DUP5 SWAP3 SWAP1 SWAP2 AND SWAP1 DUP3 SWAP1 DUP10 SWAP1 DUP3 SWAP1 PUSH1 0x44 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x1579 JUMPI DUP6 SWAP2 PUSH2 0x2D99 JUMPI JUMPDEST POP ISZERO PUSH2 0x2D48 JUMPI PUSH1 0x8 DUP5 SWAP2 ADD SLOAD DUP1 PUSH2 0x2C5A JUMPI JUMPDEST POP SWAP2 PUSH2 0xA91 PUSH1 0xFF PUSH1 0x40 SWAP4 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B01 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP6 POP PUSH3 0x40000 PUSH3 0xFF0000 NOT DUP3 SLOAD AND OR DUP2 SSTORE SLOAD PUSH1 0x10 SHR AND DUP4 MLOAD SWAP3 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x3F19 JUMP JUMPDEST PUSH1 0x6 SLOAD PUSH2 0x2CB7 SWAP1 PUSH1 0x20 SWAP1 DUP4 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x2C7A DUP2 ISZERO ISZERO PUSH2 0x4635 JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH4 0x95EA7B3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP2 SWAP4 DUP5 SWAP3 SWAP1 SWAP2 AND SWAP1 DUP3 SWAP1 DUP8 SWAP1 DUP3 SWAP1 PUSH1 0x44 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0x2D3D JUMPI PUSH2 0x2D20 JUMPI JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 EXTCODESIZE ISZERO PUSH2 0x93E JUMPI DUP3 SWAP2 PUSH1 0x44 DUP4 SWAP3 PUSH1 0x40 MLOAD SWAP5 DUP6 SWAP4 DUP5 SWAP3 PUSH4 0x4AE699EF PUSH1 0xE0 SHL DUP5 MSTORE PUSH1 0x4 DUP5 ADD MSTORE DUP10 PUSH1 0x24 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x933 JUMPI ISZERO PUSH2 0x2C1C JUMPI DUP2 PUSH2 0x2D15 SWAP2 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x93E JUMPI DUP3 CODESIZE PUSH2 0x2C1C JUMP JUMPDEST PUSH2 0x2D38 SWAP1 PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST PUSH2 0x2CC6 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP6 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4661696C656420746F2072657475726E206465706F73697420746F2063726561 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x3A37B9 PUSH1 0xE9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0x2DB2 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x2C0A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E7420686173206E6F74206265656E2066696E69736865642079657400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C79206576656E7420696E20617070726F7665642073746174652063616E PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x818994818DB1BDCD959 PUSH1 0xB2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0x2E5D PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x2B46 JUMP JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH2 0x2EB9 PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI DUP1 PUSH1 0x3 NOT CALLDATASIZE ADD SLT PUSH2 0x273 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x100 DUP2 MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x2EED CALLDATASIZE PUSH2 0x3FBE JUMP JUMPDEST PUSH2 0x2EFC SWAP6 SWAP5 SWAP2 SWAP6 SWAP4 SWAP3 SWAP4 PUSH2 0x48F6 JUMP JUMPDEST PUSH2 0x2F09 PUSH1 0xA SLOAD DUP4 LT PUSH2 0x43F4 JUMP JUMPDEST PUSH2 0x2F1B PUSH2 0x2710 PUSH2 0xFFFF DUP7 AND GT ISZERO PUSH2 0x4440 JUMP JUMPDEST PUSH2 0x2F24 DUP3 PUSH2 0x405D JUMP JUMPDEST POP SWAP6 PUSH1 0x1 DUP8 ADD PUSH2 0x2F34 DUP2 SLOAD PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0x1 PUSH2 0x2F43 DUP2 DUP4 ADD SLOAD PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0x3284 JUMPI PUSH1 0xFF PUSH1 0x4 DUP4 ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3270 JUMPI PUSH2 0x2F74 SWAP1 ISZERO PUSH2 0x4480 JUMP JUMPDEST DUP5 ISZERO PUSH2 0x3203 JUMPI PUSH2 0xFFFF DUP5 AND PUSH2 0x2F8A DUP2 ISZERO ISZERO PUSH2 0x44CB JUMP JUMPDEST PUSH1 0x2 DUP12 ADD SLOAD SWAP2 PUSH2 0xFFFF DUP4 PUSH1 0x28 SHR AND DUP3 LT PUSH2 0x31A7 JUMPI PUSH2 0x2FDC SWAP2 PUSH1 0x9 PUSH2 0xFFFF PUSH2 0x2FD3 SWAP4 PUSH1 0xA0 SHR AND SWAP6 PUSH2 0x2FBC DUP8 DUP5 GT ISZERO PUSH2 0x4517 JUMP JUMPDEST ADD SWAP4 DUP5 SLOAD SWAP1 PUSH1 0xFF DUP2 PUSH1 0x20 SHR AND PUSH2 0x318F JUMPI JUMPDEST POP PUSH2 0x4563 JUMP JUMPDEST SWAP3 DUP4 GT ISZERO PUSH2 0x4570 JUMP JUMPDEST SSTORE JUMPDEST DUP5 MLOAD SWAP8 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP10 GT PUSH2 0x317B JUMPI PUSH2 0x2FF9 DUP2 SLOAD PUSH2 0x407C JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x3140 JUMPI JUMPDEST POP PUSH1 0x20 SWAP9 PUSH1 0x1F DUP2 GT PUSH1 0x1 EQ PUSH2 0x30B0 JUMPI DUP5 PUSH1 0x2 PUSH2 0x309F SWAP7 SWAP6 SWAP5 SWAP4 DUP4 PUSH2 0x3091 SWAP5 DUP14 SWAP15 PUSH32 0x10911411B2F44E2516F7DD0DEB300CAD44ABF67ADE2E67B6883BD6D43605435C SWAP14 SWAP15 SWAP2 PUSH2 0x30A5 JUMPI JUMPDEST POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR DUP2 SSTORE JUMPDEST ADD DUP1 SLOAD PUSH5 0xFFFFFFFFFF NOT AND PUSH2 0xFFFF DUP13 AND OR PUSH4 0xFFFF0000 PUSH1 0x10 DUP8 SWAP1 SHL AND OR SWAP2 ISZERO ISZERO PUSH1 0x20 SHL PUSH5 0xFF00000000 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST SLOAD SWAP7 PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP6 DUP7 PUSH2 0x45E7 JUMP JUMPDEST SUB SWAP1 LOG2 DUP1 RETURN JUMPDEST SWAP1 POP DUP12 ADD MLOAD CODESIZE PUSH2 0x304B JUMP JUMPDEST DUP2 DUP10 MSTORE DUP10 DUP10 KECCAK256 SWAP10 PUSH1 0x1F NOT DUP3 AND DUP11 JUMPDEST DUP2 DUP2 LT PUSH2 0x3128 JUMPI POP DUP7 SWAP6 SWAP5 SWAP4 PUSH1 0x1 DUP5 PUSH32 0x10911411B2F44E2516F7DD0DEB300CAD44ABF67ADE2E67B6883BD6D43605435C SWAP13 SWAP14 SWAP15 PUSH2 0x309F SWAP11 SWAP6 PUSH2 0x3091 SWAP8 PUSH1 0x2 SWAP7 LT PUSH2 0x310F JUMPI JUMPDEST POP POP DUP2 SHL ADD DUP2 SSTORE PUSH2 0x305F JUMP JUMPDEST DUP14 ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 PUSH2 0x3103 JUMP JUMPDEST DUP10 DUP4 ADD MLOAD DUP14 SSTORE PUSH1 0x1 SWAP1 SWAP13 ADD SWAP12 PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 ADD PUSH2 0x30BE JUMP JUMPDEST PUSH2 0x316B SWAP1 DUP3 DUP11 MSTORE PUSH1 0x20 DUP11 KECCAK256 PUSH1 0x1F DUP13 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP14 LT PUSH2 0x3171 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 PUSH2 0x45D0 JUMP JUMPDEST CODESIZE PUSH2 0x3002 JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x315E JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP9 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP9 REVERT JUMPDEST SWAP1 PUSH2 0xFFFF PUSH2 0x31A1 SWAP3 PUSH1 0x10 SHR AND SWAP1 PUSH2 0x4255 JUMP JUMPDEST CODESIZE PUSH2 0x2FCD JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x51756F74612063616E6E6F74206265206C657373207468616E207469636B6574 PUSH1 0x44 DUP3 ADD MSTORE PUSH14 0x1CC8185B1C9958591E481CDBDB19 PUSH1 0x92 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP POP PUSH1 0xFF PUSH1 0x2 DUP10 ADD SLOAD PUSH1 0x20 SHR AND ISZERO PUSH2 0x2FDE 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 0x43616E6E6F74206368616E67652066726F6D206C696D6974656420746F20756E PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x6C696D697465642071756F7461 PUSH1 0x98 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP11 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP11 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C7920746865206C6F63616C2070726F7669646572206F66207468652065 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x76656E742063616E207570646174652063617465676F72696573000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0xE0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x4 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH2 0x3313 PUSH2 0x3DF9 JUMP JUMPDEST PUSH2 0x331B PUSH2 0x3E2A JUMP JUMPDEST SWAP5 PUSH1 0xC4 CALLDATALOAD SWAP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP3 DUP4 DUP6 SUB PUSH2 0x1BDA JUMPI PUSH2 0x3343 PUSH1 0x9 SLOAD DUP8 LT PUSH2 0x1E39 DUP2 PUSH2 0x439D JUMP JUMPDEST DUP3 ISZERO PUSH2 0x37D7 JUMPI PUSH2 0x3352 DUP7 PUSH2 0x3E4A JUMP JUMPDEST POP SWAP6 PUSH1 0xFF PUSH1 0x4 DUP9 ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x37C3 JUMPI PUSH1 0x1 SUB PUSH2 0x2404 JUMPI PUSH2 0x337C PUSH1 0xA SLOAD DUP5 LT PUSH2 0x43F4 JUMP JUMPDEST PUSH2 0x3385 DUP4 PUSH2 0x405D JUMP JUMPDEST POP DUP2 PUSH1 0x1 DUP3 ADD SLOAD SUB PUSH2 0x23B0 JUMPI PUSH1 0x2 ADD DUP1 SLOAD SWAP1 PUSH1 0xFF DUP3 PUSH1 0x20 SHR AND PUSH2 0x3785 JUMPI JUMPDEST PUSH2 0x33B9 SWAP2 POP PUSH2 0xFFFF PUSH1 0x2 DUP11 ADD SLOAD SWAP2 SLOAD AND SWAP1 PUSH2 0x585F JUMP JUMPDEST SWAP9 PUSH2 0x33C4 DUP6 DUP12 PUSH2 0x472A JUMP JUMPDEST PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP4 SWAP1 MSTORE SWAP2 SWAP8 SWAP2 SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x64 SWAP1 DUP3 SWAP1 DUP16 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x377A JUMPI DUP12 SWAP2 PUSH2 0x375B JUMPI JUMPDEST POP ISZERO PUSH2 0x2292 JUMPI PUSH1 0x7 SLOAD DUP11 SWAP9 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 DUP2 PUSH2 0x34EC JUMPI JUMPDEST POP POP DUP10 SWAP11 PUSH1 0x1 DUP1 PUSH1 0xA0 SWAP13 SWAP9 SWAP10 SWAP11 SWAP12 SWAP13 SHL SUB PUSH1 0x4 SLOAD AND SWAP2 DUP3 EXTCODESIZE ISZERO PUSH2 0x34E8 JUMPI PUSH1 0xFF DUP9 SWAP5 DUP2 PUSH2 0x124 SWAP9 PUSH1 0x40 MLOAD SWAP13 DUP14 SWAP12 DUP13 SWAP11 PUSH4 0x5A02D93 PUSH1 0xE5 SHL DUP13 MSTORE CALLER PUSH1 0x4 DUP14 ADD MSTORE PUSH1 0x24 DUP13 ADD MSTORE PUSH1 0x44 DUP12 ADD MSTORE PUSH1 0x64 DUP11 ADD MSTORE PUSH1 0x64 CALLDATALOAD PUSH1 0x84 DUP11 ADD MSTORE AND PUSH1 0xA4 DUP9 ADD MSTORE AND PUSH1 0xC4 DUP7 ADD MSTORE PUSH1 0xE4 DUP6 ADD MSTORE PUSH2 0x104 DUP5 ADD MSTORE GAS CALL DUP1 ISZERO PUSH2 0x1579 JUMPI PUSH2 0x34D4 JUMPI JUMPDEST POP PUSH1 0x5 DUP4 ADD DUP1 SLOAD SWAP1 PUSH1 0x1 PUSH1 0x40 SHL DUP3 LT ISZERO PUSH2 0x14D9 JUMPI SWAP3 PUSH1 0x8 SWAP3 PUSH2 0x1FCF DUP4 PUSH2 0x1FFA SWAP7 PUSH1 0x1 PUSH2 0x1FF0 SWAP7 ADD DUP2 SSTORE PUSH2 0x41DB JUMP JUMPDEST DUP5 PUSH2 0x34E1 SWAP2 SWAP6 SWAP3 SWAP6 PUSH2 0x3ECC JUMP JUMPDEST SWAP3 CODESIZE PUSH2 0x34A6 JUMP JUMPDEST DUP8 DUP1 REVERT JUMPDEST PUSH2 0x353C SWAP10 POP PUSH1 0xE0 SWAP2 DUP10 SWAP2 CALLER DUP6 SUB PUSH2 0x3756 JUMPI POP DUP13 JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xE696D10D DUP6 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE SWAP1 SWAP10 DUP11 SWAP2 SWAP1 DUP3 SWAP1 DUP15 SWAP1 DUP3 SWAP1 PUSH1 0x64 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP11 DUP12 ISZERO PUSH2 0x374B JUMPI DUP11 SWAP9 DUP12 SWAP1 DUP13 SWAP14 PUSH2 0x365F JUMPI JUMPDEST POP PUSH1 0x3 SWAP13 SWAP10 DUP13 SWAP14 DUP15 JUMPDEST LT PUSH2 0x3569 JUMPI POP DUP2 SWAP13 POP PUSH2 0x342D JUMP JUMPDEST DUP14 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x357C DUP3 DUP5 PUSH2 0x48E5 JUMP JUMPDEST MLOAD AND ISZERO ISZERO SWAP1 DUP2 PUSH2 0x364B JUMPI JUMPDEST POP PUSH2 0x359A JUMPI JUMPDEST PUSH1 0x1 PUSH1 0x3 SWAP15 ADD SWAP14 DUP15 PUSH2 0x355B JUMP JUMPDEST PUSH2 0x35CB PUSH1 0x20 DUP16 DUP16 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x3 SLOAD AND SWAP1 PUSH2 0x20EB PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH2 0x35C2 DUP4 DUP10 PUSH2 0x48E5 JUMP JUMPDEST MLOAD AND SWAP2 DUP9 PUSH2 0x48E5 JUMP JUMPDEST SUB SWAP3 GAS CALL SWAP1 DUP2 ISZERO PUSH2 0x363E JUMPI DUP15 SWAP2 PUSH2 0x3620 JUMPI JUMPDEST POP PUSH2 0x358D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x11985A5B1959081D1BC81C185E481C9959995C9C985B PUSH1 0x52 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x3638 SWAP2 POP PUSH1 0x20 RETURNDATASIZE DUP2 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x35DD JUMP JUMPDEST DUP15 PUSH1 0x40 MLOAD SWAP1 RETURNDATASIZE SWAP1 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH2 0x3656 SWAP2 POP DUP4 PUSH2 0x48E5 JUMP JUMPDEST MLOAD ISZERO ISZERO DUP15 PUSH2 0x3587 JUMP JUMPDEST SWAP12 SWAP11 SWAP10 POP POP SWAP11 POP PUSH1 0xE0 RETURNDATASIZE PUSH1 0xE0 GT PUSH2 0x3744 JUMPI JUMPDEST PUSH2 0x367B DUP2 DUP13 PUSH2 0x3ECC JUMP JUMPDEST DUP11 ADD SWAP11 PUSH1 0xE0 DUP12 DUP14 SUB SLT PUSH2 0x3740 JUMPI DUP12 PUSH1 0x1F DUP13 ADD SLT ISZERO PUSH2 0x3740 JUMPI DUP11 SWAP12 DUP11 SWAP12 SWAP10 SWAP11 POP PUSH1 0x40 MLOAD SWAP1 PUSH2 0x36A9 PUSH1 0x60 DUP4 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0x60 DUP3 SWAP12 ADD SWAP11 DUP2 DUP13 GT PUSH2 0x2282 JUMPI DUP15 DUP13 DUP4 SWAP3 DUP3 SWAP2 JUMPDEST DUP3 LT PUSH2 0x3710 JUMPI POP POP PUSH1 0x7F ADD SLT ISZERO PUSH2 0x12A5 JUMPI PUSH1 0x40 MLOAD SWAP11 PUSH2 0x36DD PUSH1 0x60 DUP14 PUSH2 0x3ECC JUMP JUMPDEST PUSH1 0xC0 DUP13 SWAP16 ADD SWAP2 DUP3 GT PUSH2 0x2282 JUMPI SWAP14 DUP2 DUP16 JUMPDEST LT PUSH2 0x36FE JUMPI POP MLOAD SWAP13 POP SWAP9 PUSH1 0x3 PUSH2 0x3552 JUMP JUMPDEST DUP15 MLOAD DUP2 MSTORE PUSH1 0x20 SWAP15 DUP16 ADD SWAP15 ADD DUP2 DUP16 PUSH2 0x36ED JUMP JUMPDEST DUP2 MLOAD SWAP2 SWAP4 POP SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x373C JUMPI DUP2 PUSH1 0x20 SWAP3 SWAP2 DUP4 SWAP3 MSTORE ADD SWAP2 ADD DUP16 SWAP1 DUP4 SWAP3 DUP15 PUSH2 0x36BD JUMP JUMPDEST DUP16 DUP1 REVERT JUMPDEST DUP10 DUP1 REVERT JUMPDEST POP RETURNDATASIZE PUSH2 0x3671 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP13 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH2 0x3500 JUMP JUMPDEST PUSH2 0x3774 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xB02 JUMPI PUSH2 0xAF4 DUP2 DUP4 PUSH2 0x3ECC JUMP JUMPDEST CODESIZE PUSH2 0x3410 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE DUP14 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH2 0xFFFF DUP3 PUSH1 0x28 SHR AND SWAP2 PUSH2 0xFFFF DUP8 AND SWAP1 PUSH2 0xFFFF DUP1 PUSH2 0x37A2 DUP5 DUP8 PUSH2 0x48CF JUMP JUMPDEST SWAP3 PUSH1 0x10 SHR AND SWAP2 AND GT PUSH2 0x236B JUMPI PUSH2 0x2346 PUSH2 0x37BE SWAP2 PUSH2 0x33B9 SWAP5 PUSH2 0x48CF JUMP JUMPDEST PUSH2 0x33A3 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP10 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP10 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416D6F756E74206D7573742062652067726561746572207468616E2030000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x9 SLOAD DUP3 LT ISZERO PUSH2 0x273 JUMPI PUSH2 0x160 PUSH2 0x3848 DUP4 PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 SLOAD AND SWAP1 PUSH1 0x1 DUP2 ADD SLOAD SWAP1 PUSH2 0x38DA PUSH1 0x2 DUP3 ADD SLOAD PUSH2 0x38B7 PUSH1 0x3 DUP5 ADD SLOAD PUSH1 0x4 DUP6 ADD SLOAD SWAP1 PUSH2 0x387C PUSH1 0x6 DUP8 ADD PUSH2 0x3EED JUMP JUMPDEST SWAP4 PUSH1 0x9 PUSH1 0x8 DUP9 ADD SLOAD SWAP8 ADD SLOAD SWAP8 PUSH1 0x40 MLOAD SWAP10 DUP11 MSTORE PUSH1 0x20 DUP11 ADD MSTORE PUSH1 0x40 DUP10 ADD MSTORE PUSH1 0x60 DUP9 ADD MSTORE PUSH2 0xFFFF DUP2 AND PUSH1 0x80 DUP9 ADD MSTORE PUSH1 0xFF PUSH1 0xA0 DUP9 ADD SWAP2 PUSH1 0x10 SHR AND PUSH2 0x3F19 JUMP JUMPDEST PUSH1 0xC0 DUP6 ADD SWAP1 PUSH1 0xFF PUSH1 0x40 DUP1 SWAP3 DUP1 MLOAD DUP6 MSTORE DUP3 PUSH1 0x20 DUP3 ADD MLOAD AND PUSH1 0x20 DUP7 ADD MSTORE ADD MLOAD AND SWAP2 ADD MSTORE JUMP JUMPDEST PUSH2 0x120 DUP4 ADD MSTORE PUSH2 0x140 DUP3 ADD MSTORE RETURN JUMPDEST POP CALLVALUE PUSH2 0x273 JUMPI PUSH2 0x140 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x273 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH2 0xFFFF DUP3 AND DUP3 SUB PUSH2 0x273 JUMPI PUSH2 0x3912 PUSH2 0x3DC9 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD PUSH2 0x391D PUSH2 0x3DE9 JUMP JUMPDEST PUSH2 0x3925 PUSH2 0x3DF9 JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP2 DUP3 ISZERO ISZERO DUP4 SUB PUSH2 0x5BE JUMPI PUSH2 0x393A PUSH2 0x3E09 JUMP JUMPDEST SWAP4 PUSH2 0x3943 PUSH2 0x3E19 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP9 MSTORE PUSH1 0x20 DUP9 DUP2 MSTORE PUSH1 0x40 DUP1 DUP11 KECCAK256 CALLER DUP12 MSTORE SWAP1 SWAP2 MSTORE DUP9 KECCAK256 SLOAD PUSH1 0xFF AND SWAP9 SWAP1 SWAP7 SWAP1 DUP10 DUP1 ISZERO PUSH2 0x3D47 JUMPI JUMPDEST ISZERO PUSH2 0x3D12 JUMPI DUP10 PUSH2 0x3CFF JUMPI JUMPDEST DUP10 ISZERO PUSH2 0x3CF9 JUMPI CALLER JUMPDEST DUP11 ISZERO PUSH2 0x3CF3 JUMPI PUSH1 0x1 JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH2 0x399F DUP3 PUSH2 0x3E7F JUMP JUMPDEST PUSH1 0xC4 CALLDATALOAD DUP3 MSTORE PUSH1 0xFF DUP11 AND PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0xFF DUP12 AND PUSH1 0x40 DUP4 ADD MSTORE DUP9 DUP9 DUP9 PUSH1 0x40 MLOAD SWAP5 PUSH2 0x39C6 DUP7 PUSH2 0x3EB0 JUMP JUMPDEST CALLER DUP7 MSTORE PUSH1 0x20 DUP7 ADD SWAP7 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND DUP8 MSTORE PUSH1 0x40 DUP7 ADD SWAP7 PUSH2 0xFFFF DUP10 AND DUP9 MSTORE PUSH1 0x60 DUP8 ADD PUSH2 0xFFFF DUP12 AND DUP2 MSTORE PUSH1 0x80 DUP9 ADD SWAP3 DUP13 DUP5 MSTORE PUSH1 0xFF PUSH1 0xA0 DUP11 ADD SWAP6 AND DUP6 MSTORE PUSH1 0xFF PUSH1 0xC0 DUP11 ADD SWAP7 AND DUP7 MSTORE PUSH1 0xE0 DUP10 ADD SWAP7 ISZERO ISZERO DUP8 MSTORE PUSH2 0x3A23 PUSH2 0x100 DUP11 ADD SWAP9 DUP10 PUSH2 0x4249 JUMP JUMPDEST PUSH2 0x120 DUP10 ADD MSTORE PUSH2 0x124 CALLDATALOAD PUSH2 0x140 DUP10 ADD MSTORE PUSH1 0x8 SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x3CDB JUMPI DUP1 PUSH1 0x1 PUSH2 0x3A52 SWAP3 ADD PUSH1 0x8 SSTORE PUSH2 0x401B JUMP JUMPDEST SWAP10 SWAP1 SWAP10 PUSH2 0x3CC4 JUMPI DUP9 MLOAD DUP11 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND OR DUP12 SSTORE SWAP3 MLOAD PUSH1 0x1 DUP12 ADD DUP1 SLOAD SWAP3 MLOAD SWAP4 MLOAD PUSH1 0xA0 SWAP5 SWAP1 SWAP5 SHL PUSH2 0xFFFF PUSH1 0xA0 SHL AND SWAP2 SWAP1 SWAP5 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xC0 SHL SUB NOT SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR OR PUSH1 0xB0 SWAP2 SWAP1 SWAP2 SHL PUSH2 0xFFFF PUSH1 0xB0 SHL AND OR SWAP1 SSTORE MLOAD PUSH1 0x2 DUP8 ADD SSTORE MLOAD PUSH1 0x3 DUP7 ADD DUP1 SLOAD SWAP3 MLOAD SWAP4 MLOAD PUSH2 0xFF00 PUSH1 0x8 SWAP6 SWAP1 SWAP6 SHL SWAP5 SWAP1 SWAP5 AND PUSH1 0xFF SWAP1 SWAP3 AND PUSH3 0xFFFFFF NOT SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR OR SWAP2 ISZERO ISZERO PUSH1 0x10 SHL PUSH3 0xFF0000 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE MLOAD PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x3CB0 JUMPI PUSH1 0x6 SWAP2 PUSH2 0x140 SWAP2 PUSH4 0xFF000000 PUSH1 0x3 DUP7 ADD SLOAD SWAP2 PUSH1 0x18 SHL AND SWAP1 PUSH4 0xFF000000 NOT AND OR PUSH1 0x3 DUP6 ADD SSTORE PUSH2 0x3B64 PUSH2 0x120 DUP3 ADD MLOAD DUP1 MLOAD PUSH1 0x4 DUP8 ADD SSTORE PUSH1 0xFF PUSH1 0x40 PUSH1 0x5 DUP9 ADD SWAP3 DUP3 DUP1 PUSH1 0x20 DUP4 ADD MLOAD AND AND DUP4 NOT DUP6 SLOAD AND OR DUP5 SSTORE ADD MLOAD AND PUSH2 0xFF00 DUP3 SLOAD SWAP2 PUSH1 0x8 SHL AND SWAP1 PUSH2 0xFF00 NOT AND OR SWAP1 SSTORE JUMP JUMPDEST ADD MLOAD SWAP2 ADD SSTORE PUSH1 0x8 SLOAD PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP2 GT PUSH2 0x3C9C JUMPI DUP10 SWAP11 PUSH2 0x3B8F PUSH2 0x19ED PUSH2 0x3B89 DUP5 PUSH2 0x401B JUMP JUMPDEST POP PUSH2 0x4278 JUMP JUMPDEST ISZERO PUSH2 0x3C1C JUMPI PUSH1 0x40 DUP1 MLOAD CALLER DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH2 0xFFFF SWAP3 DUP4 AND SWAP1 DUP3 ADD MSTORE SWAP2 AND PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0xFF SWAP2 DUP3 AND PUSH1 0xA0 DUP3 ADD MSTORE SWAP2 AND PUSH1 0xC0 DUP3 ADD MSTORE SWAP1 ISZERO ISZERO PUSH1 0xE0 DUP3 ADD MSTORE SWAP3 POP SWAP2 PUSH1 0xFF PUSH2 0x1A0 SWAP3 DUP2 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AC1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP6 PUSH1 0x1 PUSH2 0x100 DUP7 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH2 0x120 DUP7 ADD MSTORE AND PUSH2 0x140 DUP5 ADD MSTORE AND PUSH2 0x160 DUP3 ADD MSTORE PUSH2 0x124 CALLDATALOAD PUSH2 0x180 DUP3 ADD MSTORE LOG1 DUP1 RETURN JUMPDEST SWAP9 POP PUSH1 0x40 MLOAD SWAP9 DUP10 MSTORE CALLER PUSH1 0x20 DUP11 ADD MSTORE PUSH2 0xFFFF AND PUSH1 0x40 DUP10 ADD MSTORE PUSH2 0xFFFF AND PUSH1 0x60 DUP9 ADD MSTORE PUSH1 0x80 DUP8 ADD MSTORE PUSH1 0xFF AND PUSH1 0xA0 DUP7 ADD MSTORE PUSH1 0xFF AND PUSH1 0xC0 DUP6 ADD MSTORE ISZERO ISZERO PUSH1 0xE0 DUP5 ADD MSTORE PUSH1 0xC4 CALLDATALOAD PUSH2 0x100 DUP5 ADD MSTORE PUSH1 0xFF AND PUSH2 0x120 DUP4 ADD MSTORE PUSH1 0xFF AND PUSH2 0x140 DUP3 ADD MSTORE PUSH2 0x160 PUSH32 0x9FF4F860DC119DFF15347F57FAD0189A16D6940238A52EFE730908119A17450C SWAP2 LOG1 DUP1 RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP11 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 DUP11 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP13 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 DUP13 REVERT JUMPDEST POP POP POP POP PUSH1 0x24 DUP16 PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP2 MSTORE DUP1 PUSH1 0x4 MSTORE REVERT JUMPDEST POP POP POP POP PUSH1 0x24 DUP16 PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE REVERT JUMPDEST DUP10 PUSH2 0x3992 JUMP JUMPDEST DUP9 PUSH2 0x3989 JUMP JUMPDEST PUSH2 0x3D0D PUSH2 0x124 CALLDATALOAD ISZERO ISZERO PUSH2 0x41F3 JUMP JUMPDEST PUSH2 0x3981 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xD PUSH1 0x24 DUP3 ADD MSTORE PUSH13 0x1858D8D95CDCC819195B9A5959 PUSH1 0x9A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP10 MSTORE PUSH1 0x20 DUP10 DUP2 MSTORE PUSH1 0x40 DUP1 DUP12 KECCAK256 CALLER DUP13 MSTORE SWAP1 SWAP2 MSTORE DUP10 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x3976 JUMP JUMPDEST SWAP1 POP CALLVALUE PUSH2 0x730 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x730 JUMPI PUSH1 0x4 CALLDATALOAD PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP2 AND DUP1 SWAP2 SUB PUSH2 0x93E JUMPI PUSH1 0x20 SWAP3 POP PUSH4 0x7965DB0B PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x3DB8 JUMPI JUMPDEST POP ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL EQ SWAP1 POP CODESIZE PUSH2 0x3DB1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH2 0xFFFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH2 0xFFFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0x84 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0xE4 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH2 0x104 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0xC4 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0x9 SLOAD DUP2 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0x9 PUSH1 0x0 MSTORE PUSH1 0xA PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP2 MUL ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x60 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x3E9A JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x160 DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x3E9A JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x3E9A JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD PUSH2 0x3EFA DUP2 PUSH2 0x3E7F JUMP JUMPDEST PUSH1 0x40 PUSH1 0xFF PUSH1 0x1 DUP4 SWAP6 DUP1 SLOAD DUP6 MSTORE ADD SLOAD DUP2 DUP2 AND PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x8 SHR AND SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 PUSH1 0x5 DUP3 LT ISZERO PUSH2 0x3F26 JUMPI MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x15F6 JUMPI JUMP JUMPDEST DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x15F6 JUMPI DUP1 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x3E9A JUMPI PUSH1 0x40 MLOAD SWAP3 PUSH2 0x3F9C PUSH1 0x1F DUP5 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP6 PUSH2 0x3ECC JUMP JUMPDEST DUP3 DUP5 MSTORE PUSH1 0x20 DUP4 DUP4 ADD ADD GT PUSH2 0x15F6 JUMPI DUP2 PUSH1 0x0 SWAP3 PUSH1 0x20 DUP1 SWAP4 ADD DUP4 DUP7 ADD CALLDATACOPY DUP4 ADD ADD MSTORE SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0xA0 PUSH1 0x3 NOT DUP4 ADD SLT PUSH2 0x15F6 JUMPI PUSH1 0x4 CALLDATALOAD SWAP2 PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x15F6 JUMPI PUSH2 0x3FED SWAP2 PUSH1 0x4 ADD PUSH2 0x3F68 JUMP JUMPDEST SWAP1 PUSH1 0x44 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 SUB PUSH2 0x15F6 JUMPI SWAP1 PUSH1 0x64 CALLDATALOAD PUSH2 0xFFFF DUP2 AND DUP2 SUB PUSH2 0x15F6 JUMPI SWAP1 PUSH1 0x84 CALLDATALOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x15F6 JUMPI SWAP1 JUMP JUMPDEST PUSH1 0x8 SLOAD DUP2 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0x8 PUSH1 0x0 MSTORE PUSH1 0x7 PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP2 MUL ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x3 DUP3 LT ISZERO PUSH2 0x3F26 JUMPI MSTORE JUMP JUMPDEST PUSH1 0x40 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x15F6 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x24 CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0xA SLOAD DUP2 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0xA PUSH1 0x0 MSTORE PUSH1 0x3 PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP2 MUL ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x40AC JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x4096 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x408B JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 PUSH1 0x0 DUP3 SLOAD SWAP3 PUSH2 0x40CA DUP5 PUSH2 0x407C JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP4 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x4138 JUMPI POP PUSH1 0x1 EQ PUSH2 0x40F1 JUMPI JUMPDEST POP PUSH2 0x40EF SWAP3 POP SUB DUP4 PUSH2 0x3ECC JUMP JUMPDEST JUMP JUMPDEST SWAP1 POP PUSH1 0x0 SWAP3 SWAP2 SWAP3 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP2 JUMPDEST DUP2 DUP4 LT PUSH2 0x411C JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0x40EF SWAP3 DUP3 ADD ADD CODESIZE PUSH2 0x40E2 JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP10 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP5 SWAP3 PUSH2 0x4103 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 SWAP3 POP PUSH2 0x40EF SWAP5 SWAP2 POP PUSH1 0xFF NOT AND DUP3 DUP5 ADD MSTORE ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD ADD CODESIZE PUSH2 0x40E2 JUMP JUMPDEST SWAP2 SWAP1 DUP3 MLOAD SWAP3 DUP4 DUP3 MSTORE PUSH1 0x0 JUMPDEST DUP5 DUP2 LT PUSH2 0x4186 JUMPI POP POP DUP3 PUSH1 0x0 PUSH1 0x20 DUP1 SWAP5 SWAP6 DUP5 ADD ADD MSTORE PUSH1 0x1F DUP1 NOT SWAP2 ADD AND ADD ADD SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x20 DUP1 SWAP3 DUP5 ADD ADD MLOAD DUP3 DUP3 DUP7 ADD ADD MSTORE ADD PUSH2 0x4165 JUMP JUMPDEST SWAP5 SWAP1 PUSH1 0xA0 SWAP5 PUSH2 0xFFFF DUP1 SWAP6 PUSH2 0x41BC DUP3 SWAP5 SWAP12 SWAP11 SWAP7 SWAP12 PUSH1 0xC0 DUP12 MSTORE PUSH1 0xC0 DUP12 ADD SWAP1 PUSH2 0x415A JUMP JUMPDEST SWAP11 PUSH1 0x20 DUP11 ADD MSTORE AND PUSH1 0x40 DUP9 ADD MSTORE AND PUSH1 0x60 DUP7 ADD MSTORE ISZERO ISZERO PUSH1 0x80 DUP6 ADD MSTORE AND SWAP2 ADD MSTORE JUMP JUMPDEST DUP1 SLOAD DUP3 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST ISZERO PUSH2 0x41FA JUMPI JUMP JUMPDEST 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 0x4465706F736974206D7573742062652067726561746572207468616E207A6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x6F PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x3 DUP3 LT ISZERO PUSH2 0x3F26 JUMPI MSTORE JUMP JUMPDEST SWAP2 SWAP1 DUP3 SUB SWAP2 DUP3 GT PUSH2 0x4262 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x40 MLOAD PUSH2 0x4285 DUP2 PUSH2 0x3EB0 JUMP JUMPDEST PUSH2 0x140 PUSH1 0x6 DUP3 SWAP5 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 SLOAD AND DUP5 MSTORE PUSH2 0xFFFF PUSH1 0x1 DUP3 ADD SLOAD PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x20 DUP8 ADD MSTORE DUP2 DUP2 PUSH1 0xA0 SHR AND PUSH1 0x40 DUP8 ADD MSTORE PUSH1 0xB0 SHR AND PUSH1 0x60 DUP6 ADD MSTORE PUSH1 0x2 DUP2 ADD SLOAD PUSH1 0x80 DUP6 ADD MSTORE PUSH2 0x4304 PUSH1 0xFF PUSH1 0x3 DUP4 ADD SLOAD DUP2 DUP2 AND PUSH1 0xA0 DUP9 ADD MSTORE DUP2 DUP2 PUSH1 0x8 SHR AND PUSH1 0xC0 DUP9 ADD MSTORE DUP2 DUP2 PUSH1 0x10 SHR AND ISZERO ISZERO PUSH1 0xE0 DUP9 ADD MSTORE PUSH1 0x18 SHR AND PUSH2 0x100 DUP7 ADD PUSH2 0x4249 JUMP JUMPDEST PUSH2 0x4310 PUSH1 0x4 DUP3 ADD PUSH2 0x3EED JUMP JUMPDEST PUSH2 0x120 DUP6 ADD MSTORE ADD SLOAD SWAP2 ADD MSTORE JUMP JUMPDEST SWAP11 SWAP9 SWAP7 SWAP5 SWAP3 SWAP1 SWAP14 SWAP13 SWAP12 SWAP10 SWAP8 SWAP6 SWAP4 SWAP2 PUSH2 0x1A0 DUP13 ADD SWAP15 PUSH1 0x1 PUSH1 0xA0 SHL PUSH1 0x1 SWAP1 SUB AND DUP13 MSTORE PUSH1 0x20 DUP13 ADD MSTORE PUSH2 0xFFFF AND PUSH1 0x40 DUP12 ADD MSTORE PUSH2 0xFFFF AND PUSH1 0x60 DUP11 ADD MSTORE PUSH1 0x80 DUP10 ADD MSTORE PUSH1 0xFF AND PUSH1 0xA0 DUP9 ADD MSTORE PUSH1 0xFF AND PUSH1 0xC0 DUP8 ADD MSTORE ISZERO ISZERO PUSH1 0xE0 DUP7 ADD MSTORE PUSH2 0x100 DUP6 ADD PUSH2 0x437E SWAP2 PUSH2 0x403A JUMP JUMPDEST PUSH2 0x120 DUP5 ADD MSTORE PUSH1 0xFF AND PUSH2 0x140 DUP4 ADD MSTORE PUSH1 0xFF AND PUSH2 0x160 DUP3 ADD MSTORE PUSH2 0x180 ADD MSTORE JUMP JUMPDEST ISZERO PUSH2 0x43A4 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74207769746820676976656E20696420646F6573206E6F7420657869 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x1CDD PUSH1 0xF2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x43FB JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43617465676F727920646F6573206E6F74206578697374000000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x4447 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x88D2E6C6DEEADCE840E8DEDE40D0D2CED PUSH1 0x7B SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x4487 JUMPI JUMP JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74206D75737420626520696E207375626D6974746564207374617465 PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST ISZERO PUSH2 0x44D2 JUMPI JUMP JUMPDEST 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 0x51756F7461206D7573742062652067726561746572207468616E203000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x451E JUMPI JUMP JUMPDEST 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 0x51756F74612065786365656473206576656E7420636170616369747900000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x4262 JUMPI JUMP JUMPDEST ISZERO PUSH2 0x4577 JUMPI JUMP JUMPDEST 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 0x546F74616C2063617465676F72792071756F7461732065786365656420657665 PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x6E74206361706163697479 PUSH1 0xA8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST DUP2 DUP2 LT PUSH2 0x45DB JUMPI POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x45D0 JUMP JUMPDEST SWAP4 PUSH2 0xFFFF PUSH2 0x4609 PUSH1 0x80 SWAP6 SWAP9 SWAP8 SWAP5 DUP3 SWAP5 DUP9 MSTORE PUSH1 0xA0 PUSH1 0x20 DUP10 ADD MSTORE PUSH1 0xA0 DUP9 ADD SWAP1 PUSH2 0x415A JUMP JUMPDEST SWAP8 AND PUSH1 0x40 DUP7 ADD MSTORE AND PUSH1 0x60 DUP5 ADD MSTORE ISZERO ISZERO SWAP2 ADD MSTORE JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x15F6 JUMPI MLOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x15F6 JUMPI SWAP1 JUMP JUMPDEST ISZERO PUSH2 0x463C JUMPI JUMP JUMPDEST 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 0x526576656E75652073706C6974746572206E6F74207365740000000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x4688 JUMPI JUMP JUMPDEST 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 0x4576656E74506C61636520646F6573206E6F7420657869737400000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x46D4 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74506C6163652073746174757320646966666572732066726F6D2073 PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x1D589B5A5D1D1959 PUSH1 0xC2 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST DUP2 DUP2 MUL SWAP3 SWAP2 DUP2 ISZERO SWAP2 DUP5 DIV EQ OR ISZERO PUSH2 0x4262 JUMPI JUMP JUMPDEST ISZERO PUSH2 0x4744 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E742073746174757320646966666572732066726F6D207375626D6974 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x1D1959 PUSH1 0xEA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP2 ADD SWAP1 PUSH2 0xFFFF DUP3 MLOAD AND SWAP2 PUSH1 0x60 DUP3 ADD SWAP3 PUSH2 0xFFFF DUP5 MLOAD AND GT PUSH2 0x485D JUMPI MLOAD PUSH2 0xFFFF AND ISZERO ISZERO SWAP2 DUP3 PUSH2 0x484E JUMPI JUMPDEST POP DUP2 PUSH2 0x4840 JUMPI JUMPDEST DUP2 PUSH2 0x482F JUMPI JUMPDEST DUP2 PUSH2 0x481E JUMPI JUMPDEST POP ISZERO PUSH2 0x47DA JUMPI JUMP JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x56616C756573206D7573742062652067726561746572207468616E207A65726F PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST PUSH1 0xFF SWAP2 POP PUSH1 0xC0 ADD MLOAD AND ISZERO ISZERO CODESIZE PUSH2 0x47D2 JUMP JUMPDEST PUSH1 0xA0 DUP2 ADD MLOAD PUSH1 0xFF AND ISZERO ISZERO SWAP2 POP PUSH2 0x47CC JUMP JUMPDEST PUSH1 0x80 DUP2 ADD MLOAD ISZERO ISZERO SWAP2 POP PUSH2 0x47C6 JUMP JUMPDEST MLOAD PUSH2 0xFFFF AND ISZERO ISZERO SWAP2 POP CODESIZE PUSH2 0x47BF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x30 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D6178207469636B657473206D7573742062652067726561746572206F722065 PUSH1 0x44 DUP3 ADD MSTORE PUSH16 0x7175616C206D696E207469636B657473 PUSH1 0x80 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH2 0xFFFF PUSH1 0x1 SWAP2 AND ADD SWAP1 PUSH2 0xFFFF DUP3 GT PUSH2 0x4262 JUMPI JUMP JUMPDEST SWAP1 PUSH2 0xFFFF DUP1 SWAP2 AND SWAP2 AND ADD SWAP1 PUSH2 0xFFFF DUP3 GT PUSH2 0x4262 JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x3E69 JUMPI PUSH1 0x5 SHL ADD SWAP1 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x491D JUMPI JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x7E6BD641AA5A36165D118B996B76E05CEFFBB271E65750D5550562C950981CEA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x497D JUMPI JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5B21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x49C7 JUMPI POP JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x7E6BD641AA5A36165D118B996B76E05CEFFBB271E65750D5550562C950981CEA PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x4A1E JUMPI PUSH2 0x40EF SWAP1 PUSH2 0x57EB JUMP JUMPDEST POP JUMP JUMPDEST SWAP1 PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP2 GT PUSH2 0x4262 JUMPI PUSH3 0x15180 DUP2 MUL SWAP1 DUP1 DUP3 DIV PUSH3 0x15180 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x4262 JUMPI PUSH2 0x4A4E SWAP2 PUSH2 0x4563 JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x4AE9 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x4B73 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x4AE9 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AA1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5A81 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x944A3F6A0DB97263C682EDFCE566F4362603AC9455907A1040399DBEEBC10239 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x4AE9 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH32 0x944A3F6A0DB97263C682EDFCE566F4362603AC9455907A1040399DBEEBC10239 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x5AE1 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x4B73 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x9 SLOAD SWAP1 PUSH1 0x0 JUMPDEST DUP3 DUP2 LT PUSH2 0x4D62 JUMPI POP POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST DUP2 PUSH1 0x1 PUSH2 0x4D6E DUP4 PUSH2 0x3E4A JUMP JUMPDEST POP ADD SLOAD EQ PUSH2 0x4D7F JUMPI JUMPDEST PUSH1 0x1 ADD PUSH2 0x4D53 JUMP JUMPDEST PUSH1 0xFF PUSH1 0x4 PUSH2 0x4D8C DUP4 PUSH2 0x3E4A JUMP JUMPDEST POP ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI ISZERO DUP1 ISZERO PUSH2 0x4DB2 JUMPI JUMPDEST ISZERO PUSH2 0x4D77 JUMPI JUMPDEST POP POP POP PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0xFF PUSH1 0x4 PUSH2 0x4DC0 DUP4 PUSH2 0x3E4A JUMP JUMPDEST POP ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI PUSH1 0x1 EQ PUSH2 0x4DA4 JUMP JUMPDEST SWAP4 SWAP1 SWAP2 PUSH2 0x4DE4 DUP6 PUSH2 0x3E4A JUMP JUMPDEST POP PUSH1 0xFF PUSH1 0x4 DUP3 ADD SLOAD PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI PUSH2 0x4E03 SWAP1 ISZERO PUSH2 0x4480 JUMP JUMPDEST PUSH2 0xFFFF DUP3 AND SWAP1 PUSH2 0x4E17 PUSH2 0x2710 DUP4 GT ISZERO PUSH2 0x4440 JUMP JUMPDEST DUP4 ISZERO PUSH2 0x5126 JUMPI PUSH2 0x4E75 PUSH2 0xFFFF DUP8 AND PUSH2 0x4E30 DUP2 ISZERO ISZERO PUSH2 0x44CB JUMP JUMPDEST PUSH1 0x9 PUSH2 0xFFFF PUSH1 0x1 PUSH2 0x4E43 DUP2 DUP8 ADD SLOAD PUSH2 0x401B JUMP JUMPDEST POP ADD SLOAD PUSH1 0xA0 SHR AND SWAP4 PUSH2 0x4E57 DUP6 DUP5 GT ISZERO PUSH2 0x4517 JUMP JUMPDEST ADD SWAP3 PUSH2 0x4E70 DUP5 SLOAD SWAP2 PUSH2 0x4E69 DUP5 DUP5 PUSH2 0x4563 JUMP JUMPDEST GT ISZERO PUSH2 0x4570 JUMP JUMPDEST PUSH2 0x4563 JUMP JUMPDEST SWAP1 SSTORE JUMPDEST PUSH1 0x40 MLOAD PUSH1 0xC0 DUP2 ADD DUP2 DUP2 LT PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT OR PUSH2 0x3E9A JUMPI PUSH1 0x40 MSTORE DUP5 DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP1 DUP8 DUP3 MSTORE PUSH1 0x40 DUP2 ADD SWAP3 DUP4 MSTORE PUSH1 0x60 DUP2 ADD PUSH2 0xFFFF DUP9 AND DUP2 MSTORE PUSH1 0x80 DUP3 ADD SWAP2 DUP7 ISZERO ISZERO DUP4 MSTORE PUSH1 0xA0 DUP2 ADD SWAP4 PUSH1 0x0 DUP6 MSTORE PUSH1 0xA SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x3E9A JUMPI DUP1 PUSH1 0x1 PUSH2 0x4EE3 SWAP3 ADD PUSH1 0xA SSTORE PUSH2 0x405D JUMP JUMPDEST SWAP3 SWAP1 SWAP3 PUSH2 0x5110 JUMPI MLOAD DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x3E9A JUMPI PUSH2 0x4F06 DUP5 SLOAD PUSH2 0x407C JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x50DE JUMPI JUMPDEST POP PUSH1 0x20 SWAP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 EQ PUSH2 0x505F JUMPI SWAP5 PUSH2 0xFFFF DUP1 PUSH1 0x2 PUSH2 0x4FA4 SWAP8 DUP3 SWAP11 SWAP8 DUP8 PUSH2 0x4F87 SWAP9 PUSH2 0x4FC4 SWAP16 SWAP15 SWAP13 SWAP9 DUP7 SWAP10 PUSH1 0x0 SWAP3 PUSH2 0x5054 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR DUP3 SSTORE JUMPDEST MLOAD PUSH1 0x1 DUP3 ADD SSTORE ADD SWAP10 MLOAD AND AND DUP3 NOT DUP10 SLOAD AND OR DUP9 SSTORE MLOAD AND DUP7 SWAP1 PUSH4 0xFFFF0000 DUP3 SLOAD SWAP2 PUSH1 0x10 SHL AND SWAP1 PUSH4 0xFFFF0000 NOT AND OR SWAP1 SSTORE JUMP JUMPDEST MLOAD DUP5 SLOAD PUSH5 0xFF00000000 NOT AND SWAP1 ISZERO ISZERO PUSH1 0x20 SHL PUSH5 0xFF00000000 AND OR DUP5 SSTORE JUMP JUMPDEST MLOAD DUP3 SLOAD PUSH7 0xFFFF0000000000 NOT AND SWAP2 AND PUSH1 0x28 SHL PUSH7 0xFFFF0000000000 AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0xA SLOAD PUSH1 0x0 NOT DUP2 ADD SWAP3 SWAP1 DUP4 GT PUSH2 0x4262 JUMPI DUP6 PUSH1 0x0 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP5 DUP6 SLOAD SWAP3 PUSH1 0x1 PUSH1 0x40 SHL DUP5 LT ISZERO PUSH2 0x3E9A JUMPI PUSH2 0x5043 DUP6 PUSH2 0x502A DUP7 PUSH32 0x54D2DF69997747C3EF7CF04A5C9F979D39ED128D21AF00034E2F660262A8AABB SWAP11 PUSH1 0x1 PUSH2 0x504F SWAP10 ADD DUP2 SSTORE PUSH2 0x41DB JUMP JUMPDEST SWAP1 SWAP2 SWAP1 DUP3 SLOAD SWAP1 PUSH1 0x3 SHL SWAP2 DUP3 SHL SWAP2 PUSH1 0x0 NOT SWAP1 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP6 DUP7 PUSH2 0x45E7 JUMP JUMPDEST SUB SWAP1 LOG2 JUMP JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0x4F42 JUMP JUMPDEST SWAP1 PUSH1 0x1F NOT DUP4 AND SWAP2 DUP6 PUSH1 0x0 MSTORE DUP2 PUSH1 0x0 KECCAK256 SWAP3 PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x50C6 JUMPI POP PUSH1 0x2 PUSH2 0x4FA4 SWAP8 PUSH2 0xFFFF SWAP11 SWAP8 PUSH1 0x1 DUP9 PUSH2 0x4FC4 SWAP16 SWAP15 SWAP13 SWAP8 SWAP9 DUP15 SWAP10 DUP11 SWAP9 PUSH2 0x4F87 SWAP13 DUP11 SWAP10 LT PUSH2 0x50AD JUMPI JUMPDEST POP POP POP DUP2 SHL ADD DUP3 SSTORE PUSH2 0x4F57 JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x50A0 JUMP JUMPDEST SWAP3 SWAP4 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP8 DUP7 ADD MLOAD DUP2 SSTORE ADD SWAP6 ADD SWAP4 ADD PUSH2 0x5072 JUMP JUMPDEST PUSH2 0x510A SWAP1 DUP6 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 PUSH1 0x1F DUP6 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP7 LT PUSH2 0x3171 JUMPI PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 PUSH2 0x45D0 JUMP JUMPDEST CODESIZE PUSH2 0x4F0F JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH2 0x5130 DUP7 PUSH2 0x5507 JUMP JUMPDEST ISZERO PUSH2 0x4E78 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 0x4F6E6C79206F6E6520756E6C696D697465642071756F74612063617465676F72 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x1E48185B1B1BDDD959 PUSH1 0xBA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH3 0x15180 SWAP1 DIV PUSH3 0x15180 DUP2 MUL SWAP1 DUP1 DUP3 DIV PUSH3 0x15180 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x4262 JUMPI SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD SLOAD PUSH2 0x51BA DUP2 PUSH2 0x401B JUMP JUMPDEST POP SWAP2 PUSH1 0x4 DUP2 ADD SLOAD PUSH1 0xFF DUP2 PUSH1 0x10 SHR AND PUSH1 0x5 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI PUSH1 0x1 LT PUSH2 0x54C9 JUMPI PUSH1 0x3 DUP5 ADD SLOAD SWAP4 PUSH1 0xFF DUP6 PUSH1 0x18 SHR AND PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x3F26 JUMPI PUSH1 0x1 SUB PUSH2 0x5484 JUMPI PUSH1 0xFF DUP6 PUSH1 0x10 SHR AND ISZERO PUSH2 0x543F JUMPI PUSH1 0x2 ADD SLOAD PUSH1 0x2 DUP4 ADD SLOAD LT PUSH2 0x53F0 JUMPI PUSH2 0xFFFF AND SWAP3 DUP4 PUSH1 0xFF DUP3 PUSH1 0x8 SHR AND GT PUSH2 0x53AC JUMPI PUSH1 0xFF PUSH2 0x522C TIMESTAMP PUSH2 0x518C JUMP JUMPDEST SWAP2 AND SWAP1 DUP2 PUSH3 0x15180 MUL SWAP2 PUSH3 0x15180 DUP4 DIV SUB PUSH2 0x4262 JUMPI PUSH1 0x3 SWAP2 PUSH2 0x524D SWAP2 PUSH2 0x4563 JUMP JUMPDEST SWAP2 ADD SLOAD DUP1 SWAP2 GT PUSH2 0x535B JUMPI PUSH4 0x1518000 PUSH2 0x526E PUSH2 0x5268 TIMESTAMP PUSH2 0x518C JUMP JUMPDEST DUP4 PUSH2 0x4255 JUMP JUMPDEST GT PUSH2 0x5305 JUMPI PUSH2 0x5280 PUSH2 0x52AA SWAP4 DUP3 PUSH2 0x4A21 JUMP JUMPDEST SWAP2 PUSH2 0x5293 PUSH1 0x1 SLOAD PUSH2 0x53A DUP2 DUP6 LT ISZERO PUSH2 0x555B JUMP JUMPDEST PUSH2 0x52A5 PUSH4 0x1518000 PUSH2 0x554 DUP5 DUP7 PUSH2 0x4255 JUMP JUMPDEST PUSH2 0x5886 JUMP JUMPDEST ISZERO PUSH2 0x52B1 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x526571756573746564206576656E74206F7665726C6170732077697468206578 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x697374696E67 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x526571756573746564206576656E7420697320746F6F2066617220696E207468 PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x6520667574757265 PUSH1 0xC0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6F7420656E6F7567682074696D6520746F2061766F69642063616E63656C6C PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x696E67 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4461797320616D6F756E74206973206C657373207468616E20616C6C6F776564 PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST 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 0x5469636B6574207072696365206973206C657373207468616E20616C6C6F7765 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0xFA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74506C616365206973206E6F7420617661696C61626C650000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74506C616365206D75737420626520617070726F7665640000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x4576656E74206973206E6F7420617661696C61626C65 PUSH1 0x50 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x0 MSTORE PUSH1 0xB PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP1 DUP1 SLOAD SWAP2 JUMPDEST DUP3 DUP2 LT PUSH2 0x552A JUMPI POP POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0xFF PUSH1 0x2 PUSH2 0x5547 PUSH2 0x553B DUP5 DUP7 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR PUSH2 0x405D JUMP JUMPDEST POP ADD SLOAD PUSH1 0x20 SHR AND ISZERO PUSH2 0x4DAA JUMPI PUSH1 0x1 ADD PUSH2 0x551B JUMP JUMPDEST ISZERO PUSH2 0x5562 JUMPI JUMP JUMPDEST 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 0x537461727420646174652073686F756C6420626520616674657220696E697469 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x185B081BD9999CD95D PUSH1 0xBA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x55C0 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x456E6420646174652073686F756C6420626520616674657220696E697469616C PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x81BD9999CD95D PUSH1 0xCA SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x561C JUMPI JUMP JUMPDEST 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 0x446174652072616E67652063616E6E6F74206578636565642032353520646179 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x73 PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST SWAP2 PUSH2 0x56BA SWAP3 PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP2 PUSH3 0x15180 PUSH2 0x568E PUSH1 0x1 SLOAD DUP4 PUSH2 0x4255 JUMP JUMPDEST DIV PUSH1 0x8 SHR SWAP4 DUP5 SWAP2 PUSH2 0x56B4 PUSH3 0x15180 PUSH2 0x56A8 PUSH1 0x1 SLOAD DUP8 PUSH2 0x4255 JUMP JUMPDEST DIV PUSH1 0x8 SHR SWAP7 DUP8 SWAP3 PUSH2 0x5976 JUMP JUMPDEST SWAP4 PUSH2 0x5976 JUMP JUMPDEST SWAP2 PUSH2 0x56C5 DUP3 DUP6 PUSH2 0x59A6 JUMP JUMPDEST DUP5 DUP3 EQ PUSH2 0x5729 JUMPI PUSH2 0x56F8 SWAP3 PUSH2 0x5719 DUP7 SWAP4 PUSH2 0x56F8 PUSH2 0x56F1 PUSH2 0x571E SWAP6 PUSH2 0x56EC PUSH2 0x5724 SWAP12 DUP12 PUSH2 0x59A6 JUMP JUMPDEST PUSH2 0x5A0B JUMP JUMPDEST SWAP2 DUP9 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SWAP2 DUP3 SLOAD DUP3 PUSH1 0x3 SHL SHR OR SWAP1 DUP3 SLOAD SWAP1 PUSH1 0x3 SHL SWAP2 DUP3 SHL SWAP2 PUSH1 0x0 NOT SWAP1 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST PUSH2 0x5A37 JUMP JUMPDEST SWAP3 PUSH2 0x41DB JUMP JUMPDEST PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x5724 SWAP5 POP PUSH2 0x56F8 SWAP3 PUSH2 0x571E SWAP2 PUSH2 0x5A55 JUMP JUMPDEST SWAP2 PUSH2 0x575E SWAP3 PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP2 PUSH3 0x15180 PUSH2 0x568E PUSH1 0x1 SLOAD DUP4 PUSH2 0x4255 JUMP JUMPDEST SWAP2 DUP4 SLOAD DUP1 DUP4 LT SWAP1 DUP2 ISZERO SWAP2 PUSH2 0x57E0 JUMPI JUMPDEST POP PUSH2 0x57D6 JUMPI DUP5 DUP3 EQ PUSH2 0x57C4 JUMPI PUSH2 0x579C SWAP3 PUSH2 0x5719 PUSH2 0x5724 SWAP7 SWAP4 PUSH2 0x579C PUSH2 0x5794 PUSH2 0x57BD SWAP6 PUSH2 0x5A0B JUMP JUMPDEST NOT SWAP2 DUP9 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SWAP2 DUP3 SLOAD DUP3 PUSH1 0x3 SHL SHR AND SWAP1 DUP3 SLOAD SWAP1 PUSH1 0x3 SHL SWAP2 DUP3 SHL SWAP2 PUSH1 0x0 NOT SWAP1 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST NOT SWAP3 PUSH2 0x41DB JUMP JUMPDEST PUSH2 0x5724 SWAP5 POP PUSH2 0x579C SWAP3 PUSH2 0x57BD SWAP2 PUSH2 0x5A55 JUMP JUMPDEST POP POP POP POP POP PUSH1 0x1 SWAP1 JUMP JUMPDEST SWAP1 POP DUP6 LT ISZERO CODESIZE PUSH2 0x576D JUMP JUMPDEST PUSH2 0x57F4 SWAP1 PUSH2 0x401B JUMP JUMPDEST POP PUSH1 0x1 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER SUB PUSH2 0x580A JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x27 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x476976656E206576656E742062656C6F6E677320746F20616E6F746865722070 PUSH1 0x44 DUP3 ADD MSTORE PUSH7 0x3937BB34B232B9 PUSH1 0xC9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST SWAP1 PUSH2 0xFFFF AND DUP1 ISZERO PUSH2 0x5882 JUMPI SWAP1 PUSH2 0x2710 PUSH2 0x587B PUSH2 0x4A4E SWAP4 DUP4 PUSH2 0x472A JUMP JUMPDEST DIV SWAP1 PUSH2 0x4255 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP2 DUP3 SLOAD DUP1 ISZERO PUSH2 0x596D JUMPI PUSH3 0x15180 PUSH2 0x58AF PUSH1 0x1 SLOAD DUP5 PUSH2 0x4255 JUMP JUMPDEST DIV PUSH1 0x8 SHR SWAP3 DUP2 DUP5 LT ISZERO PUSH2 0x57D6 JUMPI PUSH2 0x58E6 DUP5 SWAP4 PUSH2 0x58E0 PUSH3 0x15180 PUSH2 0x58D4 PUSH1 0x1 SLOAD DUP7 PUSH2 0x4255 JUMP JUMPDEST DIV PUSH1 0x8 SHR SWAP6 DUP7 SWAP3 PUSH2 0x5976 JUMP JUMPDEST SWAP3 PUSH2 0x5976 JUMP JUMPDEST SWAP1 DUP4 DUP6 EQ PUSH2 0x595D JUMPI PUSH2 0x58F7 SWAP1 PUSH2 0x5A0B JUMP JUMPDEST SWAP2 DUP4 LT ISZERO PUSH2 0x5944 JUMPI PUSH2 0x590B PUSH2 0x5912 SWAP2 PUSH2 0x5A37 JUMP JUMPDEST SWAP4 DUP6 PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND ISZERO SWAP3 DUP4 PUSH2 0x5928 JUMPI JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST PUSH2 0x5933 SWAP3 SWAP4 POP PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND ISZERO CODESIZE DUP1 DUP1 PUSH2 0x5922 JUMP JUMPDEST POP SWAP3 PUSH2 0x5951 SWAP3 SWAP2 POP PUSH2 0x41DB JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND ISZERO SWAP1 JUMP JUMPDEST PUSH2 0x5951 SWAP5 SWAP4 POP PUSH2 0x571E SWAP3 POP PUSH2 0x5A55 JUMP JUMPDEST POP POP POP POP PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH2 0x5987 PUSH3 0x15180 SWAP2 PUSH1 0x1 SLOAD SWAP1 PUSH2 0x4255 JUMP JUMPDEST DIV SWAP1 DUP1 PUSH1 0x8 SHL SWAP1 DUP1 DUP3 DIV PUSH2 0x100 EQ SWAP1 ISZERO OR ISZERO PUSH2 0x4262 JUMPI PUSH2 0x4A4E SWAP2 PUSH2 0x4255 JUMP JUMPDEST DUP1 SLOAD PUSH1 0x1 DUP1 DUP3 GT SWAP2 XOR MUL PUSH1 0x1 XOR PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP2 GT PUSH2 0x4262 JUMPI JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x59CD JUMPI POP POP POP JUMP JUMPDEST DUP2 SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x3E9A JUMPI DUP1 PUSH1 0x1 PUSH2 0x59EB SWAP3 ADD DUP5 SSTORE DUP4 PUSH2 0x41DB JUMP JUMPDEST DUP2 SLOAD SWAP1 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHL NOT AND SWAP1 SSTORE PUSH1 0x0 NOT DUP2 EQ PUSH2 0x4262 JUMPI PUSH1 0x1 ADD PUSH2 0x59C0 JUMP JUMPDEST DUP1 PUSH1 0xFF SUB PUSH1 0xFF DUP2 GT PUSH2 0x4262 JUMPI PUSH1 0x1 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x4262 JUMPI PUSH1 0x1 SWAP1 SHL SWAP1 PUSH1 0x0 NOT DUP3 ADD SWAP2 DUP3 GT PUSH2 0x4262 JUMPI SHL SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x4262 JUMPI PUSH1 0x1 SWAP1 SHL PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP2 GT PUSH2 0x4262 JUMPI SWAP1 JUMP JUMPDEST SWAP1 DUP2 PUSH2 0x5A60 SWAP2 PUSH2 0x4255 JUMP JUMPDEST PUSH1 0x1 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x4262 JUMPI PUSH1 0x1 SWAP1 SHL SWAP1 PUSH1 0x0 NOT DUP3 ADD SWAP2 DUP3 GT PUSH2 0x4262 JUMPI SHL SWAP1 JUMP INVALID ISZERO 0xB2 0xDA 0x25 0xAD GASPRICE 0xD1 PUSH28 0x120BDF62BCB1D99394802408E2EC63D9836ECFE4AF9A5EBC05C38BA7 PUSH9 0x8F8355C4880BD298FC CALLDATALOAD 0xE8 MCOPY 0xE1 PUSH32 0xE7ECE6B76866024CEB0B6273234D3AD87900CE51C248544F0024B48C13DF583E PUSH26 0xEB6124202253F6C985B68ECC097F9AD0FE95E9677EB635E08A 0x2E 0xAF 0xD1 0xBE NOT DUP3 0xE5 0x4E 0xBB 0xBE MUL TSTORE 0x4D DUP3 DIV PUSH16 0x8DA89D8CF36ABE2D20E715D261AA4110 SMOD CHAINID EXTCODECOPY ISZERO 0xB2 DUP15 0xBB MSTORE 0xD1 DUP5 BYTE 0xB9 0xAC 0x22 0xAA 0xE6 PUSH6 0x108B8C0776DF 0x2C 0x21 PUSH23 0xEDF6F82391C35EA4891146D7A976EE36FD07F1A6FB4EAD 0x4C LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP3 LOG4 GT 0xEB 0x23 RETURNDATACOPY 0xD6 0xC6 PUSH27 0xCCCEEE4450C2AE44B7257A879C53D9DF982800EC1E59A864736F6C PUSH4 0x4300081C STOP CALLER ","sourceMap":"395:36152:30:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;36142:22;395:36152;;36032:66;36053:10;395:36152;36040:30;;36032:66;:::i;:::-;36142:22;:::i;:::-;36197:16;395:36152;36197:16;;395:36152;36215:27;395:36152;;36215:27;;;395:36152;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;6226:40;395:36152;;;:::i;:::-;2475:4:0;;:::i;:::-;6159:52:30;395:36152;;-1:-1:-1;;;;;;395:36152:30;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;6226:40;395:36152;;;;;;;;;;;;;;;4376:21;395:36152;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;:::i;:::-;;;;;4589:53;395:36152;;;;;;;;4589:53;;;;;395:36152;4589:53;;;;:::i;:::-;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;2475:4:0;;;:::i;:::-;4791:70:30;4809:6;395:36152;4799:23;;4791:70;:::i;:::-;20945:15;;;:::i;:::-;20999:16;;395:36152;20999:16;;395:36152;;;20999:16;;;:::i;:::-;21161:13;;;395:36152;;;;;;21208:14;;395:36152;;;;;21256:31;;;;;;;:72;;;395:36152;21256:115;;;;395:36152;;;;21431:15;;;;395:36152;21486:31;;;:::i;:::-;395:36152;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;:::i;:::-;;;;;;;;;21575:125;;;395:36152;;;;;;21575:125;;;;395:36152;;;21564:8;;;395:36152;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;;21724:3;;;:::i;:::-;22226:205;21738:474;395:36152;21738:474;;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22226:205;395:36152;;21738:474;2091:1191:32;22143:44:30;21917:42;;;3288:1163:32;21917:42:30;395:36152;21917:42;;:::i;:::-;395:36152;5502:110:32;395:36152:30;;5378:114:32;5399:26;;;;5378:114;:::i;:::-;5523:24;;;5502:110;:::i;:::-;5622:130;395:36152:30;5643:19:32;;;;:::i;:::-;:50;5622:130;:::i;:::-;2091:1191;:::i;:::-;;395:36152:30;;;;22143:44;;:::i;:::-;395:36152;5502:110:32;395:36152:30;;5378:114:32;5399:26;;;;5378:114;:::i;:::-;5523:24;;;5502:110;:::i;:::-;5622:130;395:36152:30;5643:19:32;;;;:::i;5622:130::-;3288:1163;;:::i;:::-;;21738:474:30;;;;;;;21256:115;21344:27;;;;;-1:-1:-1;21256:115:30;;:72;21303:25;;;;;-1:-1:-1;21256:72:30;;395:36152;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;4747:26:0;395:36152:30;;;;:::i;:::-;4717:18:0;2475:4;4717:18;;3901:6;395:36152:30;3901:6:0;395:36152:30;;3901:22:0;395:36152:30;3901:6:0;395:36152:30;3901:22:0;395:36152:30;3810:120:0;;4717:18;2475:4;:::i;:::-;4747:26;:::i;:::-;;395:36152:30;;;;;;;;;-1:-1:-1;;395:36152:30;;;;8581:38;395:36152;;:::i;:::-;2475:4:0;;:::i;:::-;8581:38:30;:::i;395:36152::-;;;;;;;-1:-1:-1;;395:36152:30;;;;;;:::i;:::-;2475:4:0;;:::i;:::-;-1:-1:-1;;;;;395:36152:30;8728:23;;395:36152;;;;;8797:27;395:36152;;;8797:27;395:36152;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;4549:34;395:36152;4549:34;;;;;;;;:::i;:::-;;;;;:::i;:::-;395:36152;4549:34;395:36152;4549:34;;395:36152;4549:34;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4549:34::-;;395:36152;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;:::i;:::-;2475:4:0;;:::i;:::-;-1:-1:-1;;;;;395:36152:30;;7401:13;7440:3;7420:11;395:36152;7416:22;;;;;7463:14;;;395:36152;7463:14;;:::i;:::-;395:36152;;;;;;;7463:23;;395:36152;;7463:30;7459:802;;7440:3;395:36152;7401:13;;7459:802;395:36152;;;;;7539:6;395:36152;;7513:14;;;;:::i;:::-;-1:-1:-1;7513:23:30;395:36152;;-1:-1:-1;;;;;;395:36152:30;;;;;;;;;;;;;;7539:6;395:36152;-1:-1:-1;;;;;;;;;;;7634:612:30;395:36152;;;7634:612;395:36152;;7724:14;395:36152;7724:14;:::i;:::-;:25;;395:36152;;;;7771:14;395:36152;7771:14;;;;:::i;:::-;:25;;395:36152;;;;7818:23;:14;;;:::i;:::-;:23;;395:36152;;7863:31;:14;;;:::i;:::-;:31;;395:36152;;;7863:31;7916:14;;;:::i;:::-;:22;;395:36152;7420:11;395:36152;;;7863:31;7960:14;;;:::i;:::-;:24;;395:36152;;;;8006:14;395:36152;7863:31;8006:14;;;:::i;:::-;:21;;395:36152;;;;8049:14;395:36152;8049:14;;;:::i;:::-;:19;;395:36152;8097:14;395:36152;7539:6;8097:14;;;:::i;:::-;:32;;395:36152;;8151:14;8197:31;:14;395:36152;7539:6;8151:14;;;:::i;:::-;:24;;395:36152;7420:11;395:36152;;8197:14;;:::i;:::-;:31;;395:36152;;;;7634:612;;;;;:::i;:::-;;;;7459:802;;7416:22;-1:-1:-1;;8379:15:30;395:36152;8421:6;395:36152;;;-1:-1:-1;;;;;395:36152:30;;;;;8355:73;;;;;395:36152;;-1:-1:-1;;;8355:73:30;;-1:-1:-1;;;;;395:36152:30;;;;8355:73;;395:36152;;;;;;;;;;;;;;;;;;;8355:73;;;;;;;;7396:875;8439:37;;;;:::i;8355:73::-;;;;;:::i;:::-;395:36152;;8355:73;;;;;395:36152;;;;;;;;;8355:73;395:36152;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;1075:10;-1:-1:-1;395:36152:30;;;;;;;;;;;;;1053:33;1049:95;;395:36152;4791:70;4809:6;395:36152;4799:23;;4791:70;:::i;:::-;19932:15;;;:::i;:::-;19994:16;;395:36152;19994:16;;395:36152;;;19994:16;;;;:::i;:::-;395:36152;20042:10;;395:36152;;;;;;;;;;;;;20175:29;20235:63;20042:35;20021:117;395:36152;20042:35;;20021:117;:::i;:::-;20175:29;:::i;:::-;-1:-1:-1;20235:17:30;395:36152;;;20275:22;;;;;395:36152;;;-1:-1:-1;;;20235:63:30;;-1:-1:-1;;;;;395:36152:30;;;;20235:63;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;20235:63;;;;;;;;;;;;;;395:36152;;;;;;;;2091:1191:32;-1:-1:-1;;;;;;;;;;;395:36152:30;20235:17;395:36152;;;;;;;;;;;;20464:13;;395:36152;20491:44;395:36152;;;;20491:44;;:::i;2091:1191:32:-;;395:36152:30;;;;;;;;;;;;;;:::i;:::-;20560:39;395:36152;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;20235:63;;;;395:36152;20235:63;395:36152;20235:63;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;395:36152;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;1049:95;1113:19;;:::i;:::-;1049:95;;395:36152;;;;;;;-1:-1:-1;;395:36152:30;;;;12600:12;12544:25;395:36152;;2475:4:0;;:::i;:::-;12436:71:30;12459:11;395:36152;12444:33;;12436:71;:::i;12544:25::-;12600:12;;395:36152;;;;;;12600:12;395:36152;;;;;12579:129;12600:42;;12579:129;:::i;:::-;395:36152;;-1:-1:-1;;395:36152:30;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;1075:10;-1:-1:-1;395:36152:30;;;;;;;;;;1053:33;1049:95;;395:36152;4791:70;4809:6;395:36152;4799:23;;4791:70;:::i;:::-;18704:15;;;:::i;:::-;18766:16;;;;;395:36152;;18766:16;:::i;:::-;395:36152;18814:10;;395:36152;;;;;;;;;;;;;18793:117;18814:35;;18793:117;:::i;:::-;395:36152;;;18941:16;395:36152;;;;;;18941:36;395:36152;;19164:15;395:36152;;;-1:-1:-1;;;19140:136:30;;395:36152;19140:136;;395:36152;;;1075:10;395:36152;;;;-1:-1:-1;;;;;395:36152:30;;;;;;19140:136;395:36152;;19140:136;;;;;;;;;;;395:36152;;;;;19402:122;;;;;;;395:36152;;19140:136;395:36152;;;;;;;;;;;;19402:122;;;395:36152;19402:122;;395:36152;;;;;19402:122;;;;;;;;395:36152;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;3288:1163:32;395:36152:30;19596:13;395:36152;;19596:13;;395:36152;19623:44;395:36152;;;;19623:44;;:::i;:::-;395:36152;5502:110:32;18766:16:30;395:36152;5378:114:32;5399:26;;;;5378:114;:::i;5502:110::-;5622:130;395:36152:30;5643:19:32;;;;:::i;5622:130::-;3288:1163;:::i;:::-;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;:::i;19402:122::-;;;;;;;;:::i;:::-;395:36152;;19402:122;;;;;;;395:36152;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;19140:136;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;19140:136;;;;395:36152;19140:136;395:36152;19140:136;;;;;;;:::i;:::-;;;;;395:36152;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;1049:95;1113:19;;:::i;:::-;1049:95;;395:36152;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;15660:71;15683:11;395:36152;;;15668:33;15660:71;:::i;:::-;15824:22;15768:25;395:36152;;15768:25;:::i;:::-;15824:22;;395:36152;15824:26;;395:36152;;15937:17;395:36152;;;-1:-1:-1;;;15937:39:30;;15965:10;395:36152;15937:39;;395:36152;-1:-1:-1;;;;;395:36152:30;;;;;;;;;15937:39;;;;;;;;;;;;395:36152;15937:65;;395:36152;;;;-1:-1:-1;;;16076:54:30;;15965:10;395:36152;16076:54;;395:36152;16124:4;395:36152;;;;;;;;16076:54;;;;;;;;;;;;;395:36152;16076:96;;395:36152;;;;-1:-1:-1;;;16260:143:30;;15965:10;395:36152;16260:143;;395:36152;16124:4;395:36152;;;;;;;;;;;;;;;;;;;;;16260:143;;;;;;;;;;;395:36152;;;;;16650:31;395:36152;;16650:31;:::i;:::-;395:36152;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;16837:157;;;395:36152;;;;;16837:157;;395:36152;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;15965:10;395:36152;;16492:585;;;395:36152;;;;;;16492:585;;395:36152;;;;;;16492:585;;395:36152;;;;;;;16492:585;;395:36152;16492:585;395:36152;16492:585;;395:36152;;16492:585;;395:36152;;16492:585;;395:36152;16492:585;395:36152;16492:585;;395:36152;16492:585;;;;395:36152;16467:6;395:36152;-1:-1:-1;;;395:36152:30;;;;;;;;;;16467:6;395:36152;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;;395:36152:30;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;15937:17;395:36152;;;;16492:585;;395:36152;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;16492:585;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16492:585;;395:36152;;;;-1:-1:-1;;;;;395:36152:30;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16492:585;;;;;;395:36152;16492:585;395:36152;;;16467:6;16492:585;;395:36152;;;15824:22;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16492:585;;395:36152;15683:11;395:36152;;;16492:585;395:36152;;;;16467:6;395:36152;;;;;;;;;;17142:30;17156:15;-1:-1:-1;;395:36152:30;;17156:15;:::i;:::-;17142:30;;:::i;:::-;395:36152;;;;;17246:26;395:36152;;17325:13;17368:3;395:36152;;;;;17340:26;;;;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;17605:12;395:36152;;;;;;;;;;;;;;17605:12;:::i;:::-;395:36152;17325:13;;395:36152;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;17340:26;;;;;;;17735:15;395:36152;;;;17735:15;:::i;:::-;17804:21;17792:34;395:36152;17804:21;;395:36152;17792:34;:::i;:::-;-1:-1:-1;395:36152:30;17856:35;-1:-1:-1;;395:36152:30;;17856:35;:::i;:::-;17905:13;17901:359;;17320:322;395:36152;18275:232;16492:585;395:36152;;;;;;;;;;;;;;;;15965:10;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18275:232;395:36152;;17901:359;16467:6;395:36152;17959:27;;395:36152;17990:21;;395:36152;;;;;;17959:52;;395:36152;;;;;;-1:-1:-1;395:36152:30;;17901:359;;;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;16260:143;;;;395:36152;16260:143;395:36152;16260:143;;;;;;;:::i;:::-;;;;;395:36152;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;16076:54;;;;395:36152;16076:54;;395:36152;16076:54;;;;;;395:36152;16076:54;;;:::i;:::-;;;395:36152;;;;;;;16076:54;;;395:36152;-1:-1:-1;395:36152:30;;16076:54;;;-1:-1:-1;16076:54:30;;;395:36152;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;15937:39;;;;395:36152;15937:39;;395:36152;15937:39;;;;;;395:36152;15937:39;;;:::i;:::-;;;395:36152;;;;;;;15937:39;;;;;;-1:-1:-1;15937:39:30;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;735:10:14;-1:-1:-1;395:36152:30;;;;;;;;;;;;;;;;3519:23:0;3515:108;;33284:6:30;395:36152;33274:23;;395:36152;;;33352:15;;;:::i;:::-;-1:-1:-1;395:36152:30;-1:-1:-1;;;;;395:36152:30;735:10:14;33481:25:30;:69;;;;395:36152;;;;33707:8;;;:::i;:::-;395:36152;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;33481:69;-1:-1:-1;;;;;;;;;;;;395:36152:30;;;;;;;;;;735:10:14;-1:-1:-1;395:36152:30;;;;;;;;;;33481:69;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;3515:108:0;-1:-1:-1;;;3565:47:0;;735:10:14;395:36152:30;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;3565:47:0;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;2475:4:0;;:::i;:::-;13225:11:30;395:36152;13210:33;;395:36152;;;13310:25;;;:::i;:::-;-1:-1:-1;395:36152:30;13366:14;;395:36152;;;;-1:-1:-1;;;;;395:36152:30;13384:10;13366:28;395:36152;;;13496:12;;;395:36152;;;;13496:12;395:36152;;;;;;13496:41;395:36152;;13707:22;;;395:36152;;;13686:43;13682:352;;395:36152;;13366:14;;395:36152;;-1:-1:-1;;;395:36152:30;;;;;-1:-1:-1;;;;395:36152:30;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;14124:14;;;395:36152;13496:12;;;395:36152;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;14474:353:30;;;;13366:14;;395:36152;13366:14;14474:353;;395:36152;;;;;:::i;:::-;;;;;;;;;;;14297:125;;395:36152;;;;;;;14297:125;;;395:36152;;;;;14284:10;;395:36152;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;14433:26;395:36152;;;:::i;:::-;14433:26;:::i;:::-;13707:22;395:36152;13496:12;;;395:36152;;;;13707:22;;395:36152;;;;;;;;;;;;13384:10;;;14474:353;;:::i;:::-;;;;395:36152;;13682:352;13771:30;;;;;;;;:::i;:::-;395:36152;;-1:-1:-1;;;;;;;;;;;395:36152:30;14474:353;395:36152;13900:67;395:36152;;13908:21;;13900:67;:::i;:::-;395:36152;;13707:22;;;395:36152;13682:352;;;;;;;;;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4403:30;395:36152;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;4439:39;395:36152;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;798:25;395:36152;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;:::i;:::-;;;;;;;;;;2954:29:0;395:36152:30;;;;;;-1:-1:-1;395:36152:30;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;;;;;;;:::i;:::-;2475:4:0;;;;:::i;:::-;11392:71:30;11415:11;395:36152;11400:33;;11392:71;:::i;:::-;11473:67;11481:21;;;11473:67;:::i;:::-;11577:25;;;:::i;:::-;11633:12;;;;395:36152;;;;;;11633:12;395:36152;;;;;11633:42;11895:416;11633:42;11612:129;-1:-1:-1;;;;;;;;;;;11633:42:30;;;11612:129;:::i;:::-;395:36152;;;;;;;;;;11801:14;;395:36152;;;;;11818:10;395:36152;;;;;;;;;;11838:22;;;;395:36152;;12036:14;;;;395:36152;;;12182:10;12213:23;395:36152;12182:10;;395:36152;12213:23;;395:36152;;;;;;;;;;11415:11;395:36152;;;;;;;;;;;;;;;;;;;;11415:11;395:36152;;;;;;;;;;;;;;;11818:10;;;11895:416;;:::i;395:36152::-;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;261:5:32;395:36152:30;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;4791:70;4809:6;395:36152;4799:23;;4791:70;;;:::i;:::-;;:::i;:::-;24963:15;;;:::i;:::-;24996:10;;395:36152;;24996:10;;395:36152;;;;;;;;;;;24996:34;395:36152;;25099:66;25120:10;395:36152;25107:30;;25099:66;:::i;:::-;25209:22;;;:::i;:::-;25249:16;;395:36152;25249:16;;395:36152;25249:27;395:36152;;25334:17;;395:36152;;;;;;;;25330:177;;395:36152;25536:59;25550:15;;395:36152;25334:17;25550:15;;395:36152;;;;25536:59;;:::i;:::-;25626:18;395:36152;;;;;;;;;;;25676:17;395:36152;;;-1:-1:-1;;;25676:131:30;;25724:10;395:36152;25676:131;;395:36152;25760:4;395:36152;;;;;;;;;;;;;;;;;;;25760:4;;-1:-1:-1;;;;;395:36152:30;25676:131;;;;;;;;;;;395:36152;;;;;26000:15;395:36152;25954:24;;-1:-1:-1;;;;;395:36152:30;;;;;25988:673;;395:36152;;;;;;;;;;;;;;;;;;26671:323;;;;;;395:36152;;26671:323;395:36152;;;;;;;;;;;;;;;26671:323;;25724:10;395:36152;26671:323;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26671:323;;;;;;;;395:36152;27004:13;;395:36152;27004:13;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;27044:12;395:36152;;;27044:43;395:36152;;27061:25;395:36152;;;;;:::i;:::-;;;-1:-1:-1;;;;;25676:17:30;395:36152;;;;;;;;;25724:10;395:36152;;;;;;27061:25;:::i;:::-;27044:12;;395:36152;;;27044:43;:::i;:::-;395:36152;;;;26671:323;;;;;:::i;:::-;395:36152;;26671:323;;;;25988:673;26220:69;;-1:-1:-1;395:36152:30;;26069:46;;25724:10;26069:22;;25724:10;;26069:46;;;395:36152;;;;;26220:69;;25724:10;395:36152;26220:69;;395:36152;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;26220:69;;;;;;;;;;;395:36152;;;;26220:69;;;26069:46;26303:19;26342:13;;26357:5;25676:17;26357:5;;;;25988:673;;;;;;26364:3;395:36152;;-1:-1:-1;;;;;26391:13:30;;395:36152;26391:13;:::i;:::-;395:36152;;26391:27;;:45;;;26364:3;26387:250;;26364:3;;;395:36152;;26342:13;;26387:250;25676:17;395:36152;26493:53;;395:36152;;;;-1:-1:-1;;;;;395:36152:30;;;;26520:13;;395:36152;;26520:13;:::i;:::-;395:36152;;26535:10;;;;:::i;:::-;395:36152;;;-1:-1:-1;;;26493:53:30;;-1:-1:-1;;;;;395:36152:30;;;;26493:53;;395:36152;;;;;;;;;;;;;;;;;26493:53;;;;;;;;;;;;;;26387:250;395:36152;;;;26387:250;;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;26493:53;;;;395:36152;26493:53;;;;;;;;;:::i;:::-;;;;;395:36152;;;;;;;;;26391:45;26422:10;;;;;:::i;:::-;395:36152;26422:14;;26391:45;;26220:69;;;;;;395:36152;26220:69;395:36152;26220:69;;;;;;;;:::i;:::-;;;395:36152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;26220:69;;;;;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;26220:69;;;;;26069:46;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;25676:131;;;;395:36152;25676:131;395:36152;25676:131;;;;;;;:::i;:::-;;;;;395:36152;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;25330:177;395:36152;;;;;25375:30;395:36152;25375:30;;;;:::i;:::-;395:36152;;;;;;25375:48;395:36152;;25465:31;;25536:59;25465:31;;:::i;:::-;395:36152;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;25465:31;25330:177;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;4283:31;395:36152;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;36412:16;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;1075:10;-1:-1:-1;395:36152:30;;;;;;;;;;;;;1053:33;1049:95;;395:36152;4791:70;4809:6;395:36152;4799:23;;4791:70;:::i;:::-;28645:15;;;:::i;:::-;28707:16;;395:36152;28707:16;;395:36152;28707:16;;;:::i;:::-;395:36152;28755:10;;395:36152;;;;;;;;;;;;;;28755:34;395:36152;;28898:29;;;;:::i;:::-;29000:22;;;;;395:36152;29000:26;28996:214;;395:36152;29281:12;28898:11;29281:12;395:36152;;;29281:16;;29277:207;;395:36152;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;29277:207::-;29338:17;395:36152;;29365:14;;;;395:36152;;;-1:-1:-1;;;29338:56:30;;-1:-1:-1;;;;;395:36152:30;;;;29338:56;;395:36152;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;29338:56;;;;;;;;;;;29277:207;395:36152;;;;29277:207;;;;;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;29338:56;;;;395:36152;29338:56;395:36152;29338:56;;;;;;;:::i;:::-;;;;28996:214;29067:17;395:36152;;;;;-1:-1:-1;;;29067:63:30;;-1:-1:-1;;;;;395:36152:30;;;;29067:63;;395:36152;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;29067:63;;;;;;;;;;;28996:214;395:36152;;;;28996:214;;;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;29067:63;;;;395:36152;29067:63;395:36152;29067:63;;;;;;;:::i;:::-;;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;1049:95;1113:19;;:::i;:::-;1049:95;;395:36152;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;4485:31;395:36152;4485:31;;;;;395:36152;4485:31;;;:::i;:::-;395:36152;;;;;;;;;4485:31;395:36152;;4485:31;;395:36152;4485:31;395:36152;4485:31;;;395:36152;4485:31;;;395:36152;4485:31;395:36152;4485:31;;395:36152;4485:31;;;:::i;:::-;;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4485:31;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;:::i;:::-;735:10:14;-1:-1:-1;;;;;395:36152:30;;5421:34:0;5417:102;;5529:37;395:36152:30;;;5529:37:0;:::i;5417:102::-;-1:-1:-1;;;5478:30:0;;395:36152:30;5478:30:0;;395:36152:30;;;;;;;-1:-1:-1;;395:36152:30;;;;;;:::i;:::-;2475:4:0;;:::i;:::-;-1:-1:-1;;;;;395:36152:30;;6817:17;395:36152;;6894:15;395:36152;;;;6886:66;;-1:-1:-1;;;;;395:36152:30;6894:29;;6886:66;:::i;:::-;6962:36;;;:::i;:::-;-1:-1:-1;6894:15:30;395:36152;-1:-1:-1;;;;;395:36152:30;7157:70;;;;;395:36152;;-1:-1:-1;;;7157:70:30;;-1:-1:-1;;;;;395:36152:30;;;;;7157:70;;395:36152;;;;;;;;;;;;;;;;;;7157:70;;;;;;;;395:36152;;7157:70;;;;;:::i;:::-;395:36152;;7157:70;395:36152;7157:70;395:36152;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;36525:6;395:36152;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;4330:25:0;395:36152:30;;;;:::i;:::-;4300:18:0;2475:4;4300:18;;3901:6;395:36152:30;3901:6:0;395:36152:30;;3901:22:0;395:36152:30;3901:6:0;395:36152:30;3901:22:0;395:36152:30;3810:120:0;;2475:4;4330:25;:::i;395:36152:30:-;;;;;;;-1:-1:-1;;395:36152:30;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;1075:10;-1:-1:-1;395:36152:30;;;;;;;;;;;;;1053:33;1049:95;;395:36152;4791:70;4809:6;395:36152;4799:23;;4791:70;:::i;:::-;27567:15;;;:::i;:::-;27629:16;395:36152;27629:16;;395:36152;27629:16;;;;:::i;:::-;395:36152;27677:10;;395:36152;;;;;;;;;;;;;;;27677:34;395:36152;;27826:13;;;395:36152;27812:44;;395:36152;;;27812:44;:::i;:::-;27887:15;:30;395:36152;;;;28011:29;28108:63;28011:29;;:::i;:::-;-1:-1:-1;27826:13:30;395:36152;;;28148:22;;;;;395:36152;;;-1:-1:-1;;;28108:63:30;;-1:-1:-1;;;;;395:36152:30;;;;28108:63;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;28108:63;;;;;;;;;;;;;;395:36152;;;;;28011:11;28308:12;;;395:36152;28308:16;28304:90;;395:36152;;;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;:::i;28304:90::-;28148:22;395:36152;29857:55;;395:36152;;;;-1:-1:-1;;;;;395:36152:30;29781:66;29789:29;;;29781:66;:::i;:::-;27826:13;395:36152;;;-1:-1:-1;;;29857:55:30;;-1:-1:-1;;;;;395:36152:30;;;;29857:55;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;29857:55;;;;;;;;;;;28304:90;-1:-1:-1;28148:22:30;395:36152;-1:-1:-1;;;;;395:36152:30;;29922:80;;;;;395:36152;;29922:80;395:36152;;;;;;;;;;;;29922:80;;395:36152;29922:80;;395:36152;;;;;;29922:80;;;;;;;28304:90;29922:80;;;;;:::i;:::-;395:36152;;29922:80;;28304:90;;29857:55;;;395:36152;29857:55;395:36152;29857:55;;;;;;;:::i;:::-;;;;395:36152;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;28108:63;;;;395:36152;28108:63;395:36152;28108:63;;;;;;;:::i;:::-;;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;1049:95;1113:19;;:::i;:::-;1049:95;;395:36152;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;3901:6:0;395:36152:30;3901:6:0;395:36152:30;;3901:22:0;395:36152:30;3901:6:0;395:36152:30;3901:22:0;395:36152:30;3810:120:0;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;310:3:32;395:36152:30;;;;;;;;;;;:::i;:::-;2475:4:0;;;;;;;;;:::i;:::-;33944:66:30;33965:10;395:36152;33952:30;;33944:66;:::i;:::-;34020:57;34050:5;395:36152;;;34028:27;;34020:57;:::i;:::-;34121:22;;;:::i;:::-;34181:16;;;;;34174:24;395:36152;;34174:24;:::i;:::-;34247:16;34181;34235:29;34247:16;;;395:36152;34235:29;:::i;:::-;-1:-1:-1;34295:14:30;395:36152;34313:10;-1:-1:-1;;;;;395:36152:30;;34295:28;395:36152;;;;34425:10;;395:36152;;;;;;;;;;34417:80;34425:35;;34417:80;:::i;:::-;34582:853;;;;395:36152;;;34610:50;34618:9;;;34610:50;:::i;:::-;34691:13;;;395:36152;;;;;;;34682:22;;395:36152;;35116:105;395:36152;34174:6;395:36152;35080:22;395:36152;;;;34777:25;34769:66;34777:25;;;;34769:66;:::i;:::-;34944:22;395:36152;;;;;;;;;34980:87;;34582:853;35080:22;;:::i;:::-;35124:33;;;;35116:105;:::i;:::-;395:36152;34582:853;395:36152;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;:::i;:::-;;;;;;34582:853;395:36152;;;;;;;;;;;35475:27;35609:176;395:36152;;;;;35565:28;395:36152;;;35609:176;395:36152;;;;;;;;34181:16;395:36152;;;;;;;;;;;;;;35475:27;395:36152;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;35565:28;395:36152;;;;35609:176;;;;;:::i;:::-;;;;395:36152;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;34181:16;395:36152;35609:176;395:36152;;;35609:176;395:36152;;35565:28;395:36152;35475:27;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34181:16;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;34980:87;395:36152;;35021:31;395:36152;;;;35021:31;;:::i;:::-;34980:87;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;34582:853;35348:17;;395:36152;35348:17;;;395:36152;;;;;34582:853;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;4791:70;4809:6;395:36152;4799:23;;4791:70;;;:::i;:::-;24888:10;;395:36152;;24963:15;;;:::i;:::-;24996:10;;395:36152;;24996:10;;395:36152;;;;;;;;;;;24996:34;395:36152;;25099:66;25120:10;395:36152;25107:30;;25099:66;:::i;:::-;25209:22;;;:::i;:::-;25249:16;;395:36152;25249:16;;395:36152;25249:27;395:36152;;25334:17;;395:36152;;;;;;;;25330:177;;395:36152;25536:59;25550:15;;395:36152;25334:17;25550:15;;395:36152;;;;25536:59;;:::i;:::-;25626:18;;;;;:::i;:::-;25676:17;395:36152;;;-1:-1:-1;;;25676:131:30;;25724:10;395:36152;25676:131;;395:36152;25760:4;395:36152;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;25676:131;;;;;;;;;;;395:36152;;;;;26000:15;395:36152;25954:24;;-1:-1:-1;;;;;395:36152:30;;;;;25988:673;;395:36152;;;;;;;;;;;;;;;;;;;26671:323;;;;;;395:36152;;;;26671:323;395:36152;;;;;;;;;;;26671:323;;25724:10;395:36152;26671:323;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26671:323;;;;;;;;395:36152;27004:13;395:36152;27004:13;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;27044:12;395:36152;;;27044:43;395:36152;;27061:25;395:36152;;;;;:::i;26671:323::-;;;;;;;;:::i;:::-;;;;;;395:36152;;;25988:673;26220:69;;-1:-1:-1;395:36152:30;;26069:46;;25724:10;26069:22;;25724:10;;26069:46;;;395:36152;;;;;26220:69;;25724:10;395:36152;26220:69;;395:36152;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;26220:69;;;;;;;;;;;395:36152;;;;26220:69;;;26069:46;26303:19;25676:17;26303:19;26342:13;;26337:314;;26357:5;;;;25988:673;;;;;;26364:3;395:36152;-1:-1:-1;;;;;26391:13:30;395:36152;26391:13;;:::i;:::-;395:36152;;26391:27;;:45;;;;26364:3;26387:250;;;26364:3;395:36152;25676:17;26364:3;395:36152;26342:13;;;;26387:250;26493:53;395:36152;;;;;;;;;25676:17;395:36152;;;26535:10;395:36152;;;;;26520:13;;;;:::i;:::-;395:36152;;26535:10;;;:::i;26493:53::-;;;;;;;;;;;;;;26387:250;395:36152;26387:250;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;26493:53;;;;395:36152;26493:53;;;;;;;;;:::i;:::-;;;;;395:36152;;;;;;;;;;;26391:45;26422:10;;;;;:::i;:::-;395:36152;26422:14;;26391:45;;;26220:69;;;;;;;;395:36152;26220:69;395:36152;26220:69;;;;;;;;:::i;:::-;;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;-1:-1:-1;26220:69:30;25676:17;26220:69;;395:36152;;;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;-1:-1:-1;;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26220:69;;;;;;395:36152;;;;;;;;;26069:46;;;25676:131;;;;395:36152;25676:131;395:36152;25676:131;;;;;;;:::i;:::-;;;;;395:36152;;;;;;;;;25330:177;395:36152;;;;;;;;;25375:30;395:36152;25375:30;;;;;:::i;:::-;395:36152;;;;;;25375:48;395:36152;;25465:31;;;25536:59;25465:31;;:::i;:::-;25330:177;;395:36152;-1:-1:-1;;;395:36152:30;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;4522:21;395:36152;4522:21;;;;;395:36152;4522:21;;;:::i;:::-;395:36152;;;;;;;;;4522:21;395:36152;4522:21;;395:36152;4522:21;395:36152;4522:21;;;395:36152;;4522:21;;;395:36152;;4522:21;;395:36152;4522:21;;;;;;:::i;:::-;;;;;;395:36152;4522:21;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;9219:10;395:36152;;;;;;;;;;;;;;;9241:60;;;;395:36152;;;;9475:113;;;395:36152;9685:41;;;;9219:10;9685:41;9970:72;;;;395:36152;9970:72;395:36152;;;;;;:::i;:::-;;;;;;;;;10062:141;;395:36152;;;;;10062:141;;395:36152;;;;;;;;;;:::i;:::-;9219:10;395:36152;;;9615:648;;395:36152;;;;;;;;;;9615:648;;395:36152;;;;;;;9615:648;;395:36152;;;;;;9615:648;;395:36152;;;;;;9615:648;;395:36152;;;;;;9615:648;;395:36152;;;;;9615:648;;395:36152;;;;;9615:648;395:36152;9615:648;;;;;:::i;:::-;395:36152;9615:648;;395:36152;;;;9615:648;;395:36152;9598:11;395:36152;-1:-1:-1;;;395:36152:30;;;;;;;;;;9598:11;395:36152;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;;395:36152:30;-1:-1:-1;;;;;395:36152:30;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;-1:-1:-1;;;;;;395:36152:30;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9615:648;;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9615:648;395:36152;;;;9598:11;395:36152;-1:-1:-1;;395:36152:30;;;;;;;10350:25;;10330:46;395:36152;10350:25;;;:::i;:::-;395:36152;;:::i;10330:46::-;10387:846;;;395:36152;;;9219:10;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;10427:417;395:36152;;10387:846;395:36152;;;;;;;9219:10;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10880:342;;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9970:72;;;;9685:41;;;;9475:113;9510:67;395:36152;;9518:21;;9510:67;:::i;:::-;9475:113;;395:36152;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;9241:60;-1:-1:-1;;;;;;;;;;;;395:36152:30;;;;;;;;;;9219:10;395:36152;;;;;;;;;;9241:60;;395:36152;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2673:47:0;;;:87;;;;395:36152:30;;;;;;;2673:87:0;-1:-1:-1;;;862:40:24;;-1:-1:-1;2673:87:0;;;395:36152:30;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;4522:21;395:36152;;;;;;4522:21;-1:-1:-1;395:36152:30;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;395:36152:30;:::o;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;:::o;:::-;;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;395:36152:30;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;395:36152:30;;;;;;:::o;:::-;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;9598:11;395:36152;;;;;;9598:11;-1:-1:-1;395:36152:30;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;395:36152:30;:::o;:::-;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;25120:10;395:36152;;;;;;25120:10;-1:-1:-1;395:36152:30;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;395:36152:30;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;395:36152:30;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;395:36152:30;;-1:-1:-1;395:36152:30;;;-1:-1:-1;395:36152:30;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;14840:526;14944:21;;;395:36152;;;;;14969:21;;;;395:36152;;;;;-1:-1:-1;395:36152:30;;;;;15095:25;;;;:70;;14840:526;15095:113;;;;14840:526;15095:164;;;14840:526;15095:206;;;14840:526;395:36152;;;;14840:526::o;395:36152::-;;14944:21;395:36152;;;;;;;;;;;;;;;;;;;;;;15095:206;395:36152;15279:18;;;;395:36152;;15279:22;;15095:206;;;:164;15228:27;;;395:36152;;;15228:31;;;-1:-1:-1;15095:164:30;;:113;15185:19;;;395:36152;15185:23;;;-1:-1:-1;15095:113:30;;:70;395:36152;;;15140:25;;;-1:-1:-1;15095:70:30;;;395:36152;14944:21;395:36152;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;:::o;3199:103:0:-;735:10:14;2954:6:0;395:36152:30;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;3519:23:0;3515:108;;3199:103::o;3515:108::-;3565:47;;;2954:6;3565:47;735:10:14;3565:47:0;395:36152:30;-1:-1:-1;;;;;;;;;;;395:36152:30;;;2954:6:0;3565:47;3199:103;735:10:14;2954:6:0;395:36152:30;;;;;;;;;;;;3519:23:0;3515:108;;3199:103::o;3515:108::-;3565:47;;;2954:6;3565:47;735:10:14;3565:47:0;395:36152:30;-1:-1:-1;;;;;;;;;;;395:36152:30;;;2954:6:0;3565:47;3199:103;2954:6;395:36152:30;;;;;;;;;;;735:10:14;395:36152:30;;;;;;;;;;3519:23:0;3515:108;;3199:103;:::o;3515:108::-;3565:47;;;2954:6;3565:47;735:10:14;3565:47:0;395:36152:30;;;;2954:6:0;3565:47;31142:219:30;31259:10;2954:6:0;395:36152:30;;;;;;;;;;;;31234:69;;31341:12;;;:::i;31234:69::-;31286:7;:::o;30185:175::-;;-1:-1:-1;;395:36152:30;;;;;;;261:5:32;395:36152:30;;;;;;261:5:32;395:36152:30;;;;;;;30313:40;;;:::i;:::-;30185:175;:::o;6179:316:0:-;-1:-1:-1;;;;;395:36152:30;;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;-1:-1:-1;;395:36152:30;;;;;735:10:14;;395:36152:30;-1:-1:-1;;;;;;;;;;;635:32:30;6370:40:0;;395:36152:30;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;395:36152:30;6466:12:0;:::o;6179:316::-;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;735:10:14;;395:36152:30;;6370:40:0;;395:36152:30;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;;395:36152:30;6466:12:0;:::o;6732:317::-;-1:-1:-1;;;;;395:36152:30;;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;-1:-1:-1;;;;;;;;;;;395:36152:30;;;;;;;-1:-1:-1;;395:36152:30;;;735:10:14;;395:36152:30;-1:-1:-1;;;;;;;;;;;635:32:30;6924:40:0;;395:36152:30;6924:40:0;395:36152:30;6978:11:0;:::o;6732:317::-;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;735:10:14;;395:36152:30;-1:-1:-1;;;;;;;;;;;720:33:30;6924:40:0;;395:36152:30;6924:40:0;395:36152:30;6978:11:0;:::o;6732:317::-;395:36152:30;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;735:10:14;;395:36152:30;;6924:40:0;;395:36152:30;6924:40:0;395:36152:30;6978:11:0;:::o;5100:402:30:-;5211:6;395:36152;;;5207:17;;;;;;5483:12;;;395:36152;5100:402;:::o;5226:3::-;5249:9;395:36152;5249:9;;;:::i;:::-;:22;;395:36152;5249:38;5245:219;;5226:3;395:36152;;5192:13;;5245:219;395:36152;5311:16;:9;;;:::i;:::-;:16;;395:36152;;;;;;;;;;5311:41;:85;;;;5245:219;5307:143;5245:219;5307:143;;5420:11;;;395:36152;5420:11;:::o;5311:85::-;5356:9;395:36152;5311:16;5356:9;;;:::i;:::-;:16;;395:36152;;;;;;;;;;;5356:40;5311:85;;31424:1623;;;;31635:15;;;:::i;:::-;31668:10;395:36152;31668:10;;;395:36152;;;;;;;;;;31660:80;31668:35;;31660:80;:::i;:::-;395:36152;;;31758:27;31750:57;31780:5;31758:27;;;31750:57;:::i;:::-;31892:622;;;;32305:31;395:36152;;;31920:50;31928:9;;;31920:50;:::i;:::-;31635:6;395:36152;;32011:29;32023:16;;;395:36152;32011:29;:::i;:::-;32071:16;;395:36152;;;;32062:25;32054:66;32062:25;;;;32054:66;:::i;:::-;32142:22;395:36152;32134:122;395:36152;;32142:30;;;;;:::i;:::-;:50;;32134:122;:::i;:::-;32305:31;:::i;:::-;395:36152;;31892:622;395:36152;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;;;32540:211;;;395:36152;;;;;32540:211;;395:36152;;;32540:211;;;395:36152;;;;;32540:211;;;395:36152;;;;;;32540:211;;;395:36152;-1:-1:-1;395:36152:30;;32524:10;395:36152;-1:-1:-1;;;395:36152:30;;;;;;;;;;32524:10;395:36152;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;395:36152:30;;;;;;;;:::i;:::-;;;;;;31892:622;395:36152;32540:211;395:36152;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;;;;;-1:-1:-1;;395:36152:30;;;;;;;;;;;;32524:10;395:36152;-1:-1:-1;;395:36152:30;;;;;;;;;-1:-1:-1;395:36152:30;32815:16;32540:211;395:36152;;-1:-1:-1;395:36152:30;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;32873:167;395:36152;;32873:167;395:36152;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;32873:167;;;;;:::i;:::-;;;;31424:1623::o;395:36152::-;;;;-1:-1:-1;395:36152:30;;;;;;;;;;;;-1:-1:-1;395:36152:30;;-1:-1:-1;395:36152:30;;-1:-1:-1;395:36152:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32540:211;395:36152;;;;;;;;;;;;;;;;;;;;-1:-1:-1;395:36152:30;32540:211;-1:-1:-1;395:36152:30;;;;;;;;;32540:211;395:36152;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;395:36152:30;-1:-1:-1;31668:10:30;395:36152;;-1:-1:-1;395:36152:30;31892:622;32393:35;;;;:::i;:::-;395:36152;31892:622;395:36152;;;-1:-1:-1;;;395:36152:30;;;31668:10;395:36152;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;30015:164;261:5:32;30015:164:30;395:36152;261:5:32;395:36152:30;;;;;;261:5:32;395:36152:30;;;;;;;30015:164;:::o;22444:1510::-;22549:16;;;395:36152;22537:29;;;:::i;:::-;22584:10;;;;;395:36152;;;;;;;;;;;;22549:16;-1:-1:-1;395:36152:30;;22676:12;;;395:36152;;;;;;;22676:12;395:36152;;;;;22549:16;22676:41;395:36152;;;;;;;;;;22900:14;;395:36152;22900:14;22918:15;;395:36152;-1:-1:-1;395:36152:30;;;;;;;;22537:11;395:36152;;23023:31;395:36152;;;23143:37;23164:15;23143:37;:::i;:::-;395:36152;;;;261:5:32;395:36152:30;;261:5:32;395:36152:30;;;;;22676:12;23143:113;;;;:::i;:::-;23276:13;;395:36152;23143:146;;;395:36152;;;23530:53;23546:37;23164:15;23546:37;:::i;:::-;23530:53;;:::i;:::-;:101;395:36152;;23825:44;409:1676:32;23825:44:30;;;:::i;:::-;395:36152;5502:110:32;22549:16:30;395:36152;5378:114:32;5399:26;;;;5378:114;:::i;5502:110::-;5622:130;395:36152:30;5643:19:32;;;;:::i;5622:130::-;409:1676;:::i;:::-;395:36152:30;;;22444:1510::o;395:36152::-;;;-1:-1:-1;;;395:36152:30;;;22584:10;395:36152;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;22584:10;395:36152;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;22584:10;395:36152;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;22584:10;395:36152;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;22584:10;395:36152;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;22584:10;395:36152;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;22584:10;395:36152;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;22584:10;395:36152;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;30548:358;395:36152;;30676:16;395:36152;;;;;;;;;30711:167;30731:26;;;;;;30887:12;;;395:36152;30548:358;:::o;30759:3::-;395:36152;30783:39;:30;30794:18;;;;:::i;:::-;395:36152;;;;;;30783:30;:::i;:::-;:39;;395:36152;;;;30782:40;30778:90;;395:36152;;30716:13;;395:36152;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;3288:1163:32;;3798:81;3288:1163;-1:-1:-1;395:36152:30;3490:10:32;395:36152:30;;;-1:-1:-1;395:36152:30;3539:26:32;261:5;4546:20;4553:13;395:36152:30;4546:20:32;;:::i;:::-;395:36152:30;;;3598:24:32;;;3669:85;261:5;4546:20;4553:13;395:36152:30;4546:20:32;;:::i;:::-;395:36152:30;;;3669:85:32;;;;:::i;:::-;3798:81;;:::i;:::-;3921:14;;;;;:::i;:::-;3951:30;;;3947:226;;4355:21;4213:12;4237:108;4213:12;;4237:23;4264:81;4380:43;4213:12;;4355:68;4213:12;;;:::i;:::-;4264:81;:::i;:::-;4237:23;;;:::i;:::-;395:36152:30;;;;;;;;4237:108:32;395:36152:30;;;;;;;;;;;;;;;;;;;;4237:108:32;4380:43;:::i;:::-;4355:21;;:::i;:68::-;4440:4;3288:1163;:::o;3947:226::-;3997:140;4024:113;;3997:23;4024:113;;;;:::i;2091:1191::-;;2597:81;2091:1191;-1:-1:-1;395:36152:30;2289:10:32;395:36152:30;;;-1:-1:-1;395:36152:30;2338:26:32;261:5;4546:20;4553:13;395:36152:30;4546:20:32;;:::i;2597:81::-;395:36152:30;;;2706:32:32;;;;;;:66;;;2091:1191;2689:130;;;2833:30;;;2829:227;;3185:21;3094:81;3066:109;3185:69;3094:81;;3066:23;3094:81;3211:43;3094:81;;:::i;:::-;3093:82;3066:23;;;:::i;:::-;395:36152:30;;;;;;;;3066:109:32;395:36152:30;;;;;;;;;;;;;;;;;;;;3211:43:32;3210:44;3185:21;;:::i;2829:227::-;2879:141;2907:113;;2879:23;2907:113;;;;:::i;2689:130::-;2797:11;;;;;2804:4;2797:11;:::o;2706:66::-;2742:30;;;;;2706:66;;;30912:224:30;31017:25;30912:224;31017:25;:::i;:::-;-1:-1:-1;31017:34:30;;395:36152;-1:-1:-1;;;;;395:36152:30;31055:10;31017:48;395:36152;;30912:224::o;395:36152::-;;;-1:-1:-1;;;395:36152:30;;;;;;;;;;;;;;;;;-1:-1:-1;;;395:36152:30;;;;;;;27100:318;;395:36152;;27219:23;;27215:74;;27318:43;27365:5;27318:43;27387:24;27318:43;;;:::i;:::-;395:36152;27387:24;;:::i;27215:74::-;27258:20;;:::o;409:1676:32:-;;;;-1:-1:-1;395:36152:30;613:10:32;395:36152:30;;;-1:-1:-1;395:36152:30;;;;688:19:32;;684:61;;261:5;4546:20;4553:13;395:36152:30;4546:20:32;;:::i;:::-;395:36152:30;;;869:32:32;;;;;865:74;;1170:81;971:24;;1041:85;261:5;4546:20;4553:13;395:36152:30;4546:20:32;;:::i;:::-;395:36152:30;;;1041:85:32;;;;:::i;:::-;1170:81;;:::i;:::-;1322:30;;;;1318:276;;1672:47;;;:::i;:::-;1783:30;;;;1779:108;;1914:43;1998:23;1914:43;;:::i;:::-;1998:23;;;:::i;:::-;395:36152:30;;;;;;1986:35:32;:40;:92;;;;409:1676;1967:111;;;409:1676;:::o;1986:92::-;2052:21;;;;;:::i;:::-;395:36152:30;;;;;;2042:31:32;:36;1986:92;;;;;1779:108;1848:23;;;;;;;:::i;:::-;395:36152:30;;;;;;1836:35:32;:40;1829:47;:::o;1318:276::-;1539:23;1391:125;;;;;;;:::i;684:61::-;723:11;;;;730:4;723:11;:::o;4611:222::-;4762:20;261:5;4611:222;4769:13;395:36152:30;4762:20:32;;:::i;:::-;395:36152:30;;;;;;;;;310:3:32;395:36152:30;;;;;;;4761:65:32;;;:::i;5015:287::-;395:36152:30;;5190:1:32;5527:5:26;;;5312;;395:36152:30;5190:1:32;5306:42:26;395:36152:30;;;;;;;;;5210:16:32;;;;;;;5015:287;;;:::o;5240:5::-;395:36152:30;;-1:-1:-1;;;395:36152:30;;;;;;5190:1:32;395:36152:30;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;5190:1:32;395:36152:30;5151:45:32;;4839:170;395:36152:30;4332:3:32;395:36152:30;4332:3:32;395:36152:30;;;;4965:1:32;395:36152:30;;;;;;;4965:1:32;395:36152:30;;;;;;;;;;;;;4839:170:32;:::o;:::-;4965:1;395:36152:30;;;;;;;4965:1:32;395:36152:30;;;;;;;;;;;4839:170:32;:::o;:::-;;;4971:11;4839:170;4971:11;:::i;:::-;4965:1;395:36152:30;;;;;;;4965:1:32;395:36152:30;;;;;;;;;;;;;4839:170:32;:::o"},"methodIdentifiers":{"BACKEND_ROLE()":"92c2becc","BUCKET_SIZE()":"12c55027","DEFAULT_ADMIN_ROLE()":"a217fddf","LOCAL_PROVIDER_ROLE()":"d8b03fa4","MASTER_ROLE()":"dc224863","SECONDS_IN_DAY()":"61a52a36","VERIFIED_SHAMAN_ROLE()":"39ee53b1","approveEvent(uint256,uint256)":"af1194be","approveEventPlace(uint256,uint256)":"90cb9845","cancelEvent(uint256)":"3f69babd","categories(uint256)":"c6cdbe5e","categoryCounters(uint256,uint256)":"df71e9a7","closeEvent(uint256)":"2ee07c00","createCategory(uint256,string,uint16,uint16,bool)":"a23ed0ea","declineEvent(uint256)":"c31da59b","declineEventPlace(uint256)":"b02dfa8f","eventPlaces(uint256)":"3bf00de6","eventTicketContract()":"26fd1078","events(uint256)":"0b791430","getCategoriesForEvent(uint256)":"4b8ac1d2","getCategory(uint256)":"f3052d26","getEventsCount()":"30366d5f","getRoleAdmin(bytes32)":"248a9ca3","grantLocalProvider(address,uint256)":"33dcc3b0","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","master()":"ee97f7f3","mintTicket(uint256,uint256,bytes32,uint8,uint8,address)":"5d20248c","mintTickets(uint256,uint256,uint256,bytes32,uint8,uint8,address)":"0ddee657","referralRewards()":"995deaba","renounceRole(bytes32,address)":"36568abe","revenueSplitter()":"9d2b86f6","revokeLocalProvider(address)":"c511eef8","revokeRole(bytes32,address)":"d547741f","revokeVerifiedShaman(address)":"cf6272a2","setReferralRewards(address)":"eeb58da5","setRevenueSplitter(address)":"c785d4e7","submitEventPlaceRequest(uint16,uint16,uint256,uint8,uint8,bool,bytes32,uint8,uint8,uint256)":"080a5a19","submitEventRequest(uint256,uint256,uint256,uint16,bytes32,uint8,uint8,(string,uint16,uint16,bool)[])":"a74d237a","supportsInterface(bytes4)":"01ffc9a7","updateCategory(uint256,string,uint16,uint16,bool)":"124f615b","updateEvent(uint256,uint256,uint256,uint256,uint16,bytes32,uint8,uint8)":"d7a8d96f","updateEventPlace(uint256,uint16,uint16,uint256,uint8,uint8,bool,bytes32,uint8,uint8,uint256)":"9ec47d74","usdtTokenContract()":"5c517ad2"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_usdtTokenContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_eventTicketContract\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_master\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_initialOffest\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"maxTickets\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"minTickets\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"daysBeforeCancel\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"minDays\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"available\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"enum CyberValleyEventManager.EventPlaceStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eventDepositSize\",\"type\":\"uint256\"}],\"name\":\"EventPlaceUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enum CyberValleyEventManager.EventStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"EventStatusChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"EventTicketVerified\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ticketPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startDate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"daysAmount\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"}],\"name\":\"EventUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"maxTickets\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"minTickets\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"daysBeforeCancel\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"minDays\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"available\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"}],\"name\":\"NewEventPlaceRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ticketPrice\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startDate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"daysAmount\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"}],\"name\":\"NewEventRequest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"referralRewards\",\"type\":\"address\"}],\"name\":\"ReferralRewardsUpdated\",\"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\":false,\"internalType\":\"uint256\",\"name\":\"categoryId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"discountPercentage\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"quota\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"hasQuota\",\"type\":\"bool\"}],\"name\":\"TicketCategoryCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"categoryId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"discountPercentage\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"quota\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"hasQuota\",\"type\":\"bool\"}],\"name\":\"TicketCategoryUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BACKEND_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BUCKET_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LOCAL_PROVIDER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MASTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SECONDS_IN_DAY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VERIFIED_SHAMAN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"distributionProfileId\",\"type\":\"uint256\"}],\"name\":\"approveEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_eventDepositSize\",\"type\":\"uint256\"}],\"name\":\"approveEventPlace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"}],\"name\":\"cancelEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"categories\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"discountPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"quota\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"hasQuota\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"sold\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"categoryCounters\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"}],\"name\":\"closeEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint16\",\"name\":\"discountPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"quota\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"hasQuota\",\"type\":\"bool\"}],\"name\":\"createCategory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"}],\"name\":\"declineEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"}],\"name\":\"declineEventPlace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"eventPlaces\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"requester\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"maxTickets\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"minTickets\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"minPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"daysBeforeCancel\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minDays\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"available\",\"type\":\"bool\"},{\"internalType\":\"enum CyberValleyEventManager.EventPlaceStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"}],\"internalType\":\"struct CyberValley.Multihash\",\"name\":\"meta\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"eventDepositSize\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eventTicketContract\",\"outputs\":[{\"internalType\":\"contract CyberValleyEventTicket\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"events\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ticketPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startDate\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"daysAmount\",\"type\":\"uint16\"},{\"internalType\":\"enum CyberValleyEventManager.EventStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"}],\"internalType\":\"struct CyberValley.Multihash\",\"name\":\"meta\",\"type\":\"tuple\"},{\"internalType\":\"uint256\",\"name\":\"networth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalCategoryQuota\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"}],\"name\":\"getCategoriesForEvent\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"categoryId\",\"type\":\"uint256\"}],\"name\":\"getCategory\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"discountPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"quota\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"hasQuota\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"sold\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEventsCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"address\",\"name\":\"eoa\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bps\",\"type\":\"uint256\"}],\"name\":\"grantLocalProvider\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"master\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"categoryId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"mintTicket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"categoryId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"mintTickets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"referralRewards\",\"outputs\":[{\"internalType\":\"contract IReferralRewards\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"revenueSplitter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"eoa\",\"type\":\"address\"}],\"name\":\"revokeLocalProvider\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"eoa\",\"type\":\"address\"}],\"name\":\"revokeVerifiedShaman\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_referralRewards\",\"type\":\"address\"}],\"name\":\"setReferralRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_splitter\",\"type\":\"address\"}],\"name\":\"setRevenueSplitter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_maxTickets\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_minTickets\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_minPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"_daysBeforeCancel\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"_minDays\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"_available\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"_eventDepositSize\",\"type\":\"uint256\"}],\"name\":\"submitEventPlaceRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ticketPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startDate\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"daysAmount\",\"type\":\"uint16\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"components\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint16\",\"name\":\"discountPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"quota\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"hasQuota\",\"type\":\"bool\"}],\"internalType\":\"struct CyberValleyEventManager.CategoryInput[]\",\"name\":\"categoriesInput\",\"type\":\"tuple[]\"}],\"name\":\"submitEventRequest\",\"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\":\"categoryId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint16\",\"name\":\"discountPercentage\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"quota\",\"type\":\"uint16\"},{\"internalType\":\"bool\",\"name\":\"hasQuota\",\"type\":\"bool\"}],\"name\":\"updateCategory\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ticketPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startDate\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"daysAmount\",\"type\":\"uint16\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"}],\"name\":\"updateEvent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventPlaceId\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_maxTickets\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"_minTickets\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_minPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"_daysBeforeCancel\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"_minDays\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"_available\",\"type\":\"bool\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"_eventDepositSize\",\"type\":\"uint256\"}],\"name\":\"updateEventPlace\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"usdtTokenContract\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}]},\"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 to signal this.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantLocalProvider(address,uint256)\":{\"params\":{\"bps\":\"The basis points (0-8500) this provider receives from each distribution. Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before profile recipients. Provider cannot add themselves to distribution profiles.\",\"eoa\":\"The address to grant LOCAL_PROVIDER_ROLE to\"}},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"grantLocalProvider(address,uint256)\":{\"notice\":\"Grants local provider role and sets their bps share in RevenueSplitter\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/CyberValleyEventManager.sol\":\"CyberValleyEventManager\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xc1bebdee8943bd5e9ef1e0f2e63296aa1dd4171a66b9e74d0286220e891e1458\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://928cf2f0042c606f3dcb21bd8a272573f462a215cd65285d2d6b407f31e9bd67\",\"dweb:/ipfs/QmWGxjckno6sfjHPX5naPnsfsyisgy4PJDf46eLw9umfpx\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x4d9a2b261b56a1e4a37bb038151dec98b952fed16de2bdfdda27e38e2b12b530\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f724110f7aeb6151af800ab8c12e6060b29bda9e013f0ccb331eb754d6a7cbf0\",\"dweb:/ipfs/QmUcjzCZpxtUPdEThtAzE1f9LvuJiUGZxTdH9N6bHrb5Cf\"]},\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x39ed367e54765186281efcfe83e47cf0ad62cc879f10e191360712507125f29a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2c5ae6d85bd48cca8d6d2fcec8c63efd86f56f8a5832577a47e403ce0e65cb09\",\"dweb:/ipfs/QmUtcS8AbRSWhuc61puYet58os8FvSqm329ChoW8wwZXZk\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5dc63d1c6a12fe1b17793e1745877b2fcbe1964c3edfd0a482fac21ca8f18261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b7f97c5960a50fd1822cb298551ffc908e37b7893a68d6d08bce18a11cb0f11\",\"dweb:/ipfs/QmQQvxBytoY1eBt3pRQDmvH2hZ2yjhs12YqVfzGm7KSURq\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xb5afb8e8eebc4d1c6404df2f5e1e6d2c3d24fd01e5dfc855314951ecfaae462d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78586466c424f076c6a2a551d848cfbe3f7c49e723830807598484a1047b3b34\",\"dweb:/ipfs/Qmb717ovcFxm7qgNKEShiV6M9SPR3v1qnNpAGH84D6w29p\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol\":{\"keccak256\":\"0xddab643169f47a2c5291afafcbfdca045d9e6835553307d090bc048b6dabd0ac\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d0ffbacfee42977167b3c75bd4787f8b72a7ab1176abd544f3dff662c6528e24\",\"dweb:/ipfs/QmUprM1cWCyaQ3LDjHA2DhwiPs3wekQ6MWXHFZdMMxpcyX\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]},\"contracts/CyberValley.sol\":{\"keccak256\":\"0x082ddc5586096913eb8aec7c10056b3af2a76940ccc5235657631c14a2f553e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7863b9d49b42e006b04f605299ab19272309b7ca6406790e58f2bf1f493411e\",\"dweb:/ipfs/QmV2HaC7z1xqn7Z1YGVgySfSBFEVReS3GmhfrRqTcbDakA\"]},\"contracts/CyberValleyEventManager.sol\":{\"keccak256\":\"0x03c8b61d6cd8eac5639c0b1a5ab2fc0b7754a02c07b0b4b9e93b89259b05e416\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7b48949e5f1807318afd5e0bd94468bd1d12ea5d00fb88646f2f16d40f70f30d\",\"dweb:/ipfs/QmSZgQUadgJznnTXsdjVGurpbAJgh7Fok695ExrQz7vENt\"]},\"contracts/CyberValleyEventTicket.sol\":{\"keccak256\":\"0x42913f9cbe93c58dfc5200dccd3ab8e7188c1428c50eee131e8787b922a27d7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://30d9e581c9a668cd225271143aacd6d3436f38e1a2711f837e1b6f9000c171d7\",\"dweb:/ipfs/QmTUBU71HmELuDQ9n9HFcMjoKbz5ADAYo9AW1joBr7QTvu\"]},\"contracts/DateOverlapChecker.sol\":{\"keccak256\":\"0xfcf0e7bda0bfcbbdc50b0169a6b9a24b9837fbed7158ede9e3e2de5b23f9efbf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e9ca7aa46c703b40ab5c4e33f08e8c471948d6170cfc171ee4dba6783d3c6cd8\",\"dweb:/ipfs/QmcerdpyBC1dgBbxs9UNhAU2Lpggg3Fqhw1rqCcQt8StQr\"]},\"contracts/IDynamicRevenueSplitter.sol\":{\"keccak256\":\"0x92a2ec2b50bf12f503129234fb0ae69202640579570b8ef06b58cab0e2a6a0c9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efff857af731d811033319d0f5ce5594fd9f2a77b2f34f029201b73d5316b99a\",\"dweb:/ipfs/QmYLjCE5vEpLVwhkDXsBXi5cw4Twg4cBZeMwAGQrczmEoZ\"]},\"contracts/IReferralRewards.sol\":{\"keccak256\":\"0xb66eabaa48897b8e6e1c994860fa2e74d5a9ccf5858461bad49095435290d627\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0c9385d923387cb6656170ba3450bc18b1cc0978dc426ec202972559d98995b5\",\"dweb:/ipfs/QmevQ9Sw9Knx5qr3jEA6cJLbxDNBjjXkqHVuzUeEC1fKvp\"]}},\"version\":1}"}},"contracts/CyberValleyEventTicket.sol":{"Base58":{"abi":[],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234601757603a9081601d823930815050f35b600080fdfe600080fdfea2646970667358221220961d8ba8a1a80d069ce8de7815b570e0da63cf4ea394d239e910fd2d75fcf63b64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x17 JUMPI PUSH1 0x3A SWAP1 DUP2 PUSH1 0x1D DUP3 CODECOPY ADDRESS DUP2 POP POP RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP7 SAR DUP12 0xA8 LOG1 0xA8 0xD MOD SWAP13 0xE8 0xDE PUSH25 0x15B570E0DA63CF4EA394D239E910FD2D75FCF63B64736F6C63 NUMBER STOP ADDMOD SHR STOP CALLER ","sourceMap":"5860:1393:31:-:0;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"600080fdfea2646970667358221220961d8ba8a1a80d069ce8de7815b570e0da63cf4ea394d239e910fd2d75fcf63b64736f6c634300081c0033","opcodes":"PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP7 SAR DUP12 0xA8 LOG1 0xA8 0xD MOD SWAP13 0xE8 0xDE PUSH25 0x15B570E0DA63CF4EA394D239E910FD2D75FCF63B64736F6C63 NUMBER STOP ADDMOD SHR STOP CALLER ","sourceMap":"5860:1393:31:-:0;;"},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/CyberValleyEventTicket.sol\":\"Base58\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xc1bebdee8943bd5e9ef1e0f2e63296aa1dd4171a66b9e74d0286220e891e1458\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://928cf2f0042c606f3dcb21bd8a272573f462a215cd65285d2d6b407f31e9bd67\",\"dweb:/ipfs/QmWGxjckno6sfjHPX5naPnsfsyisgy4PJDf46eLw9umfpx\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x4d9a2b261b56a1e4a37bb038151dec98b952fed16de2bdfdda27e38e2b12b530\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f724110f7aeb6151af800ab8c12e6060b29bda9e013f0ccb331eb754d6a7cbf0\",\"dweb:/ipfs/QmUcjzCZpxtUPdEThtAzE1f9LvuJiUGZxTdH9N6bHrb5Cf\"]},\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x39ed367e54765186281efcfe83e47cf0ad62cc879f10e191360712507125f29a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2c5ae6d85bd48cca8d6d2fcec8c63efd86f56f8a5832577a47e403ce0e65cb09\",\"dweb:/ipfs/QmUtcS8AbRSWhuc61puYet58os8FvSqm329ChoW8wwZXZk\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5dc63d1c6a12fe1b17793e1745877b2fcbe1964c3edfd0a482fac21ca8f18261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b7f97c5960a50fd1822cb298551ffc908e37b7893a68d6d08bce18a11cb0f11\",\"dweb:/ipfs/QmQQvxBytoY1eBt3pRQDmvH2hZ2yjhs12YqVfzGm7KSURq\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xb5afb8e8eebc4d1c6404df2f5e1e6d2c3d24fd01e5dfc855314951ecfaae462d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78586466c424f076c6a2a551d848cfbe3f7c49e723830807598484a1047b3b34\",\"dweb:/ipfs/Qmb717ovcFxm7qgNKEShiV6M9SPR3v1qnNpAGH84D6w29p\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol\":{\"keccak256\":\"0xddab643169f47a2c5291afafcbfdca045d9e6835553307d090bc048b6dabd0ac\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d0ffbacfee42977167b3c75bd4787f8b72a7ab1176abd544f3dff662c6528e24\",\"dweb:/ipfs/QmUprM1cWCyaQ3LDjHA2DhwiPs3wekQ6MWXHFZdMMxpcyX\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]},\"contracts/CyberValley.sol\":{\"keccak256\":\"0x082ddc5586096913eb8aec7c10056b3af2a76940ccc5235657631c14a2f553e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7863b9d49b42e006b04f605299ab19272309b7ca6406790e58f2bf1f493411e\",\"dweb:/ipfs/QmV2HaC7z1xqn7Z1YGVgySfSBFEVReS3GmhfrRqTcbDakA\"]},\"contracts/CyberValleyEventTicket.sol\":{\"keccak256\":\"0x42913f9cbe93c58dfc5200dccd3ab8e7188c1428c50eee131e8787b922a27d7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://30d9e581c9a668cd225271143aacd6d3436f38e1a2711f837e1b6f9000c171d7\",\"dweb:/ipfs/QmTUBU71HmELuDQ9n9HFcMjoKbz5ADAYo9AW1joBr7QTvu\"]}},\"version\":1}"},"CyberValleyEventTicket":{"abi":[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_master","type":"address"},{"internalType":"string","name":"_ipfsHost","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"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":"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":false,"internalType":"uint256","name":"eventId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ticketId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"categoryId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"bytes32","name":"digest","type":"bytes32"},{"indexed":false,"internalType":"uint8","name":"hashFunction","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"size","type":"uint8"},{"indexed":false,"internalType":"address","name":"referrer","type":"address"},{"indexed":false,"internalType":"uint256","name":"pricePaid","type":"uint256"}],"name":"TicketMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"ticketId","type":"uint256"}],"name":"TicketRedeemed","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":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EVENT_MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MASTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAFF_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"eventManagerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"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":[],"name":"ipfsHost","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"","type":"uint256"}],"name":"isRedeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint256","name":"categoryId","type":"uint256"},{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"address","name":"referrer","type":"address"},{"internalType":"uint256","name":"pricePaid","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint256","name":"categoryId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"address","name":"referrer","type":"address"},{"internalType":"uint256","name":"pricePaid","type":"uint256"}],"name":"mintBatch","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"redeemTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"address","name":"_eventManagerAddress","type":"address"}],"name":"setEventManagerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"host","type":"string"}],"name":"setIpfsHost","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":"ticketMeta","outputs":[{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ticketsMeta","outputs":[{"internalType":"bytes32","name":"digest","type":"bytes32"},{"internalType":"uint8","name":"hashFunction","type":"uint8"},{"internalType":"uint8","name":"size","type":"uint8"}],"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":{"abi_decode_string_fromMemory":{"entryPoint":1268,"id":null,"parameterSlots":2,"returnSlots":1},"allocate_memory":{"entryPoint":1231,"id":null,"parameterSlots":1,"returnSlots":1},"fun_grantRole":{"entryPoint":1499,"id":256,"parameterSlots":1,"returnSlots":1},"fun_grantRole_3523":{"entryPoint":1375,"id":256,"parameterSlots":1,"returnSlots":1},"fun_grantRole_3525":{"entryPoint":1651,"id":256,"parameterSlots":1,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"6080604052346104ca5761266780380380610019816104cf565b9283398101906080818303126104ca5780516001600160401b0381116104ca57826100459183016104f4565b60208201519092906001600160401b0381116104ca57816100679184016104f4565b6040830151909290916001600160a01b03831683036104ca5760608201516001600160401b0381116104ca5761009d92016104f4565b83519092906001600160401b0381116102ee57600054600181811c911680156104c0575b60208210146102ce57601f811161045c575b50602094601f82116001146103f6579481929394956000926103eb575b50508160011b916000199060031b1c1916176000555b8051906001600160401b0382116102ee57600154600181811c911680156103e1575b60208210146102ce57601f811161037c575b50602090601f831160011461030f5761018793929160009183610304575b50508160011b916000199060031b1c1916176001555b6101778161055f565b50610181816105db565b50610673565b5080516001600160401b0381116102ee57600a54600181811c911680156102e4575b60208210146102ce57601f8111610269575b50602091601f8211600114610205579181926000926101fa575b50508160011b916000199060031b1c191617600a555b604051611edb908161070c8239f35b0151905038806101d5565b601f19821692600a600052806000209160005b85811061025157508360019510610238575b505050811b01600a556101eb565b015160001960f88460031b161c1916905538808061022a565b91926020600181928685015181550194019201610218565b600a6000527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a8601f830160051c810191602084106102c4575b601f0160051c01905b8181106102b857506101bb565b600081556001016102ab565b90915081906102a2565b634e487b7160e01b600052602260045260246000fd5b90607f16906101a9565b634e487b7160e01b600052604160045260246000fd5b015190503880610158565b90601f198316916001600052816000209260005b81811061036457509160019391856101879796941061034b575b505050811b0160015561016e565b015160001960f88460031b161c1916905538808061033d565b92936020600181928786015181550195019301610323565b60016000527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6601f840160051c810191602085106103d7575b601f0160051c01905b8181106103cb575061013a565b600081556001016103be565b90915081906103b5565b90607f1690610128565b0151905038806100f0565b601f1982169560008052806000209160005b8881106104445750836001959697981061042b575b505050811b01600055610106565b015160001960f88460031b161c1916905538808061041d565b91926020600181928685015181550194019201610408565b600080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563601f830160051c810191602084106104b6575b601f0160051c01905b8181106104aa57506100d3565b6000815560010161049d565b9091508190610494565b90607f16906100c1565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176102ee57604052565b81601f820112156104ca578051906001600160401b0382116102ee57610523601f8301601f19166020016104cf565b92828452602083830101116104ca5760005b82811061054a57505060206000918301015290565b80602080928401015182828701015201610535565b6001600160a01b0381166000908152600080516020612647833981519152602052604090205460ff166105d5576001600160a01b0316600081815260008051602061264783398151915260205260408120805460ff191660011790553391906000805160206125e78339815191528180a4600190565b50600090565b6001600160a01b0381166000908152600080516020612627833981519152602052604090205460ff166105d5576001600160a01b0316600081815260008051602061262783398151915260205260408120805460ff191660011790553391907f8b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4c906000805160206125e78339815191529080a4600190565b6001600160a01b0381166000908152600080516020612607833981519152602052604090205460ff166105d5576001600160a01b0316600081815260008051602061260783398151915260205260408120805460ff191660011790553391907f5620a1113a72b02a617976b3f6b15600dd7a8b3a916a9ca01e23119d989a0543906000805160206125e78339815191529080a460019056fe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a7146112405750806306fdde031461119b578063081812fc1461115d578063095ea7b31461106e57806315f59d7f14610f4657806323b872dd14610f2f578063248a9ca314610efa5780632b2ad90f14610e645780632f2ff15d14610e2457806332d33cd014610df357806336568abe14610dad57806342842e0e14610d83578063581e741514610d5a5780635948687314610d1f5780636352211e14610cef57806370a0823114610c995780637f87197514610c4057806385290fa114610c05578063883adb5614610ae057806389e3df1114610a9157806391d1485414610a4457806395d89b4114610977578063a217fddf1461095b578063a22cb465146108ba578063b405b26014610755578063b88d4fde146106cc578063c87b56dd14610590578063d547741f14610549578063d851b90a14610406578063dc224863146103cb578063e985e9c5146103705763ea05c3e11461017f57600080fd5b3461036b57602036600319011261036b5760043567ffffffffffffffff811161036b573660238201121561036b57806004013567ffffffffffffffff811161036b57366024828401011161036b573360009081527f075c1f1a11cad7b67ee718948c07987dfdb23b2d76d29a5ffbc644652e82aec4602052604090205460ff161561032e57600090610212600a54611373565b601f81116102c7575b5081601f821160011461025857829382939261024a575b50508160011b916000199060031b1c191617600a5580f35b602492500101353880610232565b601f19821693600080516020611e6683398151915291845b8681106102ac575083600195961061028f575b505050811b01600a5580f35b0160240135600019600384901b60f8161c19169055388080610283565b90926020600181926024878701013581550194019101610270565b601f820160051c600080516020611e66833981519152019060208310610318575b601f0160051c600080516020611e6683398151915201905b81811061030d575061021b565b838155600101610300565b600080516020611e6683398151915291506102e8565b60405162461bcd60e51b81526020600482015260156024820152744d7573742068617665206d617374657220726f6c6560581b6044820152606490fd5b600080fd5b3461036b57604036600319011261036b5761038961130d565b610391611323565b9060018060a01b0316600052600560205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461036b57600036600319011261036b5760206040517f8b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4c8152f35b3461036b57602036600319011261036b5761041f61130d565b3360009081527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8602052604090205460ff161561052f576001600160a01b0381169081156104de57600b546001600160a01b0316610499576104809061187c565b506001600160601b0360a01b600b541617600b55600080f35b60405162461bcd60e51b815260206004820152601f60248201527f4576656e74206d616e616765722077617320616c7265616479207361766564006044820152606490fd5b60405162461bcd60e51b8152602060048201526024808201527f4576656e74206d616e6167657220616464726573732063616e6e6f74206265206044820152637a65726f60e01b6064820152608490fd5b63e2517d3f60e01b60005233600452600060245260446000fd5b3461036b57604036600319011261036b5761058e600435610568611323565b9061058961058482600052600660205260016040600020015490565b61183f565b6119bb565b005b3461036b57602036600319011261036b576004356105ad81611808565b5060005260086020526105f06040806000208151906105cb826113ad565b600181549182845201549160ff8084169384602084015260081c169384910152611b73565b6040516000600a5461060181611373565b90600181169081156106a95750600114610664575b506001826106609483602f60f81b61064c955261063c82518093602087850191016112c5565b010301601f1981018352826113df565b6040519182916020835260208301906112e8565b0390f35b9050600a600052600080516020611e668339815191526000905b82821061069357505081016020016001610616565b600181602092548385880101520191019061067e565b60ff19166020808601919091528215159092028401909101915060019050610616565b3461036b57608036600319011261036b576106e561130d565b6106ed611323565b6064359167ffffffffffffffff831161036b573660238401121561036b5782600401359161071a83611411565b9261072860405194856113df565b808452366024828701011161036b57602081600092602461058e98018388013785010152604435916116ba565b3461036b5761012036600319011261036b5761076f61130d565b6064359060843590604435602435610785611401565b9260c4359360ff85169485810361036b5760e435906001600160a01b038216820361036b57336000908152600080516020611e8683398151915260205260409020549798976101043593906107dc9060ff1661161d565b60ff81169960005b8a81106107ed57005b60075490600182018092116108a4577fc01f43857570d249b1e624a21836141242e465280d500923b451e60a622f70988a8a8f8a8f8a8a8f8b908f949661089b9761083e8e60019f60075584611a41565b60ff8e60405161084d816113ad565b868152602081019485526040810193845260075460005260086020526040600020905181550192511661ff008354925160081b169161ffff19161717905560075498604051998a998a611669565b0390a1016107e4565b634e487b7160e01b600052601160045260246000fd5b3461036b57604036600319011261036b576108d361130d565b6024359081151580920361036b576001600160a01b031690811561094657336000526005602052604060002082600052602052604060002060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b60005260045260246000fd5b3461036b57600036600319011261036b57602060405160008152f35b3461036b57600036600319011261036b57604051600060015461099981611373565b8084529060018116908115610a2057506001146109c1575b6106608361064c818503826113df565b600160009081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b808210610a065750909150810160200161064c6109b1565b9192600181602092548385880101520191019092916109ee565b60ff191660208086019190915291151560051b8401909101915061064c90506109b1565b3461036b57604036600319011261036b57610a5d611323565b600435600052600660205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461036b57602036600319011261036b576004356000908152600860208181526040928390208054600190910154845191825260ff8082169383019390935290921c1691810191909152606090f35b3461036b5761010036600319011261036b57610afa61130d565b6064356084359160ff83169283810361036b57610b15611401565b9060c4356001600160a01b038116810361036b57336000908152600080516020611e868339815191526020526040902054610b529060ff1661161d565b60075492600184018094116108a4577fc01f43857570d249b1e624a21836141242e465280d500923b451e60a622f709896610b9485610c009660075587611a41565b604051610ba0816113ad565b8781526020810191825260ff60016040830192828616845260075460005260086020526040600020905181550192511661ff008354925160081b169161ffff1916171790556007549260405196879660e43595604435906024358a611669565b0390a1005b3461036b57600036600319011261036b5760206040517f5620a1113a72b02a617976b3f6b15600dd7a8b3a916a9ca01e23119d989a05438152f35b3461036b57602036600319011261036b57600435610c5d81611808565b506000908152600860208181526040928390208054600190910154845191825260ff8082169383019390935290921c1691810191909152606090f35b3461036b57602036600319011261036b576001600160a01b03610cba61130d565b168015610cd95760005260036020526020604060002054604051908152f35b6322718ad960e21b600052600060045260246000fd5b3461036b57602036600319011261036b576020610d0d600435611808565b6040516001600160a01b039091168152f35b3461036b57600036600319011261036b5760206040517fa961ef34a96635180dfffd0ae574060d6c6af619ce89175a103711bf5ce827088152f35b3461036b57600036600319011261036b57600b546040516001600160a01b039091168152602090f35b3461036b5761058e610d9436611339565b9060405192610da46020856113df565b600084526116ba565b3461036b57604036600319011261036b57610dc6611323565b336001600160a01b03821603610de25761058e906004356119bb565b63334bd91960e11b60005260046000fd5b3461036b57602036600319011261036b576004356000526009602052602060ff604060002054166040519015158152f35b3461036b57604036600319011261036b5761058e600435610e43611323565b90610e5f61058482600052600660205260016040600020015490565b61192c565b3461036b57600036600319011261036b576040516000600a54610e8681611373565b8084529060018116908115610a205750600114610ead576106608361064c818503826113df565b600a6000908152600080516020611e66833981519152939250905b808210610ee05750909150810160200161064c6109b1565b919260018160209254838588010152019101909291610ec8565b3461036b57602036600319011261036b576020610f27600435600052600660205260016040600020015490565b604051908152f35b3461036b5761058e610f4036611339565b9161142d565b3461036b57602036600319011261036b573360009081527f3beef1056912f4670a04fa233dcd18972a82c7d867a8dfa80496c9d7214203a060205260409020546004359060ff16156110325780600052600960205260ff60406000205416610fed576020817fb0ebd5f2f7c40ca5715d8deab780894f023a63bc249fc45e69df6acbc4e8b56892600052600982526040600020600160ff19825416179055604051908152a1005b60405162461bcd60e51b815260206004820152601a60248201527f546f6b656e207761732072656465656d656420616c72656164790000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260146024820152734d757374206861766520737461666620726f6c6560601b6044820152606490fd5b3461036b57604036600319011261036b5761108761130d565b60243561109381611808565b3315158061114a575b8061111c575b6111075781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4600090815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b6000523360045260246000fd5b506001600160a01b038116600090815260056020908152604080832033845290915290205460ff16156110a2565b506001600160a01b03811633141561109c565b3461036b57602036600319011261036b5760043561117a81611808565b506000526004602052602060018060a01b0360406000205416604051908152f35b3461036b57600036600319011261036b57604051600080546111bc81611373565b8084529060018116908115610a2057506001146111e3576106608361064c818503826113df565b60008080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b8082106112265750909150810160200161064c6109b1565b91926001816020925483858801015201910190929161120e565b3461036b57602036600319011261036b576004359063ffffffff60e01b821680920361036b57602091637965db0b60e01b8114908115611282575b5015158152f35b6380ac58cd60e01b8114915081156112b4575b81156112a3575b508361127b565b6301ffc9a760e01b1490508361129c565b635b5e139f60e01b81149150611295565b60005b8381106112d85750506000910152565b81810151838201526020016112c8565b90602091611301815180928185528580860191016112c5565b601f01601f1916010190565b600435906001600160a01b038216820361036b57565b602435906001600160a01b038216820361036b57565b606090600319011261036b576004356001600160a01b038116810361036b57906024356001600160a01b038116810361036b579060443590565b90600182811c921680156113a3575b602083101461138d57565b634e487b7160e01b600052602260045260246000fd5b91607f1691611382565b6060810190811067ffffffffffffffff8211176113c957604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff8211176113c957604052565b60a4359060ff8216820361036b57565b67ffffffffffffffff81116113c957601f01601f191660200190565b6001600160a01b03169190826115d8576001600160a01b03169182156115c2576000828152600260205260408120546001600160a01b031693839185903315158061152a575b507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90826114f5575b83815260036020526040812060018154019055848152600260205260408120846001600160601b0360a01b82541617905580a48083036114db57505050565b6364283d7b60e01b60005260045260245260445260646000fd5b600085815260046020526040902080546001600160a01b0319169055828152600360205260408120805460001901905561149c565b915091925080611573575b15611544579084849238611473565b83908561155d57602491637e27328960e01b8252600452fd5b60449163177e802f60e01b825233600452602452fd5b5033851480156115a1575b806115355750838152600460205260408120546001600160a01b03163314611535565b5084815260056020908152604080832033845290915281205460ff1661157e565b633250574960e11b600052600060045260246000fd5b60405162461bcd60e51b815260206004820152601a60248201527f546f6b656e207472616e736665722069732064697361626c65640000000000006044820152606490fd5b1561162457565b60405162461bcd60e51b815260206004820152601c60248201527f4d7573742068617665206576656e74206d616e6167657220726f6c65000000006044820152606490fd5b95909998979460ff94610100989486946101208a019d8a5260208a0152604089015260018060a01b0316606088015260808701521660a08501521660c083015260018060a01b031660e08201520152565b92916116c781838661142d565b813b6116d4575b50505050565b604051630a85bd0160e11b81523360048201526001600160a01b039485166024820152604481019190915260806064820152921691906020908290819061171f9060848301906112e8565b03816000865af180916000916117be575b509061178957503d15611782573d61174781611411565b9061175560405192836113df565b81523d6000602083013e5b8051908161177d5782633250574960e11b60005260045260246000fd5b602001fd5b6060611760565b6001600160e01b03191663757a42ff60e11b016117aa5750388080806116ce565b633250574960e11b60005260045260246000fd5b6020813d602011611800575b816117d7602093836113df565b810103126117fc5751906001600160e01b0319821682036117f9575038611730565b80fd5b5080fd5b3d91506117ca565b6000818152600260205260409020546001600160a01b031690811561182b575090565b637e27328960e01b60005260045260246000fd5b600081815260066020908152604080832033845290915290205460ff16156118645750565b63e2517d3f60e01b6000523360045260245260446000fd5b6001600160a01b0381166000908152600080516020611e86833981519152602052604090205460ff16611926576001600160a01b03166000818152600080516020611e8683398151915260205260408120805460ff191660011790553391907fa961ef34a96635180dfffd0ae574060d6c6af619ce89175a103711bf5ce82708907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50600090565b60008181526006602090815260408083206001600160a01b038616845290915290205460ff166119b45760008181526006602090815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5050600090565b60008181526006602090815260408083206001600160a01b038616845290915290205460ff16156119b45760008181526006602090815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6001600160a01b031680156115c257600091808352600260205260018060a01b0360408420541691827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8115159586611ae5575b83815260036020526040812060018154019055848152600260205260408120846001600160601b0360a01b82541617905580a450611acf57565b6339e3563760e11b600052600060045260246000fd5b600085815260046020526040902080546001600160a01b03191690558281526003602052604081208054600019019055611a95565b90611b2482611411565b611b3160405191826113df565b8281528092611b42601f1991611411565b0190602036910137565b908151811015611b5d570160200190565b634e487b7160e01b600052603260045260246000fd5b90929160ff811615611e4c57604090815192611b8f83856113df565b60208452601f19830136602086013760005b60208110611e355750508251600201806002116108a457611bc190611b1a565b94855115611b5d5760f81b6001600160f81b03191660001a6020860153845160011015611b5d5760f81b6001600160f81b03191660001a602185015360005b8251811015611c41576001600160f81b0319611c1c8285611b4c565b511690600281018082116108a457611c3a60019360001a9188611b4c565b5301611c00565b50835192915060005b83811080611e19575b15611c6057600101611c4a565b9391909261209f856117e3920302048401936001850192611c8084611b1a565b9460009387905b8351861015611d1c578196949694611c9f8786611b4c565b5160f81c5b8a87138015611d0d575b15611cfb5763ffffffff603a9161ff0080611cc98b8f611b4c565b5160f01c1616011681810660f81b6001600160f81b03191660001a611cee898d611b4c565b5304956000190195611ca4565b50949850939560019095019493611c87565b5063ffffffff81161515611cae565b975050919394925050825b84811080611dfd575b15611d3d57600101611d27565b919293508251848303900392611d5284611b1a565b9460005b858110611d665750505050505090565b6001906060611d77865191826113df565b603a81527f31323334353637383941424344454647484a4b4c4d4e5051525354555657585960208201527f5a6162636465666768696a6b6d6e6f707172737475767778797a00000000000086820152611de760ff60f81b91611ddd868a86010388611b4c565b5160f81c90611b4c565b511660001a611df6828a611b4c565b5301611d56565b506001600160f81b0319611e118285611b4c565b511615611d30565b506001600160f81b0319611e2d8287611b4c565b511615611c53565b80826001921a611e458288611b4c565b5301611ba1565b50509050604051611e5e6020826113df565b600081529056fec65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a81cf9f68bbcf00d04cac120c1949d301bab4d15e9b099a304a7e6f21ea665cad4a26469706673582212205a2932db26747cb7a48c7ef546100ff5184981791afd2fc91aa90222903d5d5f64736f6c634300081c00332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d3beef1056912f4670a04fa233dcd18972a82c7d867a8dfa80496c9d7214203a0075c1f1a11cad7b67ee718948c07987dfdb23b2d76d29a5ffbc644652e82aec454cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0x4CA JUMPI PUSH2 0x2667 DUP1 CODESIZE SUB DUP1 PUSH2 0x19 DUP2 PUSH2 0x4CF JUMP JUMPDEST SWAP3 DUP4 CODECOPY DUP2 ADD SWAP1 PUSH1 0x80 DUP2 DUP4 SUB SLT PUSH2 0x4CA JUMPI DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x4CA JUMPI DUP3 PUSH2 0x45 SWAP2 DUP4 ADD PUSH2 0x4F4 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD MLOAD SWAP1 SWAP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x4CA JUMPI DUP2 PUSH2 0x67 SWAP2 DUP5 ADD PUSH2 0x4F4 JUMP JUMPDEST PUSH1 0x40 DUP4 ADD MLOAD SWAP1 SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND DUP4 SUB PUSH2 0x4CA JUMPI PUSH1 0x60 DUP3 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x4CA JUMPI PUSH2 0x9D SWAP3 ADD PUSH2 0x4F4 JUMP JUMPDEST DUP4 MLOAD SWAP1 SWAP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2EE JUMPI PUSH1 0x0 SLOAD PUSH1 0x1 DUP2 DUP2 SHR SWAP2 AND DUP1 ISZERO PUSH2 0x4C0 JUMPI JUMPDEST PUSH1 0x20 DUP3 LT EQ PUSH2 0x2CE JUMPI PUSH1 0x1F DUP2 GT PUSH2 0x45C JUMPI JUMPDEST POP PUSH1 0x20 SWAP5 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x3F6 JUMPI SWAP5 DUP2 SWAP3 SWAP4 SWAP5 SWAP6 PUSH1 0x0 SWAP3 PUSH2 0x3EB JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x0 SSTORE JUMPDEST DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2EE JUMPI PUSH1 0x1 SLOAD PUSH1 0x1 DUP2 DUP2 SHR SWAP2 AND DUP1 ISZERO PUSH2 0x3E1 JUMPI JUMPDEST PUSH1 0x20 DUP3 LT EQ PUSH2 0x2CE JUMPI PUSH1 0x1F DUP2 GT PUSH2 0x37C JUMPI JUMPDEST POP PUSH1 0x20 SWAP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 EQ PUSH2 0x30F JUMPI PUSH2 0x187 SWAP4 SWAP3 SWAP2 PUSH1 0x0 SWAP2 DUP4 PUSH2 0x304 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x1 SSTORE JUMPDEST PUSH2 0x177 DUP2 PUSH2 0x55F JUMP JUMPDEST POP PUSH2 0x181 DUP2 PUSH2 0x5DB JUMP JUMPDEST POP PUSH2 0x673 JUMP JUMPDEST POP DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x2EE JUMPI PUSH1 0xA SLOAD PUSH1 0x1 DUP2 DUP2 SHR SWAP2 AND DUP1 ISZERO PUSH2 0x2E4 JUMPI JUMPDEST PUSH1 0x20 DUP3 LT EQ PUSH2 0x2CE JUMPI PUSH1 0x1F DUP2 GT PUSH2 0x269 JUMPI JUMPDEST POP PUSH1 0x20 SWAP2 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x205 JUMPI SWAP2 DUP2 SWAP3 PUSH1 0x0 SWAP3 PUSH2 0x1FA JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0xA SSTORE JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x1EDB SWAP1 DUP2 PUSH2 0x70C DUP3 CODECOPY RETURN JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0x1D5 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP3 PUSH1 0xA PUSH1 0x0 MSTORE DUP1 PUSH1 0x0 KECCAK256 SWAP2 PUSH1 0x0 JUMPDEST DUP6 DUP2 LT PUSH2 0x251 JUMPI POP DUP4 PUSH1 0x1 SWAP6 LT PUSH2 0x238 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0xA SSTORE PUSH2 0x1EB JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x22A JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x218 JUMP JUMPDEST PUSH1 0xA PUSH1 0x0 MSTORE PUSH32 0xC65A7BB8D6351C1CF70C95A316CC6A92839C986682D98BC35F958F4883F9D2A8 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x2C4 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x2B8 JUMPI POP PUSH2 0x1BB JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x2AB JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x2A2 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x7F AND SWAP1 PUSH2 0x1A9 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0x158 JUMP JUMPDEST SWAP1 PUSH1 0x1F NOT DUP4 AND SWAP2 PUSH1 0x1 PUSH1 0x0 MSTORE DUP2 PUSH1 0x0 KECCAK256 SWAP3 PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x364 JUMPI POP SWAP2 PUSH1 0x1 SWAP4 SWAP2 DUP6 PUSH2 0x187 SWAP8 SWAP7 SWAP5 LT PUSH2 0x34B JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x1 SSTORE PUSH2 0x16E JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x33D JUMP JUMPDEST SWAP3 SWAP4 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP8 DUP7 ADD MLOAD DUP2 SSTORE ADD SWAP6 ADD SWAP4 ADD PUSH2 0x323 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 PUSH1 0x1F DUP5 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP6 LT PUSH2 0x3D7 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x3CB JUMPI POP PUSH2 0x13A JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x3BE JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x3B5 JUMP JUMPDEST SWAP1 PUSH1 0x7F AND SWAP1 PUSH2 0x128 JUMP JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0xF0 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP6 PUSH1 0x0 DUP1 MSTORE DUP1 PUSH1 0x0 KECCAK256 SWAP2 PUSH1 0x0 JUMPDEST DUP9 DUP2 LT PUSH2 0x444 JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 SWAP8 SWAP9 LT PUSH2 0x42B JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x0 SSTORE PUSH2 0x106 JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x41D JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x408 JUMP JUMPDEST PUSH1 0x0 DUP1 MSTORE PUSH32 0x290DECD9548B62A8D60345A988386FC84BA6BC95484008F6362F93160EF3E563 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x4B6 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x4AA JUMPI POP PUSH2 0xD3 JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x49D JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x494 JUMP JUMPDEST SWAP1 PUSH1 0x7F AND SWAP1 PUSH2 0xC1 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x40 MLOAD SWAP2 SWAP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP4 DUP3 LT OR PUSH2 0x2EE JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST DUP2 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x4CA JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x2EE JUMPI PUSH2 0x523 PUSH1 0x1F DUP4 ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD PUSH2 0x4CF JUMP JUMPDEST SWAP3 DUP3 DUP5 MSTORE PUSH1 0x20 DUP4 DUP4 ADD ADD GT PUSH2 0x4CA JUMPI PUSH1 0x0 JUMPDEST DUP3 DUP2 LT PUSH2 0x54A JUMPI POP POP PUSH1 0x20 PUSH1 0x0 SWAP2 DUP4 ADD ADD MSTORE SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x20 DUP1 SWAP3 DUP5 ADD ADD MLOAD DUP3 DUP3 DUP8 ADD ADD MSTORE ADD PUSH2 0x535 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2647 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x5D5 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2647 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x25E7 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2627 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x5D5 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2627 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0x8B8C0776DF2C2176EDF6F82391C35EA4891146D7A976EE36FD07F1A6FB4EAD4C SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x25E7 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2607 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x5D5 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2607 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0x5620A1113A72B02A617976B3F6B15600DD7A8B3A916A9CA01E23119D989A0543 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x25E7 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x1FFC9A7 EQ PUSH2 0x1240 JUMPI POP DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x119B JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x115D JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x106E JUMPI DUP1 PUSH4 0x15F59D7F EQ PUSH2 0xF46 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF2F JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0xEFA JUMPI DUP1 PUSH4 0x2B2AD90F EQ PUSH2 0xE64 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0xE24 JUMPI DUP1 PUSH4 0x32D33CD0 EQ PUSH2 0xDF3 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0xDAD JUMPI DUP1 PUSH4 0x42842E0E EQ PUSH2 0xD83 JUMPI DUP1 PUSH4 0x581E7415 EQ PUSH2 0xD5A JUMPI DUP1 PUSH4 0x59486873 EQ PUSH2 0xD1F JUMPI DUP1 PUSH4 0x6352211E EQ PUSH2 0xCEF JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0xC99 JUMPI DUP1 PUSH4 0x7F871975 EQ PUSH2 0xC40 JUMPI DUP1 PUSH4 0x85290FA1 EQ PUSH2 0xC05 JUMPI DUP1 PUSH4 0x883ADB56 EQ PUSH2 0xAE0 JUMPI DUP1 PUSH4 0x89E3DF11 EQ PUSH2 0xA91 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0xA44 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x977 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x95B JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x8BA JUMPI DUP1 PUSH4 0xB405B260 EQ PUSH2 0x755 JUMPI DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x6CC JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x590 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x549 JUMPI DUP1 PUSH4 0xD851B90A EQ PUSH2 0x406 JUMPI DUP1 PUSH4 0xDC224863 EQ PUSH2 0x3CB JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x370 JUMPI PUSH4 0xEA05C3E1 EQ PUSH2 0x17F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x36B JUMPI CALLDATASIZE PUSH1 0x23 DUP3 ADD SLT ISZERO PUSH2 0x36B JUMPI DUP1 PUSH1 0x4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x36B JUMPI CALLDATASIZE PUSH1 0x24 DUP3 DUP5 ADD ADD GT PUSH2 0x36B JUMPI CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x75C1F1A11CAD7B67EE718948C07987DFDB23B2D76D29A5FFBC644652E82AEC4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x32E JUMPI PUSH1 0x0 SWAP1 PUSH2 0x212 PUSH1 0xA SLOAD PUSH2 0x1373 JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x2C7 JUMPI JUMPDEST POP DUP2 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x258 JUMPI DUP3 SWAP4 DUP3 SWAP4 SWAP3 PUSH2 0x24A JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0xA SSTORE DUP1 RETURN JUMPDEST PUSH1 0x24 SWAP3 POP ADD ADD CALLDATALOAD CODESIZE DUP1 PUSH2 0x232 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP4 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 DUP5 JUMPDEST DUP7 DUP2 LT PUSH2 0x2AC JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 LT PUSH2 0x28F JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0xA SSTORE DUP1 RETURN JUMPDEST ADD PUSH1 0x24 ADD CALLDATALOAD PUSH1 0x0 NOT PUSH1 0x3 DUP5 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x283 JUMP JUMPDEST SWAP1 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 PUSH1 0x24 DUP8 DUP8 ADD ADD CALLDATALOAD DUP2 SSTORE ADD SWAP5 ADD SWAP2 ADD PUSH2 0x270 JUMP JUMPDEST PUSH1 0x1F DUP3 ADD PUSH1 0x5 SHR PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE ADD SWAP1 PUSH1 0x20 DUP4 LT PUSH2 0x318 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x30D JUMPI POP PUSH2 0x21B JUMP JUMPDEST DUP4 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x300 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 POP PUSH2 0x2E8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x4D7573742068617665206D617374657220726F6C65 PUSH1 0x58 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x389 PUSH2 0x130D JUMP JUMPDEST PUSH2 0x391 PUSH2 0x1323 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x8B8C0776DF2C2176EDF6F82391C35EA4891146D7A976EE36FD07F1A6FB4EAD4C DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x41F PUSH2 0x130D JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x54CDD369E4E8A8515E52CA72EC816C2101831AD1F18BF44102ED171459C9B4F8 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x52F JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x4DE JUMPI PUSH1 0xB SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x499 JUMPI PUSH2 0x480 SWAP1 PUSH2 0x187C JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB PUSH1 0xA0 SHL PUSH1 0xB SLOAD AND OR PUSH1 0xB SSTORE PUSH1 0x0 DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74206D616E616765722077617320616C726561647920736176656400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4576656E74206D616E6167657220616464726573732063616E6E6F7420626520 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x7A65726F PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x58E PUSH1 0x4 CALLDATALOAD PUSH2 0x568 PUSH2 0x1323 JUMP JUMPDEST SWAP1 PUSH2 0x589 PUSH2 0x584 DUP3 PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x183F JUMP JUMPDEST PUSH2 0x19BB JUMP JUMPDEST STOP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x5AD DUP2 PUSH2 0x1808 JUMP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x8 PUSH1 0x20 MSTORE PUSH2 0x5F0 PUSH1 0x40 DUP1 PUSH1 0x0 KECCAK256 DUP2 MLOAD SWAP1 PUSH2 0x5CB DUP3 PUSH2 0x13AD JUMP JUMPDEST PUSH1 0x1 DUP2 SLOAD SWAP2 DUP3 DUP5 MSTORE ADD SLOAD SWAP2 PUSH1 0xFF DUP1 DUP5 AND SWAP4 DUP5 PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x8 SHR AND SWAP4 DUP5 SWAP2 ADD MSTORE PUSH2 0x1B73 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0xA SLOAD PUSH2 0x601 DUP2 PUSH2 0x1373 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x6A9 JUMPI POP PUSH1 0x1 EQ PUSH2 0x664 JUMPI JUMPDEST POP PUSH1 0x1 DUP3 PUSH2 0x660 SWAP5 DUP4 PUSH1 0x2F PUSH1 0xF8 SHL PUSH2 0x64C SWAP6 MSTORE PUSH2 0x63C DUP3 MLOAD DUP1 SWAP4 PUSH1 0x20 DUP8 DUP6 ADD SWAP2 ADD PUSH2 0x12C5 JUMP JUMPDEST ADD SUB ADD PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 PUSH1 0x20 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x12E8 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST SWAP1 POP PUSH1 0xA PUSH1 0x0 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 LT PUSH2 0x693 JUMPI POP POP DUP2 ADD PUSH1 0x20 ADD PUSH1 0x1 PUSH2 0x616 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 PUSH2 0x67E JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 ISZERO ISZERO SWAP1 SWAP3 MUL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH1 0x1 SWAP1 POP PUSH2 0x616 JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x80 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x6E5 PUSH2 0x130D JUMP JUMPDEST PUSH2 0x6ED PUSH2 0x1323 JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP4 GT PUSH2 0x36B JUMPI CALLDATASIZE PUSH1 0x23 DUP5 ADD SLT ISZERO PUSH2 0x36B JUMPI DUP3 PUSH1 0x4 ADD CALLDATALOAD SWAP2 PUSH2 0x71A DUP4 PUSH2 0x1411 JUMP JUMPDEST SWAP3 PUSH2 0x728 PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x13DF JUMP JUMPDEST DUP1 DUP5 MSTORE CALLDATASIZE PUSH1 0x24 DUP3 DUP8 ADD ADD GT PUSH2 0x36B JUMPI PUSH1 0x20 DUP2 PUSH1 0x0 SWAP3 PUSH1 0x24 PUSH2 0x58E SWAP9 ADD DUP4 DUP9 ADD CALLDATACOPY DUP6 ADD ADD MSTORE PUSH1 0x44 CALLDATALOAD SWAP2 PUSH2 0x16BA JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH2 0x120 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x76F PUSH2 0x130D JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD SWAP1 PUSH1 0x84 CALLDATALOAD SWAP1 PUSH1 0x44 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH2 0x785 PUSH2 0x1401 JUMP JUMPDEST SWAP3 PUSH1 0xC4 CALLDATALOAD SWAP4 PUSH1 0xFF DUP6 AND SWAP5 DUP6 DUP2 SUB PUSH2 0x36B JUMPI PUSH1 0xE4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x36B JUMPI CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E86 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP8 SWAP9 SWAP8 PUSH2 0x104 CALLDATALOAD SWAP4 SWAP1 PUSH2 0x7DC SWAP1 PUSH1 0xFF AND PUSH2 0x161D JUMP JUMPDEST PUSH1 0xFF DUP2 AND SWAP10 PUSH1 0x0 JUMPDEST DUP11 DUP2 LT PUSH2 0x7ED JUMPI STOP JUMPDEST PUSH1 0x7 SLOAD SWAP1 PUSH1 0x1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x8A4 JUMPI PUSH32 0xC01F43857570D249B1E624A21836141242E465280D500923B451E60A622F7098 DUP11 DUP11 DUP16 DUP11 DUP16 DUP11 DUP11 DUP16 DUP12 SWAP1 DUP16 SWAP5 SWAP7 PUSH2 0x89B SWAP8 PUSH2 0x83E DUP15 PUSH1 0x1 SWAP16 PUSH1 0x7 SSTORE DUP5 PUSH2 0x1A41 JUMP JUMPDEST PUSH1 0xFF DUP15 PUSH1 0x40 MLOAD PUSH2 0x84D DUP2 PUSH2 0x13AD JUMP JUMPDEST DUP7 DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP5 DUP6 MSTORE PUSH1 0x40 DUP2 ADD SWAP4 DUP5 MSTORE PUSH1 0x7 SLOAD PUSH1 0x0 MSTORE PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 MLOAD DUP2 SSTORE ADD SWAP3 MLOAD AND PUSH2 0xFF00 DUP4 SLOAD SWAP3 MLOAD PUSH1 0x8 SHL AND SWAP2 PUSH2 0xFFFF NOT AND OR OR SWAP1 SSTORE PUSH1 0x7 SLOAD SWAP9 PUSH1 0x40 MLOAD SWAP10 DUP11 SWAP10 DUP11 PUSH2 0x1669 JUMP JUMPDEST SUB SWAP1 LOG1 ADD PUSH2 0x7E4 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x8D3 PUSH2 0x130D JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP1 SWAP3 SUB PUSH2 0x36B JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO PUSH2 0x946 JUMPI CALLER PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP3 PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0xFF NOT DUP2 SLOAD AND PUSH1 0xFF DUP4 AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 PUSH1 0x20 CALLER SWAP3 LOG3 STOP JUMPDEST POP PUSH4 0xB611743 PUSH1 0xE3 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x1 SLOAD PUSH2 0x999 DUP2 PUSH2 0x1373 JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0xA20 JUMPI POP PUSH1 0x1 EQ PUSH2 0x9C1 JUMPI JUMPDEST PUSH2 0x660 DUP4 PUSH2 0x64C DUP2 DUP6 SUB DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0xA06 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x64C PUSH2 0x9B1 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x9EE JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x5 SHL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH2 0x64C SWAP1 POP PUSH2 0x9B1 JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0xA5D PUSH2 0x1323 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 SWAP3 DUP4 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD DUP5 MLOAD SWAP2 DUP3 MSTORE PUSH1 0xFF DUP1 DUP3 AND SWAP4 DUP4 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP1 SWAP3 SHR AND SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0xAFA PUSH2 0x130D JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD PUSH1 0x84 CALLDATALOAD SWAP2 PUSH1 0xFF DUP4 AND SWAP3 DUP4 DUP2 SUB PUSH2 0x36B JUMPI PUSH2 0xB15 PUSH2 0x1401 JUMP JUMPDEST SWAP1 PUSH1 0xC4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x36B JUMPI CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E86 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xB52 SWAP1 PUSH1 0xFF AND PUSH2 0x161D JUMP JUMPDEST PUSH1 0x7 SLOAD SWAP3 PUSH1 0x1 DUP5 ADD DUP1 SWAP5 GT PUSH2 0x8A4 JUMPI PUSH32 0xC01F43857570D249B1E624A21836141242E465280D500923B451E60A622F7098 SWAP7 PUSH2 0xB94 DUP6 PUSH2 0xC00 SWAP7 PUSH1 0x7 SSTORE DUP8 PUSH2 0x1A41 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBA0 DUP2 PUSH2 0x13AD JUMP JUMPDEST DUP8 DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP2 DUP3 MSTORE PUSH1 0xFF PUSH1 0x1 PUSH1 0x40 DUP4 ADD SWAP3 DUP3 DUP7 AND DUP5 MSTORE PUSH1 0x7 SLOAD PUSH1 0x0 MSTORE PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 MLOAD DUP2 SSTORE ADD SWAP3 MLOAD AND PUSH2 0xFF00 DUP4 SLOAD SWAP3 MLOAD PUSH1 0x8 SHL AND SWAP2 PUSH2 0xFFFF NOT AND OR OR SWAP1 SSTORE PUSH1 0x7 SLOAD SWAP3 PUSH1 0x40 MLOAD SWAP7 DUP8 SWAP7 PUSH1 0xE4 CALLDATALOAD SWAP6 PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x24 CALLDATALOAD DUP11 PUSH2 0x1669 JUMP JUMPDEST SUB SWAP1 LOG1 STOP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x5620A1113A72B02A617976B3F6B15600DD7A8B3A916A9CA01E23119D989A0543 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0xC5D DUP2 PUSH2 0x1808 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 SWAP3 DUP4 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD DUP5 MLOAD SWAP2 DUP3 MSTORE PUSH1 0xFF DUP1 DUP3 AND SWAP4 DUP4 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP1 SWAP3 SHR AND SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0xCBA PUSH2 0x130D JUMP JUMPDEST AND DUP1 ISZERO PUSH2 0xCD9 JUMPI PUSH1 0x0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH4 0x22718AD9 PUSH1 0xE2 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH2 0xD0D PUSH1 0x4 CALLDATALOAD PUSH2 0x1808 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0xA961EF34A96635180DFFFD0AE574060D6C6AF619CE89175A103711BF5CE82708 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0xB SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH2 0x58E PUSH2 0xD94 CALLDATASIZE PUSH2 0x1339 JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD SWAP3 PUSH2 0xDA4 PUSH1 0x20 DUP6 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x0 DUP5 MSTORE PUSH2 0x16BA JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0xDC6 PUSH2 0x1323 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0xDE2 JUMPI PUSH2 0x58E SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x19BB JUMP JUMPDEST PUSH4 0x334BD919 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x58E PUSH1 0x4 CALLDATALOAD PUSH2 0xE43 PUSH2 0x1323 JUMP JUMPDEST SWAP1 PUSH2 0xE5F PUSH2 0x584 DUP3 PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x192C JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0xA SLOAD PUSH2 0xE86 DUP2 PUSH2 0x1373 JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0xA20 JUMPI POP PUSH1 0x1 EQ PUSH2 0xEAD JUMPI PUSH2 0x660 DUP4 PUSH2 0x64C DUP2 DUP6 SUB DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0xA PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0xEE0 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x64C PUSH2 0x9B1 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0xEC8 JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH2 0xF27 PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH2 0x58E PUSH2 0xF40 CALLDATASIZE PUSH2 0x1339 JUMP JUMPDEST SWAP2 PUSH2 0x142D JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x3BEEF1056912F4670A04FA233DCD18972A82C7D867A8DFA80496C9D7214203A0 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0x1032 JUMPI DUP1 PUSH1 0x0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0xFED JUMPI PUSH1 0x20 DUP2 PUSH32 0xB0EBD5F2F7C40CA5715D8DEAB780894F023A63BC249FC45E69DF6ACBC4E8B568 SWAP3 PUSH1 0x0 MSTORE PUSH1 0x9 DUP3 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0xFF NOT DUP3 SLOAD AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG1 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546F6B656E207761732072656465656D656420616C7265616479000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x4D757374206861766520737461666620726F6C65 PUSH1 0x60 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x1087 PUSH2 0x130D JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH2 0x1093 DUP2 PUSH2 0x1808 JUMP JUMPDEST CALLER ISZERO ISZERO DUP1 PUSH2 0x114A JUMPI JUMPDEST DUP1 PUSH2 0x111C JUMPI JUMPDEST PUSH2 0x1107 JUMPI DUP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND SWAP2 AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH1 0x0 DUP1 LOG4 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE STOP JUMPDEST PUSH4 0xA9FBF51F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x10A2 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ ISZERO PUSH2 0x109C JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x117A DUP2 PUSH2 0x1808 JUMP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 SLOAD PUSH2 0x11BC DUP2 PUSH2 0x1373 JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0xA20 JUMPI POP PUSH1 0x1 EQ PUSH2 0x11E3 JUMPI PUSH2 0x660 DUP4 PUSH2 0x64C DUP2 DUP6 SUB DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 MSTORE PUSH32 0x290DECD9548B62A8D60345A988386FC84BA6BC95484008F6362F93160EF3E563 SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x1226 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x64C PUSH2 0x9B1 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x120E JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP3 AND DUP1 SWAP3 SUB PUSH2 0x36B JUMPI PUSH1 0x20 SWAP2 PUSH4 0x7965DB0B PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x1282 JUMPI JUMPDEST POP ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x80AC58CD PUSH1 0xE0 SHL DUP2 EQ SWAP2 POP DUP2 ISZERO PUSH2 0x12B4 JUMPI JUMPDEST DUP2 ISZERO PUSH2 0x12A3 JUMPI JUMPDEST POP DUP4 PUSH2 0x127B JUMP JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL EQ SWAP1 POP DUP4 PUSH2 0x129C JUMP JUMPDEST PUSH4 0x5B5E139F PUSH1 0xE0 SHL DUP2 EQ SWAP2 POP PUSH2 0x1295 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT PUSH2 0x12D8 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x12C8 JUMP JUMPDEST SWAP1 PUSH1 0x20 SWAP2 PUSH2 0x1301 DUP2 MLOAD DUP1 SWAP3 DUP2 DUP6 MSTORE DUP6 DUP1 DUP7 ADD SWAP2 ADD PUSH2 0x12C5 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x36B JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x36B JUMPI JUMP JUMPDEST PUSH1 0x60 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x36B JUMPI SWAP1 PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x36B JUMPI SWAP1 PUSH1 0x44 CALLDATALOAD SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x13A3 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x138D JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x1382 JUMP JUMPDEST PUSH1 0x60 DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x13C9 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x13C9 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x36B JUMPI JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x13C9 JUMPI PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 SWAP1 DUP3 PUSH2 0x15D8 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 ISZERO PUSH2 0x15C2 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP4 DUP4 SWAP2 DUP6 SWAP1 CALLER ISZERO ISZERO DUP1 PUSH2 0x152A JUMPI JUMPDEST POP PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 DUP3 PUSH2 0x14F5 JUMPI JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH1 0x1 DUP2 SLOAD ADD SWAP1 SSTORE DUP5 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE DUP1 LOG4 DUP1 DUP4 SUB PUSH2 0x14DB JUMPI POP POP POP JUMP JUMPDEST PUSH4 0x64283D7B PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 MSTORE PUSH1 0x64 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE DUP3 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE PUSH2 0x149C JUMP JUMPDEST SWAP2 POP SWAP2 SWAP3 POP DUP1 PUSH2 0x1573 JUMPI JUMPDEST ISZERO PUSH2 0x1544 JUMPI SWAP1 DUP5 DUP5 SWAP3 CODESIZE PUSH2 0x1473 JUMP JUMPDEST DUP4 SWAP1 DUP6 PUSH2 0x155D JUMPI PUSH1 0x24 SWAP2 PUSH4 0x7E273289 PUSH1 0xE0 SHL DUP3 MSTORE PUSH1 0x4 MSTORE REVERT JUMPDEST PUSH1 0x44 SWAP2 PUSH4 0x177E802F PUSH1 0xE0 SHL DUP3 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE REVERT JUMPDEST POP CALLER DUP6 EQ DUP1 ISZERO PUSH2 0x15A1 JUMPI JUMPDEST DUP1 PUSH2 0x1535 JUMPI POP DUP4 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x1535 JUMP JUMPDEST POP DUP5 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x157E JUMP JUMPDEST PUSH4 0x32505749 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546F6B656E207472616E736665722069732064697361626C6564000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x1624 JUMPI JUMP JUMPDEST 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 0x4D7573742068617665206576656E74206D616E6167657220726F6C6500000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP6 SWAP1 SWAP10 SWAP9 SWAP8 SWAP5 PUSH1 0xFF SWAP5 PUSH2 0x100 SWAP9 SWAP5 DUP7 SWAP5 PUSH2 0x120 DUP11 ADD SWAP14 DUP11 MSTORE PUSH1 0x20 DUP11 ADD MSTORE PUSH1 0x40 DUP10 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x60 DUP9 ADD MSTORE PUSH1 0x80 DUP8 ADD MSTORE AND PUSH1 0xA0 DUP6 ADD MSTORE AND PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0xE0 DUP3 ADD MSTORE ADD MSTORE JUMP JUMPDEST SWAP3 SWAP2 PUSH2 0x16C7 DUP2 DUP4 DUP7 PUSH2 0x142D JUMP JUMPDEST DUP2 EXTCODESIZE PUSH2 0x16D4 JUMPI JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xA85BD01 PUSH1 0xE1 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 PUSH1 0x64 DUP3 ADD MSTORE SWAP3 AND SWAP2 SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 DUP2 SWAP1 PUSH2 0x171F SWAP1 PUSH1 0x84 DUP4 ADD SWAP1 PUSH2 0x12E8 JUMP JUMPDEST SUB DUP2 PUSH1 0x0 DUP7 GAS CALL DUP1 SWAP2 PUSH1 0x0 SWAP2 PUSH2 0x17BE JUMPI JUMPDEST POP SWAP1 PUSH2 0x1789 JUMPI POP RETURNDATASIZE ISZERO PUSH2 0x1782 JUMPI RETURNDATASIZE PUSH2 0x1747 DUP2 PUSH2 0x1411 JUMP JUMPDEST SWAP1 PUSH2 0x1755 PUSH1 0x40 MLOAD SWAP3 DUP4 PUSH2 0x13DF JUMP JUMPDEST DUP2 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP4 ADD RETURNDATACOPY JUMPDEST DUP1 MLOAD SWAP1 DUP2 PUSH2 0x177D JUMPI DUP3 PUSH4 0x32505749 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x60 PUSH2 0x1760 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x757A42FF PUSH1 0xE1 SHL ADD PUSH2 0x17AA JUMPI POP CODESIZE DUP1 DUP1 DUP1 PUSH2 0x16CE JUMP JUMPDEST PUSH4 0x32505749 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x1800 JUMPI JUMPDEST DUP2 PUSH2 0x17D7 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x13DF JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x17FC JUMPI MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND DUP3 SUB PUSH2 0x17F9 JUMPI POP CODESIZE PUSH2 0x1730 JUMP JUMPDEST DUP1 REVERT JUMPDEST POP DUP1 REVERT JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x17CA 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 SWAP1 DUP2 ISZERO PUSH2 0x182B JUMPI POP SWAP1 JUMP JUMPDEST PUSH4 0x7E273289 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x1864 JUMPI POP JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E86 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x1926 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E86 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0xA961EF34A96635180DFFFD0AE574060D6C6AF619CE89175A103711BF5CE82708 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x19B4 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x19B4 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0x15C2 JUMPI PUSH1 0x0 SWAP2 DUP1 DUP4 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 DUP5 KECCAK256 SLOAD AND SWAP2 DUP3 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP2 ISZERO ISZERO SWAP6 DUP7 PUSH2 0x1AE5 JUMPI JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH1 0x1 DUP2 SLOAD ADD SWAP1 SSTORE DUP5 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE DUP1 LOG4 POP PUSH2 0x1ACF JUMPI JUMP JUMPDEST PUSH4 0x39E35637 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE DUP3 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE PUSH2 0x1A95 JUMP JUMPDEST SWAP1 PUSH2 0x1B24 DUP3 PUSH2 0x1411 JUMP JUMPDEST PUSH2 0x1B31 PUSH1 0x40 MLOAD SWAP2 DUP3 PUSH2 0x13DF JUMP JUMPDEST DUP3 DUP2 MSTORE DUP1 SWAP3 PUSH2 0x1B42 PUSH1 0x1F NOT SWAP2 PUSH2 0x1411 JUMP JUMPDEST ADD SWAP1 PUSH1 0x20 CALLDATASIZE SWAP2 ADD CALLDATACOPY JUMP JUMPDEST SWAP1 DUP2 MLOAD DUP2 LT ISZERO PUSH2 0x1B5D JUMPI ADD PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 SWAP3 SWAP2 PUSH1 0xFF DUP2 AND ISZERO PUSH2 0x1E4C JUMPI PUSH1 0x40 SWAP1 DUP2 MLOAD SWAP3 PUSH2 0x1B8F DUP4 DUP6 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x20 DUP5 MSTORE PUSH1 0x1F NOT DUP4 ADD CALLDATASIZE PUSH1 0x20 DUP7 ADD CALLDATACOPY PUSH1 0x0 JUMPDEST PUSH1 0x20 DUP2 LT PUSH2 0x1E35 JUMPI POP POP DUP3 MLOAD PUSH1 0x2 ADD DUP1 PUSH1 0x2 GT PUSH2 0x8A4 JUMPI PUSH2 0x1BC1 SWAP1 PUSH2 0x1B1A JUMP JUMPDEST SWAP5 DUP6 MLOAD ISZERO PUSH2 0x1B5D JUMPI PUSH1 0xF8 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND PUSH1 0x0 BYTE PUSH1 0x20 DUP7 ADD MSTORE8 DUP5 MLOAD PUSH1 0x1 LT ISZERO PUSH2 0x1B5D JUMPI PUSH1 0xF8 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND PUSH1 0x0 BYTE PUSH1 0x21 DUP6 ADD MSTORE8 PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0x1C41 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT PUSH2 0x1C1C DUP3 DUP6 PUSH2 0x1B4C JUMP JUMPDEST MLOAD AND SWAP1 PUSH1 0x2 DUP2 ADD DUP1 DUP3 GT PUSH2 0x8A4 JUMPI PUSH2 0x1C3A PUSH1 0x1 SWAP4 PUSH1 0x0 BYTE SWAP2 DUP9 PUSH2 0x1B4C JUMP JUMPDEST MSTORE8 ADD PUSH2 0x1C00 JUMP JUMPDEST POP DUP4 MLOAD SWAP3 SWAP2 POP PUSH1 0x0 JUMPDEST DUP4 DUP2 LT DUP1 PUSH2 0x1E19 JUMPI JUMPDEST ISZERO PUSH2 0x1C60 JUMPI PUSH1 0x1 ADD PUSH2 0x1C4A JUMP JUMPDEST SWAP4 SWAP2 SWAP1 SWAP3 PUSH2 0x209F DUP6 PUSH2 0x17E3 SWAP3 SUB MUL DIV DUP5 ADD SWAP4 PUSH1 0x1 DUP6 ADD SWAP3 PUSH2 0x1C80 DUP5 PUSH2 0x1B1A JUMP JUMPDEST SWAP5 PUSH1 0x0 SWAP4 DUP8 SWAP1 JUMPDEST DUP4 MLOAD DUP7 LT ISZERO PUSH2 0x1D1C JUMPI DUP2 SWAP7 SWAP5 SWAP7 SWAP5 PUSH2 0x1C9F DUP8 DUP7 PUSH2 0x1B4C JUMP JUMPDEST MLOAD PUSH1 0xF8 SHR JUMPDEST DUP11 DUP8 SGT DUP1 ISZERO PUSH2 0x1D0D JUMPI JUMPDEST ISZERO PUSH2 0x1CFB JUMPI PUSH4 0xFFFFFFFF PUSH1 0x3A SWAP2 PUSH2 0xFF00 DUP1 PUSH2 0x1CC9 DUP12 DUP16 PUSH2 0x1B4C JUMP JUMPDEST MLOAD PUSH1 0xF0 SHR AND AND ADD AND DUP2 DUP2 MOD PUSH1 0xF8 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND PUSH1 0x0 BYTE PUSH2 0x1CEE DUP10 DUP14 PUSH2 0x1B4C JUMP JUMPDEST MSTORE8 DIV SWAP6 PUSH1 0x0 NOT ADD SWAP6 PUSH2 0x1CA4 JUMP JUMPDEST POP SWAP5 SWAP9 POP SWAP4 SWAP6 PUSH1 0x1 SWAP1 SWAP6 ADD SWAP5 SWAP4 PUSH2 0x1C87 JUMP JUMPDEST POP PUSH4 0xFFFFFFFF DUP2 AND ISZERO ISZERO PUSH2 0x1CAE JUMP JUMPDEST SWAP8 POP POP SWAP2 SWAP4 SWAP5 SWAP3 POP POP DUP3 JUMPDEST DUP5 DUP2 LT DUP1 PUSH2 0x1DFD JUMPI JUMPDEST ISZERO PUSH2 0x1D3D JUMPI PUSH1 0x1 ADD PUSH2 0x1D27 JUMP JUMPDEST SWAP2 SWAP3 SWAP4 POP DUP3 MLOAD DUP5 DUP4 SUB SWAP1 SUB SWAP3 PUSH2 0x1D52 DUP5 PUSH2 0x1B1A JUMP JUMPDEST SWAP5 PUSH1 0x0 JUMPDEST DUP6 DUP2 LT PUSH2 0x1D66 JUMPI POP POP POP POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x1 SWAP1 PUSH1 0x60 PUSH2 0x1D77 DUP7 MLOAD SWAP2 DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x3A DUP2 MSTORE PUSH32 0x31323334353637383941424344454647484A4B4C4D4E50515253545556575859 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x5A6162636465666768696A6B6D6E6F707172737475767778797A000000000000 DUP7 DUP3 ADD MSTORE PUSH2 0x1DE7 PUSH1 0xFF PUSH1 0xF8 SHL SWAP2 PUSH2 0x1DDD DUP7 DUP11 DUP7 ADD SUB DUP9 PUSH2 0x1B4C JUMP JUMPDEST MLOAD PUSH1 0xF8 SHR SWAP1 PUSH2 0x1B4C JUMP JUMPDEST MLOAD AND PUSH1 0x0 BYTE PUSH2 0x1DF6 DUP3 DUP11 PUSH2 0x1B4C JUMP JUMPDEST MSTORE8 ADD PUSH2 0x1D56 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT PUSH2 0x1E11 DUP3 DUP6 PUSH2 0x1B4C JUMP JUMPDEST MLOAD AND ISZERO PUSH2 0x1D30 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT PUSH2 0x1E2D DUP3 DUP8 PUSH2 0x1B4C JUMP JUMPDEST MLOAD AND ISZERO PUSH2 0x1C53 JUMP JUMPDEST DUP1 DUP3 PUSH1 0x1 SWAP3 BYTE PUSH2 0x1E45 DUP3 DUP9 PUSH2 0x1B4C JUMP JUMPDEST MSTORE8 ADD PUSH2 0x1BA1 JUMP JUMPDEST POP POP SWAP1 POP PUSH1 0x40 MLOAD PUSH2 0x1E5E PUSH1 0x20 DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x0 DUP2 MSTORE SWAP1 JUMP INVALID 0xC6 GAS PUSH28 0xB8D6351C1CF70C95A316CC6A92839C986682D98BC35F958F4883F9D2 0xA8 SHR 0xF9 0xF6 DUP12 0xBC CREATE 0xD DIV 0xCA 0xC1 KECCAK256 0xC1 SWAP5 SWAP14 ADDRESS SHL 0xAB 0x4D ISZERO 0xE9 0xB0 SWAP10 LOG3 DIV 0xA7 0xE6 CALLCODE 0x1E 0xA6 PUSH6 0xCAD4A2646970 PUSH7 0x73582212205A29 ORIGIN 0xDB 0x26 PUSH21 0x7CB7A48C7EF546100FF5184981791AFD2FC91AA902 0x22 SWAP1 RETURNDATASIZE TSTORE PUSH0 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER 0x2F DUP8 DUP9 GT PUSH31 0x7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D3BEEF105 PUSH10 0x12F4670A04FA233DCD18 SWAP8 0x2A DUP3 0xC7 0xD8 PUSH8 0xA8DFA80496C9D721 TIMESTAMP SUB LOG0 SMOD TLOAD 0x1F BYTE GT 0xCA 0xD7 0xB6 PUSH31 0xE718948C07987DFDB23B2D76D29A5FFBC644652E82AEC454CDD369E4E8A851 MCOPY MSTORE 0xCA PUSH19 0xEC816C2101831AD1F18BF44102ED171459C9B4 0xF8 ","sourceMap":"249:5390:31:-:0;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;:::i;:::-;467:23;;;;;-1:-1:-1;;;;;467:23:31;;;;-1:-1:-1;467:23:31;;;;;;;;;;;-1:-1:-1;249:5390:31;467:23;;;;;;;;;;-1:-1:-1;467:23:31;249:5390;467:23;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;-1:-1:-1;;;;;467:23:31;;;;;;;;;;;;;;;;;249:5390;467:23;;;;;;;;;;;;249:5390;467:23;;;;;;;;1363:31;;467:23;;-1:-1:-1;;467:23:31;;;;;;;;;;;;;;;;;;;;;;1272:39;;;:::i;:::-;;1321:32;;;:::i;:::-;;1363:31;:::i;:::-;-1:-1:-1;467:23:31;;-1:-1:-1;;;;;467:23:31;;;;1404:20;467:23;;;;;;;;;;;;249:5390;467:23;;;;;;;;;;;;249:5390;467:23;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;;;;;;;;;;;1404:20;467:23;;249:5390;;;;;;;;;467:23;;;;-1:-1:-1;467:23:31;;;;;;;;;;1404:20;-1:-1:-1;467:23:31;;-1:-1:-1;467:23:31;;-1:-1:-1;467:23:31;;;;;;;;;;;;;;;;;;;;1404:20;467:23;;;;;;;;;;;;;;;;;;;;;;;;;;249:5390;467:23;;;;;;;;;;;;;;;;;1404:20;-1:-1:-1;467:23:31;;;;;;;;;;249:5390;467:23;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;-1:-1:-1;467:23:31;;;;;249:5390;;;-1:-1:-1;467:23:31;;;;;-1:-1:-1;467:23:31;;;;;;;;;249:5390;;;-1:-1:-1;249:5390:31;;;;;-1:-1:-1;249:5390:31;467:23;;;;-1:-1:-1;467:23:31;;;;;;;;;;;;-1:-1:-1;467:23:31;;-1:-1:-1;467:23:31;;-1:-1:-1;467:23:31;;;;;;;;;;;;1363:31;467:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;249:5390;467:23;;;;;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;;249:5390;467:23;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;;-1:-1:-1;467:23:31;;;-1:-1:-1;467:23:31;;-1:-1:-1;467:23:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;;;;;;;;;;;;;;;;;;249:5390;467:23;;;;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;;;249:5390;467:23;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;-1:-1:-1;467:23:31;;;;;;;;;;;249:5390;-1:-1:-1;249:5390:31;;;;;;;;;-1:-1:-1;;249:5390:31;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;:::o;:::-;;;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;467:23;249:5390;;-1:-1:-1;;249:5390:31;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;249:5390:31;;;;;;;;;-1:-1:-1;249:5390:31;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;6179:316:0;-1:-1:-1;;;;;249:5390:31;;1446:13:9;249:5390:31;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;1446:13:9;249:5390:31;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;-1:-1:-1;;249:5390:31;;;;;735:10:14;;249:5390:31;-1:-1:-1;;;;;;;;;;;1446:13:9;;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;1446:13:9;6466:12:0;:::o;6179:316::-;-1:-1:-1;;;;;249:5390:31;;467:23;249:5390;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;467:23;249:5390;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;-1:-1:-1;;249:5390:31;;;;;735:10:14;;249:5390:31;400:24;;-1:-1:-1;;;;;;;;;;;6370:40:0;467:23:31;6370:40:0;6347:4;6424:11;:::o;6179:316::-;-1:-1:-1;;;;;249:5390:31;;467:23;249:5390;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;467:23;249:5390;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;-1:-1:-1;;249:5390:31;;;;;735:10:14;;249:5390:31;467:23;;-1:-1:-1;;;;;;;;;;;6370:40:0;467:23:31;6370:40:0;6347:4;6424:11;:::o"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":4899,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_17415":{"entryPoint":4877,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_addresst_addresst_uint256":{"entryPoint":4921,"id":null,"parameterSlots":1,"returnSlots":3},"abi_decode_uint8":{"entryPoint":5121,"id":null,"parameterSlots":0,"returnSlots":1},"abi_encode_bytes32_uint8_uint8":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_string":{"entryPoint":4840,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_uint256_uint256_uint256_address_bytes32_uint8_uint8_address_uint256":{"entryPoint":5737,"id":null,"parameterSlots":10,"returnSlots":1},"allocate_and_zero_memory_array_bytes":{"entryPoint":6938,"id":null,"parameterSlots":1,"returnSlots":1},"array_allocation_size_bytes":{"entryPoint":5137,"id":null,"parameterSlots":1,"returnSlots":1},"copy_memory_to_memory_with_cleanup":{"entryPoint":4805,"id":null,"parameterSlots":3,"returnSlots":0},"extract_byte_array_length":{"entryPoint":4979,"id":null,"parameterSlots":1,"returnSlots":1},"finalize_allocation":{"entryPoint":5087,"id":null,"parameterSlots":2,"returnSlots":0},"finalize_allocation_17428":{"entryPoint":5037,"id":null,"parameterSlots":1,"returnSlots":0},"fun_approve":{"entryPoint":null,"id":2239,"parameterSlots":1,"returnSlots":0},"fun_checkRole":{"entryPoint":6207,"id":93,"parameterSlots":1,"returnSlots":0},"fun_getRoleAdmin":{"entryPoint":null,"id":128,"parameterSlots":1,"returnSlots":1},"fun_grantRole":{"entryPoint":6444,"id":256,"parameterSlots":2,"returnSlots":1},"fun_grantRole_17443":{"entryPoint":6268,"id":256,"parameterSlots":1,"returnSlots":1},"fun_mint":{"entryPoint":6721,"id":1969,"parameterSlots":2,"returnSlots":0},"fun_requireOwned":{"entryPoint":6152,"id":2305,"parameterSlots":1,"returnSlots":1},"fun_revokeRole":{"entryPoint":6587,"id":294,"parameterSlots":2,"returnSlots":1},"fun_safeTransferFrom":{"entryPoint":5818,"id":1714,"parameterSlots":4,"returnSlots":0},"fun_toCID":{"entryPoint":7027,"id":12159,"parameterSlots":3,"returnSlots":1},"fun_transferFrom":{"entryPoint":5165,"id":12013,"parameterSlots":3,"returnSlots":0},"memory_array_index_access_bytes":{"entryPoint":6988,"id":null,"parameterSlots":2,"returnSlots":1},"require_helper_stringliteral":{"entryPoint":5661,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a7146112405750806306fdde031461119b578063081812fc1461115d578063095ea7b31461106e57806315f59d7f14610f4657806323b872dd14610f2f578063248a9ca314610efa5780632b2ad90f14610e645780632f2ff15d14610e2457806332d33cd014610df357806336568abe14610dad57806342842e0e14610d83578063581e741514610d5a5780635948687314610d1f5780636352211e14610cef57806370a0823114610c995780637f87197514610c4057806385290fa114610c05578063883adb5614610ae057806389e3df1114610a9157806391d1485414610a4457806395d89b4114610977578063a217fddf1461095b578063a22cb465146108ba578063b405b26014610755578063b88d4fde146106cc578063c87b56dd14610590578063d547741f14610549578063d851b90a14610406578063dc224863146103cb578063e985e9c5146103705763ea05c3e11461017f57600080fd5b3461036b57602036600319011261036b5760043567ffffffffffffffff811161036b573660238201121561036b57806004013567ffffffffffffffff811161036b57366024828401011161036b573360009081527f075c1f1a11cad7b67ee718948c07987dfdb23b2d76d29a5ffbc644652e82aec4602052604090205460ff161561032e57600090610212600a54611373565b601f81116102c7575b5081601f821160011461025857829382939261024a575b50508160011b916000199060031b1c191617600a5580f35b602492500101353880610232565b601f19821693600080516020611e6683398151915291845b8681106102ac575083600195961061028f575b505050811b01600a5580f35b0160240135600019600384901b60f8161c19169055388080610283565b90926020600181926024878701013581550194019101610270565b601f820160051c600080516020611e66833981519152019060208310610318575b601f0160051c600080516020611e6683398151915201905b81811061030d575061021b565b838155600101610300565b600080516020611e6683398151915291506102e8565b60405162461bcd60e51b81526020600482015260156024820152744d7573742068617665206d617374657220726f6c6560581b6044820152606490fd5b600080fd5b3461036b57604036600319011261036b5761038961130d565b610391611323565b9060018060a01b0316600052600560205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461036b57600036600319011261036b5760206040517f8b8c0776df2c2176edf6f82391c35ea4891146d7a976ee36fd07f1a6fb4ead4c8152f35b3461036b57602036600319011261036b5761041f61130d565b3360009081527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8602052604090205460ff161561052f576001600160a01b0381169081156104de57600b546001600160a01b0316610499576104809061187c565b506001600160601b0360a01b600b541617600b55600080f35b60405162461bcd60e51b815260206004820152601f60248201527f4576656e74206d616e616765722077617320616c7265616479207361766564006044820152606490fd5b60405162461bcd60e51b8152602060048201526024808201527f4576656e74206d616e6167657220616464726573732063616e6e6f74206265206044820152637a65726f60e01b6064820152608490fd5b63e2517d3f60e01b60005233600452600060245260446000fd5b3461036b57604036600319011261036b5761058e600435610568611323565b9061058961058482600052600660205260016040600020015490565b61183f565b6119bb565b005b3461036b57602036600319011261036b576004356105ad81611808565b5060005260086020526105f06040806000208151906105cb826113ad565b600181549182845201549160ff8084169384602084015260081c169384910152611b73565b6040516000600a5461060181611373565b90600181169081156106a95750600114610664575b506001826106609483602f60f81b61064c955261063c82518093602087850191016112c5565b010301601f1981018352826113df565b6040519182916020835260208301906112e8565b0390f35b9050600a600052600080516020611e668339815191526000905b82821061069357505081016020016001610616565b600181602092548385880101520191019061067e565b60ff19166020808601919091528215159092028401909101915060019050610616565b3461036b57608036600319011261036b576106e561130d565b6106ed611323565b6064359167ffffffffffffffff831161036b573660238401121561036b5782600401359161071a83611411565b9261072860405194856113df565b808452366024828701011161036b57602081600092602461058e98018388013785010152604435916116ba565b3461036b5761012036600319011261036b5761076f61130d565b6064359060843590604435602435610785611401565b9260c4359360ff85169485810361036b5760e435906001600160a01b038216820361036b57336000908152600080516020611e8683398151915260205260409020549798976101043593906107dc9060ff1661161d565b60ff81169960005b8a81106107ed57005b60075490600182018092116108a4577fc01f43857570d249b1e624a21836141242e465280d500923b451e60a622f70988a8a8f8a8f8a8a8f8b908f949661089b9761083e8e60019f60075584611a41565b60ff8e60405161084d816113ad565b868152602081019485526040810193845260075460005260086020526040600020905181550192511661ff008354925160081b169161ffff19161717905560075498604051998a998a611669565b0390a1016107e4565b634e487b7160e01b600052601160045260246000fd5b3461036b57604036600319011261036b576108d361130d565b6024359081151580920361036b576001600160a01b031690811561094657336000526005602052604060002082600052602052604060002060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b50630b61174360e31b60005260045260246000fd5b3461036b57600036600319011261036b57602060405160008152f35b3461036b57600036600319011261036b57604051600060015461099981611373565b8084529060018116908115610a2057506001146109c1575b6106608361064c818503826113df565b600160009081527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6939250905b808210610a065750909150810160200161064c6109b1565b9192600181602092548385880101520191019092916109ee565b60ff191660208086019190915291151560051b8401909101915061064c90506109b1565b3461036b57604036600319011261036b57610a5d611323565b600435600052600660205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461036b57602036600319011261036b576004356000908152600860208181526040928390208054600190910154845191825260ff8082169383019390935290921c1691810191909152606090f35b3461036b5761010036600319011261036b57610afa61130d565b6064356084359160ff83169283810361036b57610b15611401565b9060c4356001600160a01b038116810361036b57336000908152600080516020611e868339815191526020526040902054610b529060ff1661161d565b60075492600184018094116108a4577fc01f43857570d249b1e624a21836141242e465280d500923b451e60a622f709896610b9485610c009660075587611a41565b604051610ba0816113ad565b8781526020810191825260ff60016040830192828616845260075460005260086020526040600020905181550192511661ff008354925160081b169161ffff1916171790556007549260405196879660e43595604435906024358a611669565b0390a1005b3461036b57600036600319011261036b5760206040517f5620a1113a72b02a617976b3f6b15600dd7a8b3a916a9ca01e23119d989a05438152f35b3461036b57602036600319011261036b57600435610c5d81611808565b506000908152600860208181526040928390208054600190910154845191825260ff8082169383019390935290921c1691810191909152606090f35b3461036b57602036600319011261036b576001600160a01b03610cba61130d565b168015610cd95760005260036020526020604060002054604051908152f35b6322718ad960e21b600052600060045260246000fd5b3461036b57602036600319011261036b576020610d0d600435611808565b6040516001600160a01b039091168152f35b3461036b57600036600319011261036b5760206040517fa961ef34a96635180dfffd0ae574060d6c6af619ce89175a103711bf5ce827088152f35b3461036b57600036600319011261036b57600b546040516001600160a01b039091168152602090f35b3461036b5761058e610d9436611339565b9060405192610da46020856113df565b600084526116ba565b3461036b57604036600319011261036b57610dc6611323565b336001600160a01b03821603610de25761058e906004356119bb565b63334bd91960e11b60005260046000fd5b3461036b57602036600319011261036b576004356000526009602052602060ff604060002054166040519015158152f35b3461036b57604036600319011261036b5761058e600435610e43611323565b90610e5f61058482600052600660205260016040600020015490565b61192c565b3461036b57600036600319011261036b576040516000600a54610e8681611373565b8084529060018116908115610a205750600114610ead576106608361064c818503826113df565b600a6000908152600080516020611e66833981519152939250905b808210610ee05750909150810160200161064c6109b1565b919260018160209254838588010152019101909291610ec8565b3461036b57602036600319011261036b576020610f27600435600052600660205260016040600020015490565b604051908152f35b3461036b5761058e610f4036611339565b9161142d565b3461036b57602036600319011261036b573360009081527f3beef1056912f4670a04fa233dcd18972a82c7d867a8dfa80496c9d7214203a060205260409020546004359060ff16156110325780600052600960205260ff60406000205416610fed576020817fb0ebd5f2f7c40ca5715d8deab780894f023a63bc249fc45e69df6acbc4e8b56892600052600982526040600020600160ff19825416179055604051908152a1005b60405162461bcd60e51b815260206004820152601a60248201527f546f6b656e207761732072656465656d656420616c72656164790000000000006044820152606490fd5b60405162461bcd60e51b81526020600482015260146024820152734d757374206861766520737461666620726f6c6560601b6044820152606490fd5b3461036b57604036600319011261036b5761108761130d565b60243561109381611808565b3315158061114a575b8061111c575b6111075781906001600160a01b0384811691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4600090815260046020526040902080546001600160a01b0319166001600160a01b03909216919091179055005b63a9fbf51f60e01b6000523360045260246000fd5b506001600160a01b038116600090815260056020908152604080832033845290915290205460ff16156110a2565b506001600160a01b03811633141561109c565b3461036b57602036600319011261036b5760043561117a81611808565b506000526004602052602060018060a01b0360406000205416604051908152f35b3461036b57600036600319011261036b57604051600080546111bc81611373565b8084529060018116908115610a2057506001146111e3576106608361064c818503826113df565b60008080527f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563939250905b8082106112265750909150810160200161064c6109b1565b91926001816020925483858801015201910190929161120e565b3461036b57602036600319011261036b576004359063ffffffff60e01b821680920361036b57602091637965db0b60e01b8114908115611282575b5015158152f35b6380ac58cd60e01b8114915081156112b4575b81156112a3575b508361127b565b6301ffc9a760e01b1490508361129c565b635b5e139f60e01b81149150611295565b60005b8381106112d85750506000910152565b81810151838201526020016112c8565b90602091611301815180928185528580860191016112c5565b601f01601f1916010190565b600435906001600160a01b038216820361036b57565b602435906001600160a01b038216820361036b57565b606090600319011261036b576004356001600160a01b038116810361036b57906024356001600160a01b038116810361036b579060443590565b90600182811c921680156113a3575b602083101461138d57565b634e487b7160e01b600052602260045260246000fd5b91607f1691611382565b6060810190811067ffffffffffffffff8211176113c957604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff8211176113c957604052565b60a4359060ff8216820361036b57565b67ffffffffffffffff81116113c957601f01601f191660200190565b6001600160a01b03169190826115d8576001600160a01b03169182156115c2576000828152600260205260408120546001600160a01b031693839185903315158061152a575b507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90826114f5575b83815260036020526040812060018154019055848152600260205260408120846001600160601b0360a01b82541617905580a48083036114db57505050565b6364283d7b60e01b60005260045260245260445260646000fd5b600085815260046020526040902080546001600160a01b0319169055828152600360205260408120805460001901905561149c565b915091925080611573575b15611544579084849238611473565b83908561155d57602491637e27328960e01b8252600452fd5b60449163177e802f60e01b825233600452602452fd5b5033851480156115a1575b806115355750838152600460205260408120546001600160a01b03163314611535565b5084815260056020908152604080832033845290915281205460ff1661157e565b633250574960e11b600052600060045260246000fd5b60405162461bcd60e51b815260206004820152601a60248201527f546f6b656e207472616e736665722069732064697361626c65640000000000006044820152606490fd5b1561162457565b60405162461bcd60e51b815260206004820152601c60248201527f4d7573742068617665206576656e74206d616e6167657220726f6c65000000006044820152606490fd5b95909998979460ff94610100989486946101208a019d8a5260208a0152604089015260018060a01b0316606088015260808701521660a08501521660c083015260018060a01b031660e08201520152565b92916116c781838661142d565b813b6116d4575b50505050565b604051630a85bd0160e11b81523360048201526001600160a01b039485166024820152604481019190915260806064820152921691906020908290819061171f9060848301906112e8565b03816000865af180916000916117be575b509061178957503d15611782573d61174781611411565b9061175560405192836113df565b81523d6000602083013e5b8051908161177d5782633250574960e11b60005260045260246000fd5b602001fd5b6060611760565b6001600160e01b03191663757a42ff60e11b016117aa5750388080806116ce565b633250574960e11b60005260045260246000fd5b6020813d602011611800575b816117d7602093836113df565b810103126117fc5751906001600160e01b0319821682036117f9575038611730565b80fd5b5080fd5b3d91506117ca565b6000818152600260205260409020546001600160a01b031690811561182b575090565b637e27328960e01b60005260045260246000fd5b600081815260066020908152604080832033845290915290205460ff16156118645750565b63e2517d3f60e01b6000523360045260245260446000fd5b6001600160a01b0381166000908152600080516020611e86833981519152602052604090205460ff16611926576001600160a01b03166000818152600080516020611e8683398151915260205260408120805460ff191660011790553391907fa961ef34a96635180dfffd0ae574060d6c6af619ce89175a103711bf5ce82708907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50600090565b60008181526006602090815260408083206001600160a01b038616845290915290205460ff166119b45760008181526006602090815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5050600090565b60008181526006602090815260408083206001600160a01b038616845290915290205460ff16156119b45760008181526006602090815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b6001600160a01b031680156115c257600091808352600260205260018060a01b0360408420541691827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8115159586611ae5575b83815260036020526040812060018154019055848152600260205260408120846001600160601b0360a01b82541617905580a450611acf57565b6339e3563760e11b600052600060045260246000fd5b600085815260046020526040902080546001600160a01b03191690558281526003602052604081208054600019019055611a95565b90611b2482611411565b611b3160405191826113df565b8281528092611b42601f1991611411565b0190602036910137565b908151811015611b5d570160200190565b634e487b7160e01b600052603260045260246000fd5b90929160ff811615611e4c57604090815192611b8f83856113df565b60208452601f19830136602086013760005b60208110611e355750508251600201806002116108a457611bc190611b1a565b94855115611b5d5760f81b6001600160f81b03191660001a6020860153845160011015611b5d5760f81b6001600160f81b03191660001a602185015360005b8251811015611c41576001600160f81b0319611c1c8285611b4c565b511690600281018082116108a457611c3a60019360001a9188611b4c565b5301611c00565b50835192915060005b83811080611e19575b15611c6057600101611c4a565b9391909261209f856117e3920302048401936001850192611c8084611b1a565b9460009387905b8351861015611d1c578196949694611c9f8786611b4c565b5160f81c5b8a87138015611d0d575b15611cfb5763ffffffff603a9161ff0080611cc98b8f611b4c565b5160f01c1616011681810660f81b6001600160f81b03191660001a611cee898d611b4c565b5304956000190195611ca4565b50949850939560019095019493611c87565b5063ffffffff81161515611cae565b975050919394925050825b84811080611dfd575b15611d3d57600101611d27565b919293508251848303900392611d5284611b1a565b9460005b858110611d665750505050505090565b6001906060611d77865191826113df565b603a81527f31323334353637383941424344454647484a4b4c4d4e5051525354555657585960208201527f5a6162636465666768696a6b6d6e6f707172737475767778797a00000000000086820152611de760ff60f81b91611ddd868a86010388611b4c565b5160f81c90611b4c565b511660001a611df6828a611b4c565b5301611d56565b506001600160f81b0319611e118285611b4c565b511615611d30565b506001600160f81b0319611e2d8287611b4c565b511615611c53565b80826001921a611e458288611b4c565b5301611ba1565b50509050604051611e5e6020826113df565b600081529056fec65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a81cf9f68bbcf00d04cac120c1949d301bab4d15e9b099a304a7e6f21ea665cad4a26469706673582212205a2932db26747cb7a48c7ef546100ff5184981791afd2fc91aa90222903d5d5f64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x1FFC9A7 EQ PUSH2 0x1240 JUMPI POP DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x119B JUMPI DUP1 PUSH4 0x81812FC EQ PUSH2 0x115D JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x106E JUMPI DUP1 PUSH4 0x15F59D7F EQ PUSH2 0xF46 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0xF2F JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0xEFA JUMPI DUP1 PUSH4 0x2B2AD90F EQ PUSH2 0xE64 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0xE24 JUMPI DUP1 PUSH4 0x32D33CD0 EQ PUSH2 0xDF3 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0xDAD JUMPI DUP1 PUSH4 0x42842E0E EQ PUSH2 0xD83 JUMPI DUP1 PUSH4 0x581E7415 EQ PUSH2 0xD5A JUMPI DUP1 PUSH4 0x59486873 EQ PUSH2 0xD1F JUMPI DUP1 PUSH4 0x6352211E EQ PUSH2 0xCEF JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0xC99 JUMPI DUP1 PUSH4 0x7F871975 EQ PUSH2 0xC40 JUMPI DUP1 PUSH4 0x85290FA1 EQ PUSH2 0xC05 JUMPI DUP1 PUSH4 0x883ADB56 EQ PUSH2 0xAE0 JUMPI DUP1 PUSH4 0x89E3DF11 EQ PUSH2 0xA91 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0xA44 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x977 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x95B JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x8BA JUMPI DUP1 PUSH4 0xB405B260 EQ PUSH2 0x755 JUMPI DUP1 PUSH4 0xB88D4FDE EQ PUSH2 0x6CC JUMPI DUP1 PUSH4 0xC87B56DD EQ PUSH2 0x590 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x549 JUMPI DUP1 PUSH4 0xD851B90A EQ PUSH2 0x406 JUMPI DUP1 PUSH4 0xDC224863 EQ PUSH2 0x3CB JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0x370 JUMPI PUSH4 0xEA05C3E1 EQ PUSH2 0x17F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x36B JUMPI CALLDATASIZE PUSH1 0x23 DUP3 ADD SLT ISZERO PUSH2 0x36B JUMPI DUP1 PUSH1 0x4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x36B JUMPI CALLDATASIZE PUSH1 0x24 DUP3 DUP5 ADD ADD GT PUSH2 0x36B JUMPI CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x75C1F1A11CAD7B67EE718948C07987DFDB23B2D76D29A5FFBC644652E82AEC4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x32E JUMPI PUSH1 0x0 SWAP1 PUSH2 0x212 PUSH1 0xA SLOAD PUSH2 0x1373 JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x2C7 JUMPI JUMPDEST POP DUP2 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x258 JUMPI DUP3 SWAP4 DUP3 SWAP4 SWAP3 PUSH2 0x24A JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0xA SSTORE DUP1 RETURN JUMPDEST PUSH1 0x24 SWAP3 POP ADD ADD CALLDATALOAD CODESIZE DUP1 PUSH2 0x232 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP4 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 DUP5 JUMPDEST DUP7 DUP2 LT PUSH2 0x2AC JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 LT PUSH2 0x28F JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0xA SSTORE DUP1 RETURN JUMPDEST ADD PUSH1 0x24 ADD CALLDATALOAD PUSH1 0x0 NOT PUSH1 0x3 DUP5 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x283 JUMP JUMPDEST SWAP1 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 PUSH1 0x24 DUP8 DUP8 ADD ADD CALLDATALOAD DUP2 SSTORE ADD SWAP5 ADD SWAP2 ADD PUSH2 0x270 JUMP JUMPDEST PUSH1 0x1F DUP3 ADD PUSH1 0x5 SHR PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE ADD SWAP1 PUSH1 0x20 DUP4 LT PUSH2 0x318 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x30D JUMPI POP PUSH2 0x21B JUMP JUMPDEST DUP4 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x300 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP2 POP PUSH2 0x2E8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x4D7573742068617665206D617374657220726F6C65 PUSH1 0x58 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x389 PUSH2 0x130D JUMP JUMPDEST PUSH2 0x391 PUSH2 0x1323 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x8B8C0776DF2C2176EDF6F82391C35EA4891146D7A976EE36FD07F1A6FB4EAD4C DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x41F PUSH2 0x130D JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x54CDD369E4E8A8515E52CA72EC816C2101831AD1F18BF44102ED171459C9B4F8 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x52F JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x4DE JUMPI PUSH1 0xB SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x499 JUMPI PUSH2 0x480 SWAP1 PUSH2 0x187C JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB PUSH1 0xA0 SHL PUSH1 0xB SLOAD AND OR PUSH1 0xB SSTORE PUSH1 0x0 DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E74206D616E616765722077617320616C726561647920736176656400 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x4576656E74206D616E6167657220616464726573732063616E6E6F7420626520 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x7A65726F PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x58E PUSH1 0x4 CALLDATALOAD PUSH2 0x568 PUSH2 0x1323 JUMP JUMPDEST SWAP1 PUSH2 0x589 PUSH2 0x584 DUP3 PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x183F JUMP JUMPDEST PUSH2 0x19BB JUMP JUMPDEST STOP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x5AD DUP2 PUSH2 0x1808 JUMP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x8 PUSH1 0x20 MSTORE PUSH2 0x5F0 PUSH1 0x40 DUP1 PUSH1 0x0 KECCAK256 DUP2 MLOAD SWAP1 PUSH2 0x5CB DUP3 PUSH2 0x13AD JUMP JUMPDEST PUSH1 0x1 DUP2 SLOAD SWAP2 DUP3 DUP5 MSTORE ADD SLOAD SWAP2 PUSH1 0xFF DUP1 DUP5 AND SWAP4 DUP5 PUSH1 0x20 DUP5 ADD MSTORE PUSH1 0x8 SHR AND SWAP4 DUP5 SWAP2 ADD MSTORE PUSH2 0x1B73 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0xA SLOAD PUSH2 0x601 DUP2 PUSH2 0x1373 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x6A9 JUMPI POP PUSH1 0x1 EQ PUSH2 0x664 JUMPI JUMPDEST POP PUSH1 0x1 DUP3 PUSH2 0x660 SWAP5 DUP4 PUSH1 0x2F PUSH1 0xF8 SHL PUSH2 0x64C SWAP6 MSTORE PUSH2 0x63C DUP3 MLOAD DUP1 SWAP4 PUSH1 0x20 DUP8 DUP6 ADD SWAP2 ADD PUSH2 0x12C5 JUMP JUMPDEST ADD SUB ADD PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 PUSH1 0x20 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x12E8 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST SWAP1 POP PUSH1 0xA PUSH1 0x0 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x0 SWAP1 JUMPDEST DUP3 DUP3 LT PUSH2 0x693 JUMPI POP POP DUP2 ADD PUSH1 0x20 ADD PUSH1 0x1 PUSH2 0x616 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 PUSH2 0x67E JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 ISZERO ISZERO SWAP1 SWAP3 MUL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH1 0x1 SWAP1 POP PUSH2 0x616 JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x80 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x6E5 PUSH2 0x130D JUMP JUMPDEST PUSH2 0x6ED PUSH2 0x1323 JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP4 GT PUSH2 0x36B JUMPI CALLDATASIZE PUSH1 0x23 DUP5 ADD SLT ISZERO PUSH2 0x36B JUMPI DUP3 PUSH1 0x4 ADD CALLDATALOAD SWAP2 PUSH2 0x71A DUP4 PUSH2 0x1411 JUMP JUMPDEST SWAP3 PUSH2 0x728 PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x13DF JUMP JUMPDEST DUP1 DUP5 MSTORE CALLDATASIZE PUSH1 0x24 DUP3 DUP8 ADD ADD GT PUSH2 0x36B JUMPI PUSH1 0x20 DUP2 PUSH1 0x0 SWAP3 PUSH1 0x24 PUSH2 0x58E SWAP9 ADD DUP4 DUP9 ADD CALLDATACOPY DUP6 ADD ADD MSTORE PUSH1 0x44 CALLDATALOAD SWAP2 PUSH2 0x16BA JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH2 0x120 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x76F PUSH2 0x130D JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD SWAP1 PUSH1 0x84 CALLDATALOAD SWAP1 PUSH1 0x44 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH2 0x785 PUSH2 0x1401 JUMP JUMPDEST SWAP3 PUSH1 0xC4 CALLDATALOAD SWAP4 PUSH1 0xFF DUP6 AND SWAP5 DUP6 DUP2 SUB PUSH2 0x36B JUMPI PUSH1 0xE4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x36B JUMPI CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E86 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP8 SWAP9 SWAP8 PUSH2 0x104 CALLDATALOAD SWAP4 SWAP1 PUSH2 0x7DC SWAP1 PUSH1 0xFF AND PUSH2 0x161D JUMP JUMPDEST PUSH1 0xFF DUP2 AND SWAP10 PUSH1 0x0 JUMPDEST DUP11 DUP2 LT PUSH2 0x7ED JUMPI STOP JUMPDEST PUSH1 0x7 SLOAD SWAP1 PUSH1 0x1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x8A4 JUMPI PUSH32 0xC01F43857570D249B1E624A21836141242E465280D500923B451E60A622F7098 DUP11 DUP11 DUP16 DUP11 DUP16 DUP11 DUP11 DUP16 DUP12 SWAP1 DUP16 SWAP5 SWAP7 PUSH2 0x89B SWAP8 PUSH2 0x83E DUP15 PUSH1 0x1 SWAP16 PUSH1 0x7 SSTORE DUP5 PUSH2 0x1A41 JUMP JUMPDEST PUSH1 0xFF DUP15 PUSH1 0x40 MLOAD PUSH2 0x84D DUP2 PUSH2 0x13AD JUMP JUMPDEST DUP7 DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP5 DUP6 MSTORE PUSH1 0x40 DUP2 ADD SWAP4 DUP5 MSTORE PUSH1 0x7 SLOAD PUSH1 0x0 MSTORE PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 MLOAD DUP2 SSTORE ADD SWAP3 MLOAD AND PUSH2 0xFF00 DUP4 SLOAD SWAP3 MLOAD PUSH1 0x8 SHL AND SWAP2 PUSH2 0xFFFF NOT AND OR OR SWAP1 SSTORE PUSH1 0x7 SLOAD SWAP9 PUSH1 0x40 MLOAD SWAP10 DUP11 SWAP10 DUP11 PUSH2 0x1669 JUMP JUMPDEST SUB SWAP1 LOG1 ADD PUSH2 0x7E4 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x8D3 PUSH2 0x130D JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP1 SWAP3 SUB PUSH2 0x36B JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO PUSH2 0x946 JUMPI CALLER PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP3 PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0xFF NOT DUP2 SLOAD AND PUSH1 0xFF DUP4 AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 PUSH1 0x20 CALLER SWAP3 LOG3 STOP JUMPDEST POP PUSH4 0xB611743 PUSH1 0xE3 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x1 SLOAD PUSH2 0x999 DUP2 PUSH2 0x1373 JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0xA20 JUMPI POP PUSH1 0x1 EQ PUSH2 0x9C1 JUMPI JUMPDEST PUSH2 0x660 DUP4 PUSH2 0x64C DUP2 DUP6 SUB DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xB10E2D527612073B26EECDFD717E6A320CF44B4AFAC2B0732D9FCBE2B7FA0CF6 SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0xA06 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x64C PUSH2 0x9B1 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x9EE JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x5 SHL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH2 0x64C SWAP1 POP PUSH2 0x9B1 JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0xA5D PUSH2 0x1323 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 SWAP3 DUP4 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD DUP5 MLOAD SWAP2 DUP3 MSTORE PUSH1 0xFF DUP1 DUP3 AND SWAP4 DUP4 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP1 SWAP3 SHR AND SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH2 0x100 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0xAFA PUSH2 0x130D JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD PUSH1 0x84 CALLDATALOAD SWAP2 PUSH1 0xFF DUP4 AND SWAP3 DUP4 DUP2 SUB PUSH2 0x36B JUMPI PUSH2 0xB15 PUSH2 0x1401 JUMP JUMPDEST SWAP1 PUSH1 0xC4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x36B JUMPI CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E86 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0xB52 SWAP1 PUSH1 0xFF AND PUSH2 0x161D JUMP JUMPDEST PUSH1 0x7 SLOAD SWAP3 PUSH1 0x1 DUP5 ADD DUP1 SWAP5 GT PUSH2 0x8A4 JUMPI PUSH32 0xC01F43857570D249B1E624A21836141242E465280D500923B451E60A622F7098 SWAP7 PUSH2 0xB94 DUP6 PUSH2 0xC00 SWAP7 PUSH1 0x7 SSTORE DUP8 PUSH2 0x1A41 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xBA0 DUP2 PUSH2 0x13AD JUMP JUMPDEST DUP8 DUP2 MSTORE PUSH1 0x20 DUP2 ADD SWAP2 DUP3 MSTORE PUSH1 0xFF PUSH1 0x1 PUSH1 0x40 DUP4 ADD SWAP3 DUP3 DUP7 AND DUP5 MSTORE PUSH1 0x7 SLOAD PUSH1 0x0 MSTORE PUSH1 0x8 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 MLOAD DUP2 SSTORE ADD SWAP3 MLOAD AND PUSH2 0xFF00 DUP4 SLOAD SWAP3 MLOAD PUSH1 0x8 SHL AND SWAP2 PUSH2 0xFFFF NOT AND OR OR SWAP1 SSTORE PUSH1 0x7 SLOAD SWAP3 PUSH1 0x40 MLOAD SWAP7 DUP8 SWAP7 PUSH1 0xE4 CALLDATALOAD SWAP6 PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x24 CALLDATALOAD DUP11 PUSH2 0x1669 JUMP JUMPDEST SUB SWAP1 LOG1 STOP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x5620A1113A72B02A617976B3F6B15600DD7A8B3A916A9CA01E23119D989A0543 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0xC5D DUP2 PUSH2 0x1808 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x8 PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 SWAP3 DUP4 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 SWAP1 SWAP2 ADD SLOAD DUP5 MLOAD SWAP2 DUP3 MSTORE PUSH1 0xFF DUP1 DUP3 AND SWAP4 DUP4 ADD SWAP4 SWAP1 SWAP4 MSTORE SWAP1 SWAP3 SHR AND SWAP2 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x60 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0xCBA PUSH2 0x130D JUMP JUMPDEST AND DUP1 ISZERO PUSH2 0xCD9 JUMPI PUSH1 0x0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH4 0x22718AD9 PUSH1 0xE2 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH2 0xD0D PUSH1 0x4 CALLDATALOAD PUSH2 0x1808 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0xA961EF34A96635180DFFFD0AE574060D6C6AF619CE89175A103711BF5CE82708 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0xB SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH2 0x58E PUSH2 0xD94 CALLDATASIZE PUSH2 0x1339 JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD SWAP3 PUSH2 0xDA4 PUSH1 0x20 DUP6 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x0 DUP5 MSTORE PUSH2 0x16BA JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0xDC6 PUSH2 0x1323 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0xDE2 JUMPI PUSH2 0x58E SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x19BB JUMP JUMPDEST PUSH4 0x334BD919 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x58E PUSH1 0x4 CALLDATALOAD PUSH2 0xE43 PUSH2 0x1323 JUMP JUMPDEST SWAP1 PUSH2 0xE5F PUSH2 0x584 DUP3 PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x192C JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0xA SLOAD PUSH2 0xE86 DUP2 PUSH2 0x1373 JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0xA20 JUMPI POP PUSH1 0x1 EQ PUSH2 0xEAD JUMPI PUSH2 0x660 DUP4 PUSH2 0x64C DUP2 DUP6 SUB DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0xA PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E66 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0xEE0 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x64C PUSH2 0x9B1 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0xEC8 JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x20 PUSH2 0xF27 PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH2 0x58E PUSH2 0xF40 CALLDATASIZE PUSH2 0x1339 JUMP JUMPDEST SWAP2 PUSH2 0x142D JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x3BEEF1056912F4670A04FA233DCD18972A82C7D867A8DFA80496C9D7214203A0 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0xFF AND ISZERO PUSH2 0x1032 JUMPI DUP1 PUSH1 0x0 MSTORE PUSH1 0x9 PUSH1 0x20 MSTORE PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0xFED JUMPI PUSH1 0x20 DUP2 PUSH32 0xB0EBD5F2F7C40CA5715D8DEAB780894F023A63BC249FC45E69DF6ACBC4E8B568 SWAP3 PUSH1 0x0 MSTORE PUSH1 0x9 DUP3 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH1 0xFF NOT DUP3 SLOAD AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG1 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546F6B656E207761732072656465656D656420616C7265616479000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x4D757374206861766520737461666620726F6C65 PUSH1 0x60 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH2 0x1087 PUSH2 0x130D JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH2 0x1093 DUP2 PUSH2 0x1808 JUMP JUMPDEST CALLER ISZERO ISZERO DUP1 PUSH2 0x114A JUMPI JUMPDEST DUP1 PUSH2 0x111C JUMPI JUMPDEST PUSH2 0x1107 JUMPI DUP2 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND SWAP2 AND PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 PUSH1 0x0 DUP1 LOG4 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE STOP JUMPDEST PUSH4 0xA9FBF51F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x10A2 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ ISZERO PUSH2 0x109C JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x117A DUP2 PUSH2 0x1808 JUMP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x40 MLOAD PUSH1 0x0 DUP1 SLOAD PUSH2 0x11BC DUP2 PUSH2 0x1373 JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0xA20 JUMPI POP PUSH1 0x1 EQ PUSH2 0x11E3 JUMPI PUSH2 0x660 DUP4 PUSH2 0x64C DUP2 DUP6 SUB DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 MSTORE PUSH32 0x290DECD9548B62A8D60345A988386FC84BA6BC95484008F6362F93160EF3E563 SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x1226 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x64C PUSH2 0x9B1 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x120E JUMP JUMPDEST CALLVALUE PUSH2 0x36B JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP3 AND DUP1 SWAP3 SUB PUSH2 0x36B JUMPI PUSH1 0x20 SWAP2 PUSH4 0x7965DB0B PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x1282 JUMPI JUMPDEST POP ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x80AC58CD PUSH1 0xE0 SHL DUP2 EQ SWAP2 POP DUP2 ISZERO PUSH2 0x12B4 JUMPI JUMPDEST DUP2 ISZERO PUSH2 0x12A3 JUMPI JUMPDEST POP DUP4 PUSH2 0x127B JUMP JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL EQ SWAP1 POP DUP4 PUSH2 0x129C JUMP JUMPDEST PUSH4 0x5B5E139F PUSH1 0xE0 SHL DUP2 EQ SWAP2 POP PUSH2 0x1295 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT PUSH2 0x12D8 JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x12C8 JUMP JUMPDEST SWAP1 PUSH1 0x20 SWAP2 PUSH2 0x1301 DUP2 MLOAD DUP1 SWAP3 DUP2 DUP6 MSTORE DUP6 DUP1 DUP7 ADD SWAP2 ADD PUSH2 0x12C5 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x36B JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x36B JUMPI JUMP JUMPDEST PUSH1 0x60 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x36B JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x36B JUMPI SWAP1 PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x36B JUMPI SWAP1 PUSH1 0x44 CALLDATALOAD SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x13A3 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x138D JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x1382 JUMP JUMPDEST PUSH1 0x60 DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x13C9 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x13C9 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0xA4 CALLDATALOAD SWAP1 PUSH1 0xFF DUP3 AND DUP3 SUB PUSH2 0x36B JUMPI JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x13C9 JUMPI PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 SWAP1 DUP3 PUSH2 0x15D8 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 ISZERO PUSH2 0x15C2 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP4 DUP4 SWAP2 DUP6 SWAP1 CALLER ISZERO ISZERO DUP1 PUSH2 0x152A JUMPI JUMPDEST POP PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 DUP3 PUSH2 0x14F5 JUMPI JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH1 0x1 DUP2 SLOAD ADD SWAP1 SSTORE DUP5 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE DUP1 LOG4 DUP1 DUP4 SUB PUSH2 0x14DB JUMPI POP POP POP JUMP JUMPDEST PUSH4 0x64283D7B PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 MSTORE PUSH1 0x64 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE DUP3 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE PUSH2 0x149C JUMP JUMPDEST SWAP2 POP SWAP2 SWAP3 POP DUP1 PUSH2 0x1573 JUMPI JUMPDEST ISZERO PUSH2 0x1544 JUMPI SWAP1 DUP5 DUP5 SWAP3 CODESIZE PUSH2 0x1473 JUMP JUMPDEST DUP4 SWAP1 DUP6 PUSH2 0x155D JUMPI PUSH1 0x24 SWAP2 PUSH4 0x7E273289 PUSH1 0xE0 SHL DUP3 MSTORE PUSH1 0x4 MSTORE REVERT JUMPDEST PUSH1 0x44 SWAP2 PUSH4 0x177E802F PUSH1 0xE0 SHL DUP3 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE REVERT JUMPDEST POP CALLER DUP6 EQ DUP1 ISZERO PUSH2 0x15A1 JUMPI JUMPDEST DUP1 PUSH2 0x1535 JUMPI POP DUP4 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x1535 JUMP JUMPDEST POP DUP5 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x157E JUMP JUMPDEST PUSH4 0x32505749 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546F6B656E207472616E736665722069732064697361626C6564000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x1624 JUMPI JUMP JUMPDEST 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 0x4D7573742068617665206576656E74206D616E6167657220726F6C6500000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP6 SWAP1 SWAP10 SWAP9 SWAP8 SWAP5 PUSH1 0xFF SWAP5 PUSH2 0x100 SWAP9 SWAP5 DUP7 SWAP5 PUSH2 0x120 DUP11 ADD SWAP14 DUP11 MSTORE PUSH1 0x20 DUP11 ADD MSTORE PUSH1 0x40 DUP10 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x60 DUP9 ADD MSTORE PUSH1 0x80 DUP8 ADD MSTORE AND PUSH1 0xA0 DUP6 ADD MSTORE AND PUSH1 0xC0 DUP4 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0xE0 DUP3 ADD MSTORE ADD MSTORE JUMP JUMPDEST SWAP3 SWAP2 PUSH2 0x16C7 DUP2 DUP4 DUP7 PUSH2 0x142D JUMP JUMPDEST DUP2 EXTCODESIZE PUSH2 0x16D4 JUMPI JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xA85BD01 PUSH1 0xE1 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH1 0x80 PUSH1 0x64 DUP3 ADD MSTORE SWAP3 AND SWAP2 SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 DUP2 SWAP1 PUSH2 0x171F SWAP1 PUSH1 0x84 DUP4 ADD SWAP1 PUSH2 0x12E8 JUMP JUMPDEST SUB DUP2 PUSH1 0x0 DUP7 GAS CALL DUP1 SWAP2 PUSH1 0x0 SWAP2 PUSH2 0x17BE JUMPI JUMPDEST POP SWAP1 PUSH2 0x1789 JUMPI POP RETURNDATASIZE ISZERO PUSH2 0x1782 JUMPI RETURNDATASIZE PUSH2 0x1747 DUP2 PUSH2 0x1411 JUMP JUMPDEST SWAP1 PUSH2 0x1755 PUSH1 0x40 MLOAD SWAP3 DUP4 PUSH2 0x13DF JUMP JUMPDEST DUP2 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP4 ADD RETURNDATACOPY JUMPDEST DUP1 MLOAD SWAP1 DUP2 PUSH2 0x177D JUMPI DUP3 PUSH4 0x32505749 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 ADD REVERT JUMPDEST PUSH1 0x60 PUSH2 0x1760 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT AND PUSH4 0x757A42FF PUSH1 0xE1 SHL ADD PUSH2 0x17AA JUMPI POP CODESIZE DUP1 DUP1 DUP1 PUSH2 0x16CE JUMP JUMPDEST PUSH4 0x32505749 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 DUP2 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x1800 JUMPI JUMPDEST DUP2 PUSH2 0x17D7 PUSH1 0x20 SWAP4 DUP4 PUSH2 0x13DF JUMP JUMPDEST DUP2 ADD SUB SLT PUSH2 0x17FC JUMPI MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND DUP3 SUB PUSH2 0x17F9 JUMPI POP CODESIZE PUSH2 0x1730 JUMP JUMPDEST DUP1 REVERT JUMPDEST POP DUP1 REVERT JUMPDEST RETURNDATASIZE SWAP2 POP PUSH2 0x17CA 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 SWAP1 DUP2 ISZERO PUSH2 0x182B JUMPI POP SWAP1 JUMP JUMPDEST PUSH4 0x7E273289 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x1864 JUMPI POP JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E86 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x1926 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1E86 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0xA961EF34A96635180DFFFD0AE574060D6C6AF619CE89175A103711BF5CE82708 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x19B4 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x19B4 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0x15C2 JUMPI PUSH1 0x0 SWAP2 DUP1 DUP4 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 DUP5 KECCAK256 SLOAD AND SWAP2 DUP3 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP2 ISZERO ISZERO SWAP6 DUP7 PUSH2 0x1AE5 JUMPI JUMPDEST DUP4 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 PUSH1 0x1 DUP2 SLOAD ADD SWAP1 SSTORE DUP5 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE DUP1 LOG4 POP PUSH2 0x1ACF JUMPI JUMP JUMPDEST PUSH4 0x39E35637 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP6 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE DUP3 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0x0 NOT ADD SWAP1 SSTORE PUSH2 0x1A95 JUMP JUMPDEST SWAP1 PUSH2 0x1B24 DUP3 PUSH2 0x1411 JUMP JUMPDEST PUSH2 0x1B31 PUSH1 0x40 MLOAD SWAP2 DUP3 PUSH2 0x13DF JUMP JUMPDEST DUP3 DUP2 MSTORE DUP1 SWAP3 PUSH2 0x1B42 PUSH1 0x1F NOT SWAP2 PUSH2 0x1411 JUMP JUMPDEST ADD SWAP1 PUSH1 0x20 CALLDATASIZE SWAP2 ADD CALLDATACOPY JUMP JUMPDEST SWAP1 DUP2 MLOAD DUP2 LT ISZERO PUSH2 0x1B5D JUMPI ADD PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 SWAP3 SWAP2 PUSH1 0xFF DUP2 AND ISZERO PUSH2 0x1E4C JUMPI PUSH1 0x40 SWAP1 DUP2 MLOAD SWAP3 PUSH2 0x1B8F DUP4 DUP6 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x20 DUP5 MSTORE PUSH1 0x1F NOT DUP4 ADD CALLDATASIZE PUSH1 0x20 DUP7 ADD CALLDATACOPY PUSH1 0x0 JUMPDEST PUSH1 0x20 DUP2 LT PUSH2 0x1E35 JUMPI POP POP DUP3 MLOAD PUSH1 0x2 ADD DUP1 PUSH1 0x2 GT PUSH2 0x8A4 JUMPI PUSH2 0x1BC1 SWAP1 PUSH2 0x1B1A JUMP JUMPDEST SWAP5 DUP6 MLOAD ISZERO PUSH2 0x1B5D JUMPI PUSH1 0xF8 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND PUSH1 0x0 BYTE PUSH1 0x20 DUP7 ADD MSTORE8 DUP5 MLOAD PUSH1 0x1 LT ISZERO PUSH2 0x1B5D JUMPI PUSH1 0xF8 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND PUSH1 0x0 BYTE PUSH1 0x21 DUP6 ADD MSTORE8 PUSH1 0x0 JUMPDEST DUP3 MLOAD DUP2 LT ISZERO PUSH2 0x1C41 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT PUSH2 0x1C1C DUP3 DUP6 PUSH2 0x1B4C JUMP JUMPDEST MLOAD AND SWAP1 PUSH1 0x2 DUP2 ADD DUP1 DUP3 GT PUSH2 0x8A4 JUMPI PUSH2 0x1C3A PUSH1 0x1 SWAP4 PUSH1 0x0 BYTE SWAP2 DUP9 PUSH2 0x1B4C JUMP JUMPDEST MSTORE8 ADD PUSH2 0x1C00 JUMP JUMPDEST POP DUP4 MLOAD SWAP3 SWAP2 POP PUSH1 0x0 JUMPDEST DUP4 DUP2 LT DUP1 PUSH2 0x1E19 JUMPI JUMPDEST ISZERO PUSH2 0x1C60 JUMPI PUSH1 0x1 ADD PUSH2 0x1C4A JUMP JUMPDEST SWAP4 SWAP2 SWAP1 SWAP3 PUSH2 0x209F DUP6 PUSH2 0x17E3 SWAP3 SUB MUL DIV DUP5 ADD SWAP4 PUSH1 0x1 DUP6 ADD SWAP3 PUSH2 0x1C80 DUP5 PUSH2 0x1B1A JUMP JUMPDEST SWAP5 PUSH1 0x0 SWAP4 DUP8 SWAP1 JUMPDEST DUP4 MLOAD DUP7 LT ISZERO PUSH2 0x1D1C JUMPI DUP2 SWAP7 SWAP5 SWAP7 SWAP5 PUSH2 0x1C9F DUP8 DUP7 PUSH2 0x1B4C JUMP JUMPDEST MLOAD PUSH1 0xF8 SHR JUMPDEST DUP11 DUP8 SGT DUP1 ISZERO PUSH2 0x1D0D JUMPI JUMPDEST ISZERO PUSH2 0x1CFB JUMPI PUSH4 0xFFFFFFFF PUSH1 0x3A SWAP2 PUSH2 0xFF00 DUP1 PUSH2 0x1CC9 DUP12 DUP16 PUSH2 0x1B4C JUMP JUMPDEST MLOAD PUSH1 0xF0 SHR AND AND ADD AND DUP2 DUP2 MOD PUSH1 0xF8 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND PUSH1 0x0 BYTE PUSH2 0x1CEE DUP10 DUP14 PUSH2 0x1B4C JUMP JUMPDEST MSTORE8 DIV SWAP6 PUSH1 0x0 NOT ADD SWAP6 PUSH2 0x1CA4 JUMP JUMPDEST POP SWAP5 SWAP9 POP SWAP4 SWAP6 PUSH1 0x1 SWAP1 SWAP6 ADD SWAP5 SWAP4 PUSH2 0x1C87 JUMP JUMPDEST POP PUSH4 0xFFFFFFFF DUP2 AND ISZERO ISZERO PUSH2 0x1CAE JUMP JUMPDEST SWAP8 POP POP SWAP2 SWAP4 SWAP5 SWAP3 POP POP DUP3 JUMPDEST DUP5 DUP2 LT DUP1 PUSH2 0x1DFD JUMPI JUMPDEST ISZERO PUSH2 0x1D3D JUMPI PUSH1 0x1 ADD PUSH2 0x1D27 JUMP JUMPDEST SWAP2 SWAP3 SWAP4 POP DUP3 MLOAD DUP5 DUP4 SUB SWAP1 SUB SWAP3 PUSH2 0x1D52 DUP5 PUSH2 0x1B1A JUMP JUMPDEST SWAP5 PUSH1 0x0 JUMPDEST DUP6 DUP2 LT PUSH2 0x1D66 JUMPI POP POP POP POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x1 SWAP1 PUSH1 0x60 PUSH2 0x1D77 DUP7 MLOAD SWAP2 DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x3A DUP2 MSTORE PUSH32 0x31323334353637383941424344454647484A4B4C4D4E50515253545556575859 PUSH1 0x20 DUP3 ADD MSTORE PUSH32 0x5A6162636465666768696A6B6D6E6F707172737475767778797A000000000000 DUP7 DUP3 ADD MSTORE PUSH2 0x1DE7 PUSH1 0xFF PUSH1 0xF8 SHL SWAP2 PUSH2 0x1DDD DUP7 DUP11 DUP7 ADD SUB DUP9 PUSH2 0x1B4C JUMP JUMPDEST MLOAD PUSH1 0xF8 SHR SWAP1 PUSH2 0x1B4C JUMP JUMPDEST MLOAD AND PUSH1 0x0 BYTE PUSH2 0x1DF6 DUP3 DUP11 PUSH2 0x1B4C JUMP JUMPDEST MSTORE8 ADD PUSH2 0x1D56 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT PUSH2 0x1E11 DUP3 DUP6 PUSH2 0x1B4C JUMP JUMPDEST MLOAD AND ISZERO PUSH2 0x1D30 JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT PUSH2 0x1E2D DUP3 DUP8 PUSH2 0x1B4C JUMP JUMPDEST MLOAD AND ISZERO PUSH2 0x1C53 JUMP JUMPDEST DUP1 DUP3 PUSH1 0x1 SWAP3 BYTE PUSH2 0x1E45 DUP3 DUP9 PUSH2 0x1B4C JUMP JUMPDEST MSTORE8 ADD PUSH2 0x1BA1 JUMP JUMPDEST POP POP SWAP1 POP PUSH1 0x40 MLOAD PUSH2 0x1E5E PUSH1 0x20 DUP3 PUSH2 0x13DF JUMP JUMPDEST PUSH1 0x0 DUP2 MSTORE SWAP1 JUMP INVALID 0xC6 GAS PUSH28 0xB8D6351C1CF70C95A316CC6A92839C986682D98BC35F958F4883F9D2 0xA8 SHR 0xF9 0xF6 DUP12 0xBC CREATE 0xD DIV 0xCA 0xC1 KECCAK256 0xC1 SWAP5 SWAP14 ADDRESS SHL 0xAB 0x4D ISZERO 0xE9 0xB0 SWAP10 LOG3 DIV 0xA7 0xE6 CALLCODE 0x1E 0xA6 PUSH6 0xCAD4A2646970 PUSH7 0x73582212205A29 ORIGIN 0xDB 0x26 PUSH21 0x7CB7A48C7EF546100FF5184981791AFD2FC91AA902 0x22 SWAP1 RETURNDATASIZE TSTORE PUSH0 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"249:5390:31:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1674:10;249:5390;;;;;;;;;;;;;;;;;;;2400:15;249:5390;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2400:15;249:5390;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;2400:15;249:5390;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;249:5390:31;-1:-1:-1;249:5390:31;;;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;4038:18:9;249:5390:31;;;;;4038:35:9;249:5390:31;;;;;;-1:-1:-1;249:5390:31;;;;;;-1:-1:-1;249:5390:31;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;400:24;249:5390;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;735:10:14;249:5390:31;;;;;;;;;;;;;3519:23:0;3515:108;;-1:-1:-1;;;;;249:5390:31;;;1985:34;;249:5390;;2112:19;249:5390;-1:-1:-1;;;;;249:5390:31;;;2212:52;;;:::i;:::-;;-1:-1:-1;;;;;249:5390:31;;2112:19;249:5390;;;2112:19;249:5390;;;;;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;;;;;;-1:-1:-1;;;249:5390:31;;;;;;;3515:108:0;3565:47;;;249:5390:31;3565:47:0;735:10:14;249:5390:31;;;;;;;3565:47:0;249:5390:31;;;;;;-1:-1:-1;;249:5390:31;;;;4747:26:0;249:5390:31;;;;:::i;:::-;4717:18:0;2475:4;4717:18;;-1:-1:-1;249:5390:31;3901:6:0;249:5390:31;;3901:22:0;249:5390:31;-1:-1:-1;249:5390:31;3901:22:0;249:5390:31;3810:120:0;;4717:18;2475:4;:::i;:::-;4747:26;:::i;:::-;249:5390:31;;;;;;;-1:-1:-1;;249:5390:31;;;;;;4074:22;;;:::i;:::-;;249:5390;;4140:11;249:5390;;4190:42;249:5390;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4140:11;249:5390;;;;;;;4190:42;:::i;:::-;249:5390;;;4273:8;249:5390;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4256:36:31;249:5390;;;;;;;;;;;;;;:::i;:::-;;4256:36;;;;;;;;;;:::i;:::-;249:5390;;;;;;;;;;;;;:::i;:::-;;;;;;;4273:8;249:5390;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;4256:36;;;249:5390;;;;;;;;;;;;;;;;-1:-1:-1;249:5390:31;;-1:-1:-1;249:5390:31;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;1524:10;249:5390;;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;;;;;;1475:114;;249:5390;;1475:114;:::i;:::-;249:5390;;;;;3292:10;;;;;;249:5390;3304:3;3323:16;249:5390;;;;;;;;;;3546:99;249:5390;;;;;;;;;;;;;3546:99;249:5390;3363:11;249:5390;;;3323:16;249:5390;3363:11;;:::i;:::-;249:5390;;;;;;;:::i;:::-;;;;;3416:111;;249:5390;;;;3416:111;;249:5390;;;3323:16;249:5390;;;3389:11;249:5390;;;;;;;;;;;;;;;;;;3389:11;249:5390;;;;;;;;;;3323:16;249:5390;;;;3546:99;;;;;:::i;:::-;;;;249:5390;3277:13;;249:5390;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;15772:22:9;;15768:91;;735:10:14;249:5390:31;;15868:18:9;249:5390:31;;;;;;-1:-1:-1;249:5390:31;;;;-1:-1:-1;249:5390:31;;;;;;;;;;;;;;;;;15929:41:9;249:5390:31;735:10:14;15929:41:9;;249:5390:31;15768:91:9;15817:31;;;;249:5390:31;15817:31:9;249:5390:31;;;;15817:31:9;249:5390:31;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;2596:7:9;249:5390:31;;;;:::i;:::-;;;;;2596:7:9;249:5390:31;;;2596:7:9;;;;249:5390:31;;;;;;;;;;;;;;:::i;:::-;2596:7:9;249:5390:31;;;;;;;-1:-1:-1;249:5390:31;;;;;;;-1:-1:-1;249:5390:31;;-1:-1:-1;249:5390:31;;;;;;;;;;2596:7:9;249:5390:31;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;;;;;;;;;;;;;-1:-1:-1;249:5390:31;;-1:-1:-1;249:5390:31;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;;;;;2954:6:0;249:5390:31;;;;;2954:29:0;249:5390:31;;;;;;-1:-1:-1;249:5390:31;;;;;;-1:-1:-1;249:5390:31;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;;;620:60;249:5390;;;;;;;;;;;;620:60;;;249:5390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;249:5390:31;;;;;;1524:10;249:5390;;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;1475:114;;249:5390;;1475:114;:::i;:::-;2682:16;249:5390;;;;;;;;;;2877:99;249:5390;2718:11;249:5390;2877:99;249:5390;2682:16;249:5390;2718:11;;:::i;:::-;249:5390;;;;;:::i;:::-;;;;;2767:95;;249:5390;;;;;;2767:95;;249:5390;;;;;;2682:16;249:5390;;;2740:11;249:5390;;;;;;;;;;;;;;;;;;2740:11;249:5390;;;;;;;;;;2682:16;249:5390;;;;;;;;;;;;;;;2877:99;;:::i;:::-;;;;249:5390;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;467:23;249:5390;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;3800:22;;;:::i;:::-;-1:-1:-1;249:5390:31;;;;3869:11;249:5390;;;;;;;;;;;;3920:17;;;249:5390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;-1:-1:-1;;;;;249:5390:31;;:::i;:::-;;2005:19:9;;2001:87;;249:5390:31;;2104:9:9;249:5390:31;;;;;;;;;;;;;2001:87:9;2047:30;;;249:5390:31;2047:30:9;249:5390:31;;;;;2047:30:9;249:5390:31;;;;;;-1:-1:-1;;249:5390:31;;;;;2273:22:9;249:5390:31;;2273:22:9;:::i;:::-;249:5390:31;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;549:31;249:5390;;;;;;;;;-1:-1:-1;;249:5390:31;;;;763:34;249:5390;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;;;4872:39:9;249:5390:31;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;4872:39:9;:::i;249:5390:31:-;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;735:10:14;-1:-1:-1;;;;;249:5390:31;;5421:34:0;5417:102;;5529:37;249:5390:31;;;5529:37:0;:::i;5417:102::-;5478:30;;;249:5390:31;5478:30:0;249:5390:31;;5478:30:0;249:5390:31;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;686:42;249:5390;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;4330:25:0;249:5390:31;;;;:::i;:::-;4300:18:0;2475:4;4300:18;;-1:-1:-1;249:5390:31;3901:6:0;249:5390:31;;3901:22:0;249:5390:31;-1:-1:-1;249:5390:31;3901:22:0;249:5390:31;3810:120:0;;2475:4;4330:25;:::i;249:5390:31:-;;;;;;-1:-1:-1;;249:5390:31;;;;;;;735:22;249:5390;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;735:22;249:5390;;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;-1:-1:-1;249:5390:31;;;;;;;-1:-1:-1;249:5390:31;;-1:-1:-1;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;-1:-1:-1;249:5390:31;3901:6:0;249:5390:31;;3901:22:0;249:5390:31;-1:-1:-1;249:5390:31;3901:22:0;249:5390:31;3810:120:0;;249:5390:31;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;-1:-1:-1;;249:5390:31;;;;1794:10;249:5390;;;;;;;;;;;;;;;;;;;;;;4629:10;249:5390;;;;;;;;;;;;4730:23;249:5390;;;4629:10;249:5390;;;;;;;;;;;;;;;;;;;4730:23;249:5390;;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;:::i;:::-;;;15017:22:9;;;:::i;:::-;735:10:14;15167:18:9;;:35;;;249:5390:31;15167:69:9;;;249:5390:31;15163:142:9;;249:5390:31;;-1:-1:-1;;;;;249:5390:31;;;;;15357:28:9;249:5390:31;;15357:28:9;249:5390:31;;;;;;;;;;;;-1:-1:-1;;;;;;249:5390:31;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;15163:142:9;15263:27;;;249:5390:31;15263:27:9;735:10:14;249:5390:31;;;;15263:27:9;15167:69;-1:-1:-1;;;;;;249:5390:31;;;;;;4038:18:9;249:5390:31;;;;;;;;735:10:14;249:5390:31;;;;;;;;;;15206:30:9;15167:69;;:35;-1:-1:-1;;;;;;249:5390:31;;735:10:14;15189:13:9;;15167:35;;249:5390:31;;;;;;-1:-1:-1;;249:5390:31;;;;;;3582:22:9;;;:::i;:::-;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;249:5390:31;;;;;;;-1:-1:-1;249:5390:31;;-1:-1:-1;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2673:47:0;;;:87;;;;249:5390:31;;;;;;;2673:87:0;-1:-1:-1;;;1697:40:9;;;-1:-1:-1;1697:104:9;;;;2673:87:0;1697:156:9;;;;2673:87:0;;;;;1697:156:9;-1:-1:-1;;;862:40:24;;-1:-1:-1;1697:156:9;;;:104;-1:-1:-1;;;1753:48:9;;;-1:-1:-1;1697:104:9;;249:5390:31;;;;;;;;-1:-1:-1;;249:5390:31;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;249:5390:31;;;;:::o;:::-;;;;-1:-1:-1;;;;;249:5390:31;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;249:5390:31;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;249:5390:31;;;;;-1:-1:-1;249:5390:31;;;;4256:36;;249:5390;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;249:5390:31;;;;:::o;4306:240::-;-1:-1:-1;;;;;249:5390:31;;4306:240;249:5390;;;-1:-1:-1;;;;;249:5390:31;;4236:16:9;;4232:87;;4459:1:31;249:5390;;;5824:7:9;249:5390:31;;;;;;-1:-1:-1;;;;;249:5390:31;;4561:34:9;;249:5390:31;;735:10:14;9058:18:9;;;9054:86;;4306:240:31;9184:18:9;9600:27;9184:18;;9180:256;;4306:240:31;249:5390;;;9510:9:9;249:5390:31;;;;;9450:16:9;249:5390:31;;;;;;;;5824:7:9;249:5390:31;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;9600:27:9;;4609:21;;;4605:109;;4306:240:31;;;:::o;4605:109:9:-;4653:50;;;4459:1:31;4653:50:9;;249:5390:31;;;;;;4459:1;4653:50:9;9180:256;249:5390:31;;;;15420:15:9;249:5390:31;;;;;;;-1:-1:-1;;;;;;249:5390:31;;;;;;9391:9:9;249:5390:31;;;;;;;-1:-1:-1;;249:5390:31;;;9180:256:9;;9054:86;6539:127;;;;;;;;9054:86;7216:39;7212:255;;9054:86;;;;;;;7212:255;7275:19;;;249:5390:31;;;7321:31:9;;;;;;;249:5390:31;7321:31:9;7271:186;249:5390:31;7398:44:9;;;;;;735:10:14;7398:44:9;249:5390:31;;;7398:44:9;6539:127;735:10:14;;6577:16:9;;:52;;;;6539:127;6577:88;6539:127;6577:88;-1:-1:-1;249:5390:31;;;6059:15:9;249:5390:31;;;;;;-1:-1:-1;;;;;249:5390:31;735:10:14;6633:32:9;6539:127;;6577:52;-1:-1:-1;249:5390:31;;;4038:18:9;249:5390:31;;;;;;;;735:10:14;249:5390:31;;;;;;;;;;6577:52:9;;4232:87;4275:33;;;4459:1:31;4275:33:9;4459:1:31;4275:33:9;249:5390:31;;4459:1;4275:33:9;249:5390:31;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4984:233:9:-;;;5120:7;;;;;:::i;:::-;1173:14:13;;1169:742;;4984:233:9;;;;;:::o;1169:742:13:-;249:5390:31;;-1:-1:-1;;;1211:67:13;;735:10:14;1211:67:13;;;249:5390:31;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1211:67:13;;1190:1;1211:67;;;;;1190:1;1211:67;;;1169:742;-1:-1:-1;1207:694:13;;;-1:-1:-1;249:5390:31;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;1190:1:13;249:5390:31;;;;;;;;1568:18:13;;;4275:33:9;;;;1190:1:13;1672:39;1211:67;249:5390:31;;1190:1:13;1672:39;1564:323;249:5390:31;1758:111:13;;249:5390:31;;;;1207:694:13;-1:-1:-1;;;;;;249:5390:31;-1:-1:-1;;;1325:51:13;1321:182;;1207:694;1169:742;;;;;;1321:182;4275:33:9;;;1190:1:13;1445:39;1211:67;249:5390:31;;1190:1:13;1445:39;1211:67;249:5390:31;1211:67:13;;249:5390:31;1211:67:13;;;;;;249:5390:31;1211:67:13;;;:::i;:::-;;;249:5390:31;;;;;;-1:-1:-1;;;;;;249:5390:31;;;;;;1211:67:13;;;;249:5390:31;;;;;;;1211:67:13;;;-1:-1:-1;1211:67:13;;16212:241:9;-1:-1:-1;249:5390:31;;;5824:7:9;249:5390:31;;;;;;-1:-1:-1;;;;;249:5390:31;;16341:19:9;;16337:88;;16434:12;16212:241;:::o;16337:88::-;7321:31;;;-1:-1:-1;16383:31:9;;249:5390:31;;-1:-1:-1;16383:31:9;3199:103:0;-1:-1:-1;249:5390:31;;;2954:6:0;249:5390:31;;;;;;;;735:10:14;249:5390:31;;;;;;;;;;3519:23:0;3515:108;;3199:103;:::o;3515:108::-;3565:47;;;-1:-1:-1;3565:47:0;735:10:14;3565:47:0;249:5390:31;;;;-1:-1:-1;3565:47:0;6179:316;-1:-1:-1;;;;;249:5390:31;;;;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;-1:-1:-1;;;;;;;;;;;249:5390:31;;;;;;;-1:-1:-1;;249:5390:31;;;;;735:10:14;;249:5390:31;549:31;;6370:40:0;;249:5390:31;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;249:5390:31;6466:12:0;:::o;6179:316::-;249:5390:31;;;;2954:6:0;249:5390:31;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;;;;;;;;;2954:6:0;249:5390:31;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;;;735:10:14;;249:5390:31;;6370:40:0;;249:5390:31;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;;249:5390:31;6466:12:0;:::o;6732:317::-;249:5390:31;;;;2954:6:0;249:5390:31;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;;;;;;;;;;2954:6:0;249:5390:31;;;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;;;;;;;;-1:-1:-1;;249:5390:31;;;735:10:14;;249:5390:31;;6924:40:0;;249:5390:31;6924:40:0;249:5390:31;6978:11:0;:::o;9978:327:9:-;-1:-1:-1;;;;;249:5390:31;10045:16:9;;10041:87;;10059:1;249:5390:31;;;;5824:7:9;249:5390:31;;;;;;;;;;;;9184:18:9;;9600:27;9184:18;;;9180:256;;;;9978:327;249:5390:31;;;9510:9:9;249:5390:31;;;;;9058:18:9;249:5390:31;;;;;;;;5824:7:9;249:5390:31;;;;;;-1:-1:-1;;;;;249:5390:31;;;;;;;;9600:27:9;;10203:96;;;9978:327::o;10203:96::-;10257:31;;;10059:1;10257:31;10059:1;10257:31;249:5390:31;;10059:1:9;10257:31;9180:256;249:5390:31;;;;15420:15:9;249:5390:31;;;;;;;-1:-1:-1;;;;;;249:5390:31;;;;;;9391:9:9;249:5390:31;;;;;;;-1:-1:-1;;249:5390:31;;;9180:256:9;;249:5390:31;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;4256:36;249:5390;4256:36;;249:5390;;:::i;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;4960:677;;;;249:5390;;;5105:9;5101:24;;249:5390;;;;;;;;;:::i;:::-;5205:2;249:5390;;4256:36;;249:5390;;;5205:2;249:5390;;;5113:1;5235:6;5205:2;5235:6;;;;249:5390;;;;5347:1;249:5390;;5347:1;249:5390;;;5337:31;;;:::i;:::-;249:5390;;;;;;;;-1:-1:-1;;;;;;249:5390:31;5113:1;5378:40;5205:2;249:5390;;5378:40;249:5390;;;;;;;;;-1:-1:-1;;;;;;249:5390:31;5113:1;5428:32;249:5390;;;5428:32;5113:1;5510:3;249:5390;;5488:20;;;;;-1:-1:-1;;;;;;5553:12:31;;;;:::i;:::-;249:5390;;;5347:1;249:5390;;;;;;;5529:36;249:5390;5529:36;5113:1;5529:36;;;;:::i;:::-;;249:5390;5476:10;;5488:20;-1:-1:-1;249:5390:31;;;5488:20;-1:-1:-1;5113:1:31;6161:94;6168:16;;;:41;;;6161:94;6168:41;;;249:5390;;6161:94;;6168:41;;;;;6309:4;6168:41;6317:4;6168:41;249:5390;;;;;;;;;6359:15;;;;:::i;:::-;6388:12;5113:1;;6414:8;;6518:3;249:5390;;6500:16;;;;;6541:20;;;;6598:8;;;;;:::i;:::-;249:5390;;;6633:3;6609:8;;;:22;;;;6633:3;6609:22;;;249:5390;6767:2;6688:16;249:5390;6688:16;;;;;:::i;:::-;249:5390;;;;;;;;;;;;-1:-1:-1;;;;;;249:5390:31;5113:1;6727:44;;;;;:::i;:::-;;249:5390;6633:3;249:5390;;;6584:23;;;6609:22;-1:-1:-1;6609:22:31;;-1:-1:-1;6609:22:31;;249:5390;;;;;6609:22;6485:13;;6609:22;249:5390;;;;6621:10;;6609:22;;6500:16;;;;;;;;;;6904:13;6945:3;6919:8;;;:24;;;6945:3;6919:24;;;249:5390;;6904:13;;6919:24;;;;;249:5390;;;;;;;7034:15;;;;:::i;:::-;7068:13;5113:1;7083:8;;;;;;5586:44;;;;;;4960:677;:::o;7093:3::-;249:5390;;;;;;;;;:::i;:::-;6767:2;249:5390;;;5205:2;249:5390;;;;;;;;7172:24;249:5390;;;;7187:7;249:5390;;;;;7187:7;;:::i;:::-;249:5390;;;7172:24;;:::i;:::-;249:5390;;5113:1;7163:33;;;;;:::i;:::-;;249:5390;7068:13;;6919:24;-1:-1:-1;;;;;;;6931:7:31;;;;:::i;:::-;249:5390;;6931:12;6919:24;;6168:41;-1:-1:-1;;;;;;;6188:16:31;;;;:::i;:::-;249:5390;;6188:21;6168:41;;5243:3;5277:9;;249:5390;5277:9;;5262:24;;;;:::i;:::-;;249:5390;5223:10;;5101:24;249:5390;;;;;;;;;;:::i;:::-;5113:1;249:5390;;5116:9;:::o"},"methodIdentifiers":{"DEFAULT_ADMIN_ROLE()":"a217fddf","EVENT_MANAGER_ROLE()":"59486873","MASTER_ROLE()":"dc224863","STAFF_ROLE()":"85290fa1","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","eventManagerAddress()":"581e7415","getApproved(uint256)":"081812fc","getRoleAdmin(bytes32)":"248a9ca3","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","ipfsHost()":"2b2ad90f","isApprovedForAll(address,address)":"e985e9c5","isRedeemed(uint256)":"32d33cd0","mint(address,uint256,uint256,bytes32,uint8,uint8,address,uint256)":"883adb56","mintBatch(address,uint256,uint256,uint256,bytes32,uint8,uint8,address,uint256)":"b405b260","name()":"06fdde03","ownerOf(uint256)":"6352211e","redeemTicket(uint256)":"15f59d7f","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","safeTransferFrom(address,address,uint256)":"42842e0e","safeTransferFrom(address,address,uint256,bytes)":"b88d4fde","setApprovalForAll(address,bool)":"a22cb465","setEventManagerAddress(address)":"d851b90a","setIpfsHost(string)":"ea05c3e1","supportsInterface(bytes4)":"01ffc9a7","symbol()":"95d89b41","ticketMeta(uint256)":"7f871975","ticketsMeta(uint256)":"89e3df11","tokenURI(uint256)":"c87b56dd","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_master\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_ipfsHost\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721IncorrectOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721InsufficientApproval\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC721InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721NonexistentToken\",\"type\":\"error\"},{\"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\":\"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\":false,\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ticketId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"categoryId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"pricePaid\",\"type\":\"uint256\"}],\"name\":\"TicketMinted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ticketId\",\"type\":\"uint256\"}],\"name\":\"TicketRedeemed\",\"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\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EVENT_MANAGER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MASTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"STAFF_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"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\":[],\"name\":\"eventManagerAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"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\":[],\"name\":\"ipfsHost\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\":\"\",\"type\":\"uint256\"}],\"name\":\"isRedeemed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"categoryId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePaid\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"categoryId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"pricePaid\",\"type\":\"uint256\"}],\"name\":\"mintBatch\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"redeemTicket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"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\":\"address\",\"name\":\"_eventManagerAddress\",\"type\":\"address\"}],\"name\":\"setEventManagerAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"host\",\"type\":\"string\"}],\"name\":\"setIpfsHost\",\"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\":\"ticketMeta\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ticketsMeta\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"digest\",\"type\":\"bytes32\"},{\"internalType\":\"uint8\",\"name\":\"hashFunction\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"size\",\"type\":\"uint8\"}],\"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\":{\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}],\"ERC721IncorrectOwner(address,uint256,address)\":[{\"details\":\"Indicates an error related to the ownership over a particular token. Used in transfers.\",\"params\":{\"owner\":\"Address of the current owner of a token.\",\"sender\":\"Address whose tokens are being transferred.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InsufficientApproval(address,uint256)\":[{\"details\":\"Indicates a failure with the `operator`\\u2019s approval. Used in transfers.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\",\"tokenId\":\"Identifier number of a token.\"}}],\"ERC721InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC721InvalidOperator(address)\":[{\"details\":\"Indicates a failure with the `operator` to be approved. Used in approvals.\",\"params\":{\"operator\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC721InvalidOwner(address)\":[{\"details\":\"Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20. Used in balance queries.\",\"params\":{\"owner\":\"Address of the current owner of a token.\"}}],\"ERC721InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC721InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC721NonexistentToken(uint256)\":[{\"details\":\"Indicates a `tokenId` whose `owner` is the zero address.\",\"params\":{\"tokenId\":\"Identifier number of a token.\"}}]},\"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.\"},\"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 to signal this.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"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}.\"},\"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`.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"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\":{\"contracts/CyberValleyEventTicket.sol\":\"CyberValleyEventTicket\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xc1bebdee8943bd5e9ef1e0f2e63296aa1dd4171a66b9e74d0286220e891e1458\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://928cf2f0042c606f3dcb21bd8a272573f462a215cd65285d2d6b407f31e9bd67\",\"dweb:/ipfs/QmWGxjckno6sfjHPX5naPnsfsyisgy4PJDf46eLw9umfpx\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x4d9a2b261b56a1e4a37bb038151dec98b952fed16de2bdfdda27e38e2b12b530\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f724110f7aeb6151af800ab8c12e6060b29bda9e013f0ccb331eb754d6a7cbf0\",\"dweb:/ipfs/QmUcjzCZpxtUPdEThtAzE1f9LvuJiUGZxTdH9N6bHrb5Cf\"]},\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC721/ERC721.sol\":{\"keccak256\":\"0x39ed367e54765186281efcfe83e47cf0ad62cc879f10e191360712507125f29a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2c5ae6d85bd48cca8d6d2fcec8c63efd86f56f8a5832577a47e403ce0e65cb09\",\"dweb:/ipfs/QmUtcS8AbRSWhuc61puYet58os8FvSqm329ChoW8wwZXZk\"]},\"@openzeppelin/contracts/token/ERC721/IERC721.sol\":{\"keccak256\":\"0x5dc63d1c6a12fe1b17793e1745877b2fcbe1964c3edfd0a482fac21ca8f18261\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6b7f97c5960a50fd1822cb298551ffc908e37b7893a68d6d08bce18a11cb0f11\",\"dweb:/ipfs/QmQQvxBytoY1eBt3pRQDmvH2hZ2yjhs12YqVfzGm7KSURq\"]},\"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\":{\"keccak256\":\"0xb5afb8e8eebc4d1c6404df2f5e1e6d2c3d24fd01e5dfc855314951ecfaae462d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://78586466c424f076c6a2a551d848cfbe3f7c49e723830807598484a1047b3b34\",\"dweb:/ipfs/Qmb717ovcFxm7qgNKEShiV6M9SPR3v1qnNpAGH84D6w29p\"]},\"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol\":{\"keccak256\":\"0x37d1aaaa5a2908a09e9dcf56a26ddf762ecf295afb5964695937344fc6802ce1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ed0bfc1b92153c5000e50f4021367b931bbe96372ac6facec3c4961b72053d02\",\"dweb:/ipfs/Qmbwp8VDerjS5SV1quwHH1oMXxPQ93fzfLVqJ2RCqbowGE\"]},\"@openzeppelin/contracts/token/ERC721/utils/ERC721Utils.sol\":{\"keccak256\":\"0xddab643169f47a2c5291afafcbfdca045d9e6835553307d090bc048b6dabd0ac\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d0ffbacfee42977167b3c75bd4787f8b72a7ab1176abd544f3dff662c6528e24\",\"dweb:/ipfs/QmUprM1cWCyaQ3LDjHA2DhwiPs3wekQ6MWXHFZdMMxpcyX\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]},\"contracts/CyberValley.sol\":{\"keccak256\":\"0x082ddc5586096913eb8aec7c10056b3af2a76940ccc5235657631c14a2f553e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e7863b9d49b42e006b04f605299ab19272309b7ca6406790e58f2bf1f493411e\",\"dweb:/ipfs/QmV2HaC7z1xqn7Z1YGVgySfSBFEVReS3GmhfrRqTcbDakA\"]},\"contracts/CyberValleyEventTicket.sol\":{\"keccak256\":\"0x42913f9cbe93c58dfc5200dccd3ab8e7188c1428c50eee131e8787b922a27d7b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://30d9e581c9a668cd225271143aacd6d3436f38e1a2711f837e1b6f9000c171d7\",\"dweb:/ipfs/QmTUBU71HmELuDQ9n9HFcMjoKbz5ADAYo9AW1joBr7QTvu\"]}},\"version\":1}"}},"contracts/DateOverlapChecker.sol":{"DateOverlapChecker":{"abi":[{"inputs":[{"internalType":"uint256","name":"_initialOffest","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BUCKET_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECONDS_IN_DAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608034604d57601f61010b38819003918201601f19168301916001600160401b03831184841017605257808492602094604052833981010312604d575160005560405160a290816100698239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080806040526004361015601257600080fd5b60003560e01c90816312c5502714605357506361a52a3614603257600080fd5b34604e576000366003190112604e576020604051620151808152f35b600080fd5b34604e576000366003190112604e578061010060209252f3fea26469706673582212209a655c20c217a0d3d3dce27e631d61c662b2d0292f89eaa5f82582ee006fa8e964736f6c634300081c0033","opcodes":"PUSH1 0x80 CALLVALUE PUSH1 0x4D JUMPI PUSH1 0x1F PUSH2 0x10B CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH1 0x52 JUMPI DUP1 DUP5 SWAP3 PUSH1 0x20 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH1 0x4D JUMPI MLOAD PUSH1 0x0 SSTORE PUSH1 0x40 MLOAD PUSH1 0xA2 SWAP1 DUP2 PUSH2 0x69 DUP3 CODECOPY RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x12C55027 EQ PUSH1 0x53 JUMPI POP PUSH4 0x61A52A36 EQ PUSH1 0x32 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x4E JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x4E JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0x15180 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x4E JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x4E JUMPI DUP1 PUSH2 0x100 PUSH1 0x20 SWAP3 MSTORE RETURN INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP11 PUSH6 0x5C20C217A0D3 0xD3 0xDC 0xE2 PUSH31 0x631D61C662B2D0292F89EAA5F82582EE006FA8E964736F6C634300081C0033 ","sourceMap":"112:5660:32:-:0;;;;;;;;;;;;;-1:-1:-1;;112:5660:32;;;;-1:-1:-1;;;;;112:5660:32;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;112:5660:32;;;;;;;;;;;-1:-1:-1;112:5660:32;;;;;;-1:-1:-1;112:5660:32;;;;;-1:-1:-1;112:5660:32"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"6080806040526004361015601257600080fd5b60003560e01c90816312c5502714605357506361a52a3614603257600080fd5b34604e576000366003190112604e576020604051620151808152f35b600080fd5b34604e576000366003190112604e578061010060209252f3fea26469706673582212209a655c20c217a0d3d3dce27e631d61c662b2d0292f89eaa5f82582ee006fa8e964736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH1 0x12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x12C55027 EQ PUSH1 0x53 JUMPI POP PUSH4 0x61A52A36 EQ PUSH1 0x32 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x4E JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x4E JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH3 0x15180 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH1 0x4E JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH1 0x4E JUMPI DUP1 PUSH2 0x100 PUSH1 0x20 SWAP3 MSTORE RETURN INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP11 PUSH6 0x5C20C217A0D3 0xD3 0xDC 0xE2 PUSH31 0x631D61C662B2D0292F89EAA5F82582EE006FA8E964736F6C634300081C0033 ","sourceMap":"112:5660:32:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;112:5660:32;;;;;;;261:5;112:5660;;;;;;;;;;;;;-1:-1:-1;;112:5660:32;;;;;310:3;112:5660;;;"},"methodIdentifiers":{"BUCKET_SIZE()":"12c55027","SECONDS_IN_DAY()":"61a52a36"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_initialOffest\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BUCKET_SIZE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SECONDS_IN_DAY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/DateOverlapChecker.sol\":\"DateOverlapChecker\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"contracts/DateOverlapChecker.sol\":{\"keccak256\":\"0xfcf0e7bda0bfcbbdc50b0169a6b9a24b9837fbed7158ede9e3e2de5b23f9efbf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e9ca7aa46c703b40ab5c4e33f08e8c471948d6170cfc171ee4dba6783d3c6cd8\",\"dweb:/ipfs/QmcerdpyBC1dgBbxs9UNhAU2Lpggg3Fqhw1rqCcQt8StQr\"]}},\"version\":1}"}},"contracts/DynamicRevenueSplitter.sol":{"DynamicRevenueSplitter":{"abi":[{"inputs":[{"internalType":"address","name":"_usdt","type":"address"},{"internalType":"address","name":"_cyberiaDAO","type":"address"},{"internalType":"address","name":"_cvePtPma","type":"address"},{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"}],"name":"EventProfileNotSet","type":"error"},{"inputs":[],"name":"InvalidProfileShares","type":"error"},{"inputs":[{"internalType":"uint256","name":"profileId","type":"uint256"}],"name":"ProfileInactive","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"UsdtTransferFailed","type":"error"},{"inputs":[],"name":"UsdtTransferFromFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"profileId","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address[]","name":"recipients","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"name":"DistributionProfileCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"profileId","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"recipients","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"name":"DistributionProfileUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"eventId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"profileId","type":"uint256"}],"name":"EventProfileSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"profileId","type":"uint256"}],"name":"ProfileDeactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"bps","type":"uint256"}],"name":"ProfileManagerGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"profileId","type":"uint256"},{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"ProfileOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"eventId","type":"uint256"}],"name":"RevenueDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BASIS_POINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CVE_PT_PMA_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CYBERIA_DAO_SHARE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PROFILE_MANAGER_BPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROFILE_MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"name":"createDistributionProfile","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cvePtPma","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cyberiaDAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"profileId","type":"uint256"}],"name":"deactivateProfile","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"eventId","type":"uint256"}],"name":"distributeRevenue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eventManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"eventProfiles","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"grantProfileManager","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"profileId","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"isProfileOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerProfiles","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"profileManagerBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_eventManager","type":"address"}],"name":"setEventManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint256","name":"profileId","type":"uint256"}],"name":"setEventProfile","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"}],"name":"transferAllProfiles","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"profileId","type":"uint256"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferProfileOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"profileId","type":"uint256"},{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"name":"updateDistributionProfile","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"abi_decode_address_fromMemory":{"entryPoint":597,"id":null,"parameterSlots":1,"returnSlots":1},"fun_grantRole":{"entryPoint":617,"id":256,"parameterSlots":1,"returnSlots":1},"fun_grantRole_1424":{"entryPoint":741,"id":256,"parameterSlots":1,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"60e03461023a57601f6124b138819003918201601f19168301916001600160401b0383118484101761023f5780849260809460405283398101031261023a5761004781610255565b61005360208301610255565b9161006c606061006560408401610255565b9201610255565b600180556001600160a01b039092169283156101f5576001600160a01b038116156101a6576001600160a01b03821615610157576001600160a01b03831615610112576100cb9360c05260805260a0526100c581610269565b506102e5565b506040516120d3908161037e82396080518181816103840152610f46015260a05181818161033f0152610f16015260c051818181610d760152818161114601526120140152f35b60405162461bcd60e51b815260206004820152601c60248201527f41646d696e20616464726573732063616e6e6f74206265207a65726f000000006044820152606490fd5b60405162461bcd60e51b815260206004820152602160248201527f43564520505420504d4120616464726573732063616e6e6f74206265207a65726044820152606f60f81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602160248201527f4379626572696144414f20616464726573732063616e6e6f74206265207a65726044820152606f60f81b6064820152608490fd5b60405162461bcd60e51b815260206004820152601b60248201527f5553445420616464726573732063616e6e6f74206265207a65726f00000000006044820152606490fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b038216820361023a57565b6001600160a01b0381166000908152600080516020612491833981519152602052604090205460ff166102df576001600160a01b0316600081815260008051602061249183398151915260205260408120805460ff191660011790553391906000805160206124518339815191528180a4600190565b50600090565b6001600160a01b0381166000908152600080516020612471833981519152602052604090205460ff166102df576001600160a01b0316600081815260008051602061247183398151915260205260408120805460ff191660011790553391907fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775906000805160206124518339815191529080a460019056fe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a71461149b57508063037b5cc81461147e578063091cfe701461144357806319cd00c8146113355780631f1422e61461125c578063248a9ca3146112275780632b726b6a146111b55780632f2ff15d146111755780632f48ab7d1461113057806332e4342b146110d757806336568abe146110915780634041c0e61461107457806347c13c921461103a5780634ae699ef14610ce1578063593f8c2514610ba0578063596fd76e14610b025780636c13a8e014610ad657806375b238fc14610a9b5780638fd611be14610a725780639137c48a1461088d57806391d14854146108405780639a8865341461063d578063a217fddf14610621578063a4c5a4ef146103b3578063a582ddf41461036e578063b9bd277714610329578063cb3044f5146101ef578063d547741f146101a8578063e1f1c4a71461018b5763e268caf71461016957600080fd5b346101865760003660031901126101865760206040516103e88152f35b600080fd5b346101865760003660031901126101865760206040516127108152f35b34610186576040366003190112610186576101ed6004356101c7611535565b906101e86101e382600052600060205260016040600020015490565b6117a7565b611f5e565b005b34610186576020366003190112610186576004358015158061031d575b610215906115e7565b6000198101908082116103075761022b8261162c565b50600101543360109190911c6001600160a01b03161480156102e1575b1561028e57600161025a60009361162c565b5001805460ff60b01b191690557ffaccdb7b397916a1b9bb4922bfad1945779c79029c5605adbc7becae0d50689e8280a280f35b60405162461bcd60e51b815260206004820152602560248201527f43616c6c6572206d7573742062652070726f66696c65206f776e6572206f722060448201526430b236b4b760d91b6064820152608490fd5b5033600090815260008051602061207e833981519152602052604090205460ff16610248565b634e487b7160e01b600052601160045260246000fd5b5060025481111561020c565b34610186576000366003190112610186576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610186576000366003190112610186576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610186576040366003190112610186576004356103cf611535565b906103d8611747565b80151580610615575b6103ea906115e7565b6001600160a01b0382169182156105d15760001982018281116103075761041260019161162c565b50019160018060a01b03835460101c169184831461058c5782600052600460205260406000209060005b82548082101561055b57846104518386611561565b90549060031b1c14610466575060010161043c565b906000969293949596198201918211610307576104976104896104b09387611561565b90549060031b1c9186611561565b90919082549060031b91821b91600019901b1916179055565b8254928315610545576105079360001901906104cc8282611561565b815460001960039290921b9190911b1916905555805462010000600160b01b03191660109290921b62010000600160b01b0316919091179055565b82600052600460205261051e816040600020611715565b7fa70f7022c816d870dd4c811c125a773779a4c56ffc8e0d26a85d0ebb967b70d4600080a4005b634e487b7160e01b600052603160045260246000fd5b50509050610507919293805462010000600160b01b03191660109290921b62010000600160b01b0316919091179055565b60405162461bcd60e51b815260206004820152601b60248201527f4e6577206f776e6572206d75737420626520646966666572656e7400000000006044820152606490fd5b606460405162461bcd60e51b815260206004820152602060248201527f4e6577206f776e65722063616e6e6f74206265207a65726f20616464726573736044820152fd5b506002548111156103e1565b3461018657600036600319011261018657602060405160008152f35b346101865760403660031901126101865760043567ffffffffffffffff81116101865761066e903690600401611504565b60243567ffffffffffffffff81116101865761068e903690600401611504565b33600090815260008051602061207e833981519152602052604090205490929060ff168015610808575b156107a7576106c79333611832565b60025491600183019182841161030757600160401b841015610791577f9210378304358fc43d124800f81757c26a038d252a1909776d22df7df84f39ca6107866107788361075d87958761072b60209b896002556107248161162c565b505061162c565b50600181018054600160b01b62010000600160b81b031990911662010000600160b01b033360101b1617179055611c59565b3360005260048852610773856040600020611715565b611d9b565b60405191829133968361164b565b0390a3604051908152f35b634e487b7160e01b600052604160045260246000fd5b60405162461bcd60e51b815260206004820152603360248201527f43616c6c6572206d75737420686176652041444d494e5f524f4c45206f722050604482015272524f46494c455f4d414e414745525f524f4c4560681b6064820152608490fd5b503360009081527f52441000ea607f15e01522a9f503122a4a6a8b9b8a36f7a3dc7cebebaddd0099602052604090205460ff166106b8565b3461018657604036600319011261018657610859611535565b600435600052600060205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b34610186576040366003190112610186576108a661154b565b6108ae611535565b906108b7611747565b6001600160a01b03168015610a2d576001600160a01b0382169182156109e8578282146109a357600082815260046020526040808220948252812093905b8154811015610965576109088183611561565b90549060031b1c90600019820182811161030757600192610959868561093061095f9561162c565b5001805462010000600160b01b03191660109290921b62010000600160b01b0316919091179055565b87611715565b016108f5565b8360005260046020526040600020805490600081558161098157005b6000526020600020908101905b81811061099757005b6000815560010161098e565b60405162461bcd60e51b815260206004820152601d60248201527f46726f6d20616e6420746f206d75737420626520646966666572656e740000006044820152606490fd5b60405162461bcd60e51b815260206004820152601960248201527f546f20616464726573732063616e6e6f74206265207a65726f000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601b60248201527f46726f6d20616464726573732063616e6e6f74206265207a65726f00000000006044820152606490fd5b34610186576000366003190112610186576006546040516001600160a01b039091168152602090f35b346101865760003660031901126101865760206040517fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152f35b346101865760203660031901126101865760043560005260036020526020604060002054604051908152f35b3461018657602036600319011261018657610b1b61154b565b610b23611747565b6001600160a01b03168015610b4f576bffffffffffffffffffffffff60a01b6006541617600655600080f35b60405162461bcd60e51b815260206004820152602360248201527f4576656e744d616e616765722063616e6e6f74206265207a65726f206164647260448201526265737360e81b6064820152608490fd5b3461018657604036600319011261018657610bb961154b565b33600090815260008051602061207e83398151915260205260409020546024359060ff168015610ccd575b610bed9061158f565b6001600160a01b038216918215610c88576121348211610c4d577f52d237aaba02c36fcf683a7f440090599be7a26b45e20bcadf87a892f935c70b91610c34602092611dff565b50836000526005825280604060002055604051908152a2005b60405162461bcd60e51b81526020600482015260136024820152720427073206d757374206265203c3d203835303606c1b6044820152606490fd5b60405162461bcd60e51b815260206004820152601e60248201527f4163636f756e742063616e6e6f74206265207a65726f206164647265737300006044820152606490fd5b506006546001600160a01b03163314610be4565b3461018657610cef366114ee565b906002600154146110295760026001558015610fe5578160005260036020526040600020548015610fd0576002548111610fd057600019810181811161030757610d389061162c565b50600181019160ff835460b01c1615610fbc57506040516323b872dd60e01b81523360048201523060248201526044810184905260208160648160007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af1908115610fb057600091610f81575b5015610f70576103e883028381046103e8036103075761271090046101f484028481046101f4036103075761271090049080610f40575b5080610f10575b508054918215610eff575461ffff168015610eff57610e126127109185949394611702565b049160001982018281119160009190825b858110610e6b57887ff2838e4b541f90d41a1076a560d75e948f7d1008e72118a655568626a30b451f60208a836000526003825260006040812055604051908152a260018055005b846000610e788385611561565b5091610eeb5750818403610ecf5784880388811161030757905b81610ea2575b5050600101610e23565b549194600192610ec7929190610ec29083906001600160a01b0316611fe0565b61173a565b93908a610e98565b612710610ee461ffff835460a01c168b611702565b0490610e92565b634e487b7160e01b81526011600452602490fd5b63652546bf60e11b60005260046000fd5b610f3a907f0000000000000000000000000000000000000000000000000000000000000000611fe0565b84610ded565b610f6a907f0000000000000000000000000000000000000000000000000000000000000000611fe0565b85610de6565b63be053c3f60e01b60005260046000fd5b610fa3915060203d602011610fa9575b610f9b81836116c8565b8101906116ea565b85610daf565b503d610f91565b6040513d6000823e3d90fd5b6350dfe91360e01b60005260045260246000fd5b82633017121f60e21b60005260045260246000fd5b606460405162461bcd60e51b815260206004820152602060248201527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f6044820152fd5b633ee5aeb560e01b60005260046000fd5b34610186576020366003190112610186576001600160a01b0361105b61154b565b1660005260056020526020604060002054604051908152f35b346101865760003660031901126101865760206040516101f48152f35b34610186576040366003190112610186576110aa611535565b336001600160a01b038216036110c6576101ed90600435611f5e565b63334bd91960e11b60005260046000fd5b34610186576040366003190112610186576110f061154b565b6001600160a01b03166000908152600460205260409020805460243591908210156101865760209161112191611561565b90549060031b1c604051908152f35b34610186576000366003190112610186576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610186576040366003190112610186576101ed600435611194611535565b906111b06101e382600052600060205260016040600020015490565b611ed3565b34610186576040366003190112610186576004356111d1611535565b8115158061121b575b6111e3906115e7565b6000198201918211610307576111fa60209261162c565b50600101546040516001600160a01b0392831660109290921c909216148152f35b506002548211156111da565b34610186576020366003190112610186576020611254600435600052600060205260016040600020015490565b604051908152f35b346101865760603660031901126101865760043560243567ffffffffffffffff811161018657611290903690600401611504565b9060443567ffffffffffffffff8111610186576112b1903690600401611504565b926112ba611747565b6000198501858111610307577fab5abb0aa764a40c901db1a9f840648e913aec7b7aa65483bb7ed5fa2d6209ad9461132093610773936112fc6113169461162c565b50600181015490979060101c6001600160a01b0316611832565b8181939295611c59565b906113306040519283928361164b565b0390a2005b3461018657611343366114ee565b33600090815260008051602061207e833981519152602052604090205460ff16801561142f575b6113739061158f565b80151580611423575b611385906115e7565b600019810181811161030757600161139e60ff9261162c565b50015460b01c16156113e65760207ff133b9440dc29ce1e3c772f23b9b8b2ba56ba25688e9e4c084ca0c06834e3f1091836000526003825280604060002055604051908152a2005b60405162461bcd60e51b815260206004820152601560248201527450726f66696c65206973206e6f742061637469766560581b6044820152606490fd5b5060025481111561137c565b506006546001600160a01b0316331461136a565b346101865760003660031901126101865760206040517fec29272e56a632e32eed7fd658a3260be47421ce3959838625209b981a7155308152f35b346101865760003660031901126101865760206040516121348152f35b34610186576020366003190112610186576004359063ffffffff60e01b821680920361018657602091637965db0b60e01b81149081156114dd575b5015158152f35b6301ffc9a760e01b149050836114d6565b6040906003190112610186576004359060243590565b9181601f840112156101865782359167ffffffffffffffff8311610186576020808501948460051b01011161018657565b602435906001600160a01b038216820361018657565b600435906001600160a01b038216820361018657565b80548210156115795760005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b1561159657565b60405162461bcd60e51b8152602060048201526024808201527f43616c6c6572206d7573742062652061646d696e206f72204576656e744d616e60448201526330b3b2b960e11b6064820152608490fd5b156115ee57565b60405162461bcd60e51b8152602060048201526016602482015275141c9bd99a5b1948191bd95cc81b9bdd08195e1a5cdd60521b6044820152606490fd5b60025481101561157957600260005260206000209060011b0190600090565b6040810160408252825180915260206060830193019060005b8181106116a95750505060208183039101526020808351928381520192019060005b8181106116935750505090565b8251845260209384019390920191600101611686565b82516001600160a01b0316855260209485019490920191600101611664565b90601f8019910116810190811067ffffffffffffffff82111761079157604052565b90816020910312610186575180151581036101865790565b8181029291811591840414171561030757565b90815491600160401b831015610791578261049791600161173895018155611561565b565b9190820180921161030757565b33600090815260008051602061207e833981519152602052604090205460ff161561176e57565b63e2517d3f60e01b600052336004527fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177560245260446000fd5b60008181526020818152604080832033845290915290205460ff16156117ca5750565b63e2517d3f60e01b6000523360045260245260446000fd5b67ffffffffffffffff81116107915760051b60200190565b91908110156115795760051b0190565b356001600160a01b03811681036101865790565b80518210156115795760209160051b010190565b949293909194818603611c1b5760018060a01b031690816000526005602052604060002054908161271003966127108811610307576103e719880197808911610307576105db190197881161030757821580159560009591611c135760ff60015b169961189f8b8561173a565b15611bd9576118b28b859b93969b61173a565b916118bc836117e2565b926118ca60405194856116c8565b8084526118d9601f19916117e2565b013660208501376118eb839c8c61173a565b956118f5876117e2565b9661190360405198896116c8565b808852611912601f19916117e2565b01366020890137869b89925b8184106119b8575050505086036119745761213496611944575b505050505003610eff57565b91611964916119588261196a98969561181e565b5261ffff85169261181e565b5261173a565b3880808080611938565b606460405162461bcd60e51b815260206004820152602060248201527f536861726573206d7573742073756d20746f2072656d61696e696e67206270736044820152fd5b9299919290916001600160a01b036119d96119d48d8b886117fa565b61180a565b1615611b9b57866001600160a01b036119f66119d48e8c896117fa565b1614611b395760018b01808c11610307575b888110611ac05750611a1e6119d48c8a876117fa565b611a288c8861181e565b6001600160a01b039091169052612710611a438c85856117fa565b3511611a8757611a7d6001918c611a6a61ffff611a618389896117fa565b3516918d61181e565b52611a768d86866117fa565b359061173a565b9a0192919061191e565b60405162461bcd60e51b8152602060048201526011602482015270536861726520657863656564732062707360781b6044820152606490fd5b611ace6119d48d8b886117fa565b6001600160a01b03611ae46119d4848d8a6117fa565b6001600160a01b03909216911614611afe57600101611a08565b60405162461bcd60e51b8152602060048201526013602482015272111d5c1b1a58d85d19481c9958da5c1a595b9d606a1b6044820152606490fd5b60405162461bcd60e51b815260206004820152603460248201527f50726f66696c65206f776e6572206973206164646564206175746f6d6174696360448201527330b6363c903a37903234b9ba3934b13aba34b7b760611b6064820152608490fd5b60405162461bcd60e51b815260206004820152601660248201527516995c9bc81859191c995cdcc81c9958da5c1a595b9d60521b6044820152606490fd5b60405162461bcd60e51b815260206004820152601260248201527122b6b83a3c903234b9ba3934b13aba34b7b760711b6044820152606490fd5b60ff86611893565b60405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606490fd5b92919083546000855580611d74575b50600090815b8151831015611d50576001600160a01b03611c89848461181e565b511661ffff611c98858761181e565b511691604051916040830183811067ffffffffffffffff821117610791576040528252602082019283528754600160401b81101561079157806001611ce092018a5589611561565b611d3a579151825493516001600160b01b03199094166001600160a01b03919091161760a09390931b61ffff60a01b16929092179055600190611d329061ffff611d2a868861181e565b51169061173a565b920191611c6e565b634e487b7160e01b600052600060045260246000fd5b9394925050506121348203610eff57600161ffff9101911661ffff19825416179055565b846000526020600020908101905b818110611d8f5750611c68565b60008155600101611d82565b908151611da7816117e2565b90611db560405192836116c8565b808252611dc4601f19916117e2565b0136602083013760005b8351811015611dfa578061ffff611de76001938761181e565b5116611df3828561181e565b5201611dce565b509150565b6001600160a01b03811660009081527f52441000ea607f15e01522a9f503122a4a6a8b9b8a36f7a3dc7cebebaddd0099602052604090205460ff16611ecd576001600160a01b031660008181527f52441000ea607f15e01522a9f503122a4a6a8b9b8a36f7a3dc7cebebaddd009960205260408120805460ff191660011790553391907fec29272e56a632e32eed7fd658a3260be47421ce3959838625209b981a715530907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50600090565b6000818152602081815260408083206001600160a01b038616845290915290205460ff16611f57576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5050600090565b6000818152602081815260408083206001600160a01b038616845290915290205460ff1615611f57576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b60405163a9059cbb60e01b81526001600160a01b0391821660048201526024810192909252602090829060449082906000907f0000000000000000000000000000000000000000000000000000000000000000165af1908115610fb05760009161205e575b501561204d57565b630a4fcfe560e11b60005260046000fd5b612077915060203d602011610fa957610f9b81836116c8565b3861204556fe7d7ffb7a348e1c6a02869081a26547b49160dd3df72d1d75a570eb9b698292eca26469706673582212201e13e5f66d6003fce697455eb8d1203c6d83c073c43313aeb704fccf7cc7f12564736f6c634300081c00332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d7d7ffb7a348e1c6a02869081a26547b49160dd3df72d1d75a570eb9b698292ecad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5","opcodes":"PUSH1 0xE0 CALLVALUE PUSH2 0x23A JUMPI PUSH1 0x1F PUSH2 0x24B1 CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH2 0x23F JUMPI DUP1 DUP5 SWAP3 PUSH1 0x80 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH2 0x23A JUMPI PUSH2 0x47 DUP2 PUSH2 0x255 JUMP JUMPDEST PUSH2 0x53 PUSH1 0x20 DUP4 ADD PUSH2 0x255 JUMP JUMPDEST SWAP2 PUSH2 0x6C PUSH1 0x60 PUSH2 0x65 PUSH1 0x40 DUP5 ADD PUSH2 0x255 JUMP JUMPDEST SWAP3 ADD PUSH2 0x255 JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP3 DUP4 ISZERO PUSH2 0x1F5 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0x1A6 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO PUSH2 0x157 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND ISZERO PUSH2 0x112 JUMPI PUSH2 0xCB SWAP4 PUSH1 0xC0 MSTORE PUSH1 0x80 MSTORE PUSH1 0xA0 MSTORE PUSH2 0xC5 DUP2 PUSH2 0x269 JUMP JUMPDEST POP PUSH2 0x2E5 JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0x20D3 SWAP1 DUP2 PUSH2 0x37E DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 DUP2 DUP2 PUSH2 0x384 ADD MSTORE PUSH2 0xF46 ADD MSTORE PUSH1 0xA0 MLOAD DUP2 DUP2 DUP2 PUSH2 0x33F ADD MSTORE PUSH2 0xF16 ADD MSTORE PUSH1 0xC0 MLOAD DUP2 DUP2 DUP2 PUSH2 0xD76 ADD MSTORE DUP2 DUP2 PUSH2 0x1146 ADD MSTORE PUSH2 0x2014 ADD MSTORE RETURN JUMPDEST 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 0x41646D696E20616464726573732063616E6E6F74206265207A65726F00000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST 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 0x43564520505420504D4120616464726573732063616E6E6F74206265207A6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x6F PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST 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 0x4379626572696144414F20616464726573732063616E6E6F74206265207A6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x6F PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5553445420616464726573732063616E6E6F74206265207A65726F0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x23A JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2491 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x2DF JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2491 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2451 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2471 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x2DF JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2471 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x2451 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x1FFC9A7 EQ PUSH2 0x149B JUMPI POP DUP1 PUSH4 0x37B5CC8 EQ PUSH2 0x147E JUMPI DUP1 PUSH4 0x91CFE70 EQ PUSH2 0x1443 JUMPI DUP1 PUSH4 0x19CD00C8 EQ PUSH2 0x1335 JUMPI DUP1 PUSH4 0x1F1422E6 EQ PUSH2 0x125C JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1227 JUMPI DUP1 PUSH4 0x2B726B6A EQ PUSH2 0x11B5 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1175 JUMPI DUP1 PUSH4 0x2F48AB7D EQ PUSH2 0x1130 JUMPI DUP1 PUSH4 0x32E4342B EQ PUSH2 0x10D7 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x1091 JUMPI DUP1 PUSH4 0x4041C0E6 EQ PUSH2 0x1074 JUMPI DUP1 PUSH4 0x47C13C92 EQ PUSH2 0x103A JUMPI DUP1 PUSH4 0x4AE699EF EQ PUSH2 0xCE1 JUMPI DUP1 PUSH4 0x593F8C25 EQ PUSH2 0xBA0 JUMPI DUP1 PUSH4 0x596FD76E EQ PUSH2 0xB02 JUMPI DUP1 PUSH4 0x6C13A8E0 EQ PUSH2 0xAD6 JUMPI DUP1 PUSH4 0x75B238FC EQ PUSH2 0xA9B JUMPI DUP1 PUSH4 0x8FD611BE EQ PUSH2 0xA72 JUMPI DUP1 PUSH4 0x9137C48A EQ PUSH2 0x88D JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x840 JUMPI DUP1 PUSH4 0x9A886534 EQ PUSH2 0x63D JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x621 JUMPI DUP1 PUSH4 0xA4C5A4EF EQ PUSH2 0x3B3 JUMPI DUP1 PUSH4 0xA582DDF4 EQ PUSH2 0x36E JUMPI DUP1 PUSH4 0xB9BD2777 EQ PUSH2 0x329 JUMPI DUP1 PUSH4 0xCB3044F5 EQ PUSH2 0x1EF JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x1A8 JUMPI DUP1 PUSH4 0xE1F1C4A7 EQ PUSH2 0x18B JUMPI PUSH4 0xE268CAF7 EQ PUSH2 0x169 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x3E8 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x2710 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x1ED PUSH1 0x4 CALLDATALOAD PUSH2 0x1C7 PUSH2 0x1535 JUMP JUMPDEST SWAP1 PUSH2 0x1E8 PUSH2 0x1E3 DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x17A7 JUMP JUMPDEST PUSH2 0x1F5E JUMP JUMPDEST STOP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD DUP1 ISZERO ISZERO DUP1 PUSH2 0x31D JUMPI JUMPDEST PUSH2 0x215 SWAP1 PUSH2 0x15E7 JUMP JUMPDEST PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP1 DUP3 GT PUSH2 0x307 JUMPI PUSH2 0x22B DUP3 PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 ADD SLOAD CALLER PUSH1 0x10 SWAP2 SWAP1 SWAP2 SHR PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 ISZERO PUSH2 0x2E1 JUMPI JUMPDEST ISZERO PUSH2 0x28E JUMPI PUSH1 0x1 PUSH2 0x25A PUSH1 0x0 SWAP4 PUSH2 0x162C JUMP JUMPDEST POP ADD DUP1 SLOAD PUSH1 0xFF PUSH1 0xB0 SHL NOT AND SWAP1 SSTORE PUSH32 0xFACCDB7B397916A1B9BB4922BFAD1945779C79029C5605ADBC7BECAE0D50689E DUP3 DUP1 LOG2 DUP1 RETURN JUMPDEST 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 0x43616C6C6572206D7573742062652070726F66696C65206F776E6572206F7220 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x30B236B4B7 PUSH1 0xD9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x248 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x2 SLOAD DUP2 GT ISZERO PUSH2 0x20C JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x3CF PUSH2 0x1535 JUMP JUMPDEST SWAP1 PUSH2 0x3D8 PUSH2 0x1747 JUMP JUMPDEST DUP1 ISZERO ISZERO DUP1 PUSH2 0x615 JUMPI JUMPDEST PUSH2 0x3EA SWAP1 PUSH2 0x15E7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 DUP3 ISZERO PUSH2 0x5D1 JUMPI PUSH1 0x0 NOT DUP3 ADD DUP3 DUP2 GT PUSH2 0x307 JUMPI PUSH2 0x412 PUSH1 0x1 SWAP2 PUSH2 0x162C JUMP JUMPDEST POP ADD SWAP2 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP4 SLOAD PUSH1 0x10 SHR AND SWAP2 DUP5 DUP4 EQ PUSH2 0x58C JUMPI DUP3 PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 JUMPDEST DUP3 SLOAD DUP1 DUP3 LT ISZERO PUSH2 0x55B JUMPI DUP5 PUSH2 0x451 DUP4 DUP7 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR EQ PUSH2 0x466 JUMPI POP PUSH1 0x1 ADD PUSH2 0x43C JUMP JUMPDEST SWAP1 PUSH1 0x0 SWAP7 SWAP3 SWAP4 SWAP5 SWAP6 SWAP7 NOT DUP3 ADD SWAP2 DUP3 GT PUSH2 0x307 JUMPI PUSH2 0x497 PUSH2 0x489 PUSH2 0x4B0 SWAP4 DUP8 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR SWAP2 DUP7 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 DUP3 SLOAD SWAP1 PUSH1 0x3 SHL SWAP2 DUP3 SHL SWAP2 PUSH1 0x0 NOT SWAP1 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST DUP3 SLOAD SWAP3 DUP4 ISZERO PUSH2 0x545 JUMPI PUSH2 0x507 SWAP4 PUSH1 0x0 NOT ADD SWAP1 PUSH2 0x4CC DUP3 DUP3 PUSH2 0x1561 JUMP JUMPDEST DUP2 SLOAD PUSH1 0x0 NOT PUSH1 0x3 SWAP3 SWAP1 SWAP3 SHL SWAP2 SWAP1 SWAP2 SHL NOT AND SWAP1 SSTORE SSTORE DUP1 SLOAD PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND PUSH1 0x10 SWAP3 SWAP1 SWAP3 SHL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST DUP3 PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH2 0x51E DUP2 PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH2 0x1715 JUMP JUMPDEST PUSH32 0xA70F7022C816D870DD4C811C125A773779A4C56FFC8E0D26A85D0EBB967B70D4 PUSH1 0x0 DUP1 LOG4 STOP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP POP SWAP1 POP PUSH2 0x507 SWAP2 SWAP3 SWAP4 DUP1 SLOAD PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND PUSH1 0x10 SWAP3 SWAP1 SWAP3 SHL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6577206F776E6572206D75737420626520646966666572656E740000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6577206F776E65722063616E6E6F74206265207A65726F2061646472657373 PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST POP PUSH1 0x2 SLOAD DUP2 GT ISZERO PUSH2 0x3E1 JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x186 JUMPI PUSH2 0x66E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x1504 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x186 JUMPI PUSH2 0x68E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x1504 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 SWAP3 SWAP1 PUSH1 0xFF AND DUP1 ISZERO PUSH2 0x808 JUMPI JUMPDEST ISZERO PUSH2 0x7A7 JUMPI PUSH2 0x6C7 SWAP4 CALLER PUSH2 0x1832 JUMP JUMPDEST PUSH1 0x2 SLOAD SWAP2 PUSH1 0x1 DUP4 ADD SWAP2 DUP3 DUP5 GT PUSH2 0x307 JUMPI PUSH1 0x1 PUSH1 0x40 SHL DUP5 LT ISZERO PUSH2 0x791 JUMPI PUSH32 0x9210378304358FC43D124800F81757C26A038D252A1909776D22DF7DF84F39CA PUSH2 0x786 PUSH2 0x778 DUP4 PUSH2 0x75D DUP8 SWAP6 DUP8 PUSH2 0x72B PUSH1 0x20 SWAP12 DUP10 PUSH1 0x2 SSTORE PUSH2 0x724 DUP2 PUSH2 0x162C JUMP JUMPDEST POP POP PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0xB0 SHL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB8 SHL SUB NOT SWAP1 SWAP2 AND PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB CALLER PUSH1 0x10 SHL AND OR OR SWAP1 SSTORE PUSH2 0x1C59 JUMP JUMPDEST CALLER PUSH1 0x0 MSTORE PUSH1 0x4 DUP9 MSTORE PUSH2 0x773 DUP6 PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH2 0x1715 JUMP JUMPDEST PUSH2 0x1D9B JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 CALLER SWAP7 DUP4 PUSH2 0x164B JUMP JUMPDEST SUB SWAP1 LOG3 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43616C6C6572206D75737420686176652041444D494E5F524F4C45206F722050 PUSH1 0x44 DUP3 ADD MSTORE PUSH19 0x524F46494C455F4D414E414745525F524F4C45 PUSH1 0x68 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x52441000EA607F15E01522A9F503122A4A6A8B9B8A36F7A3DC7CEBEBADDD0099 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x6B8 JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x859 PUSH2 0x1535 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x8A6 PUSH2 0x154B JUMP JUMPDEST PUSH2 0x8AE PUSH2 0x1535 JUMP JUMPDEST SWAP1 PUSH2 0x8B7 PUSH2 0x1747 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0xA2D JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 DUP3 ISZERO PUSH2 0x9E8 JUMPI DUP3 DUP3 EQ PUSH2 0x9A3 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP5 DUP3 MSTORE DUP2 KECCAK256 SWAP4 SWAP1 JUMPDEST DUP2 SLOAD DUP2 LT ISZERO PUSH2 0x965 JUMPI PUSH2 0x908 DUP2 DUP4 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR SWAP1 PUSH1 0x0 NOT DUP3 ADD DUP3 DUP2 GT PUSH2 0x307 JUMPI PUSH1 0x1 SWAP3 PUSH2 0x959 DUP7 DUP6 PUSH2 0x930 PUSH2 0x95F SWAP6 PUSH2 0x162C JUMP JUMPDEST POP ADD DUP1 SLOAD PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND PUSH1 0x10 SWAP3 SWAP1 SWAP3 SHL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST DUP8 PUSH2 0x1715 JUMP JUMPDEST ADD PUSH2 0x8F5 JUMP JUMPDEST DUP4 PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP1 SLOAD SWAP1 PUSH1 0x0 DUP2 SSTORE DUP2 PUSH2 0x981 JUMPI STOP JUMPDEST PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x997 JUMPI STOP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x98E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x46726F6D20616E6420746F206D75737420626520646966666572656E74000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST 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 0x546F20616464726573732063616E6E6F74206265207A65726F00000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x46726F6D20616464726573732063616E6E6F74206265207A65726F0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0xB1B PUSH2 0x154B JUMP JUMPDEST PUSH2 0xB23 PUSH2 0x1747 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0xB4F JUMPI PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL PUSH1 0x6 SLOAD AND OR PUSH1 0x6 SSTORE PUSH1 0x0 DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E744D616E616765722063616E6E6F74206265207A65726F2061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x657373 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0xBB9 PUSH2 0x154B JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0xFF AND DUP1 ISZERO PUSH2 0xCCD JUMPI JUMPDEST PUSH2 0xBED SWAP1 PUSH2 0x158F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 DUP3 ISZERO PUSH2 0xC88 JUMPI PUSH2 0x2134 DUP3 GT PUSH2 0xC4D JUMPI PUSH32 0x52D237AABA02C36FCF683A7F440090599BE7A26B45E20BCADF87A892F935C70B SWAP2 PUSH2 0xC34 PUSH1 0x20 SWAP3 PUSH2 0x1DFF JUMP JUMPDEST POP DUP4 PUSH1 0x0 MSTORE PUSH1 0x5 DUP3 MSTORE DUP1 PUSH1 0x40 PUSH1 0x0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x427073206D757374206265203C3D203835303 PUSH1 0x6C SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4163636F756E742063616E6E6F74206265207A65726F20616464726573730000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xBE4 JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH2 0xCEF CALLDATASIZE PUSH2 0x14EE JUMP JUMPDEST SWAP1 PUSH1 0x2 PUSH1 0x1 SLOAD EQ PUSH2 0x1029 JUMPI PUSH1 0x2 PUSH1 0x1 SSTORE DUP1 ISZERO PUSH2 0xFE5 JUMPI DUP2 PUSH1 0x0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD DUP1 ISZERO PUSH2 0xFD0 JUMPI PUSH1 0x2 SLOAD DUP2 GT PUSH2 0xFD0 JUMPI PUSH1 0x0 NOT DUP2 ADD DUP2 DUP2 GT PUSH2 0x307 JUMPI PUSH2 0xD38 SWAP1 PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SWAP2 PUSH1 0xFF DUP4 SLOAD PUSH1 0xB0 SHR AND ISZERO PUSH2 0xFBC JUMPI POP PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x20 DUP2 PUSH1 0x64 DUP2 PUSH1 0x0 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xFB0 JUMPI PUSH1 0x0 SWAP2 PUSH2 0xF81 JUMPI JUMPDEST POP ISZERO PUSH2 0xF70 JUMPI PUSH2 0x3E8 DUP4 MUL DUP4 DUP2 DIV PUSH2 0x3E8 SUB PUSH2 0x307 JUMPI PUSH2 0x2710 SWAP1 DIV PUSH2 0x1F4 DUP5 MUL DUP5 DUP2 DIV PUSH2 0x1F4 SUB PUSH2 0x307 JUMPI PUSH2 0x2710 SWAP1 DIV SWAP1 DUP1 PUSH2 0xF40 JUMPI JUMPDEST POP DUP1 PUSH2 0xF10 JUMPI JUMPDEST POP DUP1 SLOAD SWAP2 DUP3 ISZERO PUSH2 0xEFF JUMPI SLOAD PUSH2 0xFFFF AND DUP1 ISZERO PUSH2 0xEFF JUMPI PUSH2 0xE12 PUSH2 0x2710 SWAP2 DUP6 SWAP5 SWAP4 SWAP5 PUSH2 0x1702 JUMP JUMPDEST DIV SWAP2 PUSH1 0x0 NOT DUP3 ADD DUP3 DUP2 GT SWAP2 PUSH1 0x0 SWAP2 SWAP1 DUP3 JUMPDEST DUP6 DUP2 LT PUSH2 0xE6B JUMPI DUP9 PUSH32 0xF2838E4B541F90D41A1076A560D75E948F7D1008E72118A655568626A30B451F PUSH1 0x20 DUP11 DUP4 PUSH1 0x0 MSTORE PUSH1 0x3 DUP3 MSTORE PUSH1 0x0 PUSH1 0x40 DUP2 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 PUSH1 0x1 DUP1 SSTORE STOP JUMPDEST DUP5 PUSH1 0x0 PUSH2 0xE78 DUP4 DUP6 PUSH2 0x1561 JUMP JUMPDEST POP SWAP2 PUSH2 0xEEB JUMPI POP DUP2 DUP5 SUB PUSH2 0xECF JUMPI DUP5 DUP9 SUB DUP9 DUP2 GT PUSH2 0x307 JUMPI SWAP1 JUMPDEST DUP2 PUSH2 0xEA2 JUMPI JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0xE23 JUMP JUMPDEST SLOAD SWAP2 SWAP5 PUSH1 0x1 SWAP3 PUSH2 0xEC7 SWAP3 SWAP2 SWAP1 PUSH2 0xEC2 SWAP1 DUP4 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1FE0 JUMP JUMPDEST PUSH2 0x173A JUMP JUMPDEST SWAP4 SWAP1 DUP11 PUSH2 0xE98 JUMP JUMPDEST PUSH2 0x2710 PUSH2 0xEE4 PUSH2 0xFFFF DUP4 SLOAD PUSH1 0xA0 SHR AND DUP12 PUSH2 0x1702 JUMP JUMPDEST DIV SWAP1 PUSH2 0xE92 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST PUSH4 0x652546BF PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xF3A SWAP1 PUSH32 0x0 PUSH2 0x1FE0 JUMP JUMPDEST DUP5 PUSH2 0xDED JUMP JUMPDEST PUSH2 0xF6A SWAP1 PUSH32 0x0 PUSH2 0x1FE0 JUMP JUMPDEST DUP6 PUSH2 0xDE6 JUMP JUMPDEST PUSH4 0xBE053C3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xFA3 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFA9 JUMPI JUMPDEST PUSH2 0xF9B DUP2 DUP4 PUSH2 0x16C8 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x16EA JUMP JUMPDEST DUP6 PUSH2 0xDAF JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0xF91 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH4 0x50DFE913 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP3 PUSH4 0x3017121F PUSH1 0xE2 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416D6F756E74206D7573742062652067726561746572207468616E207A65726F PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST PUSH4 0x3EE5AEB5 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x105B PUSH2 0x154B JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x1F4 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x10AA PUSH2 0x1535 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0x10C6 JUMPI PUSH2 0x1ED SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x1F5E JUMP JUMPDEST PUSH4 0x334BD919 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x10F0 PUSH2 0x154B JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x24 CALLDATALOAD SWAP2 SWAP1 DUP3 LT ISZERO PUSH2 0x186 JUMPI PUSH1 0x20 SWAP2 PUSH2 0x1121 SWAP2 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x1ED PUSH1 0x4 CALLDATALOAD PUSH2 0x1194 PUSH2 0x1535 JUMP JUMPDEST SWAP1 PUSH2 0x11B0 PUSH2 0x1E3 DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1ED3 JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x11D1 PUSH2 0x1535 JUMP JUMPDEST DUP2 ISZERO ISZERO DUP1 PUSH2 0x121B JUMPI JUMPDEST PUSH2 0x11E3 SWAP1 PUSH2 0x15E7 JUMP JUMPDEST PUSH1 0x0 NOT DUP3 ADD SWAP2 DUP3 GT PUSH2 0x307 JUMPI PUSH2 0x11FA PUSH1 0x20 SWAP3 PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 ADD SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND PUSH1 0x10 SWAP3 SWAP1 SWAP3 SHR SWAP1 SWAP3 AND EQ DUP2 MSTORE RETURN JUMPDEST POP PUSH1 0x2 SLOAD DUP3 GT ISZERO PUSH2 0x11DA JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH2 0x1254 PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x186 JUMPI PUSH2 0x1290 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x1504 JUMP JUMPDEST SWAP1 PUSH1 0x44 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x186 JUMPI PUSH2 0x12B1 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x1504 JUMP JUMPDEST SWAP3 PUSH2 0x12BA PUSH2 0x1747 JUMP JUMPDEST PUSH1 0x0 NOT DUP6 ADD DUP6 DUP2 GT PUSH2 0x307 JUMPI PUSH32 0xAB5ABB0AA764A40C901DB1A9F840648E913AEC7B7AA65483BB7ED5FA2D6209AD SWAP5 PUSH2 0x1320 SWAP4 PUSH2 0x773 SWAP4 PUSH2 0x12FC PUSH2 0x1316 SWAP5 PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SLOAD SWAP1 SWAP8 SWAP1 PUSH1 0x10 SHR PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1832 JUMP JUMPDEST DUP2 DUP2 SWAP4 SWAP3 SWAP6 PUSH2 0x1C59 JUMP JUMPDEST SWAP1 PUSH2 0x1330 PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 DUP4 PUSH2 0x164B JUMP JUMPDEST SUB SWAP1 LOG2 STOP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH2 0x1343 CALLDATASIZE PUSH2 0x14EE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND DUP1 ISZERO PUSH2 0x142F JUMPI JUMPDEST PUSH2 0x1373 SWAP1 PUSH2 0x158F JUMP JUMPDEST DUP1 ISZERO ISZERO DUP1 PUSH2 0x1423 JUMPI JUMPDEST PUSH2 0x1385 SWAP1 PUSH2 0x15E7 JUMP JUMPDEST PUSH1 0x0 NOT DUP2 ADD DUP2 DUP2 GT PUSH2 0x307 JUMPI PUSH1 0x1 PUSH2 0x139E PUSH1 0xFF SWAP3 PUSH2 0x162C JUMP JUMPDEST POP ADD SLOAD PUSH1 0xB0 SHR AND ISZERO PUSH2 0x13E6 JUMPI PUSH1 0x20 PUSH32 0xF133B9440DC29CE1E3C772F23B9B8B2BA56BA25688E9E4C084CA0C06834E3F10 SWAP2 DUP4 PUSH1 0x0 MSTORE PUSH1 0x3 DUP3 MSTORE DUP1 PUSH1 0x40 PUSH1 0x0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x50726F66696C65206973206E6F7420616374697665 PUSH1 0x58 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD DUP2 GT ISZERO PUSH2 0x137C JUMP JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x136A JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0xEC29272E56A632E32EED7FD658A3260BE47421CE3959838625209B981A715530 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x2134 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP3 AND DUP1 SWAP3 SUB PUSH2 0x186 JUMPI PUSH1 0x20 SWAP2 PUSH4 0x7965DB0B PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x14DD JUMPI JUMPDEST POP ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL EQ SWAP1 POP DUP4 PUSH2 0x14D6 JUMP JUMPDEST PUSH1 0x40 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x24 CALLDATALOAD SWAP1 JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x186 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP4 GT PUSH2 0x186 JUMPI PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP5 PUSH1 0x5 SHL ADD ADD GT PUSH2 0x186 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x186 JUMPI JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x186 JUMPI JUMP JUMPDEST DUP1 SLOAD DUP3 LT ISZERO PUSH2 0x1579 JUMPI PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ISZERO PUSH2 0x1596 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x43616C6C6572206D7573742062652061646D696E206F72204576656E744D616E PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x30B3B2B9 PUSH1 0xE1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x15EE JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x141C9BD99A5B1948191BD95CC81B9BDD08195E1A5CDD PUSH1 0x52 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x2 SLOAD DUP2 LT ISZERO PUSH2 0x1579 JUMPI PUSH1 0x2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 SHL ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH1 0x40 DUP3 MSTORE DUP3 MLOAD DUP1 SWAP2 MSTORE PUSH1 0x20 PUSH1 0x60 DUP4 ADD SWAP4 ADD SWAP1 PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x16A9 JUMPI POP POP POP PUSH1 0x20 DUP2 DUP4 SUB SWAP2 ADD MSTORE PUSH1 0x20 DUP1 DUP4 MLOAD SWAP3 DUP4 DUP2 MSTORE ADD SWAP3 ADD SWAP1 PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x1693 JUMPI POP POP POP SWAP1 JUMP JUMPDEST DUP3 MLOAD DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x1686 JUMP JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 MSTORE PUSH1 0x20 SWAP5 DUP6 ADD SWAP5 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x1664 JUMP JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x791 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x186 JUMPI MLOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x186 JUMPI SWAP1 JUMP JUMPDEST DUP2 DUP2 MUL SWAP3 SWAP2 DUP2 ISZERO SWAP2 DUP5 DIV EQ OR ISZERO PUSH2 0x307 JUMPI JUMP JUMPDEST SWAP1 DUP2 SLOAD SWAP2 PUSH1 0x1 PUSH1 0x40 SHL DUP4 LT ISZERO PUSH2 0x791 JUMPI DUP3 PUSH2 0x497 SWAP2 PUSH1 0x1 PUSH2 0x1738 SWAP6 ADD DUP2 SSTORE PUSH2 0x1561 JUMP JUMPDEST JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x307 JUMPI JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x176E JUMPI JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x17CA JUMPI POP JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x791 JUMPI PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP2 LT ISZERO PUSH2 0x1579 JUMPI PUSH1 0x5 SHL ADD SWAP1 JUMP JUMPDEST CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x186 JUMPI SWAP1 JUMP JUMPDEST DUP1 MLOAD DUP3 LT ISZERO PUSH2 0x1579 JUMPI PUSH1 0x20 SWAP2 PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST SWAP5 SWAP3 SWAP4 SWAP1 SWAP2 SWAP5 DUP2 DUP7 SUB PUSH2 0x1C1B JUMPI PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD SWAP1 DUP2 PUSH2 0x2710 SUB SWAP7 PUSH2 0x2710 DUP9 GT PUSH2 0x307 JUMPI PUSH2 0x3E7 NOT DUP9 ADD SWAP8 DUP1 DUP10 GT PUSH2 0x307 JUMPI PUSH2 0x5DB NOT ADD SWAP8 DUP9 GT PUSH2 0x307 JUMPI DUP3 ISZERO DUP1 ISZERO SWAP6 PUSH1 0x0 SWAP6 SWAP2 PUSH2 0x1C13 JUMPI PUSH1 0xFF PUSH1 0x1 JUMPDEST AND SWAP10 PUSH2 0x189F DUP12 DUP6 PUSH2 0x173A JUMP JUMPDEST ISZERO PUSH2 0x1BD9 JUMPI PUSH2 0x18B2 DUP12 DUP6 SWAP12 SWAP4 SWAP7 SWAP12 PUSH2 0x173A JUMP JUMPDEST SWAP2 PUSH2 0x18BC DUP4 PUSH2 0x17E2 JUMP JUMPDEST SWAP3 PUSH2 0x18CA PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x16C8 JUMP JUMPDEST DUP1 DUP5 MSTORE PUSH2 0x18D9 PUSH1 0x1F NOT SWAP2 PUSH2 0x17E2 JUMP JUMPDEST ADD CALLDATASIZE PUSH1 0x20 DUP6 ADD CALLDATACOPY PUSH2 0x18EB DUP4 SWAP13 DUP13 PUSH2 0x173A JUMP JUMPDEST SWAP6 PUSH2 0x18F5 DUP8 PUSH2 0x17E2 JUMP JUMPDEST SWAP7 PUSH2 0x1903 PUSH1 0x40 MLOAD SWAP9 DUP10 PUSH2 0x16C8 JUMP JUMPDEST DUP1 DUP9 MSTORE PUSH2 0x1912 PUSH1 0x1F NOT SWAP2 PUSH2 0x17E2 JUMP JUMPDEST ADD CALLDATASIZE PUSH1 0x20 DUP10 ADD CALLDATACOPY DUP7 SWAP12 DUP10 SWAP3 JUMPDEST DUP2 DUP5 LT PUSH2 0x19B8 JUMPI POP POP POP POP DUP7 SUB PUSH2 0x1974 JUMPI PUSH2 0x2134 SWAP7 PUSH2 0x1944 JUMPI JUMPDEST POP POP POP POP POP SUB PUSH2 0xEFF JUMPI JUMP JUMPDEST SWAP2 PUSH2 0x1964 SWAP2 PUSH2 0x1958 DUP3 PUSH2 0x196A SWAP9 SWAP7 SWAP6 PUSH2 0x181E JUMP JUMPDEST MSTORE PUSH2 0xFFFF DUP6 AND SWAP3 PUSH2 0x181E JUMP JUMPDEST MSTORE PUSH2 0x173A JUMP JUMPDEST CODESIZE DUP1 DUP1 DUP1 DUP1 PUSH2 0x1938 JUMP JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x536861726573206D7573742073756D20746F2072656D61696E696E6720627073 PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST SWAP3 SWAP10 SWAP2 SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x19D9 PUSH2 0x19D4 DUP14 DUP12 DUP9 PUSH2 0x17FA JUMP JUMPDEST PUSH2 0x180A JUMP JUMPDEST AND ISZERO PUSH2 0x1B9B JUMPI DUP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x19F6 PUSH2 0x19D4 DUP15 DUP13 DUP10 PUSH2 0x17FA JUMP JUMPDEST AND EQ PUSH2 0x1B39 JUMPI PUSH1 0x1 DUP12 ADD DUP1 DUP13 GT PUSH2 0x307 JUMPI JUMPDEST DUP9 DUP2 LT PUSH2 0x1AC0 JUMPI POP PUSH2 0x1A1E PUSH2 0x19D4 DUP13 DUP11 DUP8 PUSH2 0x17FA JUMP JUMPDEST PUSH2 0x1A28 DUP13 DUP9 PUSH2 0x181E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 MSTORE PUSH2 0x2710 PUSH2 0x1A43 DUP13 DUP6 DUP6 PUSH2 0x17FA JUMP JUMPDEST CALLDATALOAD GT PUSH2 0x1A87 JUMPI PUSH2 0x1A7D PUSH1 0x1 SWAP2 DUP13 PUSH2 0x1A6A PUSH2 0xFFFF PUSH2 0x1A61 DUP4 DUP10 DUP10 PUSH2 0x17FA JUMP JUMPDEST CALLDATALOAD AND SWAP2 DUP14 PUSH2 0x181E JUMP JUMPDEST MSTORE PUSH2 0x1A76 DUP14 DUP7 DUP7 PUSH2 0x17FA JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH2 0x173A JUMP JUMPDEST SWAP11 ADD SWAP3 SWAP2 SWAP1 PUSH2 0x191E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x5368617265206578636565647320627073 PUSH1 0x78 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x1ACE PUSH2 0x19D4 DUP14 DUP12 DUP9 PUSH2 0x17FA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1AE4 PUSH2 0x19D4 DUP5 DUP14 DUP11 PUSH2 0x17FA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 AND EQ PUSH2 0x1AFE JUMPI PUSH1 0x1 ADD PUSH2 0x1A08 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x111D5C1B1A58D85D19481C9958DA5C1A595B9D PUSH1 0x6A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x34 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x50726F66696C65206F776E6572206973206164646564206175746F6D61746963 PUSH1 0x44 DUP3 ADD MSTORE PUSH20 0x30B6363C903A37903234B9BA3934B13ABA34B7B7 PUSH1 0x61 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x16995C9BC81859191C995CDCC81C9958DA5C1A595B9D PUSH1 0x52 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x12 PUSH1 0x24 DUP3 ADD MSTORE PUSH18 0x22B6B83A3C903234B9BA3934B13ABA34B7B7 PUSH1 0x71 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0xFF DUP7 PUSH2 0x1893 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x82E4E4C2F2E640D8CADCCEE8D040DAD2E6DAC2E8C6D PUSH1 0x53 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP3 SWAP2 SWAP1 DUP4 SLOAD PUSH1 0x0 DUP6 SSTORE DUP1 PUSH2 0x1D74 JUMPI JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 JUMPDEST DUP2 MLOAD DUP4 LT ISZERO PUSH2 0x1D50 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1C89 DUP5 DUP5 PUSH2 0x181E JUMP JUMPDEST MLOAD AND PUSH2 0xFFFF PUSH2 0x1C98 DUP6 DUP8 PUSH2 0x181E JUMP JUMPDEST MLOAD AND SWAP2 PUSH1 0x40 MLOAD SWAP2 PUSH1 0x40 DUP4 ADD DUP4 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x791 JUMPI PUSH1 0x40 MSTORE DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP3 DUP4 MSTORE DUP8 SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x791 JUMPI DUP1 PUSH1 0x1 PUSH2 0x1CE0 SWAP3 ADD DUP11 SSTORE DUP10 PUSH2 0x1561 JUMP JUMPDEST PUSH2 0x1D3A JUMPI SWAP2 MLOAD DUP3 SLOAD SWAP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT SWAP1 SWAP5 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND OR PUSH1 0xA0 SWAP4 SWAP1 SWAP4 SHL PUSH2 0xFFFF PUSH1 0xA0 SHL AND SWAP3 SWAP1 SWAP3 OR SWAP1 SSTORE PUSH1 0x1 SWAP1 PUSH2 0x1D32 SWAP1 PUSH2 0xFFFF PUSH2 0x1D2A DUP7 DUP9 PUSH2 0x181E JUMP JUMPDEST MLOAD AND SWAP1 PUSH2 0x173A JUMP JUMPDEST SWAP3 ADD SWAP2 PUSH2 0x1C6E JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP4 SWAP5 SWAP3 POP POP POP PUSH2 0x2134 DUP3 SUB PUSH2 0xEFF JUMPI PUSH1 0x1 PUSH2 0xFFFF SWAP2 ADD SWAP2 AND PUSH2 0xFFFF NOT DUP3 SLOAD AND OR SWAP1 SSTORE JUMP JUMPDEST DUP5 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x1D8F JUMPI POP PUSH2 0x1C68 JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x1D82 JUMP JUMPDEST SWAP1 DUP2 MLOAD PUSH2 0x1DA7 DUP2 PUSH2 0x17E2 JUMP JUMPDEST SWAP1 PUSH2 0x1DB5 PUSH1 0x40 MLOAD SWAP3 DUP4 PUSH2 0x16C8 JUMP JUMPDEST DUP1 DUP3 MSTORE PUSH2 0x1DC4 PUSH1 0x1F NOT SWAP2 PUSH2 0x17E2 JUMP JUMPDEST ADD CALLDATASIZE PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x1DFA JUMPI DUP1 PUSH2 0xFFFF PUSH2 0x1DE7 PUSH1 0x1 SWAP4 DUP8 PUSH2 0x181E JUMP JUMPDEST MLOAD AND PUSH2 0x1DF3 DUP3 DUP6 PUSH2 0x181E JUMP JUMPDEST MSTORE ADD PUSH2 0x1DCE JUMP JUMPDEST POP SWAP2 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x52441000EA607F15E01522A9F503122A4A6A8B9B8A36F7A3DC7CEBEBADDD0099 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x1ECD JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH32 0x52441000EA607F15E01522A9F503122A4A6A8B9B8A36F7A3DC7CEBEBADDD0099 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0xEC29272E56A632E32EED7FD658A3260BE47421CE3959838625209B981A715530 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x1F57 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x1F57 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x44 SWAP1 DUP3 SWAP1 PUSH1 0x0 SWAP1 PUSH32 0x0 AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xFB0 JUMPI PUSH1 0x0 SWAP2 PUSH2 0x205E JUMPI JUMPDEST POP ISZERO PUSH2 0x204D JUMPI JUMP JUMPDEST PUSH4 0xA4FCFE5 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x2077 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFA9 JUMPI PUSH2 0xF9B DUP2 DUP4 PUSH2 0x16C8 JUMP JUMPDEST CODESIZE PUSH2 0x2045 JUMP INVALID PUSH30 0x7FFB7A348E1C6A02869081A26547B49160DD3DF72D1D75A570EB9B698292 0xEC LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x1E SGT 0xE5 0xF6 PUSH14 0x6003FCE697455EB8D1203C6D83C0 PUSH20 0xC43313AEB704FCCF7CC7F12564736F6C63430008 SHR STOP CALLER 0x2F DUP8 DUP9 GT PUSH31 0x7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D7D7FFB7A CALLVALUE DUP15 SHR PUSH11 0x2869081A26547B49160DD RETURNDATASIZE 0xF7 0x2D SAR PUSH22 0xA570EB9B698292ECAD3228B676F7D3CD4284A5443F17 CALL SWAP7 0x2B CALLDATASIZE 0xE4 SWAP2 0xB3 EXP BLOCKHASH 0xB2 BLOCKHASH PC BLOBHASH 0xE5 SWAP8 0xBA PUSH0 0xB5 ","sourceMap":"274:14852:33:-:0;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;:::i;:::-;1857:1:17;;;-1:-1:-1;;;;;274:14852:33;;;;3268:19;;274:14852;;-1:-1:-1;;;;;274:14852:33;;3337:25;274:14852;;-1:-1:-1;;;;;274:14852:33;;3418:23;274:14852;;-1:-1:-1;;;;;274:14852:33;;3497:20;274:14852;;3704:30;3561:20;;;274:14852;3591:24;3625:20;;3656:38;;;:::i;:::-;;3704:30;:::i;:::-;;274:14852;;;;;;;;;;;;;;;;;;;3625:20;274:14852;;;;;;;;;;3561:20;274:14852;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;274:14852:33;;;;;;-1:-1:-1;274:14852:33;;;;;-1:-1:-1;274:14852:33;;;;-1:-1:-1;;;;;274:14852:33;;;;;;:::o;6179:316:0:-;-1:-1:-1;;;;;274:14852:33;;3285:1;274:14852;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;;;274:14852:33;3285:1;274:14852;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;-1:-1:-1;;274:14852:33;;;;;735:10:14;;274:14852:33;-1:-1:-1;;;;;;;;;;;3285:1:33;;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;3285:1:33;6466:12:0;:::o;6179:316::-;-1:-1:-1;;;;;274:14852:33;;;;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;-1:-1:-1;;274:14852:33;;;;;735:10:14;;274:14852:33;408:23;;-1:-1:-1;;;;;;;;;;;6370:40:0;274:14852:33;6370:40:0;6347:4;6424:11;:::o"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":5451,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_19388":{"entryPoint":5429,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_array_address_dyn_calldata":{"entryPoint":5380,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_bool_fromMemory":{"entryPoint":5866,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_uint256t_uint256":{"entryPoint":5358,"id":null,"parameterSlots":1,"returnSlots":2},"abi_encode_array_address_dyn_array_uint256_dyn":{"entryPoint":5707,"id":null,"parameterSlots":3,"returnSlots":1},"array_allocation_size_array_address_dyn":{"entryPoint":6114,"id":null,"parameterSlots":1,"returnSlots":1},"array_push_from_uint256_to_array_uint256_dyn_storage_ptr":{"entryPoint":5909,"id":null,"parameterSlots":2,"returnSlots":0},"calldata_array_index_access_address_dyn_calldata":{"entryPoint":6138,"id":null,"parameterSlots":3,"returnSlots":1},"checked_add_uint256":{"entryPoint":5946,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_uint256":{"entryPoint":5890,"id":null,"parameterSlots":2,"returnSlots":1},"finalize_allocation":{"entryPoint":5832,"id":null,"parameterSlots":2,"returnSlots":0},"fun_buildDistribution":{"entryPoint":6194,"id":14171,"parameterSlots":5,"returnSlots":2},"fun_checkRole":{"entryPoint":6055,"id":93,"parameterSlots":1,"returnSlots":0},"fun_checkRole_19386":{"entryPoint":5959,"id":93,"parameterSlots":0,"returnSlots":0},"fun_getRoleAdmin":{"entryPoint":null,"id":128,"parameterSlots":1,"returnSlots":1},"fun_grantRole":{"entryPoint":7891,"id":256,"parameterSlots":2,"returnSlots":1},"fun_grantRole_19397":{"entryPoint":7679,"id":256,"parameterSlots":1,"returnSlots":1},"fun_revokeRole":{"entryPoint":8030,"id":294,"parameterSlots":2,"returnSlots":1},"fun_setRecipientShares":{"entryPoint":7257,"id":14247,"parameterSlots":3,"returnSlots":0},"fun_toUint256Array":{"entryPoint":7579,"id":14292,"parameterSlots":1,"returnSlots":1},"fun_transferUsdt":{"entryPoint":8160,"id":14311,"parameterSlots":2,"returnSlots":0},"memory_array_index_access_address_dyn":{"entryPoint":6174,"id":null,"parameterSlots":2,"returnSlots":1},"read_from_calldatat_address":{"entryPoint":6154,"id":null,"parameterSlots":1,"returnSlots":1},"require_helper_stringliteral_6a1b":{"entryPoint":5519,"id":null,"parameterSlots":1,"returnSlots":0},"require_helper_stringliteral_e6db":{"entryPoint":5607,"id":null,"parameterSlots":1,"returnSlots":0},"storage_array_index_access_struct_Distribution__dyn":{"entryPoint":5676,"id":null,"parameterSlots":1,"returnSlots":2},"storage_array_index_access_uint256_dyn":{"entryPoint":5473,"id":null,"parameterSlots":2,"returnSlots":2},"update_storage_value_offset_address_to_address":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0},"update_storage_value_uint256_to_uint256":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":0}},"generatedSources":[],"immutableReferences":{"12912":[{"length":32,"start":900},{"length":32,"start":3910}],"12914":[{"length":32,"start":831},{"length":32,"start":3862}],"12917":[{"length":32,"start":3446},{"length":32,"start":4422},{"length":32,"start":8212}]},"linkReferences":{},"object":"608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a71461149b57508063037b5cc81461147e578063091cfe701461144357806319cd00c8146113355780631f1422e61461125c578063248a9ca3146112275780632b726b6a146111b55780632f2ff15d146111755780632f48ab7d1461113057806332e4342b146110d757806336568abe146110915780634041c0e61461107457806347c13c921461103a5780634ae699ef14610ce1578063593f8c2514610ba0578063596fd76e14610b025780636c13a8e014610ad657806375b238fc14610a9b5780638fd611be14610a725780639137c48a1461088d57806391d14854146108405780639a8865341461063d578063a217fddf14610621578063a4c5a4ef146103b3578063a582ddf41461036e578063b9bd277714610329578063cb3044f5146101ef578063d547741f146101a8578063e1f1c4a71461018b5763e268caf71461016957600080fd5b346101865760003660031901126101865760206040516103e88152f35b600080fd5b346101865760003660031901126101865760206040516127108152f35b34610186576040366003190112610186576101ed6004356101c7611535565b906101e86101e382600052600060205260016040600020015490565b6117a7565b611f5e565b005b34610186576020366003190112610186576004358015158061031d575b610215906115e7565b6000198101908082116103075761022b8261162c565b50600101543360109190911c6001600160a01b03161480156102e1575b1561028e57600161025a60009361162c565b5001805460ff60b01b191690557ffaccdb7b397916a1b9bb4922bfad1945779c79029c5605adbc7becae0d50689e8280a280f35b60405162461bcd60e51b815260206004820152602560248201527f43616c6c6572206d7573742062652070726f66696c65206f776e6572206f722060448201526430b236b4b760d91b6064820152608490fd5b5033600090815260008051602061207e833981519152602052604090205460ff16610248565b634e487b7160e01b600052601160045260246000fd5b5060025481111561020c565b34610186576000366003190112610186576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610186576000366003190112610186576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610186576040366003190112610186576004356103cf611535565b906103d8611747565b80151580610615575b6103ea906115e7565b6001600160a01b0382169182156105d15760001982018281116103075761041260019161162c565b50019160018060a01b03835460101c169184831461058c5782600052600460205260406000209060005b82548082101561055b57846104518386611561565b90549060031b1c14610466575060010161043c565b906000969293949596198201918211610307576104976104896104b09387611561565b90549060031b1c9186611561565b90919082549060031b91821b91600019901b1916179055565b8254928315610545576105079360001901906104cc8282611561565b815460001960039290921b9190911b1916905555805462010000600160b01b03191660109290921b62010000600160b01b0316919091179055565b82600052600460205261051e816040600020611715565b7fa70f7022c816d870dd4c811c125a773779a4c56ffc8e0d26a85d0ebb967b70d4600080a4005b634e487b7160e01b600052603160045260246000fd5b50509050610507919293805462010000600160b01b03191660109290921b62010000600160b01b0316919091179055565b60405162461bcd60e51b815260206004820152601b60248201527f4e6577206f776e6572206d75737420626520646966666572656e7400000000006044820152606490fd5b606460405162461bcd60e51b815260206004820152602060248201527f4e6577206f776e65722063616e6e6f74206265207a65726f20616464726573736044820152fd5b506002548111156103e1565b3461018657600036600319011261018657602060405160008152f35b346101865760403660031901126101865760043567ffffffffffffffff81116101865761066e903690600401611504565b60243567ffffffffffffffff81116101865761068e903690600401611504565b33600090815260008051602061207e833981519152602052604090205490929060ff168015610808575b156107a7576106c79333611832565b60025491600183019182841161030757600160401b841015610791577f9210378304358fc43d124800f81757c26a038d252a1909776d22df7df84f39ca6107866107788361075d87958761072b60209b896002556107248161162c565b505061162c565b50600181018054600160b01b62010000600160b81b031990911662010000600160b01b033360101b1617179055611c59565b3360005260048852610773856040600020611715565b611d9b565b60405191829133968361164b565b0390a3604051908152f35b634e487b7160e01b600052604160045260246000fd5b60405162461bcd60e51b815260206004820152603360248201527f43616c6c6572206d75737420686176652041444d494e5f524f4c45206f722050604482015272524f46494c455f4d414e414745525f524f4c4560681b6064820152608490fd5b503360009081527f52441000ea607f15e01522a9f503122a4a6a8b9b8a36f7a3dc7cebebaddd0099602052604090205460ff166106b8565b3461018657604036600319011261018657610859611535565b600435600052600060205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b34610186576040366003190112610186576108a661154b565b6108ae611535565b906108b7611747565b6001600160a01b03168015610a2d576001600160a01b0382169182156109e8578282146109a357600082815260046020526040808220948252812093905b8154811015610965576109088183611561565b90549060031b1c90600019820182811161030757600192610959868561093061095f9561162c565b5001805462010000600160b01b03191660109290921b62010000600160b01b0316919091179055565b87611715565b016108f5565b8360005260046020526040600020805490600081558161098157005b6000526020600020908101905b81811061099757005b6000815560010161098e565b60405162461bcd60e51b815260206004820152601d60248201527f46726f6d20616e6420746f206d75737420626520646966666572656e740000006044820152606490fd5b60405162461bcd60e51b815260206004820152601960248201527f546f20616464726573732063616e6e6f74206265207a65726f000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152601b60248201527f46726f6d20616464726573732063616e6e6f74206265207a65726f00000000006044820152606490fd5b34610186576000366003190112610186576006546040516001600160a01b039091168152602090f35b346101865760003660031901126101865760206040517fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217758152f35b346101865760203660031901126101865760043560005260036020526020604060002054604051908152f35b3461018657602036600319011261018657610b1b61154b565b610b23611747565b6001600160a01b03168015610b4f576bffffffffffffffffffffffff60a01b6006541617600655600080f35b60405162461bcd60e51b815260206004820152602360248201527f4576656e744d616e616765722063616e6e6f74206265207a65726f206164647260448201526265737360e81b6064820152608490fd5b3461018657604036600319011261018657610bb961154b565b33600090815260008051602061207e83398151915260205260409020546024359060ff168015610ccd575b610bed9061158f565b6001600160a01b038216918215610c88576121348211610c4d577f52d237aaba02c36fcf683a7f440090599be7a26b45e20bcadf87a892f935c70b91610c34602092611dff565b50836000526005825280604060002055604051908152a2005b60405162461bcd60e51b81526020600482015260136024820152720427073206d757374206265203c3d203835303606c1b6044820152606490fd5b60405162461bcd60e51b815260206004820152601e60248201527f4163636f756e742063616e6e6f74206265207a65726f206164647265737300006044820152606490fd5b506006546001600160a01b03163314610be4565b3461018657610cef366114ee565b906002600154146110295760026001558015610fe5578160005260036020526040600020548015610fd0576002548111610fd057600019810181811161030757610d389061162c565b50600181019160ff835460b01c1615610fbc57506040516323b872dd60e01b81523360048201523060248201526044810184905260208160648160007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af1908115610fb057600091610f81575b5015610f70576103e883028381046103e8036103075761271090046101f484028481046101f4036103075761271090049080610f40575b5080610f10575b508054918215610eff575461ffff168015610eff57610e126127109185949394611702565b049160001982018281119160009190825b858110610e6b57887ff2838e4b541f90d41a1076a560d75e948f7d1008e72118a655568626a30b451f60208a836000526003825260006040812055604051908152a260018055005b846000610e788385611561565b5091610eeb5750818403610ecf5784880388811161030757905b81610ea2575b5050600101610e23565b549194600192610ec7929190610ec29083906001600160a01b0316611fe0565b61173a565b93908a610e98565b612710610ee461ffff835460a01c168b611702565b0490610e92565b634e487b7160e01b81526011600452602490fd5b63652546bf60e11b60005260046000fd5b610f3a907f0000000000000000000000000000000000000000000000000000000000000000611fe0565b84610ded565b610f6a907f0000000000000000000000000000000000000000000000000000000000000000611fe0565b85610de6565b63be053c3f60e01b60005260046000fd5b610fa3915060203d602011610fa9575b610f9b81836116c8565b8101906116ea565b85610daf565b503d610f91565b6040513d6000823e3d90fd5b6350dfe91360e01b60005260045260246000fd5b82633017121f60e21b60005260045260246000fd5b606460405162461bcd60e51b815260206004820152602060248201527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f6044820152fd5b633ee5aeb560e01b60005260046000fd5b34610186576020366003190112610186576001600160a01b0361105b61154b565b1660005260056020526020604060002054604051908152f35b346101865760003660031901126101865760206040516101f48152f35b34610186576040366003190112610186576110aa611535565b336001600160a01b038216036110c6576101ed90600435611f5e565b63334bd91960e11b60005260046000fd5b34610186576040366003190112610186576110f061154b565b6001600160a01b03166000908152600460205260409020805460243591908210156101865760209161112191611561565b90549060031b1c604051908152f35b34610186576000366003190112610186576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610186576040366003190112610186576101ed600435611194611535565b906111b06101e382600052600060205260016040600020015490565b611ed3565b34610186576040366003190112610186576004356111d1611535565b8115158061121b575b6111e3906115e7565b6000198201918211610307576111fa60209261162c565b50600101546040516001600160a01b0392831660109290921c909216148152f35b506002548211156111da565b34610186576020366003190112610186576020611254600435600052600060205260016040600020015490565b604051908152f35b346101865760603660031901126101865760043560243567ffffffffffffffff811161018657611290903690600401611504565b9060443567ffffffffffffffff8111610186576112b1903690600401611504565b926112ba611747565b6000198501858111610307577fab5abb0aa764a40c901db1a9f840648e913aec7b7aa65483bb7ed5fa2d6209ad9461132093610773936112fc6113169461162c565b50600181015490979060101c6001600160a01b0316611832565b8181939295611c59565b906113306040519283928361164b565b0390a2005b3461018657611343366114ee565b33600090815260008051602061207e833981519152602052604090205460ff16801561142f575b6113739061158f565b80151580611423575b611385906115e7565b600019810181811161030757600161139e60ff9261162c565b50015460b01c16156113e65760207ff133b9440dc29ce1e3c772f23b9b8b2ba56ba25688e9e4c084ca0c06834e3f1091836000526003825280604060002055604051908152a2005b60405162461bcd60e51b815260206004820152601560248201527450726f66696c65206973206e6f742061637469766560581b6044820152606490fd5b5060025481111561137c565b506006546001600160a01b0316331461136a565b346101865760003660031901126101865760206040517fec29272e56a632e32eed7fd658a3260be47421ce3959838625209b981a7155308152f35b346101865760003660031901126101865760206040516121348152f35b34610186576020366003190112610186576004359063ffffffff60e01b821680920361018657602091637965db0b60e01b81149081156114dd575b5015158152f35b6301ffc9a760e01b149050836114d6565b6040906003190112610186576004359060243590565b9181601f840112156101865782359167ffffffffffffffff8311610186576020808501948460051b01011161018657565b602435906001600160a01b038216820361018657565b600435906001600160a01b038216820361018657565b80548210156115795760005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b1561159657565b60405162461bcd60e51b8152602060048201526024808201527f43616c6c6572206d7573742062652061646d696e206f72204576656e744d616e60448201526330b3b2b960e11b6064820152608490fd5b156115ee57565b60405162461bcd60e51b8152602060048201526016602482015275141c9bd99a5b1948191bd95cc81b9bdd08195e1a5cdd60521b6044820152606490fd5b60025481101561157957600260005260206000209060011b0190600090565b6040810160408252825180915260206060830193019060005b8181106116a95750505060208183039101526020808351928381520192019060005b8181106116935750505090565b8251845260209384019390920191600101611686565b82516001600160a01b0316855260209485019490920191600101611664565b90601f8019910116810190811067ffffffffffffffff82111761079157604052565b90816020910312610186575180151581036101865790565b8181029291811591840414171561030757565b90815491600160401b831015610791578261049791600161173895018155611561565b565b9190820180921161030757565b33600090815260008051602061207e833981519152602052604090205460ff161561176e57565b63e2517d3f60e01b600052336004527fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177560245260446000fd5b60008181526020818152604080832033845290915290205460ff16156117ca5750565b63e2517d3f60e01b6000523360045260245260446000fd5b67ffffffffffffffff81116107915760051b60200190565b91908110156115795760051b0190565b356001600160a01b03811681036101865790565b80518210156115795760209160051b010190565b949293909194818603611c1b5760018060a01b031690816000526005602052604060002054908161271003966127108811610307576103e719880197808911610307576105db190197881161030757821580159560009591611c135760ff60015b169961189f8b8561173a565b15611bd9576118b28b859b93969b61173a565b916118bc836117e2565b926118ca60405194856116c8565b8084526118d9601f19916117e2565b013660208501376118eb839c8c61173a565b956118f5876117e2565b9661190360405198896116c8565b808852611912601f19916117e2565b01366020890137869b89925b8184106119b8575050505086036119745761213496611944575b505050505003610eff57565b91611964916119588261196a98969561181e565b5261ffff85169261181e565b5261173a565b3880808080611938565b606460405162461bcd60e51b815260206004820152602060248201527f536861726573206d7573742073756d20746f2072656d61696e696e67206270736044820152fd5b9299919290916001600160a01b036119d96119d48d8b886117fa565b61180a565b1615611b9b57866001600160a01b036119f66119d48e8c896117fa565b1614611b395760018b01808c11610307575b888110611ac05750611a1e6119d48c8a876117fa565b611a288c8861181e565b6001600160a01b039091169052612710611a438c85856117fa565b3511611a8757611a7d6001918c611a6a61ffff611a618389896117fa565b3516918d61181e565b52611a768d86866117fa565b359061173a565b9a0192919061191e565b60405162461bcd60e51b8152602060048201526011602482015270536861726520657863656564732062707360781b6044820152606490fd5b611ace6119d48d8b886117fa565b6001600160a01b03611ae46119d4848d8a6117fa565b6001600160a01b03909216911614611afe57600101611a08565b60405162461bcd60e51b8152602060048201526013602482015272111d5c1b1a58d85d19481c9958da5c1a595b9d606a1b6044820152606490fd5b60405162461bcd60e51b815260206004820152603460248201527f50726f66696c65206f776e6572206973206164646564206175746f6d6174696360448201527330b6363c903a37903234b9ba3934b13aba34b7b760611b6064820152608490fd5b60405162461bcd60e51b815260206004820152601660248201527516995c9bc81859191c995cdcc81c9958da5c1a595b9d60521b6044820152606490fd5b60405162461bcd60e51b815260206004820152601260248201527122b6b83a3c903234b9ba3934b13aba34b7b760711b6044820152606490fd5b60ff86611893565b60405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606490fd5b92919083546000855580611d74575b50600090815b8151831015611d50576001600160a01b03611c89848461181e565b511661ffff611c98858761181e565b511691604051916040830183811067ffffffffffffffff821117610791576040528252602082019283528754600160401b81101561079157806001611ce092018a5589611561565b611d3a579151825493516001600160b01b03199094166001600160a01b03919091161760a09390931b61ffff60a01b16929092179055600190611d329061ffff611d2a868861181e565b51169061173a565b920191611c6e565b634e487b7160e01b600052600060045260246000fd5b9394925050506121348203610eff57600161ffff9101911661ffff19825416179055565b846000526020600020908101905b818110611d8f5750611c68565b60008155600101611d82565b908151611da7816117e2565b90611db560405192836116c8565b808252611dc4601f19916117e2565b0136602083013760005b8351811015611dfa578061ffff611de76001938761181e565b5116611df3828561181e565b5201611dce565b509150565b6001600160a01b03811660009081527f52441000ea607f15e01522a9f503122a4a6a8b9b8a36f7a3dc7cebebaddd0099602052604090205460ff16611ecd576001600160a01b031660008181527f52441000ea607f15e01522a9f503122a4a6a8b9b8a36f7a3dc7cebebaddd009960205260408120805460ff191660011790553391907fec29272e56a632e32eed7fd658a3260be47421ce3959838625209b981a715530907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50600090565b6000818152602081815260408083206001600160a01b038616845290915290205460ff16611f57576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5050600090565b6000818152602081815260408083206001600160a01b038616845290915290205460ff1615611f57576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b60405163a9059cbb60e01b81526001600160a01b0391821660048201526024810192909252602090829060449082906000907f0000000000000000000000000000000000000000000000000000000000000000165af1908115610fb05760009161205e575b501561204d57565b630a4fcfe560e11b60005260046000fd5b612077915060203d602011610fa957610f9b81836116c8565b3861204556fe7d7ffb7a348e1c6a02869081a26547b49160dd3df72d1d75a570eb9b698292eca26469706673582212201e13e5f66d6003fce697455eb8d1203c6d83c073c43313aeb704fccf7cc7f12564736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x1FFC9A7 EQ PUSH2 0x149B JUMPI POP DUP1 PUSH4 0x37B5CC8 EQ PUSH2 0x147E JUMPI DUP1 PUSH4 0x91CFE70 EQ PUSH2 0x1443 JUMPI DUP1 PUSH4 0x19CD00C8 EQ PUSH2 0x1335 JUMPI DUP1 PUSH4 0x1F1422E6 EQ PUSH2 0x125C JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1227 JUMPI DUP1 PUSH4 0x2B726B6A EQ PUSH2 0x11B5 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1175 JUMPI DUP1 PUSH4 0x2F48AB7D EQ PUSH2 0x1130 JUMPI DUP1 PUSH4 0x32E4342B EQ PUSH2 0x10D7 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x1091 JUMPI DUP1 PUSH4 0x4041C0E6 EQ PUSH2 0x1074 JUMPI DUP1 PUSH4 0x47C13C92 EQ PUSH2 0x103A JUMPI DUP1 PUSH4 0x4AE699EF EQ PUSH2 0xCE1 JUMPI DUP1 PUSH4 0x593F8C25 EQ PUSH2 0xBA0 JUMPI DUP1 PUSH4 0x596FD76E EQ PUSH2 0xB02 JUMPI DUP1 PUSH4 0x6C13A8E0 EQ PUSH2 0xAD6 JUMPI DUP1 PUSH4 0x75B238FC EQ PUSH2 0xA9B JUMPI DUP1 PUSH4 0x8FD611BE EQ PUSH2 0xA72 JUMPI DUP1 PUSH4 0x9137C48A EQ PUSH2 0x88D JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x840 JUMPI DUP1 PUSH4 0x9A886534 EQ PUSH2 0x63D JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x621 JUMPI DUP1 PUSH4 0xA4C5A4EF EQ PUSH2 0x3B3 JUMPI DUP1 PUSH4 0xA582DDF4 EQ PUSH2 0x36E JUMPI DUP1 PUSH4 0xB9BD2777 EQ PUSH2 0x329 JUMPI DUP1 PUSH4 0xCB3044F5 EQ PUSH2 0x1EF JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x1A8 JUMPI DUP1 PUSH4 0xE1F1C4A7 EQ PUSH2 0x18B JUMPI PUSH4 0xE268CAF7 EQ PUSH2 0x169 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x3E8 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x2710 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x1ED PUSH1 0x4 CALLDATALOAD PUSH2 0x1C7 PUSH2 0x1535 JUMP JUMPDEST SWAP1 PUSH2 0x1E8 PUSH2 0x1E3 DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x17A7 JUMP JUMPDEST PUSH2 0x1F5E JUMP JUMPDEST STOP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD DUP1 ISZERO ISZERO DUP1 PUSH2 0x31D JUMPI JUMPDEST PUSH2 0x215 SWAP1 PUSH2 0x15E7 JUMP JUMPDEST PUSH1 0x0 NOT DUP2 ADD SWAP1 DUP1 DUP3 GT PUSH2 0x307 JUMPI PUSH2 0x22B DUP3 PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 ADD SLOAD CALLER PUSH1 0x10 SWAP2 SWAP1 SWAP2 SHR PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 ISZERO PUSH2 0x2E1 JUMPI JUMPDEST ISZERO PUSH2 0x28E JUMPI PUSH1 0x1 PUSH2 0x25A PUSH1 0x0 SWAP4 PUSH2 0x162C JUMP JUMPDEST POP ADD DUP1 SLOAD PUSH1 0xFF PUSH1 0xB0 SHL NOT AND SWAP1 SSTORE PUSH32 0xFACCDB7B397916A1B9BB4922BFAD1945779C79029C5605ADBC7BECAE0D50689E DUP3 DUP1 LOG2 DUP1 RETURN JUMPDEST 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 0x43616C6C6572206D7573742062652070726F66696C65206F776E6572206F7220 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x30B236B4B7 PUSH1 0xD9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x248 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x2 SLOAD DUP2 GT ISZERO PUSH2 0x20C JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x3CF PUSH2 0x1535 JUMP JUMPDEST SWAP1 PUSH2 0x3D8 PUSH2 0x1747 JUMP JUMPDEST DUP1 ISZERO ISZERO DUP1 PUSH2 0x615 JUMPI JUMPDEST PUSH2 0x3EA SWAP1 PUSH2 0x15E7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 DUP3 ISZERO PUSH2 0x5D1 JUMPI PUSH1 0x0 NOT DUP3 ADD DUP3 DUP2 GT PUSH2 0x307 JUMPI PUSH2 0x412 PUSH1 0x1 SWAP2 PUSH2 0x162C JUMP JUMPDEST POP ADD SWAP2 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP4 SLOAD PUSH1 0x10 SHR AND SWAP2 DUP5 DUP4 EQ PUSH2 0x58C JUMPI DUP3 PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 JUMPDEST DUP3 SLOAD DUP1 DUP3 LT ISZERO PUSH2 0x55B JUMPI DUP5 PUSH2 0x451 DUP4 DUP7 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR EQ PUSH2 0x466 JUMPI POP PUSH1 0x1 ADD PUSH2 0x43C JUMP JUMPDEST SWAP1 PUSH1 0x0 SWAP7 SWAP3 SWAP4 SWAP5 SWAP6 SWAP7 NOT DUP3 ADD SWAP2 DUP3 GT PUSH2 0x307 JUMPI PUSH2 0x497 PUSH2 0x489 PUSH2 0x4B0 SWAP4 DUP8 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR SWAP2 DUP7 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SWAP2 SWAP1 DUP3 SLOAD SWAP1 PUSH1 0x3 SHL SWAP2 DUP3 SHL SWAP2 PUSH1 0x0 NOT SWAP1 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST DUP3 SLOAD SWAP3 DUP4 ISZERO PUSH2 0x545 JUMPI PUSH2 0x507 SWAP4 PUSH1 0x0 NOT ADD SWAP1 PUSH2 0x4CC DUP3 DUP3 PUSH2 0x1561 JUMP JUMPDEST DUP2 SLOAD PUSH1 0x0 NOT PUSH1 0x3 SWAP3 SWAP1 SWAP3 SHL SWAP2 SWAP1 SWAP2 SHL NOT AND SWAP1 SSTORE SSTORE DUP1 SLOAD PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND PUSH1 0x10 SWAP3 SWAP1 SWAP3 SHL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST DUP3 PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH2 0x51E DUP2 PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH2 0x1715 JUMP JUMPDEST PUSH32 0xA70F7022C816D870DD4C811C125A773779A4C56FFC8E0D26A85D0EBB967B70D4 PUSH1 0x0 DUP1 LOG4 STOP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x31 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP POP SWAP1 POP PUSH2 0x507 SWAP2 SWAP3 SWAP4 DUP1 SLOAD PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND PUSH1 0x10 SWAP3 SWAP1 SWAP3 SHL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6577206F776E6572206D75737420626520646966666572656E740000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4E6577206F776E65722063616E6E6F74206265207A65726F2061646472657373 PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST POP PUSH1 0x2 SLOAD DUP2 GT ISZERO PUSH2 0x3E1 JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x186 JUMPI PUSH2 0x66E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x1504 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x186 JUMPI PUSH2 0x68E SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x1504 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 SWAP3 SWAP1 PUSH1 0xFF AND DUP1 ISZERO PUSH2 0x808 JUMPI JUMPDEST ISZERO PUSH2 0x7A7 JUMPI PUSH2 0x6C7 SWAP4 CALLER PUSH2 0x1832 JUMP JUMPDEST PUSH1 0x2 SLOAD SWAP2 PUSH1 0x1 DUP4 ADD SWAP2 DUP3 DUP5 GT PUSH2 0x307 JUMPI PUSH1 0x1 PUSH1 0x40 SHL DUP5 LT ISZERO PUSH2 0x791 JUMPI PUSH32 0x9210378304358FC43D124800F81757C26A038D252A1909776D22DF7DF84F39CA PUSH2 0x786 PUSH2 0x778 DUP4 PUSH2 0x75D DUP8 SWAP6 DUP8 PUSH2 0x72B PUSH1 0x20 SWAP12 DUP10 PUSH1 0x2 SSTORE PUSH2 0x724 DUP2 PUSH2 0x162C JUMP JUMPDEST POP POP PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0xB0 SHL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB8 SHL SUB NOT SWAP1 SWAP2 AND PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB CALLER PUSH1 0x10 SHL AND OR OR SWAP1 SSTORE PUSH2 0x1C59 JUMP JUMPDEST CALLER PUSH1 0x0 MSTORE PUSH1 0x4 DUP9 MSTORE PUSH2 0x773 DUP6 PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH2 0x1715 JUMP JUMPDEST PUSH2 0x1D9B JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 CALLER SWAP7 DUP4 PUSH2 0x164B JUMP JUMPDEST SUB SWAP1 LOG3 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x33 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43616C6C6572206D75737420686176652041444D494E5F524F4C45206F722050 PUSH1 0x44 DUP3 ADD MSTORE PUSH19 0x524F46494C455F4D414E414745525F524F4C45 PUSH1 0x68 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x52441000EA607F15E01522A9F503122A4A6A8B9B8A36F7A3DC7CEBEBADDD0099 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x6B8 JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x859 PUSH2 0x1535 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x8A6 PUSH2 0x154B JUMP JUMPDEST PUSH2 0x8AE PUSH2 0x1535 JUMP JUMPDEST SWAP1 PUSH2 0x8B7 PUSH2 0x1747 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0xA2D JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 DUP3 ISZERO PUSH2 0x9E8 JUMPI DUP3 DUP3 EQ PUSH2 0x9A3 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 SWAP5 DUP3 MSTORE DUP2 KECCAK256 SWAP4 SWAP1 JUMPDEST DUP2 SLOAD DUP2 LT ISZERO PUSH2 0x965 JUMPI PUSH2 0x908 DUP2 DUP4 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR SWAP1 PUSH1 0x0 NOT DUP3 ADD DUP3 DUP2 GT PUSH2 0x307 JUMPI PUSH1 0x1 SWAP3 PUSH2 0x959 DUP7 DUP6 PUSH2 0x930 PUSH2 0x95F SWAP6 PUSH2 0x162C JUMP JUMPDEST POP ADD DUP1 SLOAD PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT AND PUSH1 0x10 SWAP3 SWAP1 SWAP3 SHL PUSH3 0x10000 PUSH1 0x1 PUSH1 0xB0 SHL SUB AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST DUP8 PUSH2 0x1715 JUMP JUMPDEST ADD PUSH2 0x8F5 JUMP JUMPDEST DUP4 PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP1 SLOAD SWAP1 PUSH1 0x0 DUP2 SSTORE DUP2 PUSH2 0x981 JUMPI STOP JUMPDEST PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x997 JUMPI STOP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x98E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x46726F6D20616E6420746F206D75737420626520646966666572656E74000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST 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 0x546F20616464726573732063616E6E6F74206265207A65726F00000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x46726F6D20616464726573732063616E6E6F74206265207A65726F0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x6 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0xB1B PUSH2 0x154B JUMP JUMPDEST PUSH2 0xB23 PUSH2 0x1747 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0xB4F JUMPI PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL PUSH1 0x6 SLOAD AND OR PUSH1 0x6 SSTORE PUSH1 0x0 DUP1 RETURN JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4576656E744D616E616765722063616E6E6F74206265207A65726F2061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x657373 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0xBB9 PUSH2 0x154B JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0xFF AND DUP1 ISZERO PUSH2 0xCCD JUMPI JUMPDEST PUSH2 0xBED SWAP1 PUSH2 0x158F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP2 DUP3 ISZERO PUSH2 0xC88 JUMPI PUSH2 0x2134 DUP3 GT PUSH2 0xC4D JUMPI PUSH32 0x52D237AABA02C36FCF683A7F440090599BE7A26B45E20BCADF87A892F935C70B SWAP2 PUSH2 0xC34 PUSH1 0x20 SWAP3 PUSH2 0x1DFF JUMP JUMPDEST POP DUP4 PUSH1 0x0 MSTORE PUSH1 0x5 DUP3 MSTORE DUP1 PUSH1 0x40 PUSH1 0x0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x427073206D757374206265203C3D203835303 PUSH1 0x6C SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4163636F756E742063616E6E6F74206265207A65726F20616464726573730000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xBE4 JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH2 0xCEF CALLDATASIZE PUSH2 0x14EE JUMP JUMPDEST SWAP1 PUSH1 0x2 PUSH1 0x1 SLOAD EQ PUSH2 0x1029 JUMPI PUSH1 0x2 PUSH1 0x1 SSTORE DUP1 ISZERO PUSH2 0xFE5 JUMPI DUP2 PUSH1 0x0 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD DUP1 ISZERO PUSH2 0xFD0 JUMPI PUSH1 0x2 SLOAD DUP2 GT PUSH2 0xFD0 JUMPI PUSH1 0x0 NOT DUP2 ADD DUP2 DUP2 GT PUSH2 0x307 JUMPI PUSH2 0xD38 SWAP1 PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SWAP2 PUSH1 0xFF DUP4 SLOAD PUSH1 0xB0 SHR AND ISZERO PUSH2 0xFBC JUMPI POP PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x20 DUP2 PUSH1 0x64 DUP2 PUSH1 0x0 PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xFB0 JUMPI PUSH1 0x0 SWAP2 PUSH2 0xF81 JUMPI JUMPDEST POP ISZERO PUSH2 0xF70 JUMPI PUSH2 0x3E8 DUP4 MUL DUP4 DUP2 DIV PUSH2 0x3E8 SUB PUSH2 0x307 JUMPI PUSH2 0x2710 SWAP1 DIV PUSH2 0x1F4 DUP5 MUL DUP5 DUP2 DIV PUSH2 0x1F4 SUB PUSH2 0x307 JUMPI PUSH2 0x2710 SWAP1 DIV SWAP1 DUP1 PUSH2 0xF40 JUMPI JUMPDEST POP DUP1 PUSH2 0xF10 JUMPI JUMPDEST POP DUP1 SLOAD SWAP2 DUP3 ISZERO PUSH2 0xEFF JUMPI SLOAD PUSH2 0xFFFF AND DUP1 ISZERO PUSH2 0xEFF JUMPI PUSH2 0xE12 PUSH2 0x2710 SWAP2 DUP6 SWAP5 SWAP4 SWAP5 PUSH2 0x1702 JUMP JUMPDEST DIV SWAP2 PUSH1 0x0 NOT DUP3 ADD DUP3 DUP2 GT SWAP2 PUSH1 0x0 SWAP2 SWAP1 DUP3 JUMPDEST DUP6 DUP2 LT PUSH2 0xE6B JUMPI DUP9 PUSH32 0xF2838E4B541F90D41A1076A560D75E948F7D1008E72118A655568626A30B451F PUSH1 0x20 DUP11 DUP4 PUSH1 0x0 MSTORE PUSH1 0x3 DUP3 MSTORE PUSH1 0x0 PUSH1 0x40 DUP2 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 PUSH1 0x1 DUP1 SSTORE STOP JUMPDEST DUP5 PUSH1 0x0 PUSH2 0xE78 DUP4 DUP6 PUSH2 0x1561 JUMP JUMPDEST POP SWAP2 PUSH2 0xEEB JUMPI POP DUP2 DUP5 SUB PUSH2 0xECF JUMPI DUP5 DUP9 SUB DUP9 DUP2 GT PUSH2 0x307 JUMPI SWAP1 JUMPDEST DUP2 PUSH2 0xEA2 JUMPI JUMPDEST POP POP PUSH1 0x1 ADD PUSH2 0xE23 JUMP JUMPDEST SLOAD SWAP2 SWAP5 PUSH1 0x1 SWAP3 PUSH2 0xEC7 SWAP3 SWAP2 SWAP1 PUSH2 0xEC2 SWAP1 DUP4 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1FE0 JUMP JUMPDEST PUSH2 0x173A JUMP JUMPDEST SWAP4 SWAP1 DUP11 PUSH2 0xE98 JUMP JUMPDEST PUSH2 0x2710 PUSH2 0xEE4 PUSH2 0xFFFF DUP4 SLOAD PUSH1 0xA0 SHR AND DUP12 PUSH2 0x1702 JUMP JUMPDEST DIV SWAP1 PUSH2 0xE92 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 SWAP1 REVERT JUMPDEST PUSH4 0x652546BF PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xF3A SWAP1 PUSH32 0x0 PUSH2 0x1FE0 JUMP JUMPDEST DUP5 PUSH2 0xDED JUMP JUMPDEST PUSH2 0xF6A SWAP1 PUSH32 0x0 PUSH2 0x1FE0 JUMP JUMPDEST DUP6 PUSH2 0xDE6 JUMP JUMPDEST PUSH4 0xBE053C3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH2 0xFA3 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFA9 JUMPI JUMPDEST PUSH2 0xF9B DUP2 DUP4 PUSH2 0x16C8 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x16EA JUMP JUMPDEST DUP6 PUSH2 0xDAF JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0xF91 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH4 0x50DFE913 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP3 PUSH4 0x3017121F PUSH1 0xE2 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416D6F756E74206D7573742062652067726561746572207468616E207A65726F PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST PUSH4 0x3EE5AEB5 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x105B PUSH2 0x154B JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x1F4 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x10AA PUSH2 0x1535 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0x10C6 JUMPI PUSH2 0x1ED SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x1F5E JUMP JUMPDEST PUSH4 0x334BD919 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x10F0 PUSH2 0x154B JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x24 CALLDATALOAD SWAP2 SWAP1 DUP3 LT ISZERO PUSH2 0x186 JUMPI PUSH1 0x20 SWAP2 PUSH2 0x1121 SWAP2 PUSH2 0x1561 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH2 0x1ED PUSH1 0x4 CALLDATALOAD PUSH2 0x1194 PUSH2 0x1535 JUMP JUMPDEST SWAP1 PUSH2 0x11B0 PUSH2 0x1E3 DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1ED3 JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x11D1 PUSH2 0x1535 JUMP JUMPDEST DUP2 ISZERO ISZERO DUP1 PUSH2 0x121B JUMPI JUMPDEST PUSH2 0x11E3 SWAP1 PUSH2 0x15E7 JUMP JUMPDEST PUSH1 0x0 NOT DUP3 ADD SWAP2 DUP3 GT PUSH2 0x307 JUMPI PUSH2 0x11FA PUSH1 0x20 SWAP3 PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 ADD SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 DUP4 AND PUSH1 0x10 SWAP3 SWAP1 SWAP3 SHR SWAP1 SWAP3 AND EQ DUP2 MSTORE RETURN JUMPDEST POP PUSH1 0x2 SLOAD DUP3 GT ISZERO PUSH2 0x11DA JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH2 0x1254 PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x186 JUMPI PUSH2 0x1290 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x1504 JUMP JUMPDEST SWAP1 PUSH1 0x44 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x186 JUMPI PUSH2 0x12B1 SWAP1 CALLDATASIZE SWAP1 PUSH1 0x4 ADD PUSH2 0x1504 JUMP JUMPDEST SWAP3 PUSH2 0x12BA PUSH2 0x1747 JUMP JUMPDEST PUSH1 0x0 NOT DUP6 ADD DUP6 DUP2 GT PUSH2 0x307 JUMPI PUSH32 0xAB5ABB0AA764A40C901DB1A9F840648E913AEC7B7AA65483BB7ED5FA2D6209AD SWAP5 PUSH2 0x1320 SWAP4 PUSH2 0x773 SWAP4 PUSH2 0x12FC PUSH2 0x1316 SWAP5 PUSH2 0x162C JUMP JUMPDEST POP PUSH1 0x1 DUP2 ADD SLOAD SWAP1 SWAP8 SWAP1 PUSH1 0x10 SHR PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x1832 JUMP JUMPDEST DUP2 DUP2 SWAP4 SWAP3 SWAP6 PUSH2 0x1C59 JUMP JUMPDEST SWAP1 PUSH2 0x1330 PUSH1 0x40 MLOAD SWAP3 DUP4 SWAP3 DUP4 PUSH2 0x164B JUMP JUMPDEST SUB SWAP1 LOG2 STOP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH2 0x1343 CALLDATASIZE PUSH2 0x14EE JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND DUP1 ISZERO PUSH2 0x142F JUMPI JUMPDEST PUSH2 0x1373 SWAP1 PUSH2 0x158F JUMP JUMPDEST DUP1 ISZERO ISZERO DUP1 PUSH2 0x1423 JUMPI JUMPDEST PUSH2 0x1385 SWAP1 PUSH2 0x15E7 JUMP JUMPDEST PUSH1 0x0 NOT DUP2 ADD DUP2 DUP2 GT PUSH2 0x307 JUMPI PUSH1 0x1 PUSH2 0x139E PUSH1 0xFF SWAP3 PUSH2 0x162C JUMP JUMPDEST POP ADD SLOAD PUSH1 0xB0 SHR AND ISZERO PUSH2 0x13E6 JUMPI PUSH1 0x20 PUSH32 0xF133B9440DC29CE1E3C772F23B9B8B2BA56BA25688E9E4C084CA0C06834E3F10 SWAP2 DUP4 PUSH1 0x0 MSTORE PUSH1 0x3 DUP3 MSTORE DUP1 PUSH1 0x40 PUSH1 0x0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 STOP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x15 PUSH1 0x24 DUP3 ADD MSTORE PUSH21 0x50726F66696C65206973206E6F7420616374697665 PUSH1 0x58 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST POP PUSH1 0x2 SLOAD DUP2 GT ISZERO PUSH2 0x137C JUMP JUMPDEST POP PUSH1 0x6 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x136A JUMP JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0xEC29272E56A632E32EED7FD658A3260BE47421CE3959838625209B981A715530 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH2 0x2134 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x186 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP3 AND DUP1 SWAP3 SUB PUSH2 0x186 JUMPI PUSH1 0x20 SWAP2 PUSH4 0x7965DB0B PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0x14DD JUMPI JUMPDEST POP ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL EQ SWAP1 POP DUP4 PUSH2 0x14D6 JUMP JUMPDEST PUSH1 0x40 SWAP1 PUSH1 0x3 NOT ADD SLT PUSH2 0x186 JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x24 CALLDATALOAD SWAP1 JUMP JUMPDEST SWAP2 DUP2 PUSH1 0x1F DUP5 ADD SLT ISZERO PUSH2 0x186 JUMPI DUP3 CALLDATALOAD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP4 GT PUSH2 0x186 JUMPI PUSH1 0x20 DUP1 DUP6 ADD SWAP5 DUP5 PUSH1 0x5 SHL ADD ADD GT PUSH2 0x186 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x186 JUMPI JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x186 JUMPI JUMP JUMPDEST DUP1 SLOAD DUP3 LT ISZERO PUSH2 0x1579 JUMPI PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ISZERO PUSH2 0x1596 JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x43616C6C6572206D7573742062652061646D696E206F72204576656E744D616E PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x30B3B2B9 PUSH1 0xE1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST ISZERO PUSH2 0x15EE JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x141C9BD99A5B1948191BD95CC81B9BDD08195E1A5CDD PUSH1 0x52 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x2 SLOAD DUP2 LT ISZERO PUSH2 0x1579 JUMPI PUSH1 0x2 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 SHL ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP2 ADD PUSH1 0x40 DUP3 MSTORE DUP3 MLOAD DUP1 SWAP2 MSTORE PUSH1 0x20 PUSH1 0x60 DUP4 ADD SWAP4 ADD SWAP1 PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x16A9 JUMPI POP POP POP PUSH1 0x20 DUP2 DUP4 SUB SWAP2 ADD MSTORE PUSH1 0x20 DUP1 DUP4 MLOAD SWAP3 DUP4 DUP2 MSTORE ADD SWAP3 ADD SWAP1 PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x1693 JUMPI POP POP POP SWAP1 JUMP JUMPDEST DUP3 MLOAD DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x1686 JUMP JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 MSTORE PUSH1 0x20 SWAP5 DUP6 ADD SWAP5 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 ADD PUSH2 0x1664 JUMP JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x791 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x186 JUMPI MLOAD DUP1 ISZERO ISZERO DUP2 SUB PUSH2 0x186 JUMPI SWAP1 JUMP JUMPDEST DUP2 DUP2 MUL SWAP3 SWAP2 DUP2 ISZERO SWAP2 DUP5 DIV EQ OR ISZERO PUSH2 0x307 JUMPI JUMP JUMPDEST SWAP1 DUP2 SLOAD SWAP2 PUSH1 0x1 PUSH1 0x40 SHL DUP4 LT ISZERO PUSH2 0x791 JUMPI DUP3 PUSH2 0x497 SWAP2 PUSH1 0x1 PUSH2 0x1738 SWAP6 ADD DUP2 SSTORE PUSH2 0x1561 JUMP JUMPDEST JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x307 JUMPI JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x207E DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x176E JUMPI JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH32 0xA49807205CE4D355092EF5A8A18F56E8913CF4A201FBE287825B095693C21775 PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x17CA JUMPI POP JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x791 JUMPI PUSH1 0x5 SHL PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP2 LT ISZERO PUSH2 0x1579 JUMPI PUSH1 0x5 SHL ADD SWAP1 JUMP JUMPDEST CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x186 JUMPI SWAP1 JUMP JUMPDEST DUP1 MLOAD DUP3 LT ISZERO PUSH2 0x1579 JUMPI PUSH1 0x20 SWAP2 PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST SWAP5 SWAP3 SWAP4 SWAP1 SWAP2 SWAP5 DUP2 DUP7 SUB PUSH2 0x1C1B JUMPI PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD SWAP1 DUP2 PUSH2 0x2710 SUB SWAP7 PUSH2 0x2710 DUP9 GT PUSH2 0x307 JUMPI PUSH2 0x3E7 NOT DUP9 ADD SWAP8 DUP1 DUP10 GT PUSH2 0x307 JUMPI PUSH2 0x5DB NOT ADD SWAP8 DUP9 GT PUSH2 0x307 JUMPI DUP3 ISZERO DUP1 ISZERO SWAP6 PUSH1 0x0 SWAP6 SWAP2 PUSH2 0x1C13 JUMPI PUSH1 0xFF PUSH1 0x1 JUMPDEST AND SWAP10 PUSH2 0x189F DUP12 DUP6 PUSH2 0x173A JUMP JUMPDEST ISZERO PUSH2 0x1BD9 JUMPI PUSH2 0x18B2 DUP12 DUP6 SWAP12 SWAP4 SWAP7 SWAP12 PUSH2 0x173A JUMP JUMPDEST SWAP2 PUSH2 0x18BC DUP4 PUSH2 0x17E2 JUMP JUMPDEST SWAP3 PUSH2 0x18CA PUSH1 0x40 MLOAD SWAP5 DUP6 PUSH2 0x16C8 JUMP JUMPDEST DUP1 DUP5 MSTORE PUSH2 0x18D9 PUSH1 0x1F NOT SWAP2 PUSH2 0x17E2 JUMP JUMPDEST ADD CALLDATASIZE PUSH1 0x20 DUP6 ADD CALLDATACOPY PUSH2 0x18EB DUP4 SWAP13 DUP13 PUSH2 0x173A JUMP JUMPDEST SWAP6 PUSH2 0x18F5 DUP8 PUSH2 0x17E2 JUMP JUMPDEST SWAP7 PUSH2 0x1903 PUSH1 0x40 MLOAD SWAP9 DUP10 PUSH2 0x16C8 JUMP JUMPDEST DUP1 DUP9 MSTORE PUSH2 0x1912 PUSH1 0x1F NOT SWAP2 PUSH2 0x17E2 JUMP JUMPDEST ADD CALLDATASIZE PUSH1 0x20 DUP10 ADD CALLDATACOPY DUP7 SWAP12 DUP10 SWAP3 JUMPDEST DUP2 DUP5 LT PUSH2 0x19B8 JUMPI POP POP POP POP DUP7 SUB PUSH2 0x1974 JUMPI PUSH2 0x2134 SWAP7 PUSH2 0x1944 JUMPI JUMPDEST POP POP POP POP POP SUB PUSH2 0xEFF JUMPI JUMP JUMPDEST SWAP2 PUSH2 0x1964 SWAP2 PUSH2 0x1958 DUP3 PUSH2 0x196A SWAP9 SWAP7 SWAP6 PUSH2 0x181E JUMP JUMPDEST MSTORE PUSH2 0xFFFF DUP6 AND SWAP3 PUSH2 0x181E JUMP JUMPDEST MSTORE PUSH2 0x173A JUMP JUMPDEST CODESIZE DUP1 DUP1 DUP1 DUP1 PUSH2 0x1938 JUMP JUMPDEST PUSH1 0x64 PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x20 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x536861726573206D7573742073756D20746F2072656D61696E696E6720627073 PUSH1 0x44 DUP3 ADD MSTORE REVERT JUMPDEST SWAP3 SWAP10 SWAP2 SWAP3 SWAP1 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x19D9 PUSH2 0x19D4 DUP14 DUP12 DUP9 PUSH2 0x17FA JUMP JUMPDEST PUSH2 0x180A JUMP JUMPDEST AND ISZERO PUSH2 0x1B9B JUMPI DUP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x19F6 PUSH2 0x19D4 DUP15 DUP13 DUP10 PUSH2 0x17FA JUMP JUMPDEST AND EQ PUSH2 0x1B39 JUMPI PUSH1 0x1 DUP12 ADD DUP1 DUP13 GT PUSH2 0x307 JUMPI JUMPDEST DUP9 DUP2 LT PUSH2 0x1AC0 JUMPI POP PUSH2 0x1A1E PUSH2 0x19D4 DUP13 DUP11 DUP8 PUSH2 0x17FA JUMP JUMPDEST PUSH2 0x1A28 DUP13 DUP9 PUSH2 0x181E JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 MSTORE PUSH2 0x2710 PUSH2 0x1A43 DUP13 DUP6 DUP6 PUSH2 0x17FA JUMP JUMPDEST CALLDATALOAD GT PUSH2 0x1A87 JUMPI PUSH2 0x1A7D PUSH1 0x1 SWAP2 DUP13 PUSH2 0x1A6A PUSH2 0xFFFF PUSH2 0x1A61 DUP4 DUP10 DUP10 PUSH2 0x17FA JUMP JUMPDEST CALLDATALOAD AND SWAP2 DUP14 PUSH2 0x181E JUMP JUMPDEST MSTORE PUSH2 0x1A76 DUP14 DUP7 DUP7 PUSH2 0x17FA JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH2 0x173A JUMP JUMPDEST SWAP11 ADD SWAP3 SWAP2 SWAP1 PUSH2 0x191E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x5368617265206578636565647320627073 PUSH1 0x78 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH2 0x1ACE PUSH2 0x19D4 DUP14 DUP12 DUP9 PUSH2 0x17FA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1AE4 PUSH2 0x19D4 DUP5 DUP14 DUP11 PUSH2 0x17FA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 AND EQ PUSH2 0x1AFE JUMPI PUSH1 0x1 ADD PUSH2 0x1A08 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x13 PUSH1 0x24 DUP3 ADD MSTORE PUSH19 0x111D5C1B1A58D85D19481C9958DA5C1A595B9D PUSH1 0x6A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x34 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x50726F66696C65206F776E6572206973206164646564206175746F6D61746963 PUSH1 0x44 DUP3 ADD MSTORE PUSH20 0x30B6363C903A37903234B9BA3934B13ABA34B7B7 PUSH1 0x61 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x16995C9BC81859191C995CDCC81C9958DA5C1A595B9D PUSH1 0x52 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x12 PUSH1 0x24 DUP3 ADD MSTORE PUSH18 0x22B6B83A3C903234B9BA3934B13ABA34B7B7 PUSH1 0x71 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0xFF DUP7 PUSH2 0x1893 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x16 PUSH1 0x24 DUP3 ADD MSTORE PUSH22 0x82E4E4C2F2E640D8CADCCEE8D040DAD2E6DAC2E8C6D PUSH1 0x53 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST SWAP3 SWAP2 SWAP1 DUP4 SLOAD PUSH1 0x0 DUP6 SSTORE DUP1 PUSH2 0x1D74 JUMPI JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 JUMPDEST DUP2 MLOAD DUP4 LT ISZERO PUSH2 0x1D50 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1C89 DUP5 DUP5 PUSH2 0x181E JUMP JUMPDEST MLOAD AND PUSH2 0xFFFF PUSH2 0x1C98 DUP6 DUP8 PUSH2 0x181E JUMP JUMPDEST MLOAD AND SWAP2 PUSH1 0x40 MLOAD SWAP2 PUSH1 0x40 DUP4 ADD DUP4 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x791 JUMPI PUSH1 0x40 MSTORE DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP3 DUP4 MSTORE DUP8 SLOAD PUSH1 0x1 PUSH1 0x40 SHL DUP2 LT ISZERO PUSH2 0x791 JUMPI DUP1 PUSH1 0x1 PUSH2 0x1CE0 SWAP3 ADD DUP11 SSTORE DUP10 PUSH2 0x1561 JUMP JUMPDEST PUSH2 0x1D3A JUMPI SWAP2 MLOAD DUP3 SLOAD SWAP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xB0 SHL SUB NOT SWAP1 SWAP5 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 SWAP1 SWAP2 AND OR PUSH1 0xA0 SWAP4 SWAP1 SWAP4 SHL PUSH2 0xFFFF PUSH1 0xA0 SHL AND SWAP3 SWAP1 SWAP3 OR SWAP1 SSTORE PUSH1 0x1 SWAP1 PUSH2 0x1D32 SWAP1 PUSH2 0xFFFF PUSH2 0x1D2A DUP7 DUP9 PUSH2 0x181E JUMP JUMPDEST MLOAD AND SWAP1 PUSH2 0x173A JUMP JUMPDEST SWAP3 ADD SWAP2 PUSH2 0x1C6E JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP4 SWAP5 SWAP3 POP POP POP PUSH2 0x2134 DUP3 SUB PUSH2 0xEFF JUMPI PUSH1 0x1 PUSH2 0xFFFF SWAP2 ADD SWAP2 AND PUSH2 0xFFFF NOT DUP3 SLOAD AND OR SWAP1 SSTORE JUMP JUMPDEST DUP5 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x1D8F JUMPI POP PUSH2 0x1C68 JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x1D82 JUMP JUMPDEST SWAP1 DUP2 MLOAD PUSH2 0x1DA7 DUP2 PUSH2 0x17E2 JUMP JUMPDEST SWAP1 PUSH2 0x1DB5 PUSH1 0x40 MLOAD SWAP3 DUP4 PUSH2 0x16C8 JUMP JUMPDEST DUP1 DUP3 MSTORE PUSH2 0x1DC4 PUSH1 0x1F NOT SWAP2 PUSH2 0x17E2 JUMP JUMPDEST ADD CALLDATASIZE PUSH1 0x20 DUP4 ADD CALLDATACOPY PUSH1 0x0 JUMPDEST DUP4 MLOAD DUP2 LT ISZERO PUSH2 0x1DFA JUMPI DUP1 PUSH2 0xFFFF PUSH2 0x1DE7 PUSH1 0x1 SWAP4 DUP8 PUSH2 0x181E JUMP JUMPDEST MLOAD AND PUSH2 0x1DF3 DUP3 DUP6 PUSH2 0x181E JUMP JUMPDEST MSTORE ADD PUSH2 0x1DCE JUMP JUMPDEST POP SWAP2 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x52441000EA607F15E01522A9F503122A4A6A8B9B8A36F7A3DC7CEBEBADDD0099 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x1ECD JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH32 0x52441000EA607F15E01522A9F503122A4A6A8B9B8A36F7A3DC7CEBEBADDD0099 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0xEC29272E56A632E32EED7FD658A3260BE47421CE3959838625209B981A715530 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x1F57 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x1F57 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0xA9059CBB PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x44 SWAP1 DUP3 SWAP1 PUSH1 0x0 SWAP1 PUSH32 0x0 AND GAS CALL SWAP1 DUP2 ISZERO PUSH2 0xFB0 JUMPI PUSH1 0x0 SWAP2 PUSH2 0x205E JUMPI JUMPDEST POP ISZERO PUSH2 0x204D JUMPI JUMP JUMPDEST PUSH4 0xA4FCFE5 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH2 0x2077 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0xFA9 JUMPI PUSH2 0xF9B DUP2 DUP4 PUSH2 0x16C8 JUMP JUMPDEST CODESIZE PUSH2 0x2045 JUMP INVALID PUSH30 0x7FFB7A348E1C6A02869081A26547B49160DD3DF72D1D75A570EB9B698292 0xEC LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x1E SGT 0xE5 0xF6 PUSH14 0x6003FCE697455EB8D1203C6D83C0 PUSH20 0xC43313AEB704FCCF7CC7F12564736F6C63430008 SHR STOP CALLER ","sourceMap":"274:14852:33:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;1049:4;274:14852;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;1266:5;274:14852;;;;;;;;;-1:-1:-1;;274:14852:33;;;;4747:26:0;274:14852:33;;;;:::i;:::-;4717:18:0;2475:4;4717:18;;3901:6;274:14852:33;3901:6:0;274:14852:33;;3901:22:0;274:14852:33;3901:6:0;274:14852:33;3901:22:0;274:14852:33;3810:120:0;;4717:18;2475:4;:::i;:::-;4747:26;:::i;:::-;274:14852:33;;;;;;;-1:-1:-1;;274:14852:33;;;;;;4489:13;;;:45;;;274:14852;4481:80;;;:::i;:::-;-1:-1:-1;;274:14852:33;;;;;;;;4592:23;;;:::i;:::-;-1:-1:-1;274:14852:33;4592:29;274:14852;4625:10;274:14852;;;;;-1:-1:-1;;;;;274:14852:33;4592:43;:78;;;;274:14852;;;;;12048:23;274:14852;12048:23;;:::i;:::-;-1:-1:-1;12048:32:33;274:14852;;-1:-1:-1;;;;274:14852:33;;;12103:29;;;;274:14852;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;4592:78;-1:-1:-1;4625:10:33;274:14852;;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;;4592:78;;274:14852;;;;;;;;;;;;4489:45;-1:-1:-1;4519:8:33;274:14852;4506:28;;;4489:45;;274:14852;;;;;;-1:-1:-1;;274:14852:33;;;;;;831:33;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;756:35;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;;:::i;:::-;2475:4:0;;;:::i;:::-;10279:13:33;;;:45;;;274:14852;10271:80;;;:::i;:::-;-1:-1:-1;;;;;274:14852:33;;;10369:22;;274:14852;;-1:-1:-1;;274:14852:33;;;;;;;10470:23;274:14852;10470:23;;:::i;:::-;10527:13;;274:14852;;;;;;;;;;;10558:25;;;;274:14852;;;;;;;;;;;10762:13;274:14852;10807:3;274:14852;;10777:28;;;;;;10830:20;;;;;:::i;:::-;274:14852;;;;;;10830:33;10826:206;;10807:3;274:14852;;10762:13;;10826:206;274:14852;;;;;;;;;;;;;;;;10883:20;10906:47;10883:70;10906:47;;;:::i;:::-;274:14852;;;;;;10883:20;;;:::i;:::-;:70;274:14852;;;;;;;;;;;;;;;;;;;;;10883:70;274:14852;;;;;;;11087:24;;-1:-1:-1;;274:14852:33;;;;;;:::i;:::-;;;-1:-1:-1;;274:14852:33;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;274:14852:33;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;11087:24;274:14852;;;;;;11121:39;274:14852;;;;11121:39;:::i;:::-;11176:63;274:14852;11176:63;;274:14852;;;;;;;;;;;;;10777:28;;;;;11087:24;10777:28;;;274:14852;;-1:-1:-1;;;;;;274:14852:33;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10279:45;-1:-1:-1;10309:8:33;274:14852;10296:28;;;10279:45;;274:14852;;;;;;-1:-1:-1;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;4262:10;274:14852;;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;;;;;4242:76;;;;274:14852;;;;5827:50;4262:10;;5827:50;:::i;:::-;5916:8;274:14852;;5934:1;274:14852;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;6226:152;;6341:27;274:14852;6148:10;274:14852;;;6001:23;274:14852;;;5916:8;274:14852;;;;:::i;:::-;;;6001:23;:::i;:::-;-1:-1:-1;5934:1:33;6034:13;;274:14852;;-1:-1:-1;;;;;;;;;274:14852:33;;;-1:-1:-1;;;;;4262:10:33;274:14852;;;;;;;6148:10;:::i;:::-;4262;274:14852;;;;;6169:41;274:14852;;;;6169:41;:::i;:::-;6341:27;:::i;:::-;274:14852;;4262:10;;;;6226:152;;;:::i;:::-;;;;274:14852;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;4242:76;-1:-1:-1;4262:10:33;274:14852;;;;;;;;;;;;;4242:76;;274:14852;;;;;;-1:-1:-1;;274:14852:33;;;;;;:::i;:::-;;;;;;;;;;;2954:29:0;274:14852:33;;;;;;-1:-1:-1;274:14852:33;;;;;;-1:-1:-1;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;:::i;:::-;;;:::i;:::-;2475:4:0;;;:::i;:::-;-1:-1:-1;;;;;274:14852:33;11364:18;;274:14852;;-1:-1:-1;;;;;274:14852:33;;;11432:16;;274:14852;;11496:10;;;274:14852;;;;;;;;;;;;;;;;;;;;11717:3;274:14852;;11692:23;;;;;11756:15;;;;:::i;:::-;274:14852;;;;;;;;;;;;;;;;11806:1;11785:23;:34;:23;;;11833:26;11785:23;;:::i;:::-;-1:-1:-1;11785:29:33;274:14852;;-1:-1:-1;;;;;;274:14852:33;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;11785:34;11833:26;;:::i;:::-;274:14852;11677:13;;11692:23;;274:14852;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11806:1;274:14852;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;2141:27;274:14852;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;408:23;274:14852;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;;1609:48;274:14852;;;;;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;:::i;:::-;2475:4:0;;:::i;:::-;-1:-1:-1;;;;;274:14852:33;3843:27;;274:14852;;;;;3920:28;274:14852;;;3920:28;274:14852;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;:::i;:::-;4047:10;274:14852;;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;;;;;4027:61;;;;274:14852;4006:144;;;:::i;:::-;-1:-1:-1;;;;;274:14852:33;;;5289:21;;274:14852;;1186:4;5363:30;;274:14852;;5525:35;5427:41;;274:14852;5427:41;;:::i;:::-;;274:14852;;;5478:17;274:14852;;;;;;;;;;;;5525:35;274:14852;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;;;;4027:61;-1:-1:-1;4076:12:33;274:14852;-1:-1:-1;;;;;274:14852:33;4047:10;4062:26;4027:61;;274:14852;;;;;;;:::i;:::-;;1899:1:17;2702:7;274:14852:33;2702:18:17;2698:86;;1899:1;2702:7;274:14852:33;7629:10;;274:14852;;;;;7706:13;274:14852;;;;;;7742:14;;7738:79;;1899:1:17;274:14852:33;7830:27;;7826:92;;-1:-1:-1;;274:14852:33;;;;;;;7959:23;;;:::i;:::-;7997:16;2702:7:17;7997:16:33;;274:14852;;;;;;;7996:17;7992:81;;-1:-1:-1;274:14852:33;;-1:-1:-1;;;8128:52:33;;8146:10;274:14852;8128:52;;274:14852;8166:4;274:14852;;;;;;;;;;;;8128:52;274:14852;-1:-1:-1;8128:4:33;-1:-1:-1;;;;;274:14852:33;8128:52;;;;;;;274:14852;8128:52;;;274:14852;8127:53;;8123:115;;1049:4;274:14852;;;;;1049:4;274:14852;;;1266:5;274:14852;;1114:3;274:14852;;;;;1114:3;274:14852;;;1266:5;274:14852;;8410:20;;8406:94;;274:14852;8513:18;;8509:88;;274:14852;;;;8985:20;;;8981:80;;274:14852;;;9074:21;;9070:81;;9186:25;1266:5;9186:25;;;;;;:::i;:::-;274:14852;;-1:-1:-1;;274:14852:33;;;;;;;;;;9290:19;;;;;;274:14852;8768:35;274:14852;;;;;7706:13;274:14852;;;;;;;;;;;;8768:35;2702:7:17;274:14852:33;;;9311:3;9330:19;274:14852;9403:26;;;;:::i;:::-;274:14852;;;;-1:-1:-1;9447:24:33;;;;;274:14852;;;;;;;;9443:273;;9734:15;9730:150;;9443:273;9311:3;;2702:7:17;274:14852:33;9275:13;;9730:150;274:14852;;;2702:7:17;;9839:26:33;;274:14852;;9809:11;;274:14852;;-1:-1:-1;;;;;274:14852:33;9809:11;:::i;:::-;9839:26;:::i;:::-;9730:150;;;;;9443:273;1266:5;9658:27;274:14852;;;;;;9658:27;;:::i;:::-;274:14852;9443:273;;;274:14852;-1:-1:-1;;;274:14852:33;;;;;;;;9070:81;9028:22;;;274:14852;9118:22;274:14852;;9118:22;8509:88;8571:14;8561:8;;8571:14;:::i;:::-;8509:88;;;8406:94;8472:16;8460:10;;8472:16;:::i;:::-;8406:94;;;8123:115;8203:24;;;274:14852;8203:24;274:14852;;8203:24;8128:52;;;;274:14852;8128:52;274:14852;8128:52;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;274:14852;;;;;;;;;7992:81;8036:26;;;274:14852;8036:26;274:14852;;;;8036:26;7826:92;7779:27;;;;274:14852;7880:27;274:14852;;;;7880:27;274:14852;;;;;;;;;;;;;;;;;;;;;;;;;2698:86:17;2743:30;;;274:14852:33;2743:30:17;274:14852:33;;2743:30:17;274:14852:33;;;;;;-1:-1:-1;;274:14852:33;;;;-1:-1:-1;;;;;274:14852:33;;:::i;:::-;;;;2043:52;274:14852;;;;;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;1114:3;274:14852;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;:::i;:::-;735:10:14;-1:-1:-1;;;;;274:14852:33;;5421:34:0;5417:102;;5529:37;274:14852:33;;;5529:37:0;:::i;5417:102::-;5478:30;;;274:14852:33;5478:30:0;274:14852:33;;5478:30:0;274:14852:33;;;;;;-1:-1:-1;;274:14852:33;;;;;;:::i;:::-;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;;;;1693:50;;;;;274:14852;1693:50;;;;:::i;:::-;274:14852;;;;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;904:28;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;4330:25:0;274:14852:33;;;;:::i;:::-;4300:18:0;2475:4;4300:18;;3901:6;274:14852:33;3901:6:0;274:14852:33;;3901:22:0;274:14852:33;3901:6:0;274:14852:33;3901:22:0;274:14852:33;3810:120:0;;2475:4;4330:25;:::i;274:14852:33:-;;;;;;-1:-1:-1;;274:14852:33;;;;;;;;:::i;:::-;10018:13;;;:45;;;274:14852;10010:80;;;:::i;:::-;-1:-1:-1;;274:14852:33;;;;;;;10107:23;274:14852;10107:23;;:::i;:::-;-1:-1:-1;274:14852:33;10107:29;274:14852;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;10107:40;274:14852;;;10018:45;-1:-1:-1;10048:8:33;274:14852;10035:28;;;10018:45;;274:14852;;;;;;-1:-1:-1;;274:14852:33;;;;;;;;3901:6:0;274:14852:33;3901:6:0;274:14852:33;;3901:22:0;274:14852:33;3901:6:0;274:14852:33;3901:22:0;274:14852:33;3810:120:0;;274:14852:33;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;2475:4:0;;;:::i;:::-;-1:-1:-1;;274:14852:33;;;;;;;6873:128;6630:23;6964:27;6630:23;6847:10;6630:23;;6739:53;6630:23;;:::i;:::-;-1:-1:-1;274:14852:33;6758:13;;274:14852;;;;;;-1:-1:-1;;;;;274:14852:33;6739:53;:::i;:::-;6847:10;;;;;;:::i;6964:27::-;274:14852;6873:128;274:14852;;6873:128;;;;;:::i;:::-;;;;274:14852;;;;;;;;:::i;:::-;7144:10;274:14852;;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;;7124:61;;;;274:14852;7103:144;;;:::i;:::-;7265:13;;;:45;;;274:14852;7257:80;;;:::i;:::-;-1:-1:-1;;274:14852:33;;;;;;;7376:1;7355:23;274:14852;7355:23;;:::i;:::-;:32;;274:14852;;;;;;;;7472:35;274:14852;;;;7423:13;274:14852;;;;;;;;;;;;7472:35;274:14852;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;7265:45;-1:-1:-1;7295:8:33;274:14852;7282:28;;;7265:45;;7124:61;-1:-1:-1;7173:12:33;274:14852;-1:-1:-1;;;;;274:14852:33;7144:10;7159:26;7124:61;;274:14852;;;;;;-1:-1:-1;;274:14852:33;;;;;;;484:33;274:14852;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;1186:4;274:14852;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2673:47:0;;;:87;;;;274:14852:33;;;;;;;2673:87:0;-1:-1:-1;;;862:40:24;;-1:-1:-1;2673:87:0;;;274:14852:33;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;274:14852:33;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;274:14852:33;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;274:14852:33;;-1:-1:-1;274:14852:33;;;-1:-1:-1;274:14852:33;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;7355:8;274:14852;;;;;;7355:8;-1:-1:-1;274:14852:33;;-1:-1:-1;274:14852:33;;;;;;-1:-1:-1;274:14852:33;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;;;;;;;;:::o;3199:103:0:-;735:10:14;2954:6:0;274:14852:33;;;-1:-1:-1;;;;;;;;;;;274:14852:33;;;;;;;;3519:23:0;3515:108;;3199:103::o;3515:108::-;3565:47;;;2954:6;3565:47;735:10:14;3565:47:0;274:14852:33;408:23;274:14852;;;2954:6:0;3565:47;3199:103;2954:6;274:14852:33;;;;;;;;;;;735:10:14;274:14852:33;;;;;;;;;;3519:23:0;3515:108;;3199:103;:::o;3515:108::-;3565:47;;;2954:6;3565:47;735:10:14;3565:47:0;274:14852:33;;;;2954:6:0;3565:47;274:14852:33;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;;;;274:14852:33;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;12145:1887::-;;;;;;;12378:34;;;274:14852;;;;;;;;;;-1:-1:-1;274:14852:33;12469:17;274:14852;;;-1:-1:-1;274:14852:33;;;;1266:5;274:14852;;1266:5;274:14852;;;;-1:-1:-1;;274:14852:33;;;;;;;;-1:-1:-1;;274:14852:33;;;;;;12668:12;;;;;-1:-1:-1;;12668:12:33;:20;;274:14852;12683:1;12668:20;274:14852;12707:34;;;;;:::i;:::-;:38;274:14852;;12810:34;;;;;;;;:::i;:::-;274:14852;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;12881:30;12779:66;12881:30;;;:::i;:::-;274:14852;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;12855:57;12928:13;;12923:641;12943:17;;;;;;13582:39;;;;;;274:14852;;;13669:221;;;12923:641;13904:66;;;;;;13900:126;;12145:1887::o;13669:221::-;13753:34;13801:41;13753:34;;;13856:23;13753:34;;;;:::i;:::-;274:14852;;;;13801:41;;:::i;:::-;274:14852;13856:23;:::i;:::-;13669:221;;;;;;;274:14852;;;;;;;;;;;;;;;;;;;;;;;;;12962:3;274:14852;;;;;;-1:-1:-1;;;;;12989:13:33;;274:14852;12989:13;274:14852;12989:13;:::i;:::-;;:::i;:::-;274:14852;12989:27;274:14852;;;-1:-1:-1;;;;;13082:13:33;;274:14852;13082:13;;;:::i;:::-;274:14852;13082:22;274:14852;;13226:1;274:14852;;;;;;;13229:21;;;;;;13386:13;;;;;;;:::i;:::-;13366:33;;;;:::i;:::-;-1:-1:-1;;;;;274:14852:33;;;;;1266:5;13421:9;;;;;:::i;:::-;274:14852;13421:25;274:14852;;13529:24;13226:1;13505:9;;13482:33;274:14852;13505:9;;;;;:::i;:::-;274:14852;;13482:33;;;:::i;:::-;274:14852;13544:9;;;;;:::i;:::-;274:14852;13529:24;;:::i;:::-;12962:3;274:14852;12928:13;;;;;274:14852;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;13252:3;13283:13;;;;;;:::i;:::-;-1:-1:-1;;;;;13300:13:33;;;;;;:::i;:::-;-1:-1:-1;;;;;274:14852:33;;;;;13283:30;274:14852;;13226:1;274:14852;13210:17;;274:14852;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;12668:20;274:14852;12668:20;;;274:14852;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;14038:640;;;;274:14852;;14206:23;274:14852;;;;;14038:640;-1:-1:-1;14206:23:33;;;14312:3;274:14852;;14289:21;;;;;-1:-1:-1;;;;;14404:13:33;;;;:::i;:::-;274:14852;;;14424:9;;;;:::i;:::-;274:14852;;;;;;;;;;;;;;;;;;;;;;14377:58;;;274:14852;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;;274:14852:33;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;-1:-1:-1;;;274:14852:33;;;;;;;;;14463:21;;274:14852;14475:9;;;;:::i;:::-;274:14852;;14463:21;;:::i;:::-;14312:3;274:14852;14274:13;;;274:14852;;;;14206:23;274:14852;14206:23;274:14852;;;14206:23;274:14852;14289:21;;;;;;;274:14852;14508:63;;14504:123;;274:14852;;14636:16;;274:14852;;;;;;;;;;14038:640::o;274:14852::-;;14206:23;274:14852;;14206:23;274:14852;;;;;;;;;;;;;;;14206:23;274:14852;;;;;;14684:274;;274:14852;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;14884:3:33;274:14852;;14865:17;;;;;14912:9;274:14852;14912:9;274:14852;14912:9;;;:::i;:::-;274:14852;;14903:18;;;;:::i;:::-;274:14852;;14850:13;;14865:17;-1:-1:-1;14865:17:33;-1:-1:-1;14684:274:33:o;6179:316:0:-;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;735:10:14;;274:14852:33;484:33;;6370:40:0;;274:14852:33;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;274:14852:33;6466:12:0;:::o;6179:316::-;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;;;735:10:14;;274:14852:33;;6370:40:0;;274:14852:33;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;;274:14852:33;6466:12:0;:::o;6732:317::-;274:14852:33;;;;;;;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;274:14852:33;;;;;;;;;;;;;;;-1:-1:-1;;274:14852:33;;;735:10:14;;274:14852:33;;6924:40:0;;274:14852:33;6924:40:0;274:14852:33;6978:11:0;:::o;14964:160:33:-;274:14852;;-1:-1:-1;;;15039:25:33;;-1:-1:-1;;;;;274:14852:33;;;15039:25;;;274:14852;;;;;;;;;;;;15039:25;;274:14852;;-1:-1:-1;;15039:4:33;274:14852;15039:25;;;;;;;-1:-1:-1;15039:25:33;;;14964:160;15038:26;;15034:84;;14964:160::o;15034:84::-;15087:20;;;-1:-1:-1;15087:20:33;15039:25;-1:-1:-1;15087:20:33;15039:25;;;;274:14852;15039:25;274:14852;15039:25;;;;;;;:::i;:::-;;;"},"methodIdentifiers":{"ADMIN_ROLE()":"75b238fc","BASIS_POINTS()":"e1f1c4a7","CVE_PT_PMA_SHARE()":"4041c0e6","CYBERIA_DAO_SHARE()":"e268caf7","DEFAULT_ADMIN_ROLE()":"a217fddf","MAX_PROFILE_MANAGER_BPS()":"037b5cc8","PROFILE_MANAGER_ROLE()":"091cfe70","createDistributionProfile(address[],uint256[])":"9a886534","cvePtPma()":"b9bd2777","cyberiaDAO()":"a582ddf4","deactivateProfile(uint256)":"cb3044f5","distributeRevenue(uint256,uint256)":"4ae699ef","eventManager()":"8fd611be","eventProfiles(uint256)":"6c13a8e0","getRoleAdmin(bytes32)":"248a9ca3","grantProfileManager(address,uint256)":"593f8c25","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","isProfileOwner(uint256,address)":"2b726b6a","ownerProfiles(address,uint256)":"32e4342b","profileManagerBps(address)":"47c13c92","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","setEventManager(address)":"596fd76e","setEventProfile(uint256,uint256)":"19cd00c8","supportsInterface(bytes4)":"01ffc9a7","transferAllProfiles(address,address)":"9137c48a","transferProfileOwnership(uint256,address)":"a4c5a4ef","updateDistributionProfile(uint256,address[],uint256[])":"1f1422e6","usdt()":"2f48ab7d"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_usdt\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_cyberiaDAO\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_cvePtPma\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"}],\"name\":\"EventProfileNotSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProfileShares\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"}],\"name\":\"ProfileInactive\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UsdtTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UsdtTransferFromFailed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"shares\",\"type\":\"uint256[]\"}],\"name\":\"DistributionProfileCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"shares\",\"type\":\"uint256[]\"}],\"name\":\"DistributionProfileUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"}],\"name\":\"EventProfileSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"}],\"name\":\"ProfileDeactivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bps\",\"type\":\"uint256\"}],\"name\":\"ProfileManagerGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"ProfileOwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"}],\"name\":\"RevenueDistributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BASIS_POINTS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CVE_PT_PMA_SHARE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CYBERIA_DAO_SHARE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_PROFILE_MANAGER_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROFILE_MANAGER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"shares\",\"type\":\"uint256[]\"}],\"name\":\"createDistributionProfile\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cvePtPma\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cyberiaDAO\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"}],\"name\":\"deactivateProfile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"}],\"name\":\"distributeRevenue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eventManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"eventProfiles\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bps\",\"type\":\"uint256\"}],\"name\":\"grantProfileManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isProfileOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ownerProfiles\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"profileManagerBps\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_eventManager\",\"type\":\"address\"}],\"name\":\"setEventManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"}],\"name\":\"setEventProfile\",\"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\"}],\"name\":\"transferAllProfiles\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferProfileOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"shares\",\"type\":\"uint256[]\"}],\"name\":\"updateDistributionProfile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"usdt\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}]},\"events\":{\"ProfileManagerGranted(address,uint256)\":{\"params\":{\"account\":\"The account granted PROFILE_MANAGER_ROLE\",\"bps\":\"The basis points (0-8500) applied after fixed bps and before profile recipients\"}},\"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 to signal this.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantProfileManager(address,uint256)\":{\"params\":{\"account\":\"The address to grant the role to\",\"bps\":\"The basis points (0-8500) this account receives from each distribution. Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before profile recipients. Account cannot add themselves to distribution profiles.\"}},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"events\":{\"ProfileManagerGranted(address,uint256)\":{\"notice\":\"Emitted when a profile manager is granted role with bps share\"}},\"kind\":\"user\",\"methods\":{\"grantProfileManager(address,uint256)\":{\"notice\":\"Grants PROFILE_MANAGER_ROLE to an account with specified bps share\"},\"profileManagerBps(address)\":{\"notice\":\"Basis points each profile manager receives from distributions. Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before profile recipients. Manager cannot add their own address to distribution profiles.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/DynamicRevenueSplitter.sol\":\"DynamicRevenueSplitter\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xc1bebdee8943bd5e9ef1e0f2e63296aa1dd4171a66b9e74d0286220e891e1458\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://928cf2f0042c606f3dcb21bd8a272573f462a215cd65285d2d6b407f31e9bd67\",\"dweb:/ipfs/QmWGxjckno6sfjHPX5naPnsfsyisgy4PJDf46eLw9umfpx\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x4d9a2b261b56a1e4a37bb038151dec98b952fed16de2bdfdda27e38e2b12b530\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f724110f7aeb6151af800ab8c12e6060b29bda9e013f0ccb331eb754d6a7cbf0\",\"dweb:/ipfs/QmUcjzCZpxtUPdEThtAzE1f9LvuJiUGZxTdH9N6bHrb5Cf\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0x11a5a79827df29e915a12740caf62fe21ebe27c08c9ae3e09abe9ee3ba3866d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3cf0c69ab827e3251db9ee6a50647d62c90ba580a4d7bbff21f2bea39e7b2f4a\",\"dweb:/ipfs/QmZiKwtKU1SBX4RGfQtY7PZfiapbbu6SZ9vizGQD9UHjRA\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"contracts/DynamicRevenueSplitter.sol\":{\"keccak256\":\"0xed0ac021e2769fa0f029eef2e694782c0bdc141211d4cc293a5347cea4028f57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://08952feca289d808bd424b97ae90f70b077e33898d9ac05a348c5f64fdd275c6\",\"dweb:/ipfs/QmUkk9SkQuLYKTaLsHWbQiCv7YTCCV1U8hdScNLXYj1GEj\"]},\"contracts/IDynamicRevenueSplitter.sol\":{\"keccak256\":\"0x92a2ec2b50bf12f503129234fb0ae69202640579570b8ef06b58cab0e2a6a0c9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efff857af731d811033319d0f5ce5594fd9f2a77b2f34f029201b73d5316b99a\",\"dweb:/ipfs/QmYLjCE5vEpLVwhkDXsBXi5cw4Twg4cBZeMwAGQrczmEoZ\"]}},\"version\":1}"}},"contracts/ENSRegistry.sol":{"ENSRegistry":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"label","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"resolver","type":"address"}],"name":"NewResolver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"NewTTL","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Transfer","type":"event"},{"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":"bytes32","name":"node","type":"bytes32"}],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"recordExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setSubnodeRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"ttl","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60808060405234604e5760008080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb580546001600160a01b03191633179055610a4190816100548239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c9081630178b8bf1461070f5750806302571be3146106db57806306ab5923146106aa57806314ab9038146105cb57806316a25cbd1461058f5780631896f70a146104b25780635b0fc9c3146103d85780635ef2c7f014610324578063a22cb46514610297578063cf40882314610139578063e985e9c5146100de5763f79fe538146100a357600080fd5b346100d95760203660031901126100d9576004356000526000602052602060018060a01b03604060002054161515604051908152f35b600080fd5b346100d95760403660031901126100d9576100f7610770565b6100ff61075a565b9060018060a01b0316600052600160205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b346100d95760803660031901126100d95760043561015561075a565b9061015e610744565b6064359167ffffffffffffffff831683036100d95760008181526020819052604090205461023994906001600160a01b03163381148015610269575b6101a49150610786565b6000828152602081905260409020546001600160a01b0316338114801561023b575b6101d09150610786565b6040516001600160a01b038216815282907fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d26690602090a281600052600060205260406000209060018060a01b03166bffffffffffffffffffffffff60a01b8254161790556108e9565b005b506000526001602052604060002060018060a01b0333166000526020526101d060ff604060002054166101c6565b506000526001602052604060002060018060a01b0333166000526020526101a460ff6040600020541661019a565b346100d95760403660031901126100d9576102b0610770565b602435908115158092036100d957336000526001602052604060002060018060a01b038216600052602052604060002060ff1981541660ff841617905560405191825260018060a01b0316907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b346100d95760a03660031901126100d957600435610340610744565b906064356001600160a01b03811681036100d9576084359167ffffffffffffffff831683036100d95761023993816103a592600052600060205260018060a01b036040600020541633811480156103aa575b61039c9150610786565b602435906107c3565b6108e9565b506000526001602052604060002060018060a01b03331660005260205261039c60ff60406000205416610392565b346100d95760403660031901126100d9576004356103f461075a565b9080600052600060205260018060a01b03604060002054163381148015610484575b6104209150610786565b6040516001600160a01b038316815281907fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d26690602090a2600090815260208190526040902080546001600160a01b0319166001600160a01b03909216919091179055005b506000526001602052604060002060018060a01b03331660005260205261042060ff60406000205416610416565b346100d95760403660031901126100d9576004356104ce61075a565b9080600052600060205260018060a01b03604060002054163381148015610561575b6104fa9150610786565b6040516001600160a01b038316815281907f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a090602090a2600090815260208190526040902060010180546001600160a01b0319166001600160a01b03909216919091179055005b506000526001602052604060002060018060a01b0333166000526020526104fa60ff604060002054166104f0565b346100d95760203660031901126100d9576004356000526000602052602067ffffffffffffffff60016040600020015460a01c16604051908152f35b346100d95760403660031901126100d95760043560243567ffffffffffffffff8116918282036100d957807f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68602061023995836000526000825260018060a01b03604060002054163381148015610687575b6106479150610786565b604051908152a2600052600060205260016040600020019081549067ffffffffffffffff60a01b9060a01b169067ffffffffffffffff60a01b1916179055565b50600090815260018352604080822033835284529020546106479060ff1661063d565b346100d95760603660031901126100d95760206106d36106c8610744565b6024356004356107c3565b604051908152f35b346100d95760203660031901126100d9576004356000526000602052602060018060a01b0360406000205416604051908152f35b346100d95760203660031901126100d957600435600090815260208181526040909120600101546001600160a01b0316825290f35b604435906001600160a01b03821682036100d957565b602435906001600160a01b03821682036100d957565b600435906001600160a01b03821682036100d957565b1561078d57565b60405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b6044820152606490fd5b6000818152602081905260409020546001600160a01b031633811480156108bb575b6107ef9150610786565b60405160208101828152836040830152604082526060820182811067ffffffffffffffff8211176108a557604081815292519091206000818152602081815293902080546001600160a01b0319166001600160a01b039097169687179055858252947fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82929186907fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266908490a2604051908152a390565b634e487b7160e01b600052604160045260246000fd5b506000526001602052604060002060018060a01b0333166000526020526107ef60ff604060002054166107e5565b60008181526020819052604090206001015490929183916001600160a01b03918216911681036109b2575b50600052600060205267ffffffffffffffff60016040600020015460a01c169067ffffffffffffffff811691820361094b57505050565b600083815260208181526040909120600101805467ffffffffffffffff60a01b191660a09390931b67ffffffffffffffff60a01b16929092179091557f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa6891604051908152a2565b60207f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a09183600052600082526001604060002001816bffffffffffffffffffffffff60a01b825416179055604051908152a2813861091456fea2646970667358221220edde64e7c7ba0a6944e811d8239eae78a5d7c033f0c355a149f54f274679d50e64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE CALLVALUE PUSH1 0x4E JUMPI PUSH1 0x0 DUP1 DUP1 MSTORE PUSH1 0x20 MSTORE PUSH32 0xAD3228B676F7D3CD4284A5443F17F1962B36E491B30A40B2405849E597BA5FB5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND CALLER OR SWAP1 SSTORE PUSH2 0xA41 SWAP1 DUP2 PUSH2 0x54 DUP3 CODECOPY RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x178B8BF EQ PUSH2 0x70F JUMPI POP DUP1 PUSH4 0x2571BE3 EQ PUSH2 0x6DB JUMPI DUP1 PUSH4 0x6AB5923 EQ PUSH2 0x6AA JUMPI DUP1 PUSH4 0x14AB9038 EQ PUSH2 0x5CB JUMPI DUP1 PUSH4 0x16A25CBD EQ PUSH2 0x58F JUMPI DUP1 PUSH4 0x1896F70A EQ PUSH2 0x4B2 JUMPI DUP1 PUSH4 0x5B0FC9C3 EQ PUSH2 0x3D8 JUMPI DUP1 PUSH4 0x5EF2C7F0 EQ PUSH2 0x324 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x297 JUMPI DUP1 PUSH4 0xCF408823 EQ PUSH2 0x139 JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0xDE JUMPI PUSH4 0xF79FE538 EQ PUSH2 0xA3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND ISZERO ISZERO PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH2 0xF7 PUSH2 0x770 JUMP JUMPDEST PUSH2 0xFF PUSH2 0x75A JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x80 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x155 PUSH2 0x75A JUMP JUMPDEST SWAP1 PUSH2 0x15E PUSH2 0x744 JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP4 AND DUP4 SUB PUSH2 0xD9 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x239 SWAP5 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x269 JUMPI JUMPDEST PUSH2 0x1A4 SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x23B JUMPI JUMPDEST PUSH2 0x1D0 SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP2 MSTORE DUP3 SWAP1 PUSH32 0xD4735D920B0F87494915F556DD9B54C8F309026070CAEA5C737245152564D266 SWAP1 PUSH1 0x20 SWAP1 LOG2 DUP2 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE PUSH2 0x8E9 JUMP JUMPDEST STOP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x1D0 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x1C6 JUMP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x1A4 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x19A JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH2 0x2B0 PUSH2 0x770 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP1 SWAP3 SUB PUSH2 0xD9 JUMPI CALLER PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0xFF NOT DUP2 SLOAD AND PUSH1 0xFF DUP5 AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 PUSH1 0x20 CALLER SWAP3 LOG3 STOP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0xA0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x340 PUSH2 0x744 JUMP JUMPDEST SWAP1 PUSH1 0x64 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0xD9 JUMPI PUSH1 0x84 CALLDATALOAD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP4 AND DUP4 SUB PUSH2 0xD9 JUMPI PUSH2 0x239 SWAP4 DUP2 PUSH2 0x3A5 SWAP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x3AA JUMPI JUMPDEST PUSH2 0x39C SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH2 0x7C3 JUMP JUMPDEST PUSH2 0x8E9 JUMP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x39C PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x392 JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x3F4 PUSH2 0x75A JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x484 JUMPI JUMPDEST PUSH2 0x420 SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND DUP2 MSTORE DUP2 SWAP1 PUSH32 0xD4735D920B0F87494915F556DD9B54C8F309026070CAEA5C737245152564D266 SWAP1 PUSH1 0x20 SWAP1 LOG2 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE STOP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x420 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x416 JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x4CE PUSH2 0x75A JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x561 JUMPI JUMPDEST PUSH2 0x4FA SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND DUP2 MSTORE DUP2 SWAP1 PUSH32 0x335721B01866DC23FBEE8B6B2C7B1E14D6F05C28CD35A2C934239F94095602A0 SWAP1 PUSH1 0x20 SWAP1 LOG2 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE STOP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x4FA PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x4F0 JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD PUSH1 0xA0 SHR AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 AND SWAP2 DUP3 DUP3 SUB PUSH2 0xD9 JUMPI DUP1 PUSH32 0x1D4F9BBFC9CAB89D66E1A1562F2233CCBF1308CB4F63DE2EAD5787ADDDB8FA68 PUSH1 0x20 PUSH2 0x239 SWAP6 DUP4 PUSH1 0x0 MSTORE PUSH1 0x0 DUP3 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x687 JUMPI JUMPDEST PUSH2 0x647 SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SWAP1 DUP2 SLOAD SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL SWAP1 PUSH1 0xA0 SHL AND SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP4 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 CALLER DUP4 MSTORE DUP5 MSTORE SWAP1 KECCAK256 SLOAD PUSH2 0x647 SWAP1 PUSH1 0xFF AND PUSH2 0x63D JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x20 PUSH2 0x6D3 PUSH2 0x6C8 PUSH2 0x744 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH2 0x7C3 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 MSTORE SWAP1 RETURN JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xD9 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xD9 JUMPI JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xD9 JUMPI JUMP JUMPDEST ISZERO PUSH2 0x78D JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x139BDD08185D5D1A1BDC9A5CD959 PUSH1 0x92 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x8BB JUMPI JUMPDEST PUSH2 0x7EF SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD DUP3 DUP2 MSTORE DUP4 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x40 DUP3 MSTORE PUSH1 0x60 DUP3 ADD DUP3 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x8A5 JUMPI PUSH1 0x40 DUP2 DUP2 MSTORE SWAP3 MLOAD SWAP1 SWAP2 KECCAK256 PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE SWAP4 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP8 AND SWAP7 DUP8 OR SWAP1 SSTORE DUP6 DUP3 MSTORE SWAP5 PUSH32 0xCE0457FE73731F824CC272376169235128C118B49D344817417C6D108D155E82 SWAP3 SWAP2 DUP7 SWAP1 PUSH32 0xD4735D920B0F87494915F556DD9B54C8F309026070CAEA5C737245152564D266 SWAP1 DUP5 SWAP1 LOG2 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x7EF PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x7E5 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 SWAP3 SWAP2 DUP4 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND DUP2 SUB PUSH2 0x9B2 JUMPI JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD PUSH1 0xA0 SHR AND SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 AND SWAP2 DUP3 SUB PUSH2 0x94B JUMPI POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 PUSH1 0x1 ADD DUP1 SLOAD PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0xA0 SWAP4 SWAP1 SWAP4 SHL PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 SSTORE PUSH32 0x1D4F9BBFC9CAB89D66E1A1562F2233CCBF1308CB4F63DE2EAD5787ADDDB8FA68 SWAP2 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 JUMP JUMPDEST PUSH1 0x20 PUSH32 0x335721B01866DC23FBEE8B6B2C7B1E14D6F05C28CD35A2C934239F94095602A0 SWAP2 DUP4 PUSH1 0x0 MSTORE PUSH1 0x0 DUP3 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD DUP2 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 DUP2 CODESIZE PUSH2 0x914 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xED 0xDE PUSH5 0xE7C7BA0A69 PREVRANDAO 0xE8 GT 0xD8 0x23 SWAP15 0xAE PUSH25 0xA5D7C033F0C355A149F54F274679D50E64736F6C634300081C STOP CALLER ","sourceMap":"1227:3187:34:-:0;;;;;;;1756:7;1227:3187;;;;;;;;-1:-1:-1;;;;;;1227:3187:34;1777:10;1227:3187;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":1904,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_5775":{"entryPoint":1860,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_5778":{"entryPoint":1882,"id":null,"parameterSlots":0,"returnSlots":1},"fun_setResolverAndTTL":{"entryPoint":2281,"id":14823,"parameterSlots":3,"returnSlots":0},"modifier_authorised":{"entryPoint":1987,"id":14483,"parameterSlots":3,"returnSlots":1},"require_helper_stringliteral_3cac":{"entryPoint":1926,"id":null,"parameterSlots":1,"returnSlots":0},"update_storage_value_offset_uint64_to_uint64":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":0}},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"608080604052600436101561001357600080fd5b60003560e01c9081630178b8bf1461070f5750806302571be3146106db57806306ab5923146106aa57806314ab9038146105cb57806316a25cbd1461058f5780631896f70a146104b25780635b0fc9c3146103d85780635ef2c7f014610324578063a22cb46514610297578063cf40882314610139578063e985e9c5146100de5763f79fe538146100a357600080fd5b346100d95760203660031901126100d9576004356000526000602052602060018060a01b03604060002054161515604051908152f35b600080fd5b346100d95760403660031901126100d9576100f7610770565b6100ff61075a565b9060018060a01b0316600052600160205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b346100d95760803660031901126100d95760043561015561075a565b9061015e610744565b6064359167ffffffffffffffff831683036100d95760008181526020819052604090205461023994906001600160a01b03163381148015610269575b6101a49150610786565b6000828152602081905260409020546001600160a01b0316338114801561023b575b6101d09150610786565b6040516001600160a01b038216815282907fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d26690602090a281600052600060205260406000209060018060a01b03166bffffffffffffffffffffffff60a01b8254161790556108e9565b005b506000526001602052604060002060018060a01b0333166000526020526101d060ff604060002054166101c6565b506000526001602052604060002060018060a01b0333166000526020526101a460ff6040600020541661019a565b346100d95760403660031901126100d9576102b0610770565b602435908115158092036100d957336000526001602052604060002060018060a01b038216600052602052604060002060ff1981541660ff841617905560405191825260018060a01b0316907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b346100d95760a03660031901126100d957600435610340610744565b906064356001600160a01b03811681036100d9576084359167ffffffffffffffff831683036100d95761023993816103a592600052600060205260018060a01b036040600020541633811480156103aa575b61039c9150610786565b602435906107c3565b6108e9565b506000526001602052604060002060018060a01b03331660005260205261039c60ff60406000205416610392565b346100d95760403660031901126100d9576004356103f461075a565b9080600052600060205260018060a01b03604060002054163381148015610484575b6104209150610786565b6040516001600160a01b038316815281907fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d26690602090a2600090815260208190526040902080546001600160a01b0319166001600160a01b03909216919091179055005b506000526001602052604060002060018060a01b03331660005260205261042060ff60406000205416610416565b346100d95760403660031901126100d9576004356104ce61075a565b9080600052600060205260018060a01b03604060002054163381148015610561575b6104fa9150610786565b6040516001600160a01b038316815281907f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a090602090a2600090815260208190526040902060010180546001600160a01b0319166001600160a01b03909216919091179055005b506000526001602052604060002060018060a01b0333166000526020526104fa60ff604060002054166104f0565b346100d95760203660031901126100d9576004356000526000602052602067ffffffffffffffff60016040600020015460a01c16604051908152f35b346100d95760403660031901126100d95760043560243567ffffffffffffffff8116918282036100d957807f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa68602061023995836000526000825260018060a01b03604060002054163381148015610687575b6106479150610786565b604051908152a2600052600060205260016040600020019081549067ffffffffffffffff60a01b9060a01b169067ffffffffffffffff60a01b1916179055565b50600090815260018352604080822033835284529020546106479060ff1661063d565b346100d95760603660031901126100d95760206106d36106c8610744565b6024356004356107c3565b604051908152f35b346100d95760203660031901126100d9576004356000526000602052602060018060a01b0360406000205416604051908152f35b346100d95760203660031901126100d957600435600090815260208181526040909120600101546001600160a01b0316825290f35b604435906001600160a01b03821682036100d957565b602435906001600160a01b03821682036100d957565b600435906001600160a01b03821682036100d957565b1561078d57565b60405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b6044820152606490fd5b6000818152602081905260409020546001600160a01b031633811480156108bb575b6107ef9150610786565b60405160208101828152836040830152604082526060820182811067ffffffffffffffff8211176108a557604081815292519091206000818152602081815293902080546001600160a01b0319166001600160a01b039097169687179055858252947fce0457fe73731f824cc272376169235128c118b49d344817417c6d108d155e82929186907fd4735d920b0f87494915f556dd9b54c8f309026070caea5c737245152564d266908490a2604051908152a390565b634e487b7160e01b600052604160045260246000fd5b506000526001602052604060002060018060a01b0333166000526020526107ef60ff604060002054166107e5565b60008181526020819052604090206001015490929183916001600160a01b03918216911681036109b2575b50600052600060205267ffffffffffffffff60016040600020015460a01c169067ffffffffffffffff811691820361094b57505050565b600083815260208181526040909120600101805467ffffffffffffffff60a01b191660a09390931b67ffffffffffffffff60a01b16929092179091557f1d4f9bbfc9cab89d66e1a1562f2233ccbf1308cb4f63de2ead5787adddb8fa6891604051908152a2565b60207f335721b01866dc23fbee8b6b2c7b1e14d6f05c28cd35a2c934239f94095602a09183600052600082526001604060002001816bffffffffffffffffffffffff60a01b825416179055604051908152a2813861091456fea2646970667358221220edde64e7c7ba0a6944e811d8239eae78a5d7c033f0c355a149f54f274679d50e64736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x178B8BF EQ PUSH2 0x70F JUMPI POP DUP1 PUSH4 0x2571BE3 EQ PUSH2 0x6DB JUMPI DUP1 PUSH4 0x6AB5923 EQ PUSH2 0x6AA JUMPI DUP1 PUSH4 0x14AB9038 EQ PUSH2 0x5CB JUMPI DUP1 PUSH4 0x16A25CBD EQ PUSH2 0x58F JUMPI DUP1 PUSH4 0x1896F70A EQ PUSH2 0x4B2 JUMPI DUP1 PUSH4 0x5B0FC9C3 EQ PUSH2 0x3D8 JUMPI DUP1 PUSH4 0x5EF2C7F0 EQ PUSH2 0x324 JUMPI DUP1 PUSH4 0xA22CB465 EQ PUSH2 0x297 JUMPI DUP1 PUSH4 0xCF408823 EQ PUSH2 0x139 JUMPI DUP1 PUSH4 0xE985E9C5 EQ PUSH2 0xDE JUMPI PUSH4 0xF79FE538 EQ PUSH2 0xA3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND ISZERO ISZERO PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH2 0xF7 PUSH2 0x770 JUMP JUMPDEST PUSH2 0xFF PUSH2 0x75A JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x80 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x155 PUSH2 0x75A JUMP JUMPDEST SWAP1 PUSH2 0x15E PUSH2 0x744 JUMP JUMPDEST PUSH1 0x64 CALLDATALOAD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP4 AND DUP4 SUB PUSH2 0xD9 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH2 0x239 SWAP5 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x269 JUMPI JUMPDEST PUSH2 0x1A4 SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x23B JUMPI JUMPDEST PUSH2 0x1D0 SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP2 MSTORE DUP3 SWAP1 PUSH32 0xD4735D920B0F87494915F556DD9B54C8F309026070CAEA5C737245152564D266 SWAP1 PUSH1 0x20 SWAP1 LOG2 DUP2 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE PUSH2 0x8E9 JUMP JUMPDEST STOP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x1D0 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x1C6 JUMP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x1A4 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x19A JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH2 0x2B0 PUSH2 0x770 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP1 SWAP3 SUB PUSH2 0xD9 JUMPI CALLER PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0xFF NOT DUP2 SLOAD AND PUSH1 0xFF DUP5 AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP2 DUP3 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH32 0x17307EAB39AB6107E8899845AD3D59BD9653F200F220920489CA2B5937696C31 PUSH1 0x20 CALLER SWAP3 LOG3 STOP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0xA0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x340 PUSH2 0x744 JUMP JUMPDEST SWAP1 PUSH1 0x64 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0xD9 JUMPI PUSH1 0x84 CALLDATALOAD SWAP2 PUSH8 0xFFFFFFFFFFFFFFFF DUP4 AND DUP4 SUB PUSH2 0xD9 JUMPI PUSH2 0x239 SWAP4 DUP2 PUSH2 0x3A5 SWAP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x3AA JUMPI JUMPDEST PUSH2 0x39C SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH2 0x7C3 JUMP JUMPDEST PUSH2 0x8E9 JUMP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x39C PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x392 JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x3F4 PUSH2 0x75A JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x484 JUMPI JUMPDEST PUSH2 0x420 SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND DUP2 MSTORE DUP2 SWAP1 PUSH32 0xD4735D920B0F87494915F556DD9B54C8F309026070CAEA5C737245152564D266 SWAP1 PUSH1 0x20 SWAP1 LOG2 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE STOP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x420 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x416 JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH2 0x4CE PUSH2 0x75A JUMP JUMPDEST SWAP1 DUP1 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x561 JUMPI JUMPDEST PUSH2 0x4FA SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND DUP2 MSTORE DUP2 SWAP1 PUSH32 0x335721B01866DC23FBEE8B6B2C7B1E14D6F05C28CD35A2C934239F94095602A0 SWAP1 PUSH1 0x20 SWAP1 LOG2 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE STOP JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x4FA PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x4F0 JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD PUSH1 0xA0 SHR AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x24 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 AND SWAP2 DUP3 DUP3 SUB PUSH2 0xD9 JUMPI DUP1 PUSH32 0x1D4F9BBFC9CAB89D66E1A1562F2233CCBF1308CB4F63DE2EAD5787ADDDB8FA68 PUSH1 0x20 PUSH2 0x239 SWAP6 DUP4 PUSH1 0x0 MSTORE PUSH1 0x0 DUP3 MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x687 JUMPI JUMPDEST PUSH2 0x647 SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SWAP1 DUP2 SLOAD SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL SWAP1 PUSH1 0xA0 SHL AND SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL NOT AND OR SWAP1 SSTORE JUMP JUMPDEST POP PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 DUP4 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 CALLER DUP4 MSTORE DUP5 MSTORE SWAP1 KECCAK256 SLOAD PUSH2 0x647 SWAP1 PUSH1 0xFF AND PUSH2 0x63D JUMP JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x20 PUSH2 0x6D3 PUSH2 0x6C8 PUSH2 0x744 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH2 0x7C3 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0xD9 JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0xD9 JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP3 MSTORE SWAP1 RETURN JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xD9 JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xD9 JUMPI JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0xD9 JUMPI JUMP JUMPDEST ISZERO PUSH2 0x78D JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x139BDD08185D5D1A1BDC9A5CD959 PUSH1 0x92 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER DUP2 EQ DUP1 ISZERO PUSH2 0x8BB JUMPI JUMPDEST PUSH2 0x7EF SWAP2 POP PUSH2 0x786 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD DUP3 DUP2 MSTORE DUP4 PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x40 DUP3 MSTORE PUSH1 0x60 DUP3 ADD DUP3 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x8A5 JUMPI PUSH1 0x40 DUP2 DUP2 MSTORE SWAP3 MLOAD SWAP1 SWAP2 KECCAK256 PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE SWAP4 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP8 AND SWAP7 DUP8 OR SWAP1 SSTORE DUP6 DUP3 MSTORE SWAP5 PUSH32 0xCE0457FE73731F824CC272376169235128C118B49D344817417C6D108D155E82 SWAP3 SWAP2 DUP7 SWAP1 PUSH32 0xD4735D920B0F87494915F556DD9B54C8F309026070CAEA5C737245152564D266 SWAP1 DUP5 SWAP1 LOG2 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH2 0x7EF PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH2 0x7E5 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 SWAP3 SWAP2 DUP4 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND SWAP2 AND DUP2 SUB PUSH2 0x9B2 JUMPI JUMPDEST POP PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD PUSH1 0xA0 SHR AND SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 AND SWAP2 DUP3 SUB PUSH2 0x94B JUMPI POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 PUSH1 0x1 ADD DUP1 SLOAD PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL NOT AND PUSH1 0xA0 SWAP4 SWAP1 SWAP4 SHL PUSH8 0xFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL AND SWAP3 SWAP1 SWAP3 OR SWAP1 SWAP2 SSTORE PUSH32 0x1D4F9BBFC9CAB89D66E1A1562F2233CCBF1308CB4F63DE2EAD5787ADDDB8FA68 SWAP2 PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 JUMP JUMPDEST PUSH1 0x20 PUSH32 0x335721B01866DC23FBEE8B6B2C7B1E14D6F05C28CD35A2C934239F94095602A0 SWAP2 DUP4 PUSH1 0x0 MSTORE PUSH1 0x0 DUP3 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD DUP2 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG2 DUP2 CODESIZE PUSH2 0x914 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xED 0xDE PUSH5 0xE7C7BA0A69 PREVRANDAO 0xE8 GT 0xD8 0x23 SWAP15 0xAE PUSH25 0xA5D7C033F0C355A149F54F274679D50E64736F6C634300081C STOP CALLER ","sourceMap":"1227:3187:34:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;;;;;;;;;;;;;;;3849:35;;1227:3187;;;;;;;;;;;;;;;;-1:-1:-1;;1227:3187:34;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;4011:9;1227:3187;;;;;4011:26;1227:3187;;;;;;-1:-1:-1;1227:3187:34;;;;;;-1:-1:-1;1227:3187:34;;;;;;;;;;;;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1989:3;;1227:3187;-1:-1:-1;;;;;1227:3187:34;1643:10;1630:23;;:59;;;;1227:3187;1622:86;;;;:::i;:::-;1227:3187;;;;;;;;;;;;-1:-1:-1;;;;;1227:3187:34;1643:10;1630:23;;:59;;;;1227:3187;1622:86;;;;:::i;:::-;1227:3187;;-1:-1:-1;;;;;1227:3187:34;;;;;;2802:21;;1227:3187;;2802:21;1227:3187;;;;;;;;;;;;;;;;;;;;;;;;;1989:3;:::i;:::-;1227:3187;1630:59;1227:3187;;;;;;;;;;;;;;1643:10;1227:3187;-1:-1:-1;1227:3187:34;;;1622:86;1227:3187;;-1:-1:-1;1227:3187:34;;;1630:59;;;1227:3187;;;;;;;;;;;;;;1643:10;1227:3187;-1:-1:-1;1227:3187:34;;;1622:86;1227:3187;;-1:-1:-1;1227:3187:34;;;1630:59;;1227:3187;;;;;;-1:-1:-1;;1227:3187:34;;;;;;:::i;:::-;;;;;;;;;;;;3303:10;1227:3187;;3293:9;1227:3187;;;;;;;;;;;;-1:-1:-1;1227:3187:34;;;;-1:-1:-1;1227:3187:34;;;;;;;;;;;;;;;;;;;;;;;3303:10;3350:46;1227:3187;3303:10;3350:46;;1227:3187;;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1227:3187:34;;;;;;;;;;;;;;;;2252:3;1227:3187;;2379:7;1227:3187;;;;;;;;;;;;;;;;1643:10;1630:23;;:59;;;;1227:3187;1622:86;;;;:::i;:::-;1227:3187;;2379:7;;:::i;:::-;2252:3;:::i;1630:59::-;1227:3187;;;;;;;;;;;;;;1643:10;1227:3187;-1:-1:-1;1227:3187:34;;;1622:86;1227:3187;;-1:-1:-1;1227:3187:34;;;1630:59;;1227:3187;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1643:10;1630:23;;:59;;;;1227:3187;1622:86;;;;:::i;:::-;1227:3187;;-1:-1:-1;;;;;1227:3187:34;;;;;;2802:21;;1227:3187;;2802:21;1227:3187;;;;;;;;;;;;;-1:-1:-1;;;;;;1227:3187:34;-1:-1:-1;;;;;1227:3187:34;;;;;;;;;;1630:59;1227:3187;;;;;;;;;;;;;;1643:10;1227:3187;-1:-1:-1;1227:3187:34;;;1622:86;1227:3187;;-1:-1:-1;1227:3187:34;;;1630:59;;1227:3187;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1643:10;1630:23;;:59;;;;1227:3187;1622:86;;;;:::i;:::-;1227:3187;;-1:-1:-1;;;;;1227:3187:34;;;;;;2976:27;;1227:3187;;2976:27;1227:3187;;;;;;;;;;;;3013:22;1227:3187;;-1:-1:-1;;;;;;1227:3187:34;-1:-1:-1;;;;;1227:3187:34;;;;;;;;;;1630:59;1227:3187;;;;;;;;;;;;;;1643:10;1227:3187;-1:-1:-1;1227:3187:34;;;1622:86;1227:3187;;-1:-1:-1;1227:3187:34;;;1630:59;;1227:3187;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;;;;;;;;;;3728:17;1227:3187;;;;;;;;;;;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;;;;;;;;;;;3142:17;1227:3187;3169:23;1227:3187;;;;;;;;;;;;;;;;;1643:10;1630:23;;:59;;;;1227:3187;1622:86;;;;:::i;:::-;1227:3187;;;;;3142:17;1227:3187;;;;;;;;;3169:17;1227:3187;;;;;;;;;;;;;;;;;;;;;1630:59;-1:-1:-1;1227:3187:34;;;;;;;;;;;1643:10;1227:3187;;;;;;;1622:86;;1227:3187;;1630:59;;1227:3187;;;;;;-1:-1:-1;;1227:3187:34;;;;;2379:7;1227:3187;;:::i;:::-;;;;;2379:7;:::i;:::-;1227:3187;;;;;;;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1227:3187:34;;;;;;;;;;;;;;;;;;;3618:22;1227:3187;-1:-1:-1;;;;;1227:3187:34;;;;;;;;;-1:-1:-1;;;;;1227:3187:34;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1227:3187:34;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1227:3187:34;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;1227:3187:34;;;;;;;;;;;;-1:-1:-1;;;1227:3187:34;;;;;;;1529:197;1227:3187;;;;;;;;;;;;-1:-1:-1;;;;;1227:3187:34;1643:10;1630:23;;:59;;;;1529:197;1622:86;;;;:::i;:::-;1227:3187;;;2426:29;;1227:3187;;;;;;;;;2426:29;;;1227:3187;;;;;;;;;;;;;;;;;2416:40;;;1227:3187;;;;;;;;;;;;;-1:-1:-1;;;;;;1227:3187:34;-1:-1:-1;;;;;1227:3187:34;;;;;;;;;;;2416:40;2642:28;;1227:3187;2416:40;;2603:24;;1227:3187;;2603:24;1227:3187;;;;;2642:28;1529:197;:::o;1227:3187::-;;;;;;;;;;;;1630:59;1227:3187;;;1657:9;1227:3187;;;;;;;;;;1643:10;1227:3187;-1:-1:-1;1227:3187:34;;;1622:86;1227:3187;;-1:-1:-1;1227:3187:34;;;1630:59;;4050:362;4156:7;1227:3187;;;;;;;;;;;4156:22;1227:3187;4050:362;;;;;-1:-1:-1;;;;;1227:3187:34;;;;;4144:34;;4141:143;;4050:362;1227:3187;4156:7;1227:3187;4156:7;1227:3187;;;4156:22;1227:3187;4156:7;1227:3187;4303:17;1227:3187;;;;;;;;4296:24;;;4293:113;;4050:362;;;:::o;4293:113::-;4156:7;1227:3187;;;;;;;;;;;4156:22;4336:17;1227:3187;;-1:-1:-1;;;;1227:3187:34;;;;;;-1:-1:-1;;;1227:3187:34;;;;;;;;4378:17;;1227:3187;;;;;4378:17;4050:362::o;4141:143::-;1227:3187;4246:27;1227:3187;;4156:7;1227:3187;4156:7;1227:3187;;4156:22;1227:3187;4156:7;1227:3187;4194:22;1227:3187;;;;;;;;;;;;;;;4246:27;4141:143;;;"},"methodIdentifiers":{"isApprovedForAll(address,address)":"e985e9c5","owner(bytes32)":"02571be3","recordExists(bytes32)":"f79fe538","resolver(bytes32)":"0178b8bf","setApprovalForAll(address,bool)":"a22cb465","setOwner(bytes32,address)":"5b0fc9c3","setRecord(bytes32,address,address,uint64)":"cf408823","setResolver(bytes32,address)":"1896f70a","setSubnodeOwner(bytes32,bytes32,address)":"06ab5923","setSubnodeRecord(bytes32,bytes32,address,address,uint64)":"5ef2c7f0","setTTL(bytes32,uint64)":"14ab9038","ttl(bytes32)":"16a25cbd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"NewOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"NewResolver\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"NewTTL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"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\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"recordExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setSubnodeOwner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setSubnodeRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setTTL\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"ttl\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ENSRegistry.sol\":\"ENSRegistry\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/ENSRegistry.sol\":{\"keccak256\":\"0xbc83fda15887fa15c65e04071db7114824d59f1b3717155fb170551b0c6f329f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45d07a8e53a5d754b8792b930c1a477cf0f39f5f9d60274d6ae0407a0716cbd8\",\"dweb:/ipfs/QmTDxb1MHv6EUpHXC6jSSfjVac8cHatJaVd9cHZwVmW2T9\"]}},\"version\":1}"},"IENS":{"abi":[{"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":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"label","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"resolver","type":"address"}],"name":"NewResolver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"NewTTL","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Transfer","type":"event"},{"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":"bytes32","name":"node","type":"bytes32"}],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"recordExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setSubnodeRecord","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"isApprovedForAll(address,address)":"e985e9c5","owner(bytes32)":"02571be3","recordExists(bytes32)":"f79fe538","resolver(bytes32)":"0178b8bf","setApprovalForAll(address,bool)":"a22cb465","setOwner(bytes32,address)":"5b0fc9c3","setRecord(bytes32,address,address,uint64)":"cf408823","setResolver(bytes32,address)":"1896f70a","setSubnodeOwner(bytes32,bytes32,address)":"06ab5923","setSubnodeRecord(bytes32,bytes32,address,address,uint64)":"5ef2c7f0"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"NewOwner\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"NewResolver\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"NewTTL\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"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\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"recordExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"}],\"name\":\"setResolver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setSubnodeOwner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"resolver\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"ttl\",\"type\":\"uint64\"}],\"name\":\"setSubnodeRecord\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ENSRegistry.sol\":\"IENS\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/ENSRegistry.sol\":{\"keccak256\":\"0xbc83fda15887fa15c65e04071db7114824d59f1b3717155fb170551b0c6f329f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://45d07a8e53a5d754b8792b930c1a477cf0f39f5f9d60274d6ae0407a0716cbd8\",\"dweb:/ipfs/QmTDxb1MHv6EUpHXC6jSSfjVac8cHatJaVd9cHZwVmW2T9\"]}},\"version\":1}"}},"contracts/IDynamicRevenueSplitter.sol":{"IDynamicRevenueSplitter":{"abi":[{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"eventId","type":"uint256"}],"name":"distributeRevenue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"grantProfileManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"profileId","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"isProfileOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_eventManager","type":"address"}],"name":"setEventManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"eventId","type":"uint256"},{"internalType":"uint256","name":"profileId","type":"uint256"}],"name":"setEventProfile","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"transferAllProfiles","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"distributeRevenue(uint256,uint256)":"4ae699ef","grantProfileManager(address,uint256)":"593f8c25","isProfileOwner(uint256,address)":"2b726b6a","setEventManager(address)":"596fd76e","setEventProfile(uint256,uint256)":"19cd00c8","transferAllProfiles(address,address)":"9137c48a"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"}],\"name\":\"distributeRevenue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bps\",\"type\":\"uint256\"}],\"name\":\"grantProfileManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"isProfileOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_eventManager\",\"type\":\"address\"}],\"name\":\"setEventManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"eventId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"profileId\",\"type\":\"uint256\"}],\"name\":\"setEventProfile\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"transferAllProfiles\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"grantProfileManager(address,uint256)\":{\"params\":{\"account\":\"The address to grant the role to\",\"bps\":\"The basis points (0-8500) this account receives from each distribution. Applied after fixed bps (CyberiaDAO 10% + CVE PT PMA 5%) and before profile recipients. Account cannot add themselves to distribution profiles.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"grantProfileManager(address,uint256)\":{\"notice\":\"Grants PROFILE_MANAGER_ROLE to an account with a specified bps share\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/IDynamicRevenueSplitter.sol\":\"IDynamicRevenueSplitter\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/IDynamicRevenueSplitter.sol\":{\"keccak256\":\"0x92a2ec2b50bf12f503129234fb0ae69202640579570b8ef06b58cab0e2a6a0c9\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://efff857af731d811033319d0f5ce5594fd9f2a77b2f34f029201b73d5316b99a\",\"dweb:/ipfs/QmYLjCE5vEpLVwhkDXsBXi5cw4Twg4cBZeMwAGQrczmEoZ\"]}},\"version\":1}"}},"contracts/IReferralRewards.sol":{"IReferralRewards":{"abi":[{"inputs":[{"internalType":"address","name":"referee","type":"address"},{"internalType":"address","name":"referrer","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"processPurchase","outputs":[{"internalType":"address[3]","name":"recipients","type":"address[3]"},{"internalType":"uint256[3]","name":"bonuses","type":"uint256[3]"},{"internalType":"uint256","name":"totalPaid","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"processPurchase(address,address,uint256)":"e696d10d"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"referee\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"processPurchase\",\"outputs\":[{\"internalType\":\"address[3]\",\"name\":\"recipients\",\"type\":\"address[3]\"},{\"internalType\":\"uint256[3]\",\"name\":\"bonuses\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint256\",\"name\":\"totalPaid\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"processPurchase(address,address,uint256)\":{\"details\":\"Must be called by the configured operator (EventManager).\",\"returns\":{\"bonuses\":\"Per-level bonus amounts (aligned with `recipients`).\",\"recipients\":\"Up to 3 upline addresses (level 1..3). Missing levels are zero-address.\",\"totalPaid\":\"Sum of `bonuses`.\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"processPurchase(address,address,uint256)\":{\"notice\":\"Process a purchase for `referee` with an optional `referrer` hint.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/IReferralRewards.sol\":\"IReferralRewards\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/IReferralRewards.sol\":{\"keccak256\":\"0xb66eabaa48897b8e6e1c994860fa2e74d5a9ccf5858461bad49095435290d627\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0c9385d923387cb6656170ba3450bc18b1cc0978dc426ec202972559d98995b5\",\"dweb:/ipfs/QmevQ9Sw9Knx5qr3jEA6cJLbxDNBjjXkqHVuzUeEC1fKvp\"]}},\"version\":1}"}},"contracts/PublicResolver.sol":{"IENS":{"abi":[{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"owner(bytes32)":"02571be3","resolver(bytes32)":"0178b8bf"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"resolver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/PublicResolver.sol\":\"IENS\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/PublicResolver.sol\":{\"keccak256\":\"0xee4a6d68a0a5fd67bfefcc36b41583ba121356ea3343b258467c833fe6e3e57c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab1b313d118913dcbf6e4f038f7de28ed3e86e1219063fdb5757b41d216e65df\",\"dweb:/ipfs/QmYeTKX3uLFEv3Rw2vFvyaqJFmVBwGHigwEbxeg3ELVWvV\"]}},\"version\":1}"},"IResolver":{"abi":[{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"name","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"addr(bytes32)":"3b3b57de","name(bytes32)":"691f3431","setAddr(bytes32,address)":"d5fa2b00","setName(bytes32,string)":"77372213"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/PublicResolver.sol\":\"IResolver\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/PublicResolver.sol\":{\"keccak256\":\"0xee4a6d68a0a5fd67bfefcc36b41583ba121356ea3343b258467c833fe6e3e57c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab1b313d118913dcbf6e4f038f7de28ed3e86e1219063fdb5757b41d216e65df\",\"dweb:/ipfs/QmYeTKX3uLFEv3Rw2vFvyaqJFmVBwGHigwEbxeg3ELVWvV\"]}},\"version\":1}"},"PublicResolver":{"abi":[{"inputs":[{"internalType":"contract IENS","name":"_ens","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"addrs","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ens","outputs":[{"internalType":"contract IENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"names","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"name","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608034607057601f61062638819003918201601f19168301916001600160401b03831184841017607557808492602094604052833981010312607057516001600160a01b03811690819003607057600080546001600160a01b03191691909117905560405161059a908161008c8239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001257600080fd5b60003560e01c806320c38e2b146103445780633b3b57de146103105780633f15457f14610380578063691f34311461034457806372dead8a1461031057806377372213146101445763d5fa2b001461006957600080fd5b3461013f57604036600319011261013f576024356001600160a01b038116906004359082900361013f576000546040516302571be360e01b81526004810183905290602090829060249082906001600160a01b03165afa8015610133576100e391600091610104575b506001600160a01b03163314610527565b600090815260016020526040902080546001600160a01b0319169091179055005b610126915060203d60201161012c575b61011e81836103e3565b810190610508565b386100d2565b503d610114565b6040513d6000823e3d90fd5b600080fd5b3461013f57604036600319011261013f5760243560043567ffffffffffffffff821161013f573660238301121561013f5781600401359067ffffffffffffffff821161013f57366024838501011161013f576000546040516302571be360e01b81526004810183905290602090829060249082906001600160a01b03165afa8015610133576101e5916000916102f157506001600160a01b03163314610527565b600052600260205260406000206000916101ff82546103a9565b601f81116102ac575b5082601f821160011461024557839482939492610237575b50508160011b916000199060031b1c191617905580f35b602492500101358480610220565b601f198216948385526020852091855b878110610291575083600195969710610274575b505050811b01905580f35b0160240135600019600384901b60f8161c19169055848080610269565b90926020600181926024878701013581550194019101610255565b82845260208420601f830160051c810191602084106102e7575b601f0160051c01905b8181106102dc5750610208565b8481556001016102cf565b90915081906102c6565b61030a915060203d60201161012c5761011e81836103e3565b856100d2565b3461013f57602036600319011261013f576004356000526001602052602060018060a01b0360406000205416604051908152f35b3461013f57602036600319011261013f57600435600052600260205261037c610370604060002061041b565b604051918291826104bf565b0390f35b3461013f57600036600319011261013f576000546040516001600160a01b039091168152602090f35b90600182811c921680156103d9575b60208310146103c357565b634e487b7160e01b600052602260045260246000fd5b91607f16916103b8565b90601f8019910116810190811067ffffffffffffffff82111761040557604052565b634e487b7160e01b600052604160045260246000fd5b906040519182600082549261042f846103a9565b808452936001811690811561049d5750600114610456575b50610454925003836103e3565b565b90506000929192526020600020906000915b8183106104815750509060206104549282010138610447565b6020919350806001915483858901015201910190918492610468565b90506020925061045494915060ff191682840152151560051b82010138610447565b91909160208152825180602083015260005b8181106104f2575060409293506000838284010152601f8019910116010190565b80602080928701015160408286010152016104d1565b9081602091031261013f57516001600160a01b038116810361013f5790565b1561052e57565b60405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b6044820152606490fdfea2646970667358221220c5ede7e2e73d25e0d332c302b5cc7a4afff36d64e470c2a10d5ca622bb1c23f064736f6c634300081c0033","opcodes":"PUSH1 0x80 CALLVALUE PUSH1 0x70 JUMPI PUSH1 0x1F PUSH2 0x626 CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH1 0x75 JUMPI DUP1 DUP5 SWAP3 PUSH1 0x20 SWAP5 PUSH1 0x40 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH1 0x70 JUMPI MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP2 SWAP1 SUB PUSH1 0x70 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH2 0x59A SWAP1 DUP2 PUSH2 0x8C DUP3 CODECOPY RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x20C38E2B EQ PUSH2 0x344 JUMPI DUP1 PUSH4 0x3B3B57DE EQ PUSH2 0x310 JUMPI DUP1 PUSH4 0x3F15457F EQ PUSH2 0x380 JUMPI DUP1 PUSH4 0x691F3431 EQ PUSH2 0x344 JUMPI DUP1 PUSH4 0x72DEAD8A EQ PUSH2 0x310 JUMPI DUP1 PUSH4 0x77372213 EQ PUSH2 0x144 JUMPI PUSH4 0xD5FA2B00 EQ PUSH2 0x69 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 PUSH1 0x4 CALLDATALOAD SWAP1 DUP3 SWAP1 SUB PUSH2 0x13F JUMPI PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH4 0x2571BE3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL DUP1 ISZERO PUSH2 0x133 JUMPI PUSH2 0xE3 SWAP2 PUSH1 0x0 SWAP2 PUSH2 0x104 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x527 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE STOP JUMPDEST PUSH2 0x126 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x12C JUMPI JUMPDEST PUSH2 0x11E DUP2 DUP4 PUSH2 0x3E3 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x508 JUMP JUMPDEST CODESIZE PUSH2 0xD2 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x114 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT PUSH2 0x13F JUMPI CALLDATASIZE PUSH1 0x23 DUP4 ADD SLT ISZERO PUSH2 0x13F JUMPI DUP2 PUSH1 0x4 ADD CALLDATALOAD SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT PUSH2 0x13F JUMPI CALLDATASIZE PUSH1 0x24 DUP4 DUP6 ADD ADD GT PUSH2 0x13F JUMPI PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH4 0x2571BE3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL DUP1 ISZERO PUSH2 0x133 JUMPI PUSH2 0x1E5 SWAP2 PUSH1 0x0 SWAP2 PUSH2 0x2F1 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x527 JUMP JUMPDEST PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 PUSH2 0x1FF DUP3 SLOAD PUSH2 0x3A9 JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x2AC JUMPI JUMPDEST POP DUP3 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x245 JUMPI DUP4 SWAP5 DUP3 SWAP4 SWAP5 SWAP3 PUSH2 0x237 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR SWAP1 SSTORE DUP1 RETURN JUMPDEST PUSH1 0x24 SWAP3 POP ADD ADD CALLDATALOAD DUP5 DUP1 PUSH2 0x220 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP5 DUP4 DUP6 MSTORE PUSH1 0x20 DUP6 KECCAK256 SWAP2 DUP6 JUMPDEST DUP8 DUP2 LT PUSH2 0x291 JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 SWAP8 LT PUSH2 0x274 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD SWAP1 SSTORE DUP1 RETURN JUMPDEST ADD PUSH1 0x24 ADD CALLDATALOAD PUSH1 0x0 NOT PUSH1 0x3 DUP5 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND SWAP1 SSTORE DUP5 DUP1 DUP1 PUSH2 0x269 JUMP JUMPDEST SWAP1 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 PUSH1 0x24 DUP8 DUP8 ADD ADD CALLDATALOAD DUP2 SSTORE ADD SWAP5 ADD SWAP2 ADD PUSH2 0x255 JUMP JUMPDEST DUP3 DUP5 MSTORE PUSH1 0x20 DUP5 KECCAK256 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x2E7 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x2DC JUMPI POP PUSH2 0x208 JUMP JUMPDEST DUP5 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x2CF JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x2C6 JUMP JUMPDEST PUSH2 0x30A SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x12C JUMPI PUSH2 0x11E DUP2 DUP4 PUSH2 0x3E3 JUMP JUMPDEST DUP6 PUSH2 0xD2 JUMP JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH2 0x37C PUSH2 0x370 PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH2 0x41B JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x4BF JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x3D9 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x3C3 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x3B8 JUMP JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x405 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 PUSH1 0x0 DUP3 SLOAD SWAP3 PUSH2 0x42F DUP5 PUSH2 0x3A9 JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP4 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x49D JUMPI POP PUSH1 0x1 EQ PUSH2 0x456 JUMPI JUMPDEST POP PUSH2 0x454 SWAP3 POP SUB DUP4 PUSH2 0x3E3 JUMP JUMPDEST JUMP JUMPDEST SWAP1 POP PUSH1 0x0 SWAP3 SWAP2 SWAP3 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP2 JUMPDEST DUP2 DUP4 LT PUSH2 0x481 JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0x454 SWAP3 DUP3 ADD ADD CODESIZE PUSH2 0x447 JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP10 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP5 SWAP3 PUSH2 0x468 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 SWAP3 POP PUSH2 0x454 SWAP5 SWAP2 POP PUSH1 0xFF NOT AND DUP3 DUP5 ADD MSTORE ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD ADD CODESIZE PUSH2 0x447 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH1 0x20 DUP2 MSTORE DUP3 MLOAD DUP1 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x4F2 JUMPI POP PUSH1 0x40 SWAP3 SWAP4 POP PUSH1 0x0 DUP4 DUP3 DUP5 ADD ADD MSTORE PUSH1 0x1F DUP1 NOT SWAP2 ADD AND ADD ADD SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x20 DUP1 SWAP3 DUP8 ADD ADD MLOAD PUSH1 0x40 DUP3 DUP7 ADD ADD MSTORE ADD PUSH2 0x4D1 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x13F JUMPI MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x13F JUMPI SWAP1 JUMP JUMPDEST ISZERO PUSH2 0x52E JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x139BDD08185D5D1A1BDC9A5CD959 PUSH1 0x92 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC5 0xED 0xE7 0xE2 0xE7 RETURNDATASIZE 0x25 0xE0 0xD3 ORIGIN 0xC3 MUL 0xB5 0xCC PUSH27 0x4AFFF36D64E470C2A10D5CA622BB1C23F064736F6C634300081C00 CALLER ","sourceMap":"500:837:37:-:0;;;;;;;;;;;;;-1:-1:-1;;500:837:37;;;;-1:-1:-1;;;;;500:837:37;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;500:837:37;;;;;;;;-1:-1:-1;500:837:37;;-1:-1:-1;;;;;;500:837:37;;;;;;;;;;;;;;;;;-1:-1:-1;500:837:37;;;;;;-1:-1:-1;500:837:37;;;;;-1:-1:-1;500:837:37"},"deployedBytecode":{"functionDebugData":{"abi_decode_address_fromMemory":{"entryPoint":1288,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_string":{"entryPoint":1215,"id":null,"parameterSlots":2,"returnSlots":1},"copy_array_from_storage_to_memory_string":{"entryPoint":1051,"id":null,"parameterSlots":1,"returnSlots":1},"extract_byte_array_length":{"entryPoint":937,"id":null,"parameterSlots":1,"returnSlots":1},"finalize_allocation":{"entryPoint":995,"id":null,"parameterSlots":2,"returnSlots":0},"require_helper_stringliteral_3cac":{"entryPoint":1319,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"6080604052600436101561001257600080fd5b60003560e01c806320c38e2b146103445780633b3b57de146103105780633f15457f14610380578063691f34311461034457806372dead8a1461031057806377372213146101445763d5fa2b001461006957600080fd5b3461013f57604036600319011261013f576024356001600160a01b038116906004359082900361013f576000546040516302571be360e01b81526004810183905290602090829060249082906001600160a01b03165afa8015610133576100e391600091610104575b506001600160a01b03163314610527565b600090815260016020526040902080546001600160a01b0319169091179055005b610126915060203d60201161012c575b61011e81836103e3565b810190610508565b386100d2565b503d610114565b6040513d6000823e3d90fd5b600080fd5b3461013f57604036600319011261013f5760243560043567ffffffffffffffff821161013f573660238301121561013f5781600401359067ffffffffffffffff821161013f57366024838501011161013f576000546040516302571be360e01b81526004810183905290602090829060249082906001600160a01b03165afa8015610133576101e5916000916102f157506001600160a01b03163314610527565b600052600260205260406000206000916101ff82546103a9565b601f81116102ac575b5082601f821160011461024557839482939492610237575b50508160011b916000199060031b1c191617905580f35b602492500101358480610220565b601f198216948385526020852091855b878110610291575083600195969710610274575b505050811b01905580f35b0160240135600019600384901b60f8161c19169055848080610269565b90926020600181926024878701013581550194019101610255565b82845260208420601f830160051c810191602084106102e7575b601f0160051c01905b8181106102dc5750610208565b8481556001016102cf565b90915081906102c6565b61030a915060203d60201161012c5761011e81836103e3565b856100d2565b3461013f57602036600319011261013f576004356000526001602052602060018060a01b0360406000205416604051908152f35b3461013f57602036600319011261013f57600435600052600260205261037c610370604060002061041b565b604051918291826104bf565b0390f35b3461013f57600036600319011261013f576000546040516001600160a01b039091168152602090f35b90600182811c921680156103d9575b60208310146103c357565b634e487b7160e01b600052602260045260246000fd5b91607f16916103b8565b90601f8019910116810190811067ffffffffffffffff82111761040557604052565b634e487b7160e01b600052604160045260246000fd5b906040519182600082549261042f846103a9565b808452936001811690811561049d5750600114610456575b50610454925003836103e3565b565b90506000929192526020600020906000915b8183106104815750509060206104549282010138610447565b6020919350806001915483858901015201910190918492610468565b90506020925061045494915060ff191682840152151560051b82010138610447565b91909160208152825180602083015260005b8181106104f2575060409293506000838284010152601f8019910116010190565b80602080928701015160408286010152016104d1565b9081602091031261013f57516001600160a01b038116810361013f5790565b1561052e57565b60405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5cd95960921b6044820152606490fdfea2646970667358221220c5ede7e2e73d25e0d332c302b5cc7a4afff36d64e470c2a10d5ca622bb1c23f064736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x20C38E2B EQ PUSH2 0x344 JUMPI DUP1 PUSH4 0x3B3B57DE EQ PUSH2 0x310 JUMPI DUP1 PUSH4 0x3F15457F EQ PUSH2 0x380 JUMPI DUP1 PUSH4 0x691F3431 EQ PUSH2 0x344 JUMPI DUP1 PUSH4 0x72DEAD8A EQ PUSH2 0x310 JUMPI DUP1 PUSH4 0x77372213 EQ PUSH2 0x144 JUMPI PUSH4 0xD5FA2B00 EQ PUSH2 0x69 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 PUSH1 0x4 CALLDATALOAD SWAP1 DUP3 SWAP1 SUB PUSH2 0x13F JUMPI PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH4 0x2571BE3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL DUP1 ISZERO PUSH2 0x133 JUMPI PUSH2 0xE3 SWAP2 PUSH1 0x0 SWAP2 PUSH2 0x104 JUMPI JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x527 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE STOP JUMPDEST PUSH2 0x126 SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x12C JUMPI JUMPDEST PUSH2 0x11E DUP2 DUP4 PUSH2 0x3E3 JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x508 JUMP JUMPDEST CODESIZE PUSH2 0xD2 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x114 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x24 CALLDATALOAD PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT PUSH2 0x13F JUMPI CALLDATASIZE PUSH1 0x23 DUP4 ADD SLT ISZERO PUSH2 0x13F JUMPI DUP2 PUSH1 0x4 ADD CALLDATALOAD SWAP1 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT PUSH2 0x13F JUMPI CALLDATASIZE PUSH1 0x24 DUP4 DUP6 ADD ADD GT PUSH2 0x13F JUMPI PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH4 0x2571BE3 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE SWAP1 PUSH1 0x20 SWAP1 DUP3 SWAP1 PUSH1 0x24 SWAP1 DUP3 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND GAS STATICCALL DUP1 ISZERO PUSH2 0x133 JUMPI PUSH2 0x1E5 SWAP2 PUSH1 0x0 SWAP2 PUSH2 0x2F1 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x527 JUMP JUMPDEST PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 PUSH2 0x1FF DUP3 SLOAD PUSH2 0x3A9 JUMP JUMPDEST PUSH1 0x1F DUP2 GT PUSH2 0x2AC JUMPI JUMPDEST POP DUP3 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x245 JUMPI DUP4 SWAP5 DUP3 SWAP4 SWAP5 SWAP3 PUSH2 0x237 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR SWAP1 SSTORE DUP1 RETURN JUMPDEST PUSH1 0x24 SWAP3 POP ADD ADD CALLDATALOAD DUP5 DUP1 PUSH2 0x220 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP5 DUP4 DUP6 MSTORE PUSH1 0x20 DUP6 KECCAK256 SWAP2 DUP6 JUMPDEST DUP8 DUP2 LT PUSH2 0x291 JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 SWAP8 LT PUSH2 0x274 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD SWAP1 SSTORE DUP1 RETURN JUMPDEST ADD PUSH1 0x24 ADD CALLDATALOAD PUSH1 0x0 NOT PUSH1 0x3 DUP5 SWAP1 SHL PUSH1 0xF8 AND SHR NOT AND SWAP1 SSTORE DUP5 DUP1 DUP1 PUSH2 0x269 JUMP JUMPDEST SWAP1 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 PUSH1 0x24 DUP8 DUP8 ADD ADD CALLDATALOAD DUP2 SSTORE ADD SWAP5 ADD SWAP2 ADD PUSH2 0x255 JUMP JUMPDEST DUP3 DUP5 MSTORE PUSH1 0x20 DUP5 KECCAK256 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP5 LT PUSH2 0x2E7 JUMPI JUMPDEST PUSH1 0x1F ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x2DC JUMPI POP PUSH2 0x208 JUMP JUMPDEST DUP5 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x2CF JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x2C6 JUMP JUMPDEST PUSH2 0x30A SWAP2 POP PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x12C JUMPI PUSH2 0x11E DUP2 DUP4 PUSH2 0x3E3 JUMP JUMPDEST DUP6 PUSH2 0xD2 JUMP JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH2 0x37C PUSH2 0x370 PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH2 0x41B JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 DUP3 PUSH2 0x4BF JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x13F JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x13F JUMPI PUSH1 0x0 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x3D9 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x3C3 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x3B8 JUMP JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x405 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x40 MLOAD SWAP2 DUP3 PUSH1 0x0 DUP3 SLOAD SWAP3 PUSH2 0x42F DUP5 PUSH2 0x3A9 JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP4 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x49D JUMPI POP PUSH1 0x1 EQ PUSH2 0x456 JUMPI JUMPDEST POP PUSH2 0x454 SWAP3 POP SUB DUP4 PUSH2 0x3E3 JUMP JUMPDEST JUMP JUMPDEST SWAP1 POP PUSH1 0x0 SWAP3 SWAP2 SWAP3 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x0 SWAP2 JUMPDEST DUP2 DUP4 LT PUSH2 0x481 JUMPI POP POP SWAP1 PUSH1 0x20 PUSH2 0x454 SWAP3 DUP3 ADD ADD CODESIZE PUSH2 0x447 JUMP JUMPDEST PUSH1 0x20 SWAP2 SWAP4 POP DUP1 PUSH1 0x1 SWAP2 SLOAD DUP4 DUP6 DUP10 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP2 DUP5 SWAP3 PUSH2 0x468 JUMP JUMPDEST SWAP1 POP PUSH1 0x20 SWAP3 POP PUSH2 0x454 SWAP5 SWAP2 POP PUSH1 0xFF NOT AND DUP3 DUP5 ADD MSTORE ISZERO ISZERO PUSH1 0x5 SHL DUP3 ADD ADD CODESIZE PUSH2 0x447 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH1 0x20 DUP2 MSTORE DUP3 MLOAD DUP1 PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT PUSH2 0x4F2 JUMPI POP PUSH1 0x40 SWAP3 SWAP4 POP PUSH1 0x0 DUP4 DUP3 DUP5 ADD ADD MSTORE PUSH1 0x1F DUP1 NOT SWAP2 ADD AND ADD ADD SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x20 DUP1 SWAP3 DUP8 ADD ADD MLOAD PUSH1 0x40 DUP3 DUP7 ADD ADD MSTORE ADD PUSH2 0x4D1 JUMP JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x13F JUMPI MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x13F JUMPI SWAP1 JUMP JUMPDEST ISZERO PUSH2 0x52E JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0xE PUSH1 0x24 DUP3 ADD MSTORE PUSH14 0x139BDD08185D5D1A1BDC9A5CD959 PUSH1 0x92 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 SWAP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xC5 0xED 0xE7 0xE2 0xE7 RETURNDATASIZE 0x25 0xE0 0xD3 ORIGIN 0xC3 MUL 0xB5 0xCC PUSH27 0x4AFFF36D64E470C2A10D5CA622BB1C23F064736F6C634300081C00 CALLER ","sourceMap":"500:837:37:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;500:837:37;;;;;;-1:-1:-1;;;;;500:837:37;;;;;;;;;;;;;;;-1:-1:-1;;;731:15:37;;500:837;731:15;;500:837;;;;;;;;;;;;-1:-1:-1;;;;;500:837:37;731:15;;;;;;709:56;731:15;500:837;731:15;;;500:837;-1:-1:-1;;;;;;500:837:37;717:10;:29;709:56;:::i;:::-;500:837;;;;;;;;;;;;-1:-1:-1;;;;;;500:837:37;;;;;;;731:15;;;;500:837;731:15;500:837;731:15;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;500:837;;;;;;;;;;;;;;;;;;;-1:-1:-1;;500:837:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;731:15:37;;500:837;731:15;;500:837;;;;;;;;;;;;-1:-1:-1;;;;;500:837:37;731:15;;;;;;709:56;731:15;500:837;731:15;;;-1:-1:-1;;;;;;500:837:37;717:10;:29;709:56;:::i;:::-;500:837;;1190:5;500:837;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;500:837:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;500:837:37;;;;731:15;;;;500:837;731:15;500:837;731:15;;;;;;;:::i;:::-;;;;500:837;;;;;;-1:-1:-1;;500:837:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;500:837:37;;;;;;;;1317:5;500:837;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;500:837:37;;;;;;;;-1:-1:-1;;;;;500:837:37;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;500:837:37;;;;;-1:-1:-1;500:837:37;;;;;;;-1:-1:-1;500:837:37;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;;;-1:-1:-1;500:837:37;;;;;-1:-1:-1;500:837:37;;-1:-1:-1;500:837:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;500:837:37;;;;;;;:::o;:::-;;;;:::o;:::-;;;-1:-1:-1;;;500:837:37;;;;;;;;;;;;-1:-1:-1;;;500:837:37;;;;;;"},"methodIdentifiers":{"addr(bytes32)":"3b3b57de","addrs(bytes32)":"72dead8a","ens()":"3f15457f","name(bytes32)":"691f3431","names(bytes32)":"20c38e2b","setAddr(bytes32,address)":"d5fa2b00","setName(bytes32,string)":"77372213"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IENS\",\"name\":\"_ens\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"addr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"addrs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ens\",\"outputs\":[{\"internalType\":\"contract IENS\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"names\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"setAddr\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/PublicResolver.sol\":\"PublicResolver\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/PublicResolver.sol\":{\"keccak256\":\"0xee4a6d68a0a5fd67bfefcc36b41583ba121356ea3343b258467c833fe6e3e57c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab1b313d118913dcbf6e4f038f7de28ed3e86e1219063fdb5757b41d216e65df\",\"dweb:/ipfs/QmYeTKX3uLFEv3Rw2vFvyaqJFmVBwGHigwEbxeg3ELVWvV\"]}},\"version\":1}"}},"contracts/ReferralRewards.sol":{"ReferralRewards":{"abi":[{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint32","name":"_decimals","type":"uint32"},{"internalType":"uint32","name":"_referralBonus","type":"uint32"},{"internalType":"uint32","name":"_secondsUntilInactive","type":"uint32"},{"internalType":"bool","name":"_onlyRewardActiveReferrers","type":"bool"},{"internalType":"uint32[3]","name":"_levelRates","type":"uint32[3]"},{"components":[{"internalType":"uint32","name":"refereeCount","type":"uint32"},{"internalType":"uint32","name":"rate","type":"uint32"}],"internalType":"struct ReferralRewards.RateStep[]","name":"rateSteps","type":"tuple[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"InvalidConfig","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ActiveUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"referralBonus","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"secondsUntilInactive","type":"uint32"},{"indexed":false,"internalType":"bool","name":"onlyRewardActiveReferrers","type":"bool"},{"indexed":false,"internalType":"uint32","name":"level1","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"level2","type":"uint32"},{"indexed":false,"internalType":"uint32","name":"level3","type":"uint32"}],"name":"ConfigUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"referee","type":"address"},{"indexed":true,"internalType":"address","name":"referrer","type":"address"}],"name":"ReferrerSet","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":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"directRefereeCount","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":"address","name":"user","type":"address"}],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastActiveAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"levelRates","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyRewardActiveReferrers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"referee","type":"address"},{"internalType":"address","name":"referrer","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"processPurchase","outputs":[{"internalType":"address[3]","name":"recipients","type":"address[3]"},{"internalType":"uint256[3]","name":"bonuses","type":"uint256[3]"},{"internalType":"uint256","name":"totalPaid","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"idx","type":"uint256"}],"name":"rateStepAt","outputs":[{"components":[{"internalType":"uint32","name":"refereeCount","type":"uint32"},{"internalType":"uint32","name":"rate","type":"uint32"}],"internalType":"struct ReferralRewards.RateStep","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rateStepsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referralBonus","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referrerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondsUntilInactive","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_referralBonus","type":"uint32"},{"internalType":"uint32","name":"_secondsUntilInactive","type":"uint32"},{"internalType":"bool","name":"_onlyRewardActiveReferrers","type":"bool"},{"internalType":"uint32[3]","name":"_levelRates","type":"uint32[3]"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"refereeCount","type":"uint32"},{"internalType":"uint32","name":"rate","type":"uint32"}],"internalType":"struct ReferralRewards.RateStep[]","name":"rateSteps","type":"tuple[]"}],"name":"setRateSteps","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":{"abi_decode_address_fromMemory":{"entryPoint":1320,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_uint32_fromMemory":{"entryPoint":1340,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_memory":{"entryPoint":1283,"id":null,"parameterSlots":1,"returnSlots":1},"checked_add_uint256":{"entryPoint":1633,"id":null,"parameterSlots":2,"returnSlots":1},"fun_grantRole":{"entryPoint":1481,"id":256,"parameterSlots":1,"returnSlots":1},"fun_grantRole_5995":{"entryPoint":1357,"id":256,"parameterSlots":1,"returnSlots":1},"memory_array_index_access_struct_RateStep_dyn":{"entryPoint":1668,"id":null,"parameterSlots":2,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"60c0604052346104e657611a6d8038038061001981610503565b928339810190610160818303126104e65780516001600160a01b03811681036104e65761004860208301610528565b61005460408401610528565b6100606060850161053c565b61006c6080860161053c565b9161007960a0870161053c565b9360c0870151958615158097036104e6578860ff890112156104e65760405197606089016001600160401b0381118a8210176104d0576040526101408101898b82116104e65760e08301905b8282106104eb57505051906001600160401b0382116104e6570189601f820112156104e6578051906001600160401b0382116104d05761010a60208360051b01610503565b9a6020808d858152019360061b830101918183116104e657602001925b82841061047e575050505061014992916101439160805261054d565b506105c9565b5063ffffffff811691821561046d5763ffffffff9160a0521690811161046d5761019961018863ffffffff86511663ffffffff60208801511690610661565b63ffffffff60408701511690610661565b63ffffffff60a051161061046d5767ffffffff000000009068ff00000000000000006001549460401b169360018060481b031916179160201b16171760015560009060005b60038110610443575050600255600154906002917fea043b6f5411cf3705a5407008dc7b5cf47623505062142902f19701f2c2b32760c060009263ffffffff86541660049663ffffffff80825460201c16915460401c169160ff6040519463ffffffff8116865263ffffffff8160201c16602087015260401c16151560408501526060840152608083015260a0820152a16003548160035580610401575b50809181925b81518410156103c45763ffffffff602061029c8685610684565b5101511663ffffffff60a05116106103b6578315159081610397575b506103895763ffffffff6102cc8483610684565b515116926102da8183610684565b5160035468010000000000000000811015610376576001810180600355811015610363576003855281517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b90910180546020938401516001600160401b031990911663ffffffff93909316929092179190921b67ffffffff000000001617905560010192610282565b634e487b7160e01b855260328752602485fd5b634e487b7160e01b855260418752602485fd5b6306b7c75960e31b82528382fd5b905063ffffffff806103a98685610684565b51511691161015386102b8565b6306b7c75960e31b83528483fd5b60405161135e90816106af82396080518161013d015260a05181818161060101528181610874015281816109ad01528181610d9e01526113060152f35b600382527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b908101905b818110610438575061027c565b82815560010161042b565b9091602060019163ffffffff8551169063ffffffff8560051b92831b921b191617930191016101de565b6306b7c75960e31b60005260046000fd5b6040848303126104e6576040805191908201906001600160401b038211838310176104d05760409260209284526104b48761053c565b81526104c183880161053c565b83820152815201930192610127565b634e487b7160e01b600052604160045260246000fd5b600080fd5b602080916104f88461053c565b8152019101906100c5565b6040519190601f01601f191682016001600160401b038111838210176104d057604052565b51906001600160a01b03821682036104e657565b519063ffffffff821682036104e657565b6001600160a01b0381166000908152600080516020611a4d833981519152602052604090205460ff166105c3576001600160a01b03166000818152600080516020611a4d83398151915260205260408120805460ff19166001179055339190600080516020611a0d8339815191528180a4600190565b50600090565b6001600160a01b0381166000908152600080516020611a2d833981519152602052604090205460ff166105c3576001600160a01b03166000818152600080516020611a2d83398151915260205260408120805460ff191660011790553391907f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92990600080516020611a0d8339815191529080a4600190565b9190820180921161066e57565b634e487b7160e01b600052601160045260246000fd5b80518210156106985760209160051b010190565b634e487b7160e01b600052603260045260246000fdfe608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a714610b265750806312640d9914610933578063248a9ca3146108fe5780632ee7754d146108d85780632f2ff15d14610898578063313ce5671461085757806336568abe146108115780633a8e7bdc146107eb5780633d35a5711461056e5780634e44624c14610550578063563a4c3b146105105780637879b5ef146104d357806391d14854146104865780639f8a13d714610459578063a217fddf1461043d578063b3ab15fb14610414578063ce7842f5146103f0578063cfbb497214610391578063d21cacdf1461034f578063d547741f14610308578063e696d10d146101e6578063eb799d23146101ac578063f5b541a6146101715763f7c618c11461012757600080fd5b3461016c57600036600319011261016c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600080fd5b3461016c57600036600319011261016c5760206040517f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9298152f35b3461016c57602036600319011261016c576001600160a01b036101cd610bfc565b1660005260066020526020604060002054604051908152f35b3461016c57606036600319011261016c576101ff610bfc565b610207610be6565b9060609161021483610bc0565b908336833761022284610bc0565b92843685373360009081527fee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319f602052604090205460ff16156102cf5761026b9360443593610d11565b9260405192836000905b600382106102af5750505082016000905b600382106102995760e0848660c0820152f35b6020806001928551815201930191019091610286565b82516001600160a01b031681526020928301926001929092019101610275565b63e2517d3f60e01b600052336004527f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92960245260446000fd5b3461016c57604036600319011261016c5761034d600435610327610be6565b9061034861034382600052600060205260016040600020015490565b610f29565b6110bd565b005b3461016c57602036600319011261016c576001600160a01b03610370610bfc565b166000526004602052602060018060a01b0360406000205416604051908152f35b3461016c57602036600319011261016c57600060206103ae610b8a565b828152015260406103c0600435610cb2565b5063ffffffff6103ce610b8a565b915481602081831694858152019160201c168152835192835251166020820152f35b3461016c57600036600319011261016c57602063ffffffff60015416604051908152f35b3461016c57602036600319011261016c5761034d610430610bfc565b610438610ed6565b610f64565b3461016c57600036600319011261016c57602060405160008152f35b3461016c57602036600319011261016c57602061047c610477610bfc565b610c66565b6040519015158152f35b3461016c57604036600319011261016c5761049f610be6565b600435600052600060205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461016c57602036600319011261016c57600435600381101561016c5763ffffffff610500602092610c12565b90549060031b1c16604051908152f35b3461016c57602036600319011261016c576001600160a01b03610531610bfc565b166000526005602052602063ffffffff60406000205416604051908152f35b3461016c57600036600319011261016c576020600354604051908152f35b3461016c57602036600319011261016c5760043567ffffffffffffffff811161016c573660238201121561016c57806004013567ffffffffffffffff811161016c5760248160061b8301019136831161016c576105c9610ed6565b600092602460206105de818660051b01610bc0565b80958152019201915b8183106107ab57505050600354826003558061074b575b507f000000000000000000000000000000000000000000000000000000000000000063ffffffff169082805b8251821015610747578363ffffffff6020610645858761113f565b5101511611610738578115159081610719575b5061070a5763ffffffff61066c828461113f565b5151169061067a818461113f565b51600354680100000000000000008110156106f65780600161069f9201600355610cb2565b9190916106e2578051825460209283015167ffffffffffffffff1990911663ffffffff9290921691909117911b67ffffffff00000000161790556001019061062a565b634e487b7160e01b87526004879052602487fd5b634e487b7160e01b87526041600452602487fd5b6306b7c75960e31b8452600484fd5b905063ffffffff8061072b848661113f565b5151169116101585610658565b6306b7c75960e31b8552600485fd5b8480f35b600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b017fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b8181106107a057506105fe565b838155600101610793565b6040833603126107e75760206040916107c2610b8a565b6107cb86610b79565b81526107d8838701610b79565b838201528152019201916105e7565b8480fd5b3461016c57600036600319011261016c57602063ffffffff600154821c16604051908152f35b3461016c57604036600319011261016c5761082a610be6565b336001600160a01b038216036108465761034d906004356110bd565b63334bd91960e11b60005260046000fd5b3461016c57600036600319011261016c57602060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461016c57604036600319011261016c5761034d6004356108b7610be6565b906108d361034382600052600060205260016040600020015490565b611032565b3461016c57600036600319011261016c57602060ff60015460401c166040519015158152f35b3461016c57602036600319011261016c57602061092b600435600052600060205260016040600020015490565b604051908152f35b3461016c5760c036600319011261016c5760043563ffffffff811680910361016c5760243563ffffffff8116810361016c576044359081151580920361016c57366083121561016c576109866060610bc0565b92833660c41161016c576064905b60c48210610b0e5750506109a6610ed6565b63ffffffff7f000000000000000000000000000000000000000000000000000000000000000016808211610afd57610a046109f363ffffffff87511663ffffffff60208901511690610c43565b63ffffffff60408801511690610c43565b11610afd5767ffffffff000000009068ff00000000000000006001549460401b169368ffffffffffffffffff1916179160201b16171760015560009060005b60038110610ad357826002556001547fea043b6f5411cf3705a5407008dc7b5cf47623505062142902f19701f2c2b32760c060029260009363ffffffff8154169063ffffffff80825460201c16915460401c169160ff6040519463ffffffff8116865263ffffffff8160201c16602087015260401c16151560408501526060840152608083015260a0820152a180f35b9091602060019163ffffffff8551169063ffffffff8560051b92831b921b19161793019101610a43565b6306b7c75960e31b60005260046000fd5b60208091610b1b84610b79565b815201910190610994565b3461016c57602036600319011261016c576004359063ffffffff60e01b821680920361016c57602091637965db0b60e01b8114908115610b68575b5015158152f35b6301ffc9a760e01b14905083610b61565b359063ffffffff8216820361016c57565b604051906040820182811067ffffffffffffffff821117610baa57604052565b634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f1916820167ffffffffffffffff811183821017610baa57604052565b602435906001600160a01b038216820361016c57565b600435906001600160a01b038216820361016c57565b906003821015610c2d57601c8260031c6002019260021b1690565b634e487b7160e01b600052603260045260246000fd5b91908201809211610c5057565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03166000908152600660205260409020548015610cac5763ffffffff60015460201c168015610ca557610c9f91610c43565b42111590565b5050600190565b50600090565b600354811015610c2d57600360005260206000200190600090565b81810292918115918404141715610c5057565b8115610cea570490565b634e487b7160e01b600052601260045260246000fd5b906003811015610c2d5760051b0190565b94929390918592809660009660018060a01b038416806000526006602052426040600020557ffecc4799a16a7823139e82b96d8c3cfa06e17fef29658cfe3103ceb21cc8eba26020604051428152a26001600160a01b038116610ec6575b5083158015610eb6575b610ea9575050610d936001549263ffffffff841690610ccd565b90610dc563ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168093610ce0565b9060ff60009460401c16158015915b60038610610de8575b505050505050929190565b6001600160a01b03908116600090815260046020526040902054168015610ea45780610e148789610d00565b52898284610e95575b610e2e575b50600190950194610dd4565b86829a610e8c92610e86610e7e8a610e748b610e7983610e7463ffffffff610e5760019e611286565b1663ffffffff610e668d610c12565b90549060031b1c1694610ccd565b610ce0565b610ccd565b938492610d00565b52610c43565b98905089610e22565b50610e9f82610c66565b610e1d565b610ddd565b9650945060009392505050565b5063ffffffff6001541615610d79565b610ed09084611153565b38610d6f565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1615610f0f57565b63e2517d3f60e01b60005233600452600060245260446000fd5b60008181526020818152604080832033845290915290205460ff1615610f4c5750565b63e2517d3f60e01b6000523360045260245260446000fd5b6001600160a01b03811660009081527fee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319f602052604090205460ff16610cac576001600160a01b031660008181527fee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319f60205260408120805460ff191660011790553391907f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b6000818152602081815260408083206001600160a01b038616845290915290205460ff166110b6576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5050600090565b6000818152602081815260408083206001600160a01b038616845290915290205460ff16156110b6576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b8051821015610c2d5760209160051b010190565b6001600160a01b03169081158015611275575b611271576001600160a01b0381169082821461126c576000838152600460205260409020546001600160a01b031661126c57916000925b6003841061122c575b508091925060005260046020526040600020826bffffffffffffffffffffffff60a01b8254161790558160005260056020526040600020600163ffffffff8254160163ffffffff8111610c505763ffffffff1663ffffffff198254161790557f5f7165288eef601591cf549e15ff19ef9060b7f71b9c115be946fa1fe7ebf68a600080a3565b6001600160a01b03168015611267578181146112615760005260046020526001808060a01b036040600020541693019261119d565b50505050565b6111a6565b505050565b5050565b506001600160a01b03811615611166565b600354908115611302576001600160a01b0316600090815260056020526040812054909190829063ffffffff165b8282106112c2575b50505090565b90919263ffffffff6112d384610cb2565b50541682106112fc5750600163ffffffff6112ed84610cb2565b505460201c16939201906112b4565b926112bc565b50507f00000000000000000000000000000000000000000000000000000000000000009056fea2646970667358221220a8dd8905219b642527114d3c01f45fd1c0acc4f3c564050a1d0be2573a038e0064736f6c634300081c00332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0dee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5","opcodes":"PUSH1 0xC0 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0x4E6 JUMPI PUSH2 0x1A6D DUP1 CODESIZE SUB DUP1 PUSH2 0x19 DUP2 PUSH2 0x503 JUMP JUMPDEST SWAP3 DUP4 CODECOPY DUP2 ADD SWAP1 PUSH2 0x160 DUP2 DUP4 SUB SLT PUSH2 0x4E6 JUMPI DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 SUB PUSH2 0x4E6 JUMPI PUSH2 0x48 PUSH1 0x20 DUP4 ADD PUSH2 0x528 JUMP JUMPDEST PUSH2 0x54 PUSH1 0x40 DUP5 ADD PUSH2 0x528 JUMP JUMPDEST PUSH2 0x60 PUSH1 0x60 DUP6 ADD PUSH2 0x53C JUMP JUMPDEST PUSH2 0x6C PUSH1 0x80 DUP7 ADD PUSH2 0x53C JUMP JUMPDEST SWAP2 PUSH2 0x79 PUSH1 0xA0 DUP8 ADD PUSH2 0x53C JUMP JUMPDEST SWAP4 PUSH1 0xC0 DUP8 ADD MLOAD SWAP6 DUP7 ISZERO ISZERO DUP1 SWAP8 SUB PUSH2 0x4E6 JUMPI DUP9 PUSH1 0xFF DUP10 ADD SLT ISZERO PUSH2 0x4E6 JUMPI PUSH1 0x40 MLOAD SWAP8 PUSH1 0x60 DUP10 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP11 DUP3 LT OR PUSH2 0x4D0 JUMPI PUSH1 0x40 MSTORE PUSH2 0x140 DUP2 ADD DUP10 DUP12 DUP3 GT PUSH2 0x4E6 JUMPI PUSH1 0xE0 DUP4 ADD SWAP1 JUMPDEST DUP3 DUP3 LT PUSH2 0x4EB JUMPI POP POP MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x4E6 JUMPI ADD DUP10 PUSH1 0x1F DUP3 ADD SLT ISZERO PUSH2 0x4E6 JUMPI DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x4D0 JUMPI PUSH2 0x10A PUSH1 0x20 DUP4 PUSH1 0x5 SHL ADD PUSH2 0x503 JUMP JUMPDEST SWAP11 PUSH1 0x20 DUP1 DUP14 DUP6 DUP2 MSTORE ADD SWAP4 PUSH1 0x6 SHL DUP4 ADD ADD SWAP2 DUP2 DUP4 GT PUSH2 0x4E6 JUMPI PUSH1 0x20 ADD SWAP3 JUMPDEST DUP3 DUP5 LT PUSH2 0x47E JUMPI POP POP POP POP PUSH2 0x149 SWAP3 SWAP2 PUSH2 0x143 SWAP2 PUSH1 0x80 MSTORE PUSH2 0x54D JUMP JUMPDEST POP PUSH2 0x5C9 JUMP JUMPDEST POP PUSH4 0xFFFFFFFF DUP2 AND SWAP2 DUP3 ISZERO PUSH2 0x46D JUMPI PUSH4 0xFFFFFFFF SWAP2 PUSH1 0xA0 MSTORE AND SWAP1 DUP2 GT PUSH2 0x46D JUMPI PUSH2 0x199 PUSH2 0x188 PUSH4 0xFFFFFFFF DUP7 MLOAD AND PUSH4 0xFFFFFFFF PUSH1 0x20 DUP9 ADD MLOAD AND SWAP1 PUSH2 0x661 JUMP JUMPDEST PUSH4 0xFFFFFFFF PUSH1 0x40 DUP8 ADD MLOAD AND SWAP1 PUSH2 0x661 JUMP JUMPDEST PUSH4 0xFFFFFFFF PUSH1 0xA0 MLOAD AND LT PUSH2 0x46D JUMPI PUSH8 0xFFFFFFFF00000000 SWAP1 PUSH9 0xFF0000000000000000 PUSH1 0x1 SLOAD SWAP5 PUSH1 0x40 SHL AND SWAP4 PUSH1 0x1 DUP1 PUSH1 0x48 SHL SUB NOT AND OR SWAP2 PUSH1 0x20 SHL AND OR OR PUSH1 0x1 SSTORE PUSH1 0x0 SWAP1 PUSH1 0x0 JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x443 JUMPI POP POP PUSH1 0x2 SSTORE PUSH1 0x1 SLOAD SWAP1 PUSH1 0x2 SWAP2 PUSH32 0xEA043B6F5411CF3705A5407008DC7B5CF47623505062142902F19701F2C2B327 PUSH1 0xC0 PUSH1 0x0 SWAP3 PUSH4 0xFFFFFFFF DUP7 SLOAD AND PUSH1 0x4 SWAP7 PUSH4 0xFFFFFFFF DUP1 DUP3 SLOAD PUSH1 0x20 SHR AND SWAP2 SLOAD PUSH1 0x40 SHR AND SWAP2 PUSH1 0xFF PUSH1 0x40 MLOAD SWAP5 PUSH4 0xFFFFFFFF DUP2 AND DUP7 MSTORE PUSH4 0xFFFFFFFF DUP2 PUSH1 0x20 SHR AND PUSH1 0x20 DUP8 ADD MSTORE PUSH1 0x40 SHR AND ISZERO ISZERO PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP5 ADD MSTORE PUSH1 0x80 DUP4 ADD MSTORE PUSH1 0xA0 DUP3 ADD MSTORE LOG1 PUSH1 0x3 SLOAD DUP2 PUSH1 0x3 SSTORE DUP1 PUSH2 0x401 JUMPI JUMPDEST POP DUP1 SWAP2 DUP2 SWAP3 JUMPDEST DUP2 MLOAD DUP5 LT ISZERO PUSH2 0x3C4 JUMPI PUSH4 0xFFFFFFFF PUSH1 0x20 PUSH2 0x29C DUP7 DUP6 PUSH2 0x684 JUMP JUMPDEST MLOAD ADD MLOAD AND PUSH4 0xFFFFFFFF PUSH1 0xA0 MLOAD AND LT PUSH2 0x3B6 JUMPI DUP4 ISZERO ISZERO SWAP1 DUP2 PUSH2 0x397 JUMPI JUMPDEST POP PUSH2 0x389 JUMPI PUSH4 0xFFFFFFFF PUSH2 0x2CC DUP5 DUP4 PUSH2 0x684 JUMP JUMPDEST MLOAD MLOAD AND SWAP3 PUSH2 0x2DA DUP2 DUP4 PUSH2 0x684 JUMP JUMPDEST MLOAD PUSH1 0x3 SLOAD PUSH9 0x10000000000000000 DUP2 LT ISZERO PUSH2 0x376 JUMPI PUSH1 0x1 DUP2 ADD DUP1 PUSH1 0x3 SSTORE DUP2 LT ISZERO PUSH2 0x363 JUMPI PUSH1 0x3 DUP6 MSTORE DUP2 MLOAD PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B SWAP1 SWAP2 ADD DUP1 SLOAD PUSH1 0x20 SWAP4 DUP5 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB NOT SWAP1 SWAP2 AND PUSH4 0xFFFFFFFF SWAP4 SWAP1 SWAP4 AND SWAP3 SWAP1 SWAP3 OR SWAP2 SWAP1 SWAP3 SHL PUSH8 0xFFFFFFFF00000000 AND OR SWAP1 SSTORE PUSH1 0x1 ADD SWAP3 PUSH2 0x282 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x32 DUP8 MSTORE PUSH1 0x24 DUP6 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP6 MSTORE PUSH1 0x41 DUP8 MSTORE PUSH1 0x24 DUP6 REVERT JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL DUP3 MSTORE DUP4 DUP3 REVERT JUMPDEST SWAP1 POP PUSH4 0xFFFFFFFF DUP1 PUSH2 0x3A9 DUP7 DUP6 PUSH2 0x684 JUMP JUMPDEST MLOAD MLOAD AND SWAP2 AND LT ISZERO CODESIZE PUSH2 0x2B8 JUMP JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL DUP4 MSTORE DUP5 DUP4 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x135E SWAP1 DUP2 PUSH2 0x6AF DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH2 0x13D ADD MSTORE PUSH1 0xA0 MLOAD DUP2 DUP2 DUP2 PUSH2 0x601 ADD MSTORE DUP2 DUP2 PUSH2 0x874 ADD MSTORE DUP2 DUP2 PUSH2 0x9AD ADD MSTORE DUP2 DUP2 PUSH2 0xD9E ADD MSTORE PUSH2 0x1306 ADD MSTORE RETURN JUMPDEST PUSH1 0x3 DUP3 MSTORE PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B SWAP1 DUP2 ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x438 JUMPI POP PUSH2 0x27C JUMP JUMPDEST DUP3 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x42B JUMP JUMPDEST SWAP1 SWAP2 PUSH1 0x20 PUSH1 0x1 SWAP2 PUSH4 0xFFFFFFFF DUP6 MLOAD AND SWAP1 PUSH4 0xFFFFFFFF DUP6 PUSH1 0x5 SHL SWAP3 DUP4 SHL SWAP3 SHL NOT AND OR SWAP4 ADD SWAP2 ADD PUSH2 0x1DE JUMP JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 DUP5 DUP4 SUB SLT PUSH2 0x4E6 JUMPI PUSH1 0x40 DUP1 MLOAD SWAP2 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT DUP4 DUP4 LT OR PUSH2 0x4D0 JUMPI PUSH1 0x40 SWAP3 PUSH1 0x20 SWAP3 DUP5 MSTORE PUSH2 0x4B4 DUP8 PUSH2 0x53C JUMP JUMPDEST DUP2 MSTORE PUSH2 0x4C1 DUP4 DUP9 ADD PUSH2 0x53C JUMP JUMPDEST DUP4 DUP3 ADD MSTORE DUP2 MSTORE ADD SWAP4 ADD SWAP3 PUSH2 0x127 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x20 DUP1 SWAP2 PUSH2 0x4F8 DUP5 PUSH2 0x53C JUMP JUMPDEST DUP2 MSTORE ADD SWAP2 ADD SWAP1 PUSH2 0xC5 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 SWAP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT DUP4 DUP3 LT OR PUSH2 0x4D0 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x4E6 JUMPI JUMP JUMPDEST MLOAD SWAP1 PUSH4 0xFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x4E6 JUMPI JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1A4D DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x5C3 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1A4D DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1A0D DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1A2D DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x5C3 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1A2D DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0x97667070C54EF182B0F5858B034BEAC1B6F3089AA2D3188BB1E8929F4FA9B929 SWAP1 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1A0D DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0x66E JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP1 MLOAD DUP3 LT ISZERO PUSH2 0x698 JUMPI PUSH1 0x20 SWAP2 PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x1FFC9A7 EQ PUSH2 0xB26 JUMPI POP DUP1 PUSH4 0x12640D99 EQ PUSH2 0x933 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x8FE JUMPI DUP1 PUSH4 0x2EE7754D EQ PUSH2 0x8D8 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x898 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x857 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x811 JUMPI DUP1 PUSH4 0x3A8E7BDC EQ PUSH2 0x7EB JUMPI DUP1 PUSH4 0x3D35A571 EQ PUSH2 0x56E JUMPI DUP1 PUSH4 0x4E44624C EQ PUSH2 0x550 JUMPI DUP1 PUSH4 0x563A4C3B EQ PUSH2 0x510 JUMPI DUP1 PUSH4 0x7879B5EF EQ PUSH2 0x4D3 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x486 JUMPI DUP1 PUSH4 0x9F8A13D7 EQ PUSH2 0x459 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x43D JUMPI DUP1 PUSH4 0xB3AB15FB EQ PUSH2 0x414 JUMPI DUP1 PUSH4 0xCE7842F5 EQ PUSH2 0x3F0 JUMPI DUP1 PUSH4 0xCFBB4972 EQ PUSH2 0x391 JUMPI DUP1 PUSH4 0xD21CACDF EQ PUSH2 0x34F JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x308 JUMPI DUP1 PUSH4 0xE696D10D EQ PUSH2 0x1E6 JUMPI DUP1 PUSH4 0xEB799D23 EQ PUSH2 0x1AC JUMPI DUP1 PUSH4 0xF5B541A6 EQ PUSH2 0x171 JUMPI PUSH4 0xF7C618C1 EQ PUSH2 0x127 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x97667070C54EF182B0F5858B034BEAC1B6F3089AA2D3188BB1E8929F4FA9B929 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1CD PUSH2 0xBFC JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x1FF PUSH2 0xBFC JUMP JUMPDEST PUSH2 0x207 PUSH2 0xBE6 JUMP JUMPDEST SWAP1 PUSH1 0x60 SWAP2 PUSH2 0x214 DUP4 PUSH2 0xBC0 JUMP JUMPDEST SWAP1 DUP4 CALLDATASIZE DUP4 CALLDATACOPY PUSH2 0x222 DUP5 PUSH2 0xBC0 JUMP JUMPDEST SWAP3 DUP5 CALLDATASIZE DUP6 CALLDATACOPY CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xEE57CD81E84075558E8FCC182A1F4393F91FC97F963A136E66B7F949A62F319F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x2CF JUMPI PUSH2 0x26B SWAP4 PUSH1 0x44 CALLDATALOAD SWAP4 PUSH2 0xD11 JUMP JUMPDEST SWAP3 PUSH1 0x40 MLOAD SWAP3 DUP4 PUSH1 0x0 SWAP1 JUMPDEST PUSH1 0x3 DUP3 LT PUSH2 0x2AF JUMPI POP POP POP DUP3 ADD PUSH1 0x0 SWAP1 JUMPDEST PUSH1 0x3 DUP3 LT PUSH2 0x299 JUMPI PUSH1 0xE0 DUP5 DUP7 PUSH1 0xC0 DUP3 ADD MSTORE RETURN JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1 SWAP3 DUP6 MLOAD DUP2 MSTORE ADD SWAP4 ADD SWAP2 ADD SWAP1 SWAP2 PUSH2 0x286 JUMP JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 ADD PUSH2 0x275 JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH32 0x97667070C54EF182B0F5858B034BEAC1B6F3089AA2D3188BB1E8929F4FA9B929 PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x34D PUSH1 0x4 CALLDATALOAD PUSH2 0x327 PUSH2 0xBE6 JUMP JUMPDEST SWAP1 PUSH2 0x348 PUSH2 0x343 DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0xF29 JUMP JUMPDEST PUSH2 0x10BD JUMP JUMPDEST STOP JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x370 PUSH2 0xBFC JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x0 PUSH1 0x20 PUSH2 0x3AE PUSH2 0xB8A JUMP JUMPDEST DUP3 DUP2 MSTORE ADD MSTORE PUSH1 0x40 PUSH2 0x3C0 PUSH1 0x4 CALLDATALOAD PUSH2 0xCB2 JUMP JUMPDEST POP PUSH4 0xFFFFFFFF PUSH2 0x3CE PUSH2 0xB8A JUMP JUMPDEST SWAP2 SLOAD DUP2 PUSH1 0x20 DUP2 DUP4 AND SWAP5 DUP6 DUP2 MSTORE ADD SWAP2 PUSH1 0x20 SHR AND DUP2 MSTORE DUP4 MLOAD SWAP3 DUP4 MSTORE MLOAD AND PUSH1 0x20 DUP3 ADD MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH4 0xFFFFFFFF PUSH1 0x1 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x34D PUSH2 0x430 PUSH2 0xBFC JUMP JUMPDEST PUSH2 0x438 PUSH2 0xED6 JUMP JUMPDEST PUSH2 0xF64 JUMP JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH2 0x47C PUSH2 0x477 PUSH2 0xBFC JUMP JUMPDEST PUSH2 0xC66 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x49F PUSH2 0xBE6 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x16C JUMPI PUSH4 0xFFFFFFFF PUSH2 0x500 PUSH1 0x20 SWAP3 PUSH2 0xC12 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x531 PUSH2 0xBFC JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH4 0xFFFFFFFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x16C JUMPI CALLDATASIZE PUSH1 0x23 DUP3 ADD SLT ISZERO PUSH2 0x16C JUMPI DUP1 PUSH1 0x4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x16C JUMPI PUSH1 0x24 DUP2 PUSH1 0x6 SHL DUP4 ADD ADD SWAP2 CALLDATASIZE DUP4 GT PUSH2 0x16C JUMPI PUSH2 0x5C9 PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x0 SWAP3 PUSH1 0x24 PUSH1 0x20 PUSH2 0x5DE DUP2 DUP7 PUSH1 0x5 SHL ADD PUSH2 0xBC0 JUMP JUMPDEST DUP1 SWAP6 DUP2 MSTORE ADD SWAP3 ADD SWAP2 JUMPDEST DUP2 DUP4 LT PUSH2 0x7AB JUMPI POP POP POP PUSH1 0x3 SLOAD DUP3 PUSH1 0x3 SSTORE DUP1 PUSH2 0x74B JUMPI JUMPDEST POP PUSH32 0x0 PUSH4 0xFFFFFFFF AND SWAP1 DUP3 DUP1 JUMPDEST DUP3 MLOAD DUP3 LT ISZERO PUSH2 0x747 JUMPI DUP4 PUSH4 0xFFFFFFFF PUSH1 0x20 PUSH2 0x645 DUP6 DUP8 PUSH2 0x113F JUMP JUMPDEST MLOAD ADD MLOAD AND GT PUSH2 0x738 JUMPI DUP2 ISZERO ISZERO SWAP1 DUP2 PUSH2 0x719 JUMPI JUMPDEST POP PUSH2 0x70A JUMPI PUSH4 0xFFFFFFFF PUSH2 0x66C DUP3 DUP5 PUSH2 0x113F JUMP JUMPDEST MLOAD MLOAD AND SWAP1 PUSH2 0x67A DUP2 DUP5 PUSH2 0x113F JUMP JUMPDEST MLOAD PUSH1 0x3 SLOAD PUSH9 0x10000000000000000 DUP2 LT ISZERO PUSH2 0x6F6 JUMPI DUP1 PUSH1 0x1 PUSH2 0x69F SWAP3 ADD PUSH1 0x3 SSTORE PUSH2 0xCB2 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH2 0x6E2 JUMPI DUP1 MLOAD DUP3 SLOAD PUSH1 0x20 SWAP3 DUP4 ADD MLOAD PUSH8 0xFFFFFFFFFFFFFFFF NOT SWAP1 SWAP2 AND PUSH4 0xFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP2 SHL PUSH8 0xFFFFFFFF00000000 AND OR SWAP1 SSTORE PUSH1 0x1 ADD SWAP1 PUSH2 0x62A JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x4 DUP8 SWAP1 MSTORE PUSH1 0x24 DUP8 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP8 REVERT JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL DUP5 MSTORE PUSH1 0x4 DUP5 REVERT JUMPDEST SWAP1 POP PUSH4 0xFFFFFFFF DUP1 PUSH2 0x72B DUP5 DUP7 PUSH2 0x113F JUMP JUMPDEST MLOAD MLOAD AND SWAP2 AND LT ISZERO DUP6 PUSH2 0x658 JUMP JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL DUP6 MSTORE PUSH1 0x4 DUP6 REVERT JUMPDEST DUP5 DUP1 RETURN JUMPDEST PUSH1 0x3 DUP4 MSTORE PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B ADD PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B JUMPDEST DUP2 DUP2 LT PUSH2 0x7A0 JUMPI POP PUSH2 0x5FE JUMP JUMPDEST DUP4 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x793 JUMP JUMPDEST PUSH1 0x40 DUP4 CALLDATASIZE SUB SLT PUSH2 0x7E7 JUMPI PUSH1 0x20 PUSH1 0x40 SWAP2 PUSH2 0x7C2 PUSH2 0xB8A JUMP JUMPDEST PUSH2 0x7CB DUP7 PUSH2 0xB79 JUMP JUMPDEST DUP2 MSTORE PUSH2 0x7D8 DUP4 DUP8 ADD PUSH2 0xB79 JUMP JUMPDEST DUP4 DUP3 ADD MSTORE DUP2 MSTORE ADD SWAP3 ADD SWAP2 PUSH2 0x5E7 JUMP JUMPDEST DUP5 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH4 0xFFFFFFFF PUSH1 0x1 SLOAD DUP3 SHR AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x82A PUSH2 0xBE6 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0x846 JUMPI PUSH2 0x34D SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x10BD JUMP JUMPDEST PUSH4 0x334BD919 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH4 0xFFFFFFFF PUSH32 0x0 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x34D PUSH1 0x4 CALLDATALOAD PUSH2 0x8B7 PUSH2 0xBE6 JUMP JUMPDEST SWAP1 PUSH2 0x8D3 PUSH2 0x343 DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1032 JUMP JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0xFF PUSH1 0x1 SLOAD PUSH1 0x40 SHR AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH2 0x92B PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x4 CALLDATALOAD PUSH4 0xFFFFFFFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x16C JUMPI PUSH1 0x24 CALLDATALOAD PUSH4 0xFFFFFFFF DUP2 AND DUP2 SUB PUSH2 0x16C JUMPI PUSH1 0x44 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP1 SWAP3 SUB PUSH2 0x16C JUMPI CALLDATASIZE PUSH1 0x83 SLT ISZERO PUSH2 0x16C JUMPI PUSH2 0x986 PUSH1 0x60 PUSH2 0xBC0 JUMP JUMPDEST SWAP3 DUP4 CALLDATASIZE PUSH1 0xC4 GT PUSH2 0x16C JUMPI PUSH1 0x64 SWAP1 JUMPDEST PUSH1 0xC4 DUP3 LT PUSH2 0xB0E JUMPI POP POP PUSH2 0x9A6 PUSH2 0xED6 JUMP JUMPDEST PUSH4 0xFFFFFFFF PUSH32 0x0 AND DUP1 DUP3 GT PUSH2 0xAFD JUMPI PUSH2 0xA04 PUSH2 0x9F3 PUSH4 0xFFFFFFFF DUP8 MLOAD AND PUSH4 0xFFFFFFFF PUSH1 0x20 DUP10 ADD MLOAD AND SWAP1 PUSH2 0xC43 JUMP JUMPDEST PUSH4 0xFFFFFFFF PUSH1 0x40 DUP9 ADD MLOAD AND SWAP1 PUSH2 0xC43 JUMP JUMPDEST GT PUSH2 0xAFD JUMPI PUSH8 0xFFFFFFFF00000000 SWAP1 PUSH9 0xFF0000000000000000 PUSH1 0x1 SLOAD SWAP5 PUSH1 0x40 SHL AND SWAP4 PUSH9 0xFFFFFFFFFFFFFFFFFF NOT AND OR SWAP2 PUSH1 0x20 SHL AND OR OR PUSH1 0x1 SSTORE PUSH1 0x0 SWAP1 PUSH1 0x0 JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0xAD3 JUMPI DUP3 PUSH1 0x2 SSTORE PUSH1 0x1 SLOAD PUSH32 0xEA043B6F5411CF3705A5407008DC7B5CF47623505062142902F19701F2C2B327 PUSH1 0xC0 PUSH1 0x2 SWAP3 PUSH1 0x0 SWAP4 PUSH4 0xFFFFFFFF DUP2 SLOAD AND SWAP1 PUSH4 0xFFFFFFFF DUP1 DUP3 SLOAD PUSH1 0x20 SHR AND SWAP2 SLOAD PUSH1 0x40 SHR AND SWAP2 PUSH1 0xFF PUSH1 0x40 MLOAD SWAP5 PUSH4 0xFFFFFFFF DUP2 AND DUP7 MSTORE PUSH4 0xFFFFFFFF DUP2 PUSH1 0x20 SHR AND PUSH1 0x20 DUP8 ADD MSTORE PUSH1 0x40 SHR AND ISZERO ISZERO PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP5 ADD MSTORE PUSH1 0x80 DUP4 ADD MSTORE PUSH1 0xA0 DUP3 ADD MSTORE LOG1 DUP1 RETURN JUMPDEST SWAP1 SWAP2 PUSH1 0x20 PUSH1 0x1 SWAP2 PUSH4 0xFFFFFFFF DUP6 MLOAD AND SWAP1 PUSH4 0xFFFFFFFF DUP6 PUSH1 0x5 SHL SWAP3 DUP4 SHL SWAP3 SHL NOT AND OR SWAP4 ADD SWAP2 ADD PUSH2 0xA43 JUMP JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 DUP1 SWAP2 PUSH2 0xB1B DUP5 PUSH2 0xB79 JUMP JUMPDEST DUP2 MSTORE ADD SWAP2 ADD SWAP1 PUSH2 0x994 JUMP JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP3 AND DUP1 SWAP3 SUB PUSH2 0x16C JUMPI PUSH1 0x20 SWAP2 PUSH4 0x7965DB0B PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0xB68 JUMPI JUMPDEST POP ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL EQ SWAP1 POP DUP4 PUSH2 0xB61 JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH4 0xFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x16C JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH1 0x40 DUP3 ADD DUP3 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0xBAA JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD SWAP2 SWAP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP4 DUP3 LT OR PUSH2 0xBAA JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x16C JUMPI JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x16C JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x3 DUP3 LT ISZERO PUSH2 0xC2D JUMPI PUSH1 0x1C DUP3 PUSH1 0x3 SHR PUSH1 0x2 ADD SWAP3 PUSH1 0x2 SHL AND SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0xC50 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP1 ISZERO PUSH2 0xCAC JUMPI PUSH4 0xFFFFFFFF PUSH1 0x1 SLOAD PUSH1 0x20 SHR AND DUP1 ISZERO PUSH2 0xCA5 JUMPI PUSH2 0xC9F SWAP2 PUSH2 0xC43 JUMP JUMPDEST TIMESTAMP GT ISZERO SWAP1 JUMP JUMPDEST POP POP PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x3 SLOAD DUP2 LT ISZERO PUSH2 0xC2D JUMPI PUSH1 0x3 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST DUP2 DUP2 MUL SWAP3 SWAP2 DUP2 ISZERO SWAP2 DUP5 DIV EQ OR ISZERO PUSH2 0xC50 JUMPI JUMP JUMPDEST DUP2 ISZERO PUSH2 0xCEA JUMPI DIV SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x3 DUP2 LT ISZERO PUSH2 0xC2D JUMPI PUSH1 0x5 SHL ADD SWAP1 JUMP JUMPDEST SWAP5 SWAP3 SWAP4 SWAP1 SWAP2 DUP6 SWAP3 DUP1 SWAP7 PUSH1 0x0 SWAP7 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 AND DUP1 PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE TIMESTAMP PUSH1 0x40 PUSH1 0x0 KECCAK256 SSTORE PUSH32 0xFECC4799A16A7823139E82B96D8C3CFA06E17FEF29658CFE3103CEB21CC8EBA2 PUSH1 0x20 PUSH1 0x40 MLOAD TIMESTAMP DUP2 MSTORE LOG2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xEC6 JUMPI JUMPDEST POP DUP4 ISZERO DUP1 ISZERO PUSH2 0xEB6 JUMPI JUMPDEST PUSH2 0xEA9 JUMPI POP POP PUSH2 0xD93 PUSH1 0x1 SLOAD SWAP3 PUSH4 0xFFFFFFFF DUP5 AND SWAP1 PUSH2 0xCCD JUMP JUMPDEST SWAP1 PUSH2 0xDC5 PUSH4 0xFFFFFFFF PUSH32 0x0 AND DUP1 SWAP4 PUSH2 0xCE0 JUMP JUMPDEST SWAP1 PUSH1 0xFF PUSH1 0x0 SWAP5 PUSH1 0x40 SHR AND ISZERO DUP1 ISZERO SWAP2 JUMPDEST PUSH1 0x3 DUP7 LT PUSH2 0xDE8 JUMPI JUMPDEST POP POP POP POP POP POP SWAP3 SWAP2 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD AND DUP1 ISZERO PUSH2 0xEA4 JUMPI DUP1 PUSH2 0xE14 DUP8 DUP10 PUSH2 0xD00 JUMP JUMPDEST MSTORE DUP10 DUP3 DUP5 PUSH2 0xE95 JUMPI JUMPDEST PUSH2 0xE2E JUMPI JUMPDEST POP PUSH1 0x1 SWAP1 SWAP6 ADD SWAP5 PUSH2 0xDD4 JUMP JUMPDEST DUP7 DUP3 SWAP11 PUSH2 0xE8C SWAP3 PUSH2 0xE86 PUSH2 0xE7E DUP11 PUSH2 0xE74 DUP12 PUSH2 0xE79 DUP4 PUSH2 0xE74 PUSH4 0xFFFFFFFF PUSH2 0xE57 PUSH1 0x1 SWAP15 PUSH2 0x1286 JUMP JUMPDEST AND PUSH4 0xFFFFFFFF PUSH2 0xE66 DUP14 PUSH2 0xC12 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND SWAP5 PUSH2 0xCCD JUMP JUMPDEST PUSH2 0xCE0 JUMP JUMPDEST PUSH2 0xCCD JUMP JUMPDEST SWAP4 DUP5 SWAP3 PUSH2 0xD00 JUMP JUMPDEST MSTORE PUSH2 0xC43 JUMP JUMPDEST SWAP9 SWAP1 POP DUP10 PUSH2 0xE22 JUMP JUMPDEST POP PUSH2 0xE9F DUP3 PUSH2 0xC66 JUMP JUMPDEST PUSH2 0xE1D JUMP JUMPDEST PUSH2 0xDDD JUMP JUMPDEST SWAP7 POP SWAP5 POP PUSH1 0x0 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST POP PUSH4 0xFFFFFFFF PUSH1 0x1 SLOAD AND ISZERO PUSH2 0xD79 JUMP JUMPDEST PUSH2 0xED0 SWAP1 DUP5 PUSH2 0x1153 JUMP JUMPDEST CODESIZE PUSH2 0xD6F JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xAD3228B676F7D3CD4284A5443F17F1962B36E491B30A40B2405849E597BA5FB5 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0xF0F JUMPI JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0xF4C JUMPI POP JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xEE57CD81E84075558E8FCC182A1F4393F91FC97F963A136E66B7F949A62F319F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xCAC JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH32 0xEE57CD81E84075558E8FCC182A1F4393F91FC97F963A136E66B7F949A62F319F PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0x97667070C54EF182B0F5858B034BEAC1B6F3089AA2D3188BB1E8929F4FA9B929 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x10B6 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x10B6 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST DUP1 MLOAD DUP3 LT ISZERO PUSH2 0xC2D JUMPI PUSH1 0x20 SWAP2 PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO DUP1 ISZERO PUSH2 0x1275 JUMPI JUMPDEST PUSH2 0x1271 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP3 DUP3 EQ PUSH2 0x126C JUMPI PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x126C JUMPI SWAP2 PUSH1 0x0 SWAP3 JUMPDEST PUSH1 0x3 DUP5 LT PUSH2 0x122C JUMPI JUMPDEST POP DUP1 SWAP2 SWAP3 POP PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP3 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE DUP2 PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH4 0xFFFFFFFF DUP3 SLOAD AND ADD PUSH4 0xFFFFFFFF DUP2 GT PUSH2 0xC50 JUMPI PUSH4 0xFFFFFFFF AND PUSH4 0xFFFFFFFF NOT DUP3 SLOAD AND OR SWAP1 SSTORE PUSH32 0x5F7165288EEF601591CF549E15FF19EF9060B7F71B9C115BE946FA1FE7EBF68A PUSH1 0x0 DUP1 LOG3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0x1267 JUMPI DUP2 DUP2 EQ PUSH2 0x1261 JUMPI PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND SWAP4 ADD SWAP3 PUSH2 0x119D JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH2 0x11A6 JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0x1166 JUMP JUMPDEST PUSH1 0x3 SLOAD SWAP1 DUP2 ISZERO PUSH2 0x1302 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 DUP3 SWAP1 PUSH4 0xFFFFFFFF AND JUMPDEST DUP3 DUP3 LT PUSH2 0x12C2 JUMPI JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP3 PUSH4 0xFFFFFFFF PUSH2 0x12D3 DUP5 PUSH2 0xCB2 JUMP JUMPDEST POP SLOAD AND DUP3 LT PUSH2 0x12FC JUMPI POP PUSH1 0x1 PUSH4 0xFFFFFFFF PUSH2 0x12ED DUP5 PUSH2 0xCB2 JUMP JUMPDEST POP SLOAD PUSH1 0x20 SHR AND SWAP4 SWAP3 ADD SWAP1 PUSH2 0x12B4 JUMP JUMPDEST SWAP3 PUSH2 0x12BC JUMP JUMPDEST POP POP PUSH32 0x0 SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA8 0xDD DUP10 SDIV 0x21 SWAP12 PUSH5 0x2527114D3C ADD DELEGATECALL PUSH0 0xD1 0xC0 0xAC 0xC4 RETURN 0xC5 PUSH5 0x50A1D0BE2 JUMPI GASPRICE SUB DUP15 STOP PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER 0x2F DUP8 DUP9 GT PUSH31 0x7EFF1D82E926EC794901D17C78024A50270940304540A733656F0DEE57CD81 0xE8 BLOCKHASH PUSH22 0x558E8FCC182A1F4393F91FC97F963A136E66B7F949A6 0x2F BALANCE SWAP16 0xAD ORIGIN 0x28 0xB6 PUSH23 0xF7D3CD4284A5443F17F1962B36E491B30A40B2405849E5 SWAP8 0xBA PUSH0 0xB5 ","sourceMap":"775:7378:38:-:0;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2315:26;;;;2398:35;2315:26;;2351:37;2315:26;775:7378;2315:26;2351:37;:::i;:::-;;2398:35;:::i;:::-;;775:7378;;;2448:14;;;2444:42;;775:7378;2496:20;775:7378;2496:20;775:7378;7010:25;;;7006:53;;7134:99;:61;775:7378;;;;;;;;;;7134:61;;:::i;:::-;775:7378;;;;;;7134:99;;:::i;:::-;775:7378;;;;-1:-1:-1;7243:51:38;;775:7378;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;775:7378:38;-1:-1:-1;775:7378:38;;;;;;;;7230:1;775:7378;;;7630:13;7230:1;775:7378;7503:204;775:7378;-1:-1:-1;775:7378:38;;;;;;;;;;;;;;7684:13;775:7378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7503:204;775:7378;;;;;;;;;7819:15;;7849:13;;7844:301;7886:3;775:7378;;7864:20;;;;;775:7378;;7909:12;;;;:::i;:::-;;:17;775:7378;;;;;;-1:-1:-1;7905:56:38;;7979:5;;;:42;;;;7886:3;7975:70;;;775:7378;8066:12;;;;:::i;:::-;;775:7378;;8121:12;;;;;:::i;:::-;;775:7378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;775:7378:38;;;;;;;;;;;;;;;;;;;;;;;;7849:13;;775:7378;-1:-1:-1;;;775:7378:38;;;;;;;;;-1:-1:-1;;;775:7378:38;;;;;;;;7975:70;-1:-1:-1;;;8030:15:38;;2471;;8030;7979:42;7988:12;;775:7378;7988:12;;;;;:::i;:::-;;775:7378;;;;-1:-1:-1;7988:33:38;7979:42;;;7905:56;-1:-1:-1;;;7946:15:38;;2471;;7946;7864:20;775:7378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7243:51;2471:15;;;-1:-1:-1;7279:15:38;;-1:-1:-1;7279:15:38;775:7378;;;;;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;775:7378:38;;;;;-1:-1:-1;775:7378:38;;-1:-1:-1;775:7378:38;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;775:7378:38;;;;;;:::o;:::-;;;;;;;;;;:::o;6179:316:0:-;-1:-1:-1;;;;;775:7378:38;;2232:4:0;775:7378:38;;;-1:-1:-1;;;;;;;;;;;775:7378:38;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;2232:4:0;775:7378:38;;;-1:-1:-1;;;;;;;;;;;775:7378:38;;;;;;;-1:-1:-1;;775:7378:38;;;;;735:10:14;;775:7378:38;-1:-1:-1;;;;;;;;;;;2232:4:0;;6370:40;6347:4;6424:11;:::o;6272:217::-;6466:12;2232:4;6466:12;:::o;6179:316::-;-1:-1:-1;;;;;775:7378:38;;;;;;-1:-1:-1;;;;;;;;;;;775:7378:38;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;-1:-1:-1;;;;;;;;;;;775:7378:38;;;;;;;-1:-1:-1;;775:7378:38;;;;;735:10:14;;775:7378:38;881:26;;-1:-1:-1;;;;;;;;;;;6370:40:0;775:7378:38;6370:40:0;6347:4;6424:11;:::o;775:7378:38:-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":3068,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_13275":{"entryPoint":3046,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_uint32":{"entryPoint":2937,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_memory":{"entryPoint":3008,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_memory_13278":{"entryPoint":2954,"id":null,"parameterSlots":0,"returnSlots":1},"checked_add_uint256":{"entryPoint":3139,"id":null,"parameterSlots":2,"returnSlots":1},"checked_div_uint256":{"entryPoint":3296,"id":null,"parameterSlots":2,"returnSlots":1},"checked_mul_uint256":{"entryPoint":3277,"id":null,"parameterSlots":2,"returnSlots":1},"fun_checkRole":{"entryPoint":3881,"id":93,"parameterSlots":1,"returnSlots":0},"fun_checkRole_13271":{"entryPoint":3798,"id":93,"parameterSlots":0,"returnSlots":0},"fun_getRoleAdmin":{"entryPoint":null,"id":128,"parameterSlots":1,"returnSlots":1},"fun_grantRole":{"entryPoint":4146,"id":256,"parameterSlots":2,"returnSlots":1},"fun_grantRole_13286":{"entryPoint":3940,"id":256,"parameterSlots":1,"returnSlots":1},"fun_isActive":{"entryPoint":3174,"id":15293,"parameterSlots":1,"returnSlots":1},"fun_processPurchase_inner":{"entryPoint":3345,"id":null,"parameterSlots":5,"returnSlots":3},"fun_refereeCountRate":{"entryPoint":4742,"id":15626,"parameterSlots":1,"returnSlots":1},"fun_revokeRole":{"entryPoint":4285,"id":294,"parameterSlots":2,"returnSlots":1},"fun_trySetReferrer":{"entryPoint":4435,"id":15571,"parameterSlots":2,"returnSlots":0},"memory_array_index_access_address":{"entryPoint":3328,"id":null,"parameterSlots":2,"returnSlots":1},"memory_array_index_access_struct_RateStep_dyn":{"entryPoint":4415,"id":null,"parameterSlots":2,"returnSlots":1},"storage_array_index_access_struct_RateStep__dyn":{"entryPoint":3250,"id":null,"parameterSlots":1,"returnSlots":2},"storage_array_index_access_uint":{"entryPoint":3090,"id":null,"parameterSlots":1,"returnSlots":2}},"generatedSources":[],"immutableReferences":{"15066":[{"length":32,"start":317}],"15068":[{"length":32,"start":1537},{"length":32,"start":2164},{"length":32,"start":2477},{"length":32,"start":3486},{"length":32,"start":4870}]},"linkReferences":{},"object":"608080604052600436101561001357600080fd5b60003560e01c90816301ffc9a714610b265750806312640d9914610933578063248a9ca3146108fe5780632ee7754d146108d85780632f2ff15d14610898578063313ce5671461085757806336568abe146108115780633a8e7bdc146107eb5780633d35a5711461056e5780634e44624c14610550578063563a4c3b146105105780637879b5ef146104d357806391d14854146104865780639f8a13d714610459578063a217fddf1461043d578063b3ab15fb14610414578063ce7842f5146103f0578063cfbb497214610391578063d21cacdf1461034f578063d547741f14610308578063e696d10d146101e6578063eb799d23146101ac578063f5b541a6146101715763f7c618c11461012757600080fd5b3461016c57600036600319011261016c576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b600080fd5b3461016c57600036600319011261016c5760206040517f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9298152f35b3461016c57602036600319011261016c576001600160a01b036101cd610bfc565b1660005260066020526020604060002054604051908152f35b3461016c57606036600319011261016c576101ff610bfc565b610207610be6565b9060609161021483610bc0565b908336833761022284610bc0565b92843685373360009081527fee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319f602052604090205460ff16156102cf5761026b9360443593610d11565b9260405192836000905b600382106102af5750505082016000905b600382106102995760e0848660c0820152f35b6020806001928551815201930191019091610286565b82516001600160a01b031681526020928301926001929092019101610275565b63e2517d3f60e01b600052336004527f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b92960245260446000fd5b3461016c57604036600319011261016c5761034d600435610327610be6565b9061034861034382600052600060205260016040600020015490565b610f29565b6110bd565b005b3461016c57602036600319011261016c576001600160a01b03610370610bfc565b166000526004602052602060018060a01b0360406000205416604051908152f35b3461016c57602036600319011261016c57600060206103ae610b8a565b828152015260406103c0600435610cb2565b5063ffffffff6103ce610b8a565b915481602081831694858152019160201c168152835192835251166020820152f35b3461016c57600036600319011261016c57602063ffffffff60015416604051908152f35b3461016c57602036600319011261016c5761034d610430610bfc565b610438610ed6565b610f64565b3461016c57600036600319011261016c57602060405160008152f35b3461016c57602036600319011261016c57602061047c610477610bfc565b610c66565b6040519015158152f35b3461016c57604036600319011261016c5761049f610be6565b600435600052600060205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b3461016c57602036600319011261016c57600435600381101561016c5763ffffffff610500602092610c12565b90549060031b1c16604051908152f35b3461016c57602036600319011261016c576001600160a01b03610531610bfc565b166000526005602052602063ffffffff60406000205416604051908152f35b3461016c57600036600319011261016c576020600354604051908152f35b3461016c57602036600319011261016c5760043567ffffffffffffffff811161016c573660238201121561016c57806004013567ffffffffffffffff811161016c5760248160061b8301019136831161016c576105c9610ed6565b600092602460206105de818660051b01610bc0565b80958152019201915b8183106107ab57505050600354826003558061074b575b507f000000000000000000000000000000000000000000000000000000000000000063ffffffff169082805b8251821015610747578363ffffffff6020610645858761113f565b5101511611610738578115159081610719575b5061070a5763ffffffff61066c828461113f565b5151169061067a818461113f565b51600354680100000000000000008110156106f65780600161069f9201600355610cb2565b9190916106e2578051825460209283015167ffffffffffffffff1990911663ffffffff9290921691909117911b67ffffffff00000000161790556001019061062a565b634e487b7160e01b87526004879052602487fd5b634e487b7160e01b87526041600452602487fd5b6306b7c75960e31b8452600484fd5b905063ffffffff8061072b848661113f565b5151169116101585610658565b6306b7c75960e31b8552600485fd5b8480f35b600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b017fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b8181106107a057506105fe565b838155600101610793565b6040833603126107e75760206040916107c2610b8a565b6107cb86610b79565b81526107d8838701610b79565b838201528152019201916105e7565b8480fd5b3461016c57600036600319011261016c57602063ffffffff600154821c16604051908152f35b3461016c57604036600319011261016c5761082a610be6565b336001600160a01b038216036108465761034d906004356110bd565b63334bd91960e11b60005260046000fd5b3461016c57600036600319011261016c57602060405163ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b3461016c57604036600319011261016c5761034d6004356108b7610be6565b906108d361034382600052600060205260016040600020015490565b611032565b3461016c57600036600319011261016c57602060ff60015460401c166040519015158152f35b3461016c57602036600319011261016c57602061092b600435600052600060205260016040600020015490565b604051908152f35b3461016c5760c036600319011261016c5760043563ffffffff811680910361016c5760243563ffffffff8116810361016c576044359081151580920361016c57366083121561016c576109866060610bc0565b92833660c41161016c576064905b60c48210610b0e5750506109a6610ed6565b63ffffffff7f000000000000000000000000000000000000000000000000000000000000000016808211610afd57610a046109f363ffffffff87511663ffffffff60208901511690610c43565b63ffffffff60408801511690610c43565b11610afd5767ffffffff000000009068ff00000000000000006001549460401b169368ffffffffffffffffff1916179160201b16171760015560009060005b60038110610ad357826002556001547fea043b6f5411cf3705a5407008dc7b5cf47623505062142902f19701f2c2b32760c060029260009363ffffffff8154169063ffffffff80825460201c16915460401c169160ff6040519463ffffffff8116865263ffffffff8160201c16602087015260401c16151560408501526060840152608083015260a0820152a180f35b9091602060019163ffffffff8551169063ffffffff8560051b92831b921b19161793019101610a43565b6306b7c75960e31b60005260046000fd5b60208091610b1b84610b79565b815201910190610994565b3461016c57602036600319011261016c576004359063ffffffff60e01b821680920361016c57602091637965db0b60e01b8114908115610b68575b5015158152f35b6301ffc9a760e01b14905083610b61565b359063ffffffff8216820361016c57565b604051906040820182811067ffffffffffffffff821117610baa57604052565b634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f1916820167ffffffffffffffff811183821017610baa57604052565b602435906001600160a01b038216820361016c57565b600435906001600160a01b038216820361016c57565b906003821015610c2d57601c8260031c6002019260021b1690565b634e487b7160e01b600052603260045260246000fd5b91908201809211610c5057565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03166000908152600660205260409020548015610cac5763ffffffff60015460201c168015610ca557610c9f91610c43565b42111590565b5050600190565b50600090565b600354811015610c2d57600360005260206000200190600090565b81810292918115918404141715610c5057565b8115610cea570490565b634e487b7160e01b600052601260045260246000fd5b906003811015610c2d5760051b0190565b94929390918592809660009660018060a01b038416806000526006602052426040600020557ffecc4799a16a7823139e82b96d8c3cfa06e17fef29658cfe3103ceb21cc8eba26020604051428152a26001600160a01b038116610ec6575b5083158015610eb6575b610ea9575050610d936001549263ffffffff841690610ccd565b90610dc563ffffffff7f0000000000000000000000000000000000000000000000000000000000000000168093610ce0565b9060ff60009460401c16158015915b60038610610de8575b505050505050929190565b6001600160a01b03908116600090815260046020526040902054168015610ea45780610e148789610d00565b52898284610e95575b610e2e575b50600190950194610dd4565b86829a610e8c92610e86610e7e8a610e748b610e7983610e7463ffffffff610e5760019e611286565b1663ffffffff610e668d610c12565b90549060031b1c1694610ccd565b610ce0565b610ccd565b938492610d00565b52610c43565b98905089610e22565b50610e9f82610c66565b610e1d565b610ddd565b9650945060009392505050565b5063ffffffff6001541615610d79565b610ed09084611153565b38610d6f565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1615610f0f57565b63e2517d3f60e01b60005233600452600060245260446000fd5b60008181526020818152604080832033845290915290205460ff1615610f4c5750565b63e2517d3f60e01b6000523360045260245260446000fd5b6001600160a01b03811660009081527fee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319f602052604090205460ff16610cac576001600160a01b031660008181527fee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319f60205260408120805460ff191660011790553391907f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b6000818152602081815260408083206001600160a01b038616845290915290205460ff166110b6576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b5050600090565b6000818152602081815260408083206001600160a01b038616845290915290205460ff16156110b6576000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b8051821015610c2d5760209160051b010190565b6001600160a01b03169081158015611275575b611271576001600160a01b0381169082821461126c576000838152600460205260409020546001600160a01b031661126c57916000925b6003841061122c575b508091925060005260046020526040600020826bffffffffffffffffffffffff60a01b8254161790558160005260056020526040600020600163ffffffff8254160163ffffffff8111610c505763ffffffff1663ffffffff198254161790557f5f7165288eef601591cf549e15ff19ef9060b7f71b9c115be946fa1fe7ebf68a600080a3565b6001600160a01b03168015611267578181146112615760005260046020526001808060a01b036040600020541693019261119d565b50505050565b6111a6565b505050565b5050565b506001600160a01b03811615611166565b600354908115611302576001600160a01b0316600090815260056020526040812054909190829063ffffffff165b8282106112c2575b50505090565b90919263ffffffff6112d384610cb2565b50541682106112fc5750600163ffffffff6112ed84610cb2565b505460201c16939201906112b4565b926112bc565b50507f00000000000000000000000000000000000000000000000000000000000000009056fea2646970667358221220a8dd8905219b642527114d3c01f45fd1c0acc4f3c564050a1d0be2573a038e0064736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x1FFC9A7 EQ PUSH2 0xB26 JUMPI POP DUP1 PUSH4 0x12640D99 EQ PUSH2 0x933 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x8FE JUMPI DUP1 PUSH4 0x2EE7754D EQ PUSH2 0x8D8 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x898 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x857 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x811 JUMPI DUP1 PUSH4 0x3A8E7BDC EQ PUSH2 0x7EB JUMPI DUP1 PUSH4 0x3D35A571 EQ PUSH2 0x56E JUMPI DUP1 PUSH4 0x4E44624C EQ PUSH2 0x550 JUMPI DUP1 PUSH4 0x563A4C3B EQ PUSH2 0x510 JUMPI DUP1 PUSH4 0x7879B5EF EQ PUSH2 0x4D3 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x486 JUMPI DUP1 PUSH4 0x9F8A13D7 EQ PUSH2 0x459 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x43D JUMPI DUP1 PUSH4 0xB3AB15FB EQ PUSH2 0x414 JUMPI DUP1 PUSH4 0xCE7842F5 EQ PUSH2 0x3F0 JUMPI DUP1 PUSH4 0xCFBB4972 EQ PUSH2 0x391 JUMPI DUP1 PUSH4 0xD21CACDF EQ PUSH2 0x34F JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x308 JUMPI DUP1 PUSH4 0xE696D10D EQ PUSH2 0x1E6 JUMPI DUP1 PUSH4 0xEB799D23 EQ PUSH2 0x1AC JUMPI DUP1 PUSH4 0xF5B541A6 EQ PUSH2 0x171 JUMPI PUSH4 0xF7C618C1 EQ PUSH2 0x127 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x40 MLOAD PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x97667070C54EF182B0F5858B034BEAC1B6F3089AA2D3188BB1E8929F4FA9B929 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x1CD PUSH2 0xBFC JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x1FF PUSH2 0xBFC JUMP JUMPDEST PUSH2 0x207 PUSH2 0xBE6 JUMP JUMPDEST SWAP1 PUSH1 0x60 SWAP2 PUSH2 0x214 DUP4 PUSH2 0xBC0 JUMP JUMPDEST SWAP1 DUP4 CALLDATASIZE DUP4 CALLDATACOPY PUSH2 0x222 DUP5 PUSH2 0xBC0 JUMP JUMPDEST SWAP3 DUP5 CALLDATASIZE DUP6 CALLDATACOPY CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xEE57CD81E84075558E8FCC182A1F4393F91FC97F963A136E66B7F949A62F319F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x2CF JUMPI PUSH2 0x26B SWAP4 PUSH1 0x44 CALLDATALOAD SWAP4 PUSH2 0xD11 JUMP JUMPDEST SWAP3 PUSH1 0x40 MLOAD SWAP3 DUP4 PUSH1 0x0 SWAP1 JUMPDEST PUSH1 0x3 DUP3 LT PUSH2 0x2AF JUMPI POP POP POP DUP3 ADD PUSH1 0x0 SWAP1 JUMPDEST PUSH1 0x3 DUP3 LT PUSH2 0x299 JUMPI PUSH1 0xE0 DUP5 DUP7 PUSH1 0xC0 DUP3 ADD MSTORE RETURN JUMPDEST PUSH1 0x20 DUP1 PUSH1 0x1 SWAP3 DUP6 MLOAD DUP2 MSTORE ADD SWAP4 ADD SWAP2 ADD SWAP1 SWAP2 PUSH2 0x286 JUMP JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SWAP3 SWAP1 SWAP3 ADD SWAP2 ADD PUSH2 0x275 JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH32 0x97667070C54EF182B0F5858B034BEAC1B6F3089AA2D3188BB1E8929F4FA9B929 PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x34D PUSH1 0x4 CALLDATALOAD PUSH2 0x327 PUSH2 0xBE6 JUMP JUMPDEST SWAP1 PUSH2 0x348 PUSH2 0x343 DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0xF29 JUMP JUMPDEST PUSH2 0x10BD JUMP JUMPDEST STOP JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x370 PUSH2 0xBFC JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x0 PUSH1 0x20 PUSH2 0x3AE PUSH2 0xB8A JUMP JUMPDEST DUP3 DUP2 MSTORE ADD MSTORE PUSH1 0x40 PUSH2 0x3C0 PUSH1 0x4 CALLDATALOAD PUSH2 0xCB2 JUMP JUMPDEST POP PUSH4 0xFFFFFFFF PUSH2 0x3CE PUSH2 0xB8A JUMP JUMPDEST SWAP2 SLOAD DUP2 PUSH1 0x20 DUP2 DUP4 AND SWAP5 DUP6 DUP2 MSTORE ADD SWAP2 PUSH1 0x20 SHR AND DUP2 MSTORE DUP4 MLOAD SWAP3 DUP4 MSTORE MLOAD AND PUSH1 0x20 DUP3 ADD MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH4 0xFFFFFFFF PUSH1 0x1 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x34D PUSH2 0x430 PUSH2 0xBFC JUMP JUMPDEST PUSH2 0x438 PUSH2 0xED6 JUMP JUMPDEST PUSH2 0xF64 JUMP JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x0 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH2 0x47C PUSH2 0x477 PUSH2 0xBFC JUMP JUMPDEST PUSH2 0xC66 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x49F PUSH2 0xBE6 JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0xFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x4 CALLDATALOAD PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x16C JUMPI PUSH4 0xFFFFFFFF PUSH2 0x500 PUSH1 0x20 SWAP3 PUSH2 0xC12 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x531 PUSH2 0xBFC JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH4 0xFFFFFFFF PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0x3 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x16C JUMPI CALLDATASIZE PUSH1 0x23 DUP3 ADD SLT ISZERO PUSH2 0x16C JUMPI DUP1 PUSH1 0x4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x16C JUMPI PUSH1 0x24 DUP2 PUSH1 0x6 SHL DUP4 ADD ADD SWAP2 CALLDATASIZE DUP4 GT PUSH2 0x16C JUMPI PUSH2 0x5C9 PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x0 SWAP3 PUSH1 0x24 PUSH1 0x20 PUSH2 0x5DE DUP2 DUP7 PUSH1 0x5 SHL ADD PUSH2 0xBC0 JUMP JUMPDEST DUP1 SWAP6 DUP2 MSTORE ADD SWAP3 ADD SWAP2 JUMPDEST DUP2 DUP4 LT PUSH2 0x7AB JUMPI POP POP POP PUSH1 0x3 SLOAD DUP3 PUSH1 0x3 SSTORE DUP1 PUSH2 0x74B JUMPI JUMPDEST POP PUSH32 0x0 PUSH4 0xFFFFFFFF AND SWAP1 DUP3 DUP1 JUMPDEST DUP3 MLOAD DUP3 LT ISZERO PUSH2 0x747 JUMPI DUP4 PUSH4 0xFFFFFFFF PUSH1 0x20 PUSH2 0x645 DUP6 DUP8 PUSH2 0x113F JUMP JUMPDEST MLOAD ADD MLOAD AND GT PUSH2 0x738 JUMPI DUP2 ISZERO ISZERO SWAP1 DUP2 PUSH2 0x719 JUMPI JUMPDEST POP PUSH2 0x70A JUMPI PUSH4 0xFFFFFFFF PUSH2 0x66C DUP3 DUP5 PUSH2 0x113F JUMP JUMPDEST MLOAD MLOAD AND SWAP1 PUSH2 0x67A DUP2 DUP5 PUSH2 0x113F JUMP JUMPDEST MLOAD PUSH1 0x3 SLOAD PUSH9 0x10000000000000000 DUP2 LT ISZERO PUSH2 0x6F6 JUMPI DUP1 PUSH1 0x1 PUSH2 0x69F SWAP3 ADD PUSH1 0x3 SSTORE PUSH2 0xCB2 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH2 0x6E2 JUMPI DUP1 MLOAD DUP3 SLOAD PUSH1 0x20 SWAP3 DUP4 ADD MLOAD PUSH8 0xFFFFFFFFFFFFFFFF NOT SWAP1 SWAP2 AND PUSH4 0xFFFFFFFF SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP2 SHL PUSH8 0xFFFFFFFF00000000 AND OR SWAP1 SSTORE PUSH1 0x1 ADD SWAP1 PUSH2 0x62A JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x4 DUP8 SWAP1 MSTORE PUSH1 0x24 DUP8 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL DUP8 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 DUP8 REVERT JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL DUP5 MSTORE PUSH1 0x4 DUP5 REVERT JUMPDEST SWAP1 POP PUSH4 0xFFFFFFFF DUP1 PUSH2 0x72B DUP5 DUP7 PUSH2 0x113F JUMP JUMPDEST MLOAD MLOAD AND SWAP2 AND LT ISZERO DUP6 PUSH2 0x658 JUMP JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL DUP6 MSTORE PUSH1 0x4 DUP6 REVERT JUMPDEST DUP5 DUP1 RETURN JUMPDEST PUSH1 0x3 DUP4 MSTORE PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B ADD PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B JUMPDEST DUP2 DUP2 LT PUSH2 0x7A0 JUMPI POP PUSH2 0x5FE JUMP JUMPDEST DUP4 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x793 JUMP JUMPDEST PUSH1 0x40 DUP4 CALLDATASIZE SUB SLT PUSH2 0x7E7 JUMPI PUSH1 0x20 PUSH1 0x40 SWAP2 PUSH2 0x7C2 PUSH2 0xB8A JUMP JUMPDEST PUSH2 0x7CB DUP7 PUSH2 0xB79 JUMP JUMPDEST DUP2 MSTORE PUSH2 0x7D8 DUP4 DUP8 ADD PUSH2 0xB79 JUMP JUMPDEST DUP4 DUP3 ADD MSTORE DUP2 MSTORE ADD SWAP3 ADD SWAP2 PUSH2 0x5E7 JUMP JUMPDEST DUP5 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH4 0xFFFFFFFF PUSH1 0x1 SLOAD DUP3 SHR AND PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x82A PUSH2 0xBE6 JUMP JUMPDEST CALLER PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SUB PUSH2 0x846 JUMPI PUSH2 0x34D SWAP1 PUSH1 0x4 CALLDATALOAD PUSH2 0x10BD JUMP JUMPDEST PUSH4 0x334BD919 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH4 0xFFFFFFFF PUSH32 0x0 AND DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH2 0x34D PUSH1 0x4 CALLDATALOAD PUSH2 0x8B7 PUSH2 0xBE6 JUMP JUMPDEST SWAP1 PUSH2 0x8D3 PUSH2 0x343 DUP3 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1032 JUMP JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH1 0xFF PUSH1 0x1 SLOAD PUSH1 0x40 SHR AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x20 PUSH2 0x92B PUSH1 0x4 CALLDATALOAD PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x1 PUSH1 0x40 PUSH1 0x0 KECCAK256 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0xC0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x4 CALLDATALOAD PUSH4 0xFFFFFFFF DUP2 AND DUP1 SWAP2 SUB PUSH2 0x16C JUMPI PUSH1 0x24 CALLDATALOAD PUSH4 0xFFFFFFFF DUP2 AND DUP2 SUB PUSH2 0x16C JUMPI PUSH1 0x44 CALLDATALOAD SWAP1 DUP2 ISZERO ISZERO DUP1 SWAP3 SUB PUSH2 0x16C JUMPI CALLDATASIZE PUSH1 0x83 SLT ISZERO PUSH2 0x16C JUMPI PUSH2 0x986 PUSH1 0x60 PUSH2 0xBC0 JUMP JUMPDEST SWAP3 DUP4 CALLDATASIZE PUSH1 0xC4 GT PUSH2 0x16C JUMPI PUSH1 0x64 SWAP1 JUMPDEST PUSH1 0xC4 DUP3 LT PUSH2 0xB0E JUMPI POP POP PUSH2 0x9A6 PUSH2 0xED6 JUMP JUMPDEST PUSH4 0xFFFFFFFF PUSH32 0x0 AND DUP1 DUP3 GT PUSH2 0xAFD JUMPI PUSH2 0xA04 PUSH2 0x9F3 PUSH4 0xFFFFFFFF DUP8 MLOAD AND PUSH4 0xFFFFFFFF PUSH1 0x20 DUP10 ADD MLOAD AND SWAP1 PUSH2 0xC43 JUMP JUMPDEST PUSH4 0xFFFFFFFF PUSH1 0x40 DUP9 ADD MLOAD AND SWAP1 PUSH2 0xC43 JUMP JUMPDEST GT PUSH2 0xAFD JUMPI PUSH8 0xFFFFFFFF00000000 SWAP1 PUSH9 0xFF0000000000000000 PUSH1 0x1 SLOAD SWAP5 PUSH1 0x40 SHL AND SWAP4 PUSH9 0xFFFFFFFFFFFFFFFFFF NOT AND OR SWAP2 PUSH1 0x20 SHL AND OR OR PUSH1 0x1 SSTORE PUSH1 0x0 SWAP1 PUSH1 0x0 JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0xAD3 JUMPI DUP3 PUSH1 0x2 SSTORE PUSH1 0x1 SLOAD PUSH32 0xEA043B6F5411CF3705A5407008DC7B5CF47623505062142902F19701F2C2B327 PUSH1 0xC0 PUSH1 0x2 SWAP3 PUSH1 0x0 SWAP4 PUSH4 0xFFFFFFFF DUP2 SLOAD AND SWAP1 PUSH4 0xFFFFFFFF DUP1 DUP3 SLOAD PUSH1 0x20 SHR AND SWAP2 SLOAD PUSH1 0x40 SHR AND SWAP2 PUSH1 0xFF PUSH1 0x40 MLOAD SWAP5 PUSH4 0xFFFFFFFF DUP2 AND DUP7 MSTORE PUSH4 0xFFFFFFFF DUP2 PUSH1 0x20 SHR AND PUSH1 0x20 DUP8 ADD MSTORE PUSH1 0x40 SHR AND ISZERO ISZERO PUSH1 0x40 DUP6 ADD MSTORE PUSH1 0x60 DUP5 ADD MSTORE PUSH1 0x80 DUP4 ADD MSTORE PUSH1 0xA0 DUP3 ADD MSTORE LOG1 DUP1 RETURN JUMPDEST SWAP1 SWAP2 PUSH1 0x20 PUSH1 0x1 SWAP2 PUSH4 0xFFFFFFFF DUP6 MLOAD AND SWAP1 PUSH4 0xFFFFFFFF DUP6 PUSH1 0x5 SHL SWAP3 DUP4 SHL SWAP3 SHL NOT AND OR SWAP4 ADD SWAP2 ADD PUSH2 0xA43 JUMP JUMPDEST PUSH4 0x6B7C759 PUSH1 0xE3 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 DUP1 SWAP2 PUSH2 0xB1B DUP5 PUSH2 0xB79 JUMP JUMPDEST DUP2 MSTORE ADD SWAP2 ADD SWAP1 PUSH2 0x994 JUMP JUMPDEST CALLVALUE PUSH2 0x16C JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x16C JUMPI PUSH1 0x4 CALLDATALOAD SWAP1 PUSH4 0xFFFFFFFF PUSH1 0xE0 SHL DUP3 AND DUP1 SWAP3 SUB PUSH2 0x16C JUMPI PUSH1 0x20 SWAP2 PUSH4 0x7965DB0B PUSH1 0xE0 SHL DUP2 EQ SWAP1 DUP2 ISZERO PUSH2 0xB68 JUMPI JUMPDEST POP ISZERO ISZERO DUP2 MSTORE RETURN JUMPDEST PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL EQ SWAP1 POP DUP4 PUSH2 0xB61 JUMP JUMPDEST CALLDATALOAD SWAP1 PUSH4 0xFFFFFFFF DUP3 AND DUP3 SUB PUSH2 0x16C JUMPI JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH1 0x40 DUP3 ADD DUP3 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0xBAA JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x40 MLOAD SWAP2 SWAP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND DUP3 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP4 DUP3 LT OR PUSH2 0xBAA JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x16C JUMPI JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x16C JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x3 DUP3 LT ISZERO PUSH2 0xC2D JUMPI PUSH1 0x1C DUP3 PUSH1 0x3 SHR PUSH1 0x2 ADD SWAP3 PUSH1 0x2 SHL AND SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 SWAP1 DUP3 ADD DUP1 SWAP3 GT PUSH2 0xC50 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP1 ISZERO PUSH2 0xCAC JUMPI PUSH4 0xFFFFFFFF PUSH1 0x1 SLOAD PUSH1 0x20 SHR AND DUP1 ISZERO PUSH2 0xCA5 JUMPI PUSH2 0xC9F SWAP2 PUSH2 0xC43 JUMP JUMPDEST TIMESTAMP GT ISZERO SWAP1 JUMP JUMPDEST POP POP PUSH1 0x1 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x3 SLOAD DUP2 LT ISZERO PUSH2 0xC2D JUMPI PUSH1 0x3 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST DUP2 DUP2 MUL SWAP3 SWAP2 DUP2 ISZERO SWAP2 DUP5 DIV EQ OR ISZERO PUSH2 0xC50 JUMPI JUMP JUMPDEST DUP2 ISZERO PUSH2 0xCEA JUMPI DIV SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x3 DUP2 LT ISZERO PUSH2 0xC2D JUMPI PUSH1 0x5 SHL ADD SWAP1 JUMP JUMPDEST SWAP5 SWAP3 SWAP4 SWAP1 SWAP2 DUP6 SWAP3 DUP1 SWAP7 PUSH1 0x0 SWAP7 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 AND DUP1 PUSH1 0x0 MSTORE PUSH1 0x6 PUSH1 0x20 MSTORE TIMESTAMP PUSH1 0x40 PUSH1 0x0 KECCAK256 SSTORE PUSH32 0xFECC4799A16A7823139E82B96D8C3CFA06E17FEF29658CFE3103CEB21CC8EBA2 PUSH1 0x20 PUSH1 0x40 MLOAD TIMESTAMP DUP2 MSTORE LOG2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xEC6 JUMPI JUMPDEST POP DUP4 ISZERO DUP1 ISZERO PUSH2 0xEB6 JUMPI JUMPDEST PUSH2 0xEA9 JUMPI POP POP PUSH2 0xD93 PUSH1 0x1 SLOAD SWAP3 PUSH4 0xFFFFFFFF DUP5 AND SWAP1 PUSH2 0xCCD JUMP JUMPDEST SWAP1 PUSH2 0xDC5 PUSH4 0xFFFFFFFF PUSH32 0x0 AND DUP1 SWAP4 PUSH2 0xCE0 JUMP JUMPDEST SWAP1 PUSH1 0xFF PUSH1 0x0 SWAP5 PUSH1 0x40 SHR AND ISZERO DUP1 ISZERO SWAP2 JUMPDEST PUSH1 0x3 DUP7 LT PUSH2 0xDE8 JUMPI JUMPDEST POP POP POP POP POP POP SWAP3 SWAP2 SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD AND DUP1 ISZERO PUSH2 0xEA4 JUMPI DUP1 PUSH2 0xE14 DUP8 DUP10 PUSH2 0xD00 JUMP JUMPDEST MSTORE DUP10 DUP3 DUP5 PUSH2 0xE95 JUMPI JUMPDEST PUSH2 0xE2E JUMPI JUMPDEST POP PUSH1 0x1 SWAP1 SWAP6 ADD SWAP5 PUSH2 0xDD4 JUMP JUMPDEST DUP7 DUP3 SWAP11 PUSH2 0xE8C SWAP3 PUSH2 0xE86 PUSH2 0xE7E DUP11 PUSH2 0xE74 DUP12 PUSH2 0xE79 DUP4 PUSH2 0xE74 PUSH4 0xFFFFFFFF PUSH2 0xE57 PUSH1 0x1 SWAP15 PUSH2 0x1286 JUMP JUMPDEST AND PUSH4 0xFFFFFFFF PUSH2 0xE66 DUP14 PUSH2 0xC12 JUMP JUMPDEST SWAP1 SLOAD SWAP1 PUSH1 0x3 SHL SHR AND SWAP5 PUSH2 0xCCD JUMP JUMPDEST PUSH2 0xCE0 JUMP JUMPDEST PUSH2 0xCCD JUMP JUMPDEST SWAP4 DUP5 SWAP3 PUSH2 0xD00 JUMP JUMPDEST MSTORE PUSH2 0xC43 JUMP JUMPDEST SWAP9 SWAP1 POP DUP10 PUSH2 0xE22 JUMP JUMPDEST POP PUSH2 0xE9F DUP3 PUSH2 0xC66 JUMP JUMPDEST PUSH2 0xE1D JUMP JUMPDEST PUSH2 0xDDD JUMP JUMPDEST SWAP7 POP SWAP5 POP PUSH1 0x0 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST POP PUSH4 0xFFFFFFFF PUSH1 0x1 SLOAD AND ISZERO PUSH2 0xD79 JUMP JUMPDEST PUSH2 0xED0 SWAP1 DUP5 PUSH2 0x1153 JUMP JUMPDEST CODESIZE PUSH2 0xD6F JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xAD3228B676F7D3CD4284A5443F17F1962B36E491B30A40B2405849E597BA5FB5 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0xF0F JUMPI JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x0 PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0xF4C JUMPI POP JUMP JUMPDEST PUSH4 0xE2517D3F PUSH1 0xE0 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xEE57CD81E84075558E8FCC182A1F4393F91FC97F963A136E66B7F949A62F319F PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xCAC JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH32 0xEE57CD81E84075558E8FCC182A1F4393F91FC97F963A136E66B7F949A62F319F PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP2 SWAP1 PUSH32 0x97667070C54EF182B0F5858B034BEAC1B6F3089AA2D3188BB1E8929F4FA9B929 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x10B6 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST POP POP PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x10B6 JUMPI PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP6 SWAP1 SWAP6 AND DUP1 DUP5 MSTORE SWAP5 SWAP1 SWAP2 MSTORE DUP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLER SWAP3 SWAP2 SWAP1 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP1 DUP1 LOG4 PUSH1 0x1 SWAP1 JUMP JUMPDEST DUP1 MLOAD DUP3 LT ISZERO PUSH2 0xC2D JUMPI PUSH1 0x20 SWAP2 PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO DUP1 ISZERO PUSH2 0x1275 JUMPI JUMPDEST PUSH2 0x1271 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP1 DUP3 DUP3 EQ PUSH2 0x126C JUMPI PUSH1 0x0 DUP4 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x126C JUMPI SWAP2 PUSH1 0x0 SWAP3 JUMPDEST PUSH1 0x3 DUP5 LT PUSH2 0x122C JUMPI JUMPDEST POP DUP1 SWAP2 SWAP3 POP PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP3 PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF PUSH1 0xA0 SHL DUP3 SLOAD AND OR SWAP1 SSTORE DUP2 PUSH1 0x0 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 PUSH4 0xFFFFFFFF DUP3 SLOAD AND ADD PUSH4 0xFFFFFFFF DUP2 GT PUSH2 0xC50 JUMPI PUSH4 0xFFFFFFFF AND PUSH4 0xFFFFFFFF NOT DUP3 SLOAD AND OR SWAP1 SSTORE PUSH32 0x5F7165288EEF601591CF549E15FF19EF9060B7F71B9C115BE946FA1FE7EBF68A PUSH1 0x0 DUP1 LOG3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP1 ISZERO PUSH2 0x1267 JUMPI DUP2 DUP2 EQ PUSH2 0x1261 JUMPI PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x20 MSTORE PUSH1 0x1 DUP1 DUP1 PUSH1 0xA0 SHL SUB PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD AND SWAP4 ADD SWAP3 PUSH2 0x119D JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH2 0x11A6 JUMP JUMPDEST POP POP POP JUMP JUMPDEST POP POP JUMP JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0x1166 JUMP JUMPDEST PUSH1 0x3 SLOAD SWAP1 DUP2 ISZERO PUSH2 0x1302 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x5 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 DUP3 SWAP1 PUSH4 0xFFFFFFFF AND JUMPDEST DUP3 DUP3 LT PUSH2 0x12C2 JUMPI JUMPDEST POP POP POP SWAP1 JUMP JUMPDEST SWAP1 SWAP2 SWAP3 PUSH4 0xFFFFFFFF PUSH2 0x12D3 DUP5 PUSH2 0xCB2 JUMP JUMPDEST POP SLOAD AND DUP3 LT PUSH2 0x12FC JUMPI POP PUSH1 0x1 PUSH4 0xFFFFFFFF PUSH2 0x12ED DUP5 PUSH2 0xCB2 JUMP JUMPDEST POP SLOAD PUSH1 0x20 SHR AND SWAP4 SWAP3 ADD SWAP1 PUSH2 0x12B4 JUMP JUMPDEST SWAP3 PUSH2 0x12BC JUMP JUMPDEST POP POP PUSH32 0x0 SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA8 0xDD DUP10 SDIV 0x21 SWAP12 PUSH5 0x2527114D3C ADD DELEGATECALL PUSH0 0xD1 0xC0 0xAC 0xC4 RETURN 0xC5 PUSH5 0x50A1D0BE2 JUMPI GASPRICE SUB DUP15 STOP PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"775:7378:38:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;1092:35;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;881:26;775:7378;;;;;;;;;-1:-1:-1;;775:7378:38;;;;-1:-1:-1;;;;;775:7378:38;;:::i;:::-;;;;1568:47;775:7378;;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;735:10:14;775:7378:38;;;;;;;;;;;;;3519:23:0;3515:108;;2490:1;775:7378:38;;;2490:1:0;;:::i;:::-;775:7378:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;;;3515:108:0;3565:47;;;775:7378:38;3565:47:0;735:10:14;775:7378:38;;881:26;775:7378;;;;3565:47:0;775:7378:38;;;;;;-1:-1:-1;;775:7378:38;;;;4747:26:0;775:7378:38;;;;:::i;:::-;4717:18:0;2475:4;4717:18;;3901:6;775:7378:38;3901:6:0;775:7378:38;;3901:22:0;775:7378:38;3901:6:0;775:7378:38;3901:22:0;775:7378:38;3810:120:0;;4717:18;2475:4;:::i;:::-;4747:26;:::i;:::-;775:7378:38;;;;;;;-1:-1:-1;;775:7378:38;;;;-1:-1:-1;;;;;775:7378:38;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;:::i;:::-;;;;;;;3588:15;775:7378;;3588:15;:::i;:::-;775:7378;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;1172:27;775:7378;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;2810:35;775:7378;;:::i;:::-;2475:4:0;;:::i;:::-;2810:35:38;:::i;775:7378::-;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;:::i;:::-;;;;;;;;;;;2954:29:0;775:7378:38;;;;;;-1:-1:-1;775:7378:38;;;;;;-1:-1:-1;775:7378:38;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;1390:27;;;;;775:7378;1390:27;775:7378;1390:27;;:::i;:::-;775:7378;;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;-1:-1:-1;;;;;775:7378:38;;:::i;:::-;;;;1510:52;775:7378;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;3468:10;775:7378;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2475:4:0;;:::i;:::-;775:7378:38;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;7791:17;775:7378;;7791:17;775:7378;;;;;-1:-1:-1;7929:8:38;775:7378;;;7819:15;;7886:3;775:7378;;7864:20;;;;;7909:12;775:7378;;7909:12;;;;:::i;:::-;;:17;775:7378;;7909:28;7905:56;;7979:5;;;:42;;;;7886:3;7975:70;;;775:7378;8066:12;;;;:::i;:::-;;775:7378;;8121:12;;;;;:::i;:::-;;7791:17;775:7378;;;;;;;;;;;;7791:17;775:7378;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;;;;;;;;;;;;;;;7849:13;;775:7378;-1:-1:-1;;;775:7378:38;;;;;;;;;;-1:-1:-1;;;775:7378:38;;;;;;;;7975:70;-1:-1:-1;;;8030:15:38;;775:7378;7044:15;8030;7979:42;7988:12;;775:7378;7988:12;;;;;:::i;:::-;;775:7378;;;;-1:-1:-1;7988:33:38;7979:42;;;7905:56;-1:-1:-1;;;7946:15:38;;775:7378;7044:15;7946;7864:20;;775:7378;;;7791:17;775:7378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;1222:34;775:7378;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;:::i;:::-;735:10:14;-1:-1:-1;;;;;775:7378:38;;5421:34:0;5417:102;;5529:37;775:7378:38;;;5529:37:0;:::i;5417:102::-;5478:30;;;775:7378:38;5478:30:0;775:7378:38;;5478:30:0;775:7378:38;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;1133:32;775:7378;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;4330:25:0;775:7378:38;;;;:::i;:::-;4300:18:0;2475:4;4300:18;;3901:6;775:7378:38;3901:6:0;775:7378:38;;3901:22:0;775:7378:38;3901:6:0;775:7378:38;3901:22:0;775:7378:38;3810:120:0;;2475:4;4330:25;:::i;775:7378:38:-;;;;;;-1:-1:-1;;775:7378:38;;;;;;1262:37;775:7378;;;;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;3901:6:0;775:7378:38;3901:6:0;775:7378:38;;3901:22:0;775:7378:38;3901:6:0;775:7378:38;3901:22:0;775:7378:38;3810:120:0;;775:7378:38;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2475:4:0;;;;:::i;:::-;775:7378:38;7027:8;775:7378;7010:25;;;7006:53;;7134:99;:61;775:7378;;;;;;;;;;7134:61;;:::i;:::-;775:7378;;;;;;7134:99;;:::i;:::-;7247:23;7243:51;;775:7378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7230:1;775:7378;;;7503:204;775:7378;7230:1;775:7378;;;;;;;7657:13;775:7378;;;;;;;7684:13;775:7378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7503:204;775:7378;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7243:51;7044:15;;;775:7378;7279:15;775:7378;;7279:15;775:7378;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2673:47:0;;;:87;;;;775:7378:38;;;;;;;2673:87:0;-1:-1:-1;;;862:40:24;;-1:-1:-1;2673:87:0;;;775:7378:38;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;775:7378:38;;;;;-1:-1:-1;775:7378:38;;;;;;;;-1:-1:-1;;775:7378:38;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;775:7378:38;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;775:7378:38;;;;;;:::o;:::-;;;;;;;;;;;;1390:27;775:7378;;1390:27;775:7378;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;3616:314;-1:-1:-1;;;;;775:7378:38;;;;;3698:12;775:7378;;;;;;3730:7;;3726:25;;775:7378;3824:20;775:7378;;;;3824:25;;3820:42;;3898:25;;;:::i;:::-;3879:15;:44;;3616:314;:::o;3820:42::-;3851:11;;3824:20;3851:11;:::o;3726:25::-;3739:12;775:7378;3739:12;:::o;775:7378::-;7791:17;775:7378;;;;;;7791:17;-1:-1:-1;775:7378:38;;-1:-1:-1;775:7378:38;;;-1:-1:-1;775:7378:38;:::o;:::-;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;3936:1640::-;;;;;;;;;;775:7378;;;;;;;;;;;;4325:12;775:7378;;4349:15;775:7378;;;;4379:39;775:7378;;;4349:15;775:7378;;4379:39;-1:-1:-1;;;;;775:7378:38;;4499:87;;3936:1640;4600:11;;;:33;;;;3936:1640;4596:95;;775:7378;;4725:31;4742:13;775:7378;;;;;4725:31;;:::i;:::-;4768:8;4724:53;775:7378;4768:8;775:7378;4724:53;;;:::i;:::-;4788:25;775:7378;;;;;;5022:26;775:7378;;4823:697;4847:9;4855:1;4847:9;;;;4823:697;5530:39;;;;;;;;3936:1640;:::o;4858:7::-;-1:-1:-1;;;;;775:7378:38;;;;;;;4898:10;775:7378;;;;;;;4935:20;;4931:31;;4977:26;;;;;:::i;:::-;775:7378;5022:46;;;;;4858:7;5018:461;;4858:7;5493:16;4742:13;5493:16;4858:7;775:7378;4828:17;;;5018:461;5118:25;;;5446:18;5118:25;5406:22;5348:39;5118:25;5349:17;5118:25;5281:41;5118:25;5282:19;775:7378;5118:25;4742:13;5118:25;;:::i;:::-;775:7378;;5190:17;;;:::i;:::-;775:7378;;;4855:1;775:7378;;;5282:19;;:::i;:::-;5281:41;:::i;:::-;5349:17;:::i;5348:39::-;5406:22;;;;:::i;:::-;775:7378;5446:18;:::i;:::-;5018:461;;;;;;5022:46;5052:16;;;;:::i;:::-;5022:46;;4931:31;4957:5;;4596:95;4649:31;-1:-1:-1;4649:31:38;-1:-1:-1;775:7378:38;;4649:31;-1:-1:-1;;;4649:31:38:o;4600:33::-;775:7378;;4615:13;775:7378;;4615:18;4600:33;;4499:87;4566:8;;;;:::i;:::-;4499:87;;;3199:103:0;735:10:14;775:7378:38;;;;;;;;;;;;;3519:23:0;3515:108;;3199:103::o;3515:108::-;3565:47;;;775:7378:38;3565:47:0;735:10:14;3565:47:0;775:7378:38;;;;;;3565:47:0;3199:103;2954:6;775:7378:38;;;;;;;;;;;735:10:14;775:7378:38;;;;;;;;;;3519:23:0;3515:108;;3199:103;:::o;3515:108::-;3565:47;;;2954:6;3565:47;735:10:14;3565:47:0;775:7378:38;;;;2954:6:0;3565:47;6179:316;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;735:10:14;;775:7378:38;881:26;;6370:40:0;;775:7378:38;6370:40:0;6347:4;6424:11;:::o;6179:316::-;775:7378:38;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;;;735:10:14;;775:7378:38;;6370:40:0;;775:7378:38;6370:40:0;6347:4;6424:11;:::o;6272:217::-;6466:12;;775:7378:38;6466:12:0;:::o;6732:317::-;775:7378:38;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;775:7378:38;;;;;;;;;;;;;;;-1:-1:-1;;775:7378:38;;;735:10:14;;775:7378:38;;6924:40:0;;775:7378:38;6924:40:0;775:7378:38;6978:11:0;:::o;775:7378:38:-;;;;;;;;;;;;;;;:::o;5582:647::-;-1:-1:-1;;;;;775:7378:38;;5665:21;;:47;;;;5582:647;5661:60;;-1:-1:-1;;;;;775:7378:38;;;5734:19;;;5730:32;;5684:1;775:7378;;;5775:10;775:7378;;;;;;-1:-1:-1;;;;;775:7378:38;5771:46;;5939:13;5684:1;5934:160;5954:5;5958:1;5954:5;;;;5934:160;775:7378;;;;;5684:1;775:7378;5775:10;775:7378;;;5684:1;775:7378;;;;;;;;;;;;5684:1;775:7378;6144:18;775:7378;;;5684:1;775:7378;;;;;;;;;;;;;;;;;;;;;;6192:30;5684:1;6192:30;;5582:647::o;5961:3::-;-1:-1:-1;;;;;775:7378:38;5984:17;;5980:28;;6026:14;;;6022:27;;5684:1;775:7378;5775:10;775:7378;;;;;;;;;5684:1;775:7378;;;5961:3;775:7378;5939:13;;;6022:27;6042:7;;;;:::o;5980:28::-;6003:5;;5771:46;5810:7;;;:::o;5661:60::-;5714:7;;:::o;5665:47::-;-1:-1:-1;;;;;;775:7378:38;;5690:22;5665:47;;6235:572;6362:10;775:7378;6362:22;;;6358:43;;-1:-1:-1;;;;;775:7378:38;;;;;6425:18;775:7378;;;;;;;;6459:15;775:7378;;;;6564:21;;;;;;6544:155;6789:11;;;6235:572;:::o;6587:3::-;6616:13;;;775:7378;6616:13;;;:::i;:::-;775:7378;;;6610:32;;6606:43;;6670:13;775:7378;;6670:13;;;:::i;:::-;-1:-1:-1;775:7378:38;;;;;6549:13;775:7378;;6549:13;;6606:43;6644:5;;;6358:43;6393:8;;;6386:15;:::o"},"methodIdentifiers":{"DEFAULT_ADMIN_ROLE()":"a217fddf","OPERATOR_ROLE()":"f5b541a6","decimals()":"313ce567","directRefereeCount(address)":"563a4c3b","getRoleAdmin(bytes32)":"248a9ca3","grantRole(bytes32,address)":"2f2ff15d","hasRole(bytes32,address)":"91d14854","isActive(address)":"9f8a13d7","lastActiveAt(address)":"eb799d23","levelRates(uint256)":"7879b5ef","onlyRewardActiveReferrers()":"2ee7754d","processPurchase(address,address,uint256)":"e696d10d","rateStepAt(uint256)":"cfbb4972","rateStepsLength()":"4e44624c","referralBonus()":"ce7842f5","referrerOf(address)":"d21cacdf","renounceRole(bytes32,address)":"36568abe","revokeRole(bytes32,address)":"d547741f","rewardToken()":"f7c618c1","secondsUntilInactive()":"3a8e7bdc","setConfig(uint32,uint32,bool,uint32[3])":"12640d99","setOperator(address)":"b3ab15fb","setRateSteps((uint32,uint32)[])":"3d35a571","supportsInterface(bytes4)":"01ffc9a7"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"_decimals\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_referralBonus\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_secondsUntilInactive\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"_onlyRewardActiveReferrers\",\"type\":\"bool\"},{\"internalType\":\"uint32[3]\",\"name\":\"_levelRates\",\"type\":\"uint32[3]\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"refereeCount\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"rate\",\"type\":\"uint32\"}],\"internalType\":\"struct ReferralRewards.RateStep[]\",\"name\":\"rateSteps\",\"type\":\"tuple[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidConfig\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"ActiveUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"referralBonus\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"secondsUntilInactive\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"onlyRewardActiveReferrers\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"level1\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"level2\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"level3\",\"type\":\"uint32\"}],\"name\":\"ConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"referee\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"}],\"name\":\"ReferrerSet\",\"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\":[],\"name\":\"OPERATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"directRefereeCount\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"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\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"isActive\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"lastActiveAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"levelRates\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"onlyRewardActiveReferrers\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"referee\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"referrer\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"processPurchase\",\"outputs\":[{\"internalType\":\"address[3]\",\"name\":\"recipients\",\"type\":\"address[3]\"},{\"internalType\":\"uint256[3]\",\"name\":\"bonuses\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint256\",\"name\":\"totalPaid\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"idx\",\"type\":\"uint256\"}],\"name\":\"rateStepAt\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"refereeCount\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"rate\",\"type\":\"uint32\"}],\"internalType\":\"struct ReferralRewards.RateStep\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rateStepsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"referralBonus\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"referrerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"secondsUntilInactive\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"_referralBonus\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"_secondsUntilInactive\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"_onlyRewardActiveReferrers\",\"type\":\"bool\"},{\"internalType\":\"uint32[3]\",\"name\":\"_levelRates\",\"type\":\"uint32[3]\"}],\"name\":\"setConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"setOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"refereeCount\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"rate\",\"type\":\"uint32\"}],\"internalType\":\"struct ReferralRewards.RateStep[]\",\"name\":\"rateSteps\",\"type\":\"tuple[]\"}],\"name\":\"setRateSteps\",\"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\":{\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}]},\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted to signal this.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"processPurchase(address,address,uint256)\":{\"details\":\"Must be called by the configured operator (EventManager).\",\"returns\":{\"bonuses\":\"Per-level bonus amounts (aligned with `recipients`).\",\"recipients\":\"Up to 3 upline addresses (level 1..3). Missing levels are zero-address.\",\"totalPaid\":\"Sum of `bonuses`.\"}},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"processPurchase(address,address,uint256)\":{\"notice\":\"Process a purchase for `referee` with an optional `referrer` hint.\"}},\"notice\":\"Referral reward engine adapted from ThunderCore's referral library idea, but designed to be paid in an ERC20 token by the caller (EventManager). Key points: - 3 levels maximum. - Bonus depends on (a) referral bonus %, (b) level split %, (c) upline referee-count rate. - \\\"Active\\\" gating: when enabled, only uplines active within `secondsUntilInactive` earn. - This contract does not transfer tokens; it returns computed payouts and updates state. The operator (EventManager) performs ERC20 transfers from its own balance.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ReferralRewards.sol\":\"ReferralRewards\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xc1bebdee8943bd5e9ef1e0f2e63296aa1dd4171a66b9e74d0286220e891e1458\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://928cf2f0042c606f3dcb21bd8a272573f462a215cd65285d2d6b407f31e9bd67\",\"dweb:/ipfs/QmWGxjckno6sfjHPX5naPnsfsyisgy4PJDf46eLw9umfpx\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x4d9a2b261b56a1e4a37bb038151dec98b952fed16de2bdfdda27e38e2b12b530\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f724110f7aeb6151af800ab8c12e6060b29bda9e013f0ccb331eb754d6a7cbf0\",\"dweb:/ipfs/QmUcjzCZpxtUPdEThtAzE1f9LvuJiUGZxTdH9N6bHrb5Cf\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xddce8e17e3d3f9ed818b4f4c4478a8262aab8b11ed322f1bf5ed705bb4bd97fa\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8084aa71a4cc7d2980972412a88fe4f114869faea3fefa5436431644eb5c0287\",\"dweb:/ipfs/Qmbqfs5dRdPvHVKY8kTaeyc65NdqXRQwRK7h9s5UJEhD1p\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"contracts/IReferralRewards.sol\":{\"keccak256\":\"0xb66eabaa48897b8e6e1c994860fa2e74d5a9ccf5858461bad49095435290d627\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0c9385d923387cb6656170ba3450bc18b1cc0978dc426ec202972559d98995b5\",\"dweb:/ipfs/QmevQ9Sw9Knx5qr3jEA6cJLbxDNBjjXkqHVuzUeEC1fKvp\"]},\"contracts/ReferralRewards.sol\":{\"keccak256\":\"0x62079f2e4383dd45801e864b05ecc383f0ab8faf978cb4bd37e8783b5b0bff11\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4dac5913d77159a61db1ae1e9e49c896bf517479ecbbec751d7c3a984b9da509\",\"dweb:/ipfs/Qmem2vfxNuVwKixiGgQ8ZygHXNgGfkhPqYXYtuooPpTt3k\"]}},\"version\":1}"}},"contracts/ReverseRegistrar.sol":{"IENS":{"abi":[{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"owner(bytes32)":"02571be3","setSubnodeOwner(bytes32,bytes32,address)":"06ab5923"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"}],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"label\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"setSubnodeOwner\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ReverseRegistrar.sol\":\"IENS\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/ReverseRegistrar.sol\":{\"keccak256\":\"0x1de9494351378755643fcfb782859b3444c4e19a8ff4e3f451b1bfb41c34475d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b9448fd86bb229e81fc1fabfb479d4f7a2a2bb3bb6992903904616c4c754ee3\",\"dweb:/ipfs/QmSVBGV3junNXEqJECxD1dbV9xaHryC2g2D63ZDKBdPtHB\"]}},\"version\":1}"},"IResolver":{"abi":[{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"name","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"methodIdentifiers":{"setName(bytes32,string)":"77372213"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"node\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ReverseRegistrar.sol\":\"IResolver\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/ReverseRegistrar.sol\":{\"keccak256\":\"0x1de9494351378755643fcfb782859b3444c4e19a8ff4e3f451b1bfb41c34475d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b9448fd86bb229e81fc1fabfb479d4f7a2a2bb3bb6992903904616c4c754ee3\",\"dweb:/ipfs/QmSVBGV3junNXEqJECxD1dbV9xaHryC2g2D63ZDKBdPtHB\"]}},\"version\":1}"},"ReverseRegistrar":{"abi":[{"inputs":[{"internalType":"contract IENS","name":"_ens","type":"address"},{"internalType":"contract IResolver","name":"_resolver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ADDR_REVERSE_NODE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultResolver","outputs":[{"internalType":"contract IResolver","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ens","outputs":[{"internalType":"contract IENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"setName","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608034609357601f6103dd38819003918201601f19168301916001600160401b03831184841017609857808492604094855283398101031260935780516001600160a01b0381169190829003609357602001516001600160a01b038116919082900360935760018060a01b0319600054161760005560018060a01b0319600154161760015560405161032e90816100af8239f35b600080fd5b634e487b7160e01b600052604160045260246000fdfe6080604052600436101561001257600080fd5b60003560e01c80633f15457f146100925780637cf8a2eb14610052578063828eab0e1461004d5763c47f00271461004857600080fd5b6100e2565b6100b9565b3461008d57600036600319011261008d5760206040517f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e28152f35b600080fd5b3461008d57600036600319011261008d576000546001600160a01b03166080908152602090f35b3461008d57600036600319011261008d576001546040516001600160a01b039091168152602090f35b3461008d57602036600319011261008d5760043567ffffffffffffffff811161008d573660238201121561008d57806004013567ffffffffffffffff811161008d573691016024011161008d5761014a61013a6101a1565b6040519081529081906020820190565b0390f35b90601f8019910116810190811067ffffffffffffffff82111761017057604052565b634e487b7160e01b600052604160045260246000fd5b9081602091031261008d575190565b6040513d6000823e3d90fd5b336028805b6102aa57505060286000206000602061026760405182810190610205816101f788856040917f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2825260208201520190565b03601f19810183528261014e565b51902083549094906001600160a01b03166040516306ab592360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015260248101929092523360448301529093849283919082906064820190565b03925af180156102a557610279575090565b61029a9060203d60201161029e575b610292818361014e565b810190610186565b5090565b503d610288565b610195565b6f181899199a1a9b1b9c1cb0b131b232b360811b600f83161a600019820153600119019081906f181899199a1a9b1b9c1cb0b131b232b360811b600482901c600f161a825360081c916101a656fea2646970667358221220cf5dbea72b0377a408e68fb9c073c8ad3399f922ba26e022fd184b55b2d8d1e764736f6c634300081c0033","opcodes":"PUSH1 0x80 CALLVALUE PUSH1 0x93 JUMPI PUSH1 0x1F PUSH2 0x3DD CODESIZE DUP2 SWAP1 SUB SWAP2 DUP3 ADD PUSH1 0x1F NOT AND DUP4 ADD SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP4 GT DUP5 DUP5 LT OR PUSH1 0x98 JUMPI DUP1 DUP5 SWAP3 PUSH1 0x40 SWAP5 DUP6 MSTORE DUP4 CODECOPY DUP2 ADD SUB SLT PUSH1 0x93 JUMPI DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SWAP1 SUB PUSH1 0x93 JUMPI PUSH1 0x20 ADD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND SWAP2 SWAP1 DUP3 SWAP1 SUB PUSH1 0x93 JUMPI PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB NOT PUSH1 0x0 SLOAD AND OR PUSH1 0x0 SSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB NOT PUSH1 0x1 SLOAD AND OR PUSH1 0x1 SSTORE PUSH1 0x40 MLOAD PUSH2 0x32E SWAP1 DUP2 PUSH2 0xAF DUP3 CODECOPY RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3F15457F EQ PUSH2 0x92 JUMPI DUP1 PUSH4 0x7CF8A2EB EQ PUSH2 0x52 JUMPI DUP1 PUSH4 0x828EAB0E EQ PUSH2 0x4D JUMPI PUSH4 0xC47F0027 EQ PUSH2 0x48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xE2 JUMP JUMPDEST PUSH2 0xB9 JUMP JUMPDEST CALLVALUE PUSH2 0x8D JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x8D JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x91D1777781884D03A6757A803996E38DE2A42967FB37EEACA72729271025A9E2 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x8D JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x8D JUMPI PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x80 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x8D JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x8D JUMPI PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x8D JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x8D JUMPI PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x8D JUMPI CALLDATASIZE PUSH1 0x23 DUP3 ADD SLT ISZERO PUSH2 0x8D JUMPI DUP1 PUSH1 0x4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x8D JUMPI CALLDATASIZE SWAP2 ADD PUSH1 0x24 ADD GT PUSH2 0x8D JUMPI PUSH2 0x14A PUSH2 0x13A PUSH2 0x1A1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE SWAP1 DUP2 SWAP1 PUSH1 0x20 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x170 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x8D JUMPI MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST CALLER PUSH1 0x28 DUP1 JUMPDEST PUSH2 0x2AA JUMPI POP POP PUSH1 0x28 PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x20 PUSH2 0x267 PUSH1 0x40 MLOAD DUP3 DUP2 ADD SWAP1 PUSH2 0x205 DUP2 PUSH2 0x1F7 DUP9 DUP6 PUSH1 0x40 SWAP2 PUSH32 0x91D1777781884D03A6757A803996E38DE2A42967FB37EEACA72729271025A9E2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP1 JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x14E JUMP JUMPDEST MLOAD SWAP1 KECCAK256 DUP4 SLOAD SWAP1 SWAP5 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x40 MLOAD PUSH4 0x6AB5923 PUSH1 0xE0 SHL DUP2 MSTORE PUSH32 0x91D1777781884D03A6757A803996E38DE2A42967FB37EEACA72729271025A9E2 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE CALLER PUSH1 0x44 DUP4 ADD MSTORE SWAP1 SWAP4 DUP5 SWAP3 DUP4 SWAP2 SWAP1 DUP3 SWAP1 PUSH1 0x64 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0x2A5 JUMPI PUSH2 0x279 JUMPI POP SWAP1 JUMP JUMPDEST PUSH2 0x29A SWAP1 PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x29E JUMPI JUMPDEST PUSH2 0x292 DUP2 DUP4 PUSH2 0x14E JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x186 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x288 JUMP JUMPDEST PUSH2 0x195 JUMP JUMPDEST PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL PUSH1 0xF DUP4 AND BYTE PUSH1 0x0 NOT DUP3 ADD MSTORE8 PUSH1 0x1 NOT ADD SWAP1 DUP2 SWAP1 PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL PUSH1 0x4 DUP3 SWAP1 SHR PUSH1 0xF AND BYTE DUP3 MSTORE8 PUSH1 0x8 SHR SWAP2 PUSH2 0x1A6 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCF TSTORE 0xBE 0xA7 0x2B SUB PUSH24 0xA408E68FB9C073C8AD3399F922BA26E022FD184B55B2D8D1 0xE7 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"336:1313:39:-:0;;;;;;;;;;;;;-1:-1:-1;;336:1313:39;;;;-1:-1:-1;;;;;336:1313:39;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;336:1313:39;;;;;;;;;;;;-1:-1:-1;;;;;336:1313:39;;;;;;;;;;;;;;;-1:-1:-1;336:1313:39;;;-1:-1:-1;336:1313:39;;;;;;;622:27;336:1313;;;622:27;336:1313;;;;;;;;;;;-1:-1:-1;336:1313:39;;;;;;-1:-1:-1;336:1313:39;;;;;-1:-1:-1;336:1313:39"},"deployedBytecode":{"functionDebugData":{"abi_decode_bytes32_fromMemory":{"entryPoint":390,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_bytes32":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_bytes32_bytes32_address":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_packed_bytes32_bytes32":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"convert_contract_IENS_to_address":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"external_fun_defaultResolver":{"entryPoint":185,"id":null,"parameterSlots":0,"returnSlots":0},"external_fun_setName":{"entryPoint":226,"id":null,"parameterSlots":0,"returnSlots":0},"finalize_allocation":{"entryPoint":334,"id":null,"parameterSlots":2,"returnSlots":0},"fun_setName":{"entryPoint":417,"id":15872,"parameterSlots":0,"returnSlots":1},"revert_forward":{"entryPoint":405,"id":null,"parameterSlots":0,"returnSlots":0}},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"6080604052600436101561001257600080fd5b60003560e01c80633f15457f146100925780637cf8a2eb14610052578063828eab0e1461004d5763c47f00271461004857600080fd5b6100e2565b6100b9565b3461008d57600036600319011261008d5760206040517f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e28152f35b600080fd5b3461008d57600036600319011261008d576000546001600160a01b03166080908152602090f35b3461008d57600036600319011261008d576001546040516001600160a01b039091168152602090f35b3461008d57602036600319011261008d5760043567ffffffffffffffff811161008d573660238201121561008d57806004013567ffffffffffffffff811161008d573691016024011161008d5761014a61013a6101a1565b6040519081529081906020820190565b0390f35b90601f8019910116810190811067ffffffffffffffff82111761017057604052565b634e487b7160e01b600052604160045260246000fd5b9081602091031261008d575190565b6040513d6000823e3d90fd5b336028805b6102aa57505060286000206000602061026760405182810190610205816101f788856040917f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2825260208201520190565b03601f19810183528261014e565b51902083549094906001600160a01b03166040516306ab592360e01b81527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2600482015260248101929092523360448301529093849283919082906064820190565b03925af180156102a557610279575090565b61029a9060203d60201161029e575b610292818361014e565b810190610186565b5090565b503d610288565b610195565b6f181899199a1a9b1b9c1cb0b131b232b360811b600f83161a600019820153600119019081906f181899199a1a9b1b9c1cb0b131b232b360811b600482901c600f161a825360081c916101a656fea2646970667358221220cf5dbea72b0377a408e68fb9c073c8ad3399f922ba26e022fd184b55b2d8d1e764736f6c634300081c0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x12 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x3F15457F EQ PUSH2 0x92 JUMPI DUP1 PUSH4 0x7CF8A2EB EQ PUSH2 0x52 JUMPI DUP1 PUSH4 0x828EAB0E EQ PUSH2 0x4D JUMPI PUSH4 0xC47F0027 EQ PUSH2 0x48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xE2 JUMP JUMPDEST PUSH2 0xB9 JUMP JUMPDEST CALLVALUE PUSH2 0x8D JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x8D JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH32 0x91D1777781884D03A6757A803996E38DE2A42967FB37EEACA72729271025A9E2 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x8D JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x8D JUMPI PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x80 SWAP1 DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x8D JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x8D JUMPI PUSH1 0x1 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 SWAP1 RETURN JUMPDEST CALLVALUE PUSH2 0x8D JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x8D JUMPI PUSH1 0x4 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x8D JUMPI CALLDATASIZE PUSH1 0x23 DUP3 ADD SLT ISZERO PUSH2 0x8D JUMPI DUP1 PUSH1 0x4 ADD CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT PUSH2 0x8D JUMPI CALLDATASIZE SWAP2 ADD PUSH1 0x24 ADD GT PUSH2 0x8D JUMPI PUSH2 0x14A PUSH2 0x13A PUSH2 0x1A1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE SWAP1 DUP2 SWAP1 PUSH1 0x20 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x170 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 DUP2 PUSH1 0x20 SWAP2 SUB SLT PUSH2 0x8D JUMPI MLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST CALLER PUSH1 0x28 DUP1 JUMPDEST PUSH2 0x2AA JUMPI POP POP PUSH1 0x28 PUSH1 0x0 KECCAK256 PUSH1 0x0 PUSH1 0x20 PUSH2 0x267 PUSH1 0x40 MLOAD DUP3 DUP2 ADD SWAP1 PUSH2 0x205 DUP2 PUSH2 0x1F7 DUP9 DUP6 PUSH1 0x40 SWAP2 PUSH32 0x91D1777781884D03A6757A803996E38DE2A42967FB37EEACA72729271025A9E2 DUP3 MSTORE PUSH1 0x20 DUP3 ADD MSTORE ADD SWAP1 JUMP JUMPDEST SUB PUSH1 0x1F NOT DUP2 ADD DUP4 MSTORE DUP3 PUSH2 0x14E JUMP JUMPDEST MLOAD SWAP1 KECCAK256 DUP4 SLOAD SWAP1 SWAP5 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x40 MLOAD PUSH4 0x6AB5923 PUSH1 0xE0 SHL DUP2 MSTORE PUSH32 0x91D1777781884D03A6757A803996E38DE2A42967FB37EEACA72729271025A9E2 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE CALLER PUSH1 0x44 DUP4 ADD MSTORE SWAP1 SWAP4 DUP5 SWAP3 DUP4 SWAP2 SWAP1 DUP3 SWAP1 PUSH1 0x64 DUP3 ADD SWAP1 JUMP JUMPDEST SUB SWAP3 GAS CALL DUP1 ISZERO PUSH2 0x2A5 JUMPI PUSH2 0x279 JUMPI POP SWAP1 JUMP JUMPDEST PUSH2 0x29A SWAP1 PUSH1 0x20 RETURNDATASIZE PUSH1 0x20 GT PUSH2 0x29E JUMPI JUMPDEST PUSH2 0x292 DUP2 DUP4 PUSH2 0x14E JUMP JUMPDEST DUP2 ADD SWAP1 PUSH2 0x186 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST POP RETURNDATASIZE PUSH2 0x288 JUMP JUMPDEST PUSH2 0x195 JUMP JUMPDEST PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL PUSH1 0xF DUP4 AND BYTE PUSH1 0x0 NOT DUP3 ADD MSTORE8 PUSH1 0x1 NOT ADD SWAP1 DUP2 SWAP1 PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL PUSH1 0x4 DUP3 SWAP1 SHR PUSH1 0xF AND BYTE DUP3 MSTORE8 PUSH1 0x8 SHR SWAP2 PUSH2 0x1A6 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCF TSTORE 0xBE 0xA7 0x2B SUB PUSH24 0xA408E68FB9C073C8AD3399F922BA26E022FD184B55B2D8D1 0xE7 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"336:1313:39:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;336:1313:39;;;;;;;471:66;336:1313;;;;;;;;;;;;;-1:-1:-1;;336:1313:39;;;;;;-1:-1:-1;;;;;336:1313:39;;;;;;;;;;;;;;-1:-1:-1;;336:1313:39;;;;;;;;-1:-1:-1;;;;;336:1313:39;;;;;;;;;;;;;;-1:-1:-1;;336:1313:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;336:1313:39;;;;;-1:-1:-1;336:1313:39;;;;;;;;;;;;:::o;:::-;;;;;;;;;;666:351;768:10;1137:504;;;;;;;;-1:-1:-1;1137:504:39;-1:-1:-1;814:42:39;917:63;336:1313;;814:42;;;;;;;;;336:1313;;471:66;336:1313;;;;;;;;;814:42;;336:1313;;814:42;;;;;;:::i;:::-;336:1313;804:53;;336:1313;;804:53;;;-1:-1:-1;;;;;336:1313:39;;;-1:-1:-1;;;917:63:39;;471:66;1137:504;917:63;;336:1313;;;;;;;;768:10;336:1313;;;;;;;;;;;;;;;;;;917:63;;;;;;;;;;;999:11;666:351;:::o;917:63::-;;;814:42;917:63;814:42;917:63;;;;;;;;:::i;:::-;;;;;:::i;:::-;999:11;666:351;:::o;917:63::-;;;;;;;:::i;1137:504::-;-1:-1:-1;;;1137:504:39;;;;-1:-1:-1;;1137:504:39;;;-1:-1:-1;;1137:504:39;;;;-1:-1:-1;;;1137:504:39;;;;;;;;;;;;;"},"methodIdentifiers":{"ADDR_REVERSE_NODE()":"7cf8a2eb","defaultResolver()":"828eab0e","ens()":"3f15457f","setName(string)":"c47f0027"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract IENS\",\"name\":\"_ens\",\"type\":\"address\"},{\"internalType\":\"contract IResolver\",\"name\":\"_resolver\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ADDR_REVERSE_NODE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultResolver\",\"outputs\":[{\"internalType\":\"contract IResolver\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ens\",\"outputs\":[{\"internalType\":\"contract IENS\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"setName\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ReverseRegistrar.sol\":\"ReverseRegistrar\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"contracts/ReverseRegistrar.sol\":{\"keccak256\":\"0x1de9494351378755643fcfb782859b3444c4e19a8ff4e3f451b1bfb41c34475d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0b9448fd86bb229e81fc1fabfb479d4f7a2a2bb3bb6992903904616c4c754ee3\",\"dweb:/ipfs/QmSVBGV3junNXEqJECxD1dbV9xaHryC2g2D63ZDKBdPtHB\"]}},\"version\":1}"}},"contracts/mocks/SimpleERC20Xylose.sol":{"SimpleERC20Xylose":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","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":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"evm":{"bytecode":{"functionDebugData":{"finalize_allocation":{"entryPoint":1104,"id":null,"parameterSlots":2,"returnSlots":0},"fun_toShortStringWithFallback":{"entryPoint":1139,"id":2923,"parameterSlots":1,"returnSlots":1},"fun_toShortStringWithFallback_5615":{"entryPoint":1569,"id":2923,"parameterSlots":1,"returnSlots":1}},"generatedSources":[],"linkReferences":{},"object":"6101606040523461044b57604051610018604082610450565b60118152602081017053696d706c65455243323058796c6f736560781b815260405190610046604083610450565b601182527053696d706c65455243323058796c6f736560781b602083015260405192610073604085610450565b60038452620a68ab60eb1b602085015260405193610092604086610450565b60018552603160f81b60208601908152845190946001600160401b0382116103485760035490600182811c92168015610441575b60208310146103285781601f8493116103d1575b50602090601f83116001146103695760009261035e575b50508160011b916000199060031b1c1916176003555b8051906001600160401b0382116103485760045490600182811c9216801561033e575b60208310146103285781601f8493116102b8575b50602090601f831160011461025057600092610245575b50508160011b916000199060031b1c1916176004555b61017481610473565b6101205261018184610621565b61014052519020918260e05251902080610100524660a0526040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a081526101ea60c082610450565b5190206080523060c052604051610d1590816107c08239608051816109da015260a05181610a97015260c051816109a4015260e05181610a2901526101005181610a4f015261012051816104230152610140518161044c0152f35b015190503880610155565b600460009081528281209350601f198516905b8181106102a05750908460019594939210610287575b505050811b0160045561016b565b015160001960f88460031b161c19169055388080610279565b92936020600181928786015181550195019301610263565b60046000529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c8101916020851061031e575b90601f859493920160051c01905b81811061030f575061013e565b60008155849350600101610302565b90915081906102f4565b634e487b7160e01b600052602260045260246000fd5b91607f169161012a565b634e487b7160e01b600052604160045260246000fd5b0151905038806100f1565b600360009081528281209350601f198516905b8181106103b957509084600195949392106103a0575b505050811b01600355610107565b015160001960f88460031b161c19169055388080610392565b9293602060018192878601518155019501930161037c565b60036000529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81019160208510610437575b90601f859493920160051c01905b81811061042857506100da565b6000815584935060010161041b565b909150819061040d565b91607f16916100c6565b600080fd5b601f909101601f19168101906001600160401b0382119082101761034857604052565b9081516020811060001461050b575090601f8151116104af57602081519101516020821061049f571790565b6000198260200360031b1b161790565b6040519063305a27a960e01b8252602060048301528181519182602483015260005b8381106104f35750508160006044809484010152601f80199101168101030190fd5b602082820181015160448784010152859350016104d1565b6001600160401b03811161034857600554600181811c91168015610617575b602082101461032857601f81116105e1575b50602092601f821160011461057c5792819293600092610571575b50508160011b916000199060031b1c19161760055560ff90565b015190503880610557565b601f198216936005600052806000209160005b8681106105c957508360019596106105b0575b505050811b0160055560ff90565b015160001960f88460031b161c191690553880806105a2565b9192602060018192868501518155019401920161058f565b6005600052601f6020600020910160051c810190601f830160051c015b81811061060b575061053c565b600081556001016105fe565b90607f169061052a565b908151602081106000146106a9575090601f81511161064d57602081519101516020821061049f571790565b6040519063305a27a960e01b8252602060048301528181519182602483015260005b8381106106915750508160006044809484010152601f80199101168101030190fd5b6020828201810151604487840101528593500161066f565b6001600160401b03811161034857600654600181811c911680156107b5575b602082101461032857601f811161077f575b50602092601f821160011461071a579281929360009261070f575b50508160011b916000199060031b1c19161760065560ff90565b0151905038806106f5565b601f198216936006600052806000209160005b868110610767575083600195961061074e575b505050811b0160065560ff90565b015160001960f88460031b161c19169055388080610740565b9192602060018192868501518155019401920161072d565b6006600052601f6020600020910160051c810190601f830160051c015b8181106107a957506106da565b6000815560010161079c565b90607f16906106c856fe608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146106eb57508063095ea7b3146106c557806318160ddd146106a757806323b872dd146105ba578063313ce5671461059e5780633644e5151461057b57806370a08231146105415780637ecebe001461050757806384b0196e1461040a57806395d89b4114610325578063a0712d681461028b578063a9059cbb1461025a578063d505accf1461010f5763dd62ed3e146100b957600080fd5b3461010a57604036600319011261010a576100d26107d1565b6100da6107e7565b6001600160a01b039182166000908152600160209081526040808320949093168252928352819020549051908152f35b600080fd5b3461010a5760e036600319011261010a576101286107d1565b6101306107e7565b604435906064359260843560ff8116810361010a578442116102455761020661020f9160018060a01b038416968760005260076020526040600020908154916001830190556040519060208201927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c984528a604084015260018060a01b038916606084015289608084015260a083015260c082015260c081526101d460e0826108ba565b5190206101df6109a1565b906040519161190160f01b83526002830152602282015260c43591604260a4359220610bc2565b90929192610c57565b6001600160a01b031684810361022c575061022a9350610abd565b005b84906325c0072360e11b60005260045260245260446000fd5b8463313c898160e11b60005260045260246000fd5b3461010a57604036600319011261010a576102806102766107d1565b60243590336108f2565b602060405160018152f35b3461010a57602036600319011261010a57600435331561030f576002548181018091116102f9576002556000903382528160205260408220818154019055604051908152817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a380f35b634e487b7160e01b600052601160045260246000fd5b63ec442f0560e01b600052600060045260246000fd5b3461010a57600036600319011261010a576040516000600454610347816107fd565b80845290600181169081156103e65750600114610387575b6103838361036f818503826108ba565b604051918291602083526020830190610790565b0390f35b600460009081527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b939250905b8082106103cc5750909150810160200161036f61035f565b9192600181602092548385880101520191019092916103b4565b60ff191660208086019190915291151560051b8401909101915061036f905061035f565b3461010a57600036600319011261010a576104a96104477f0000000000000000000000000000000000000000000000000000000000000000610b24565b6104707f0000000000000000000000000000000000000000000000000000000000000000610b8b565b60206104b76040519261048383856108ba565b600084526000368137604051958695600f60f81b875260e08588015260e0870190610790565b908582036040870152610790565b466060850152306080850152600060a085015283810360c085015281808451928381520193019160005b8281106104f057505050500390f35b8351855286955093810193928101926001016104e1565b3461010a57602036600319011261010a576001600160a01b036105286107d1565b1660005260076020526020604060002054604051908152f35b3461010a57602036600319011261010a576001600160a01b036105626107d1565b1660005260006020526020604060002054604051908152f35b3461010a57600036600319011261010a5760206105966109a1565b604051908152f35b3461010a57600036600319011261010a57602060405160068152f35b3461010a57606036600319011261010a576105d36107d1565b6105db6107e7565b6001600160a01b038216600081815260016020908152604080832033845290915290205490926044359291600019811061061b575b5061028093506108f2565b83811061068a57841561067457331561065e57610280946000526001602052604060002060018060a01b0333166000526020528360406000209103905584610610565b634a1406b160e11b600052600060045260246000fd5b63e602df0560e01b600052600060045260246000fd5b8390637dc7a0d960e11b6000523360045260245260445260646000fd5b3461010a57600036600319011261010a576020600254604051908152f35b3461010a57604036600319011261010a576102806106e16107d1565b6024359033610abd565b3461010a57600036600319011261010a57600060035461070a816107fd565b80845290600181169081156103e65750600114610731576103838361036f818503826108ba565b600360009081527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b939250905b8082106107765750909150810160200161036f61035f565b91926001816020925483858801015201910190929161075e565b919082519283825260005b8481106107bc575050826000602080949584010152601f8019910116010190565b8060208092840101518282860101520161079b565b600435906001600160a01b038216820361010a57565b602435906001600160a01b038216820361010a57565b90600182811c9216801561082d575b602083101461081757565b634e487b7160e01b600052602260045260246000fd5b91607f169161080c565b60009291815491610847836107fd565b808352926001811690811561089d575060011461086357505050565b60009081526020812093945091925b838310610883575060209250010190565b600181602092949394548385870101520191019190610872565b915050602093945060ff929192191683830152151560051b010190565b90601f8019910116810190811067ffffffffffffffff8211176108dc57604052565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b031690811561098b576001600160a01b031691821561030f5760008281528060205260408120548281106109715791604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815280845220818154019055604051908152a3565b916064928463391434e360e21b8452600452602452604452fd5b634b637e8f60e11b600052600060045260246000fd5b307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480610a94575b156109fc577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152610a8e60c0826108ba565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000046146109d3565b6001600160a01b0316908115610674576001600160a01b031691821561065e5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60ff8114610b6e5760ff811690601f8211610b5d576040805192610b4882856108ba565b6020808552840191601f190136833783525290565b632cd44ac360e21b60005260046000fd5b50604051610b8881610b81816005610837565b03826108ba565b90565b60ff8114610baf5760ff811690601f8211610b5d576040805192610b4882856108ba565b50604051610b8881610b81816006610837565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411610c4b579160209360809260ff60009560405194855216868401526040830152606082015282805260015afa15610c3f576000516001600160a01b03811615610c335790600090600090565b50600090600190600090565b6040513d6000823e3d90fd5b50505060009160039190565b9190916004811015610cc95780610c6d57509050565b600060018203610c885763f645eedf60e01b60005260046000fd5b5060028103610ca6578263fce698f760e01b60005260045260246000fd5b9091600360009214610cb6575050565b6335e2f38360e21b825260045260249150fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f84f4bee0d8e43fc07b474860960cd2c652820b396a947f9b5d0737900c4e11164736f6c634300081c0033","opcodes":"PUSH2 0x160 PUSH1 0x40 MSTORE CALLVALUE PUSH2 0x44B JUMPI PUSH1 0x40 MLOAD PUSH2 0x18 PUSH1 0x40 DUP3 PUSH2 0x450 JUMP JUMPDEST PUSH1 0x11 DUP2 MSTORE PUSH1 0x20 DUP2 ADD PUSH17 0x53696D706C65455243323058796C6F7365 PUSH1 0x78 SHL DUP2 MSTORE PUSH1 0x40 MLOAD SWAP1 PUSH2 0x46 PUSH1 0x40 DUP4 PUSH2 0x450 JUMP JUMPDEST PUSH1 0x11 DUP3 MSTORE PUSH17 0x53696D706C65455243323058796C6F7365 PUSH1 0x78 SHL PUSH1 0x20 DUP4 ADD MSTORE PUSH1 0x40 MLOAD SWAP3 PUSH2 0x73 PUSH1 0x40 DUP6 PUSH2 0x450 JUMP JUMPDEST PUSH1 0x3 DUP5 MSTORE PUSH3 0xA68AB PUSH1 0xEB SHL PUSH1 0x20 DUP6 ADD MSTORE PUSH1 0x40 MLOAD SWAP4 PUSH2 0x92 PUSH1 0x40 DUP7 PUSH2 0x450 JUMP JUMPDEST PUSH1 0x1 DUP6 MSTORE PUSH1 0x31 PUSH1 0xF8 SHL PUSH1 0x20 DUP7 ADD SWAP1 DUP2 MSTORE DUP5 MLOAD SWAP1 SWAP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x348 JUMPI PUSH1 0x3 SLOAD SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x441 JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x328 JUMPI DUP2 PUSH1 0x1F DUP5 SWAP4 GT PUSH2 0x3D1 JUMPI JUMPDEST POP PUSH1 0x20 SWAP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 EQ PUSH2 0x369 JUMPI PUSH1 0x0 SWAP3 PUSH2 0x35E JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x3 SSTORE JUMPDEST DUP1 MLOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT PUSH2 0x348 JUMPI PUSH1 0x4 SLOAD SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x33E JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x328 JUMPI DUP2 PUSH1 0x1F DUP5 SWAP4 GT PUSH2 0x2B8 JUMPI JUMPDEST POP PUSH1 0x20 SWAP1 PUSH1 0x1F DUP4 GT PUSH1 0x1 EQ PUSH2 0x250 JUMPI PUSH1 0x0 SWAP3 PUSH2 0x245 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x4 SSTORE JUMPDEST PUSH2 0x174 DUP2 PUSH2 0x473 JUMP JUMPDEST PUSH2 0x120 MSTORE PUSH2 0x181 DUP5 PUSH2 0x621 JUMP JUMPDEST PUSH2 0x140 MSTORE MLOAD SWAP1 KECCAK256 SWAP2 DUP3 PUSH1 0xE0 MSTORE MLOAD SWAP1 KECCAK256 DUP1 PUSH2 0x100 MSTORE CHAINID PUSH1 0xA0 MSTORE PUSH1 0x40 MLOAD SWAP1 PUSH1 0x20 DUP3 ADD SWAP3 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP5 MSTORE PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0x1EA PUSH1 0xC0 DUP3 PUSH2 0x450 JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH1 0x80 MSTORE ADDRESS PUSH1 0xC0 MSTORE PUSH1 0x40 MLOAD PUSH2 0xD15 SWAP1 DUP2 PUSH2 0x7C0 DUP3 CODECOPY PUSH1 0x80 MLOAD DUP2 PUSH2 0x9DA ADD MSTORE PUSH1 0xA0 MLOAD DUP2 PUSH2 0xA97 ADD MSTORE PUSH1 0xC0 MLOAD DUP2 PUSH2 0x9A4 ADD MSTORE PUSH1 0xE0 MLOAD DUP2 PUSH2 0xA29 ADD MSTORE PUSH2 0x100 MLOAD DUP2 PUSH2 0xA4F ADD MSTORE PUSH2 0x120 MLOAD DUP2 PUSH2 0x423 ADD MSTORE PUSH2 0x140 MLOAD DUP2 PUSH2 0x44C ADD MSTORE RETURN JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0x155 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x0 SWAP1 DUP2 MSTORE DUP3 DUP2 KECCAK256 SWAP4 POP PUSH1 0x1F NOT DUP6 AND SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x2A0 JUMPI POP SWAP1 DUP5 PUSH1 0x1 SWAP6 SWAP5 SWAP4 SWAP3 LT PUSH2 0x287 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x4 SSTORE PUSH2 0x16B JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x279 JUMP JUMPDEST SWAP3 SWAP4 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP8 DUP7 ADD MLOAD DUP2 SSTORE ADD SWAP6 ADD SWAP4 ADD PUSH2 0x263 JUMP JUMPDEST PUSH1 0x4 PUSH1 0x0 MSTORE SWAP1 SWAP2 POP PUSH32 0x8A35ACFBC15FF81A39AE7D344FD709F28E8600B4AA8C65C6B64BFE7FE36BD19B PUSH1 0x1F DUP5 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP6 LT PUSH2 0x31E JUMPI JUMPDEST SWAP1 PUSH1 0x1F DUP6 SWAP5 SWAP4 SWAP3 ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x30F JUMPI POP PUSH2 0x13E JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE DUP5 SWAP4 POP PUSH1 0x1 ADD PUSH2 0x302 JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x2F4 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x12A JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0xF1 JUMP JUMPDEST PUSH1 0x3 PUSH1 0x0 SWAP1 DUP2 MSTORE DUP3 DUP2 KECCAK256 SWAP4 POP PUSH1 0x1F NOT DUP6 AND SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x3B9 JUMPI POP SWAP1 DUP5 PUSH1 0x1 SWAP6 SWAP5 SWAP4 SWAP3 LT PUSH2 0x3A0 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x3 SSTORE PUSH2 0x107 JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x392 JUMP JUMPDEST SWAP3 SWAP4 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP8 DUP7 ADD MLOAD DUP2 SSTORE ADD SWAP6 ADD SWAP4 ADD PUSH2 0x37C JUMP JUMPDEST PUSH1 0x3 PUSH1 0x0 MSTORE SWAP1 SWAP2 POP PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B PUSH1 0x1F DUP5 ADD PUSH1 0x5 SHR DUP2 ADD SWAP2 PUSH1 0x20 DUP6 LT PUSH2 0x437 JUMPI JUMPDEST SWAP1 PUSH1 0x1F DUP6 SWAP5 SWAP4 SWAP3 ADD PUSH1 0x5 SHR ADD SWAP1 JUMPDEST DUP2 DUP2 LT PUSH2 0x428 JUMPI POP PUSH2 0xDA JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE DUP5 SWAP4 POP PUSH1 0x1 ADD PUSH2 0x41B JUMP JUMPDEST SWAP1 SWAP2 POP DUP2 SWAP1 PUSH2 0x40D JUMP JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0xC6 JUMP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1F SWAP1 SWAP2 ADD PUSH1 0x1F NOT AND DUP2 ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP3 GT SWAP1 DUP3 LT OR PUSH2 0x348 JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST SWAP1 DUP2 MLOAD PUSH1 0x20 DUP2 LT PUSH1 0x0 EQ PUSH2 0x50B JUMPI POP SWAP1 PUSH1 0x1F DUP2 MLOAD GT PUSH2 0x4AF JUMPI PUSH1 0x20 DUP2 MLOAD SWAP2 ADD MLOAD PUSH1 0x20 DUP3 LT PUSH2 0x49F JUMPI OR SWAP1 JUMP JUMPDEST PUSH1 0x0 NOT DUP3 PUSH1 0x20 SUB PUSH1 0x3 SHL SHL AND OR SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH4 0x305A27A9 PUSH1 0xE0 SHL DUP3 MSTORE PUSH1 0x20 PUSH1 0x4 DUP4 ADD MSTORE DUP2 DUP2 MLOAD SWAP2 DUP3 PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x0 JUMPDEST DUP4 DUP2 LT PUSH2 0x4F3 JUMPI POP POP DUP2 PUSH1 0x0 PUSH1 0x44 DUP1 SWAP5 DUP5 ADD ADD MSTORE PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SUB ADD SWAP1 REVERT JUMPDEST PUSH1 0x20 DUP3 DUP3 ADD DUP2 ADD MLOAD PUSH1 0x44 DUP8 DUP5 ADD ADD MSTORE DUP6 SWAP4 POP ADD PUSH2 0x4D1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x348 JUMPI PUSH1 0x5 SLOAD PUSH1 0x1 DUP2 DUP2 SHR SWAP2 AND DUP1 ISZERO PUSH2 0x617 JUMPI JUMPDEST PUSH1 0x20 DUP3 LT EQ PUSH2 0x328 JUMPI PUSH1 0x1F DUP2 GT PUSH2 0x5E1 JUMPI JUMPDEST POP PUSH1 0x20 SWAP3 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x57C JUMPI SWAP3 DUP2 SWAP3 SWAP4 PUSH1 0x0 SWAP3 PUSH2 0x571 JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x5 SSTORE PUSH1 0xFF SWAP1 JUMP JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0x557 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP4 PUSH1 0x5 PUSH1 0x0 MSTORE DUP1 PUSH1 0x0 KECCAK256 SWAP2 PUSH1 0x0 JUMPDEST DUP7 DUP2 LT PUSH2 0x5C9 JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 LT PUSH2 0x5B0 JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x5 SSTORE PUSH1 0xFF SWAP1 JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x5A2 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x58F JUMP JUMPDEST PUSH1 0x5 PUSH1 0x0 MSTORE PUSH1 0x1F PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP2 ADD PUSH1 0x5 SHR DUP2 ADD SWAP1 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR ADD JUMPDEST DUP2 DUP2 LT PUSH2 0x60B JUMPI POP PUSH2 0x53C JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x5FE JUMP JUMPDEST SWAP1 PUSH1 0x7F AND SWAP1 PUSH2 0x52A JUMP JUMPDEST SWAP1 DUP2 MLOAD PUSH1 0x20 DUP2 LT PUSH1 0x0 EQ PUSH2 0x6A9 JUMPI POP SWAP1 PUSH1 0x1F DUP2 MLOAD GT PUSH2 0x64D JUMPI PUSH1 0x20 DUP2 MLOAD SWAP2 ADD MLOAD PUSH1 0x20 DUP3 LT PUSH2 0x49F JUMPI OR SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 PUSH4 0x305A27A9 PUSH1 0xE0 SHL DUP3 MSTORE PUSH1 0x20 PUSH1 0x4 DUP4 ADD MSTORE DUP2 DUP2 MLOAD SWAP2 DUP3 PUSH1 0x24 DUP4 ADD MSTORE PUSH1 0x0 JUMPDEST DUP4 DUP2 LT PUSH2 0x691 JUMPI POP POP DUP2 PUSH1 0x0 PUSH1 0x44 DUP1 SWAP5 DUP5 ADD ADD MSTORE PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SUB ADD SWAP1 REVERT JUMPDEST PUSH1 0x20 DUP3 DUP3 ADD DUP2 ADD MLOAD PUSH1 0x44 DUP8 DUP5 ADD ADD MSTORE DUP6 SWAP4 POP ADD PUSH2 0x66F JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP2 GT PUSH2 0x348 JUMPI PUSH1 0x6 SLOAD PUSH1 0x1 DUP2 DUP2 SHR SWAP2 AND DUP1 ISZERO PUSH2 0x7B5 JUMPI JUMPDEST PUSH1 0x20 DUP3 LT EQ PUSH2 0x328 JUMPI PUSH1 0x1F DUP2 GT PUSH2 0x77F JUMPI JUMPDEST POP PUSH1 0x20 SWAP3 PUSH1 0x1F DUP3 GT PUSH1 0x1 EQ PUSH2 0x71A JUMPI SWAP3 DUP2 SWAP3 SWAP4 PUSH1 0x0 SWAP3 PUSH2 0x70F JUMPI JUMPDEST POP POP DUP2 PUSH1 0x1 SHL SWAP2 PUSH1 0x0 NOT SWAP1 PUSH1 0x3 SHL SHR NOT AND OR PUSH1 0x6 SSTORE PUSH1 0xFF SWAP1 JUMP JUMPDEST ADD MLOAD SWAP1 POP CODESIZE DUP1 PUSH2 0x6F5 JUMP JUMPDEST PUSH1 0x1F NOT DUP3 AND SWAP4 PUSH1 0x6 PUSH1 0x0 MSTORE DUP1 PUSH1 0x0 KECCAK256 SWAP2 PUSH1 0x0 JUMPDEST DUP7 DUP2 LT PUSH2 0x767 JUMPI POP DUP4 PUSH1 0x1 SWAP6 SWAP7 LT PUSH2 0x74E JUMPI JUMPDEST POP POP POP DUP2 SHL ADD PUSH1 0x6 SSTORE PUSH1 0xFF SWAP1 JUMP JUMPDEST ADD MLOAD PUSH1 0x0 NOT PUSH1 0xF8 DUP5 PUSH1 0x3 SHL AND SHR NOT AND SWAP1 SSTORE CODESIZE DUP1 DUP1 PUSH2 0x740 JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x20 PUSH1 0x1 DUP2 SWAP3 DUP7 DUP6 ADD MLOAD DUP2 SSTORE ADD SWAP5 ADD SWAP3 ADD PUSH2 0x72D JUMP JUMPDEST PUSH1 0x6 PUSH1 0x0 MSTORE PUSH1 0x1F PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP2 ADD PUSH1 0x5 SHR DUP2 ADD SWAP1 PUSH1 0x1F DUP4 ADD PUSH1 0x5 SHR ADD JUMPDEST DUP2 DUP2 LT PUSH2 0x7A9 JUMPI POP PUSH2 0x6DA JUMP JUMPDEST PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x79C JUMP JUMPDEST SWAP1 PUSH1 0x7F AND SWAP1 PUSH2 0x6C8 JUMP INVALID PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x6FDDE03 EQ PUSH2 0x6EB JUMPI POP DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x6C5 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x6A7 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x5BA JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x59E JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x57B JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x541 JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x507 JUMPI DUP1 PUSH4 0x84B0196E EQ PUSH2 0x40A JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x325 JUMPI DUP1 PUSH4 0xA0712D68 EQ PUSH2 0x28B JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x25A JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0x10F JUMPI PUSH4 0xDD62ED3E EQ PUSH2 0xB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0xD2 PUSH2 0x7D1 JUMP JUMPDEST PUSH2 0xDA PUSH2 0x7E7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP4 AND DUP3 MSTORE SWAP3 DUP4 MSTORE DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0xE0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x128 PUSH2 0x7D1 JUMP JUMPDEST PUSH2 0x130 PUSH2 0x7E7 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 SUB PUSH2 0x10A JUMPI DUP5 TIMESTAMP GT PUSH2 0x245 JUMPI PUSH2 0x206 PUSH2 0x20F SWAP2 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP7 DUP8 PUSH1 0x0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 DUP2 SLOAD SWAP2 PUSH1 0x1 DUP4 ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 PUSH1 0x20 DUP3 ADD SWAP3 PUSH32 0x6E71EDAE12B1B97F4D1F60370FEF10105FA2FAAE0126114A169C64845D6126C9 DUP5 MSTORE DUP11 PUSH1 0x40 DUP5 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP10 AND PUSH1 0x60 DUP5 ADD MSTORE DUP10 PUSH1 0x80 DUP5 ADD MSTORE PUSH1 0xA0 DUP4 ADD MSTORE PUSH1 0xC0 DUP3 ADD MSTORE PUSH1 0xC0 DUP2 MSTORE PUSH2 0x1D4 PUSH1 0xE0 DUP3 PUSH2 0x8BA JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH2 0x1DF PUSH2 0x9A1 JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD SWAP2 PUSH2 0x1901 PUSH1 0xF0 SHL DUP4 MSTORE PUSH1 0x2 DUP4 ADD MSTORE PUSH1 0x22 DUP3 ADD MSTORE PUSH1 0xC4 CALLDATALOAD SWAP2 PUSH1 0x42 PUSH1 0xA4 CALLDATALOAD SWAP3 KECCAK256 PUSH2 0xBC2 JUMP JUMPDEST SWAP1 SWAP3 SWAP2 SWAP3 PUSH2 0xC57 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 DUP2 SUB PUSH2 0x22C JUMPI POP PUSH2 0x22A SWAP4 POP PUSH2 0xABD JUMP JUMPDEST STOP JUMPDEST DUP5 SWAP1 PUSH4 0x25C00723 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST DUP5 PUSH4 0x313C8981 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x280 PUSH2 0x276 PUSH2 0x7D1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 CALLER PUSH2 0x8F2 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x4 CALLDATALOAD CALLER ISZERO PUSH2 0x30F JUMPI PUSH1 0x2 SLOAD DUP2 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x2F9 JUMPI PUSH1 0x2 SSTORE PUSH1 0x0 SWAP1 CALLER DUP3 MSTORE DUP2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP2 DUP2 SLOAD ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE DUP2 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF PUSH1 0x20 CALLER SWAP4 LOG3 DUP1 RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0xEC442F05 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x4 SLOAD PUSH2 0x347 DUP2 PUSH2 0x7FD JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x3E6 JUMPI POP PUSH1 0x1 EQ PUSH2 0x387 JUMPI JUMPDEST PUSH2 0x383 DUP4 PUSH2 0x36F DUP2 DUP6 SUB DUP3 PUSH2 0x8BA JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 PUSH1 0x20 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x790 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH1 0x4 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x8A35ACFBC15FF81A39AE7D344FD709F28E8600B4AA8C65C6B64BFE7FE36BD19B SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x3CC JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x36F PUSH2 0x35F JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x3B4 JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x5 SHL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH2 0x36F SWAP1 POP PUSH2 0x35F JUMP JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x4A9 PUSH2 0x447 PUSH32 0x0 PUSH2 0xB24 JUMP JUMPDEST PUSH2 0x470 PUSH32 0x0 PUSH2 0xB8B JUMP JUMPDEST PUSH1 0x20 PUSH2 0x4B7 PUSH1 0x40 MLOAD SWAP3 PUSH2 0x483 DUP4 DUP6 PUSH2 0x8BA JUMP JUMPDEST PUSH1 0x0 DUP5 MSTORE PUSH1 0x0 CALLDATASIZE DUP2 CALLDATACOPY PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP6 PUSH1 0xF PUSH1 0xF8 SHL DUP8 MSTORE PUSH1 0xE0 DUP6 DUP9 ADD MSTORE PUSH1 0xE0 DUP8 ADD SWAP1 PUSH2 0x790 JUMP JUMPDEST SWAP1 DUP6 DUP3 SUB PUSH1 0x40 DUP8 ADD MSTORE PUSH2 0x790 JUMP JUMPDEST CHAINID PUSH1 0x60 DUP6 ADD MSTORE ADDRESS PUSH1 0x80 DUP6 ADD MSTORE PUSH1 0x0 PUSH1 0xA0 DUP6 ADD MSTORE DUP4 DUP2 SUB PUSH1 0xC0 DUP6 ADD MSTORE DUP2 DUP1 DUP5 MLOAD SWAP3 DUP4 DUP2 MSTORE ADD SWAP4 ADD SWAP2 PUSH1 0x0 JUMPDEST DUP3 DUP2 LT PUSH2 0x4F0 JUMPI POP POP POP POP SUB SWAP1 RETURN JUMPDEST DUP4 MLOAD DUP6 MSTORE DUP7 SWAP6 POP SWAP4 DUP2 ADD SWAP4 SWAP3 DUP2 ADD SWAP3 PUSH1 0x1 ADD PUSH2 0x4E1 JUMP JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x528 PUSH2 0x7D1 JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x562 PUSH2 0x7D1 JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x20 PUSH2 0x596 PUSH2 0x9A1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x6 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x5D3 PUSH2 0x7D1 JUMP JUMPDEST PUSH2 0x5DB PUSH2 0x7E7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD SWAP1 SWAP3 PUSH1 0x44 CALLDATALOAD SWAP3 SWAP2 PUSH1 0x0 NOT DUP2 LT PUSH2 0x61B JUMPI JUMPDEST POP PUSH2 0x280 SWAP4 POP PUSH2 0x8F2 JUMP JUMPDEST DUP4 DUP2 LT PUSH2 0x68A JUMPI DUP5 ISZERO PUSH2 0x674 JUMPI CALLER ISZERO PUSH2 0x65E JUMPI PUSH2 0x280 SWAP5 PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE DUP4 PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP2 SUB SWAP1 SSTORE DUP5 PUSH2 0x610 JUMP JUMPDEST PUSH4 0x4A1406B1 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0xE602DF05 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP4 SWAP1 PUSH4 0x7DC7A0D9 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 MSTORE PUSH1 0x64 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x20 PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x280 PUSH2 0x6E1 PUSH2 0x7D1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 CALLER PUSH2 0xABD JUMP JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x0 PUSH1 0x3 SLOAD PUSH2 0x70A DUP2 PUSH2 0x7FD JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x3E6 JUMPI POP PUSH1 0x1 EQ PUSH2 0x731 JUMPI PUSH2 0x383 DUP4 PUSH2 0x36F DUP2 DUP6 SUB DUP3 PUSH2 0x8BA JUMP JUMPDEST PUSH1 0x3 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x776 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x36F PUSH2 0x35F JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x75E JUMP JUMPDEST SWAP2 SWAP1 DUP3 MLOAD SWAP3 DUP4 DUP3 MSTORE PUSH1 0x0 JUMPDEST DUP5 DUP2 LT PUSH2 0x7BC JUMPI POP POP DUP3 PUSH1 0x0 PUSH1 0x20 DUP1 SWAP5 SWAP6 DUP5 ADD ADD MSTORE PUSH1 0x1F DUP1 NOT SWAP2 ADD AND ADD ADD SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x20 DUP1 SWAP3 DUP5 ADD ADD MLOAD DUP3 DUP3 DUP7 ADD ADD MSTORE ADD PUSH2 0x79B JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x10A JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x10A JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x82D JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x817 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x80C JUMP JUMPDEST PUSH1 0x0 SWAP3 SWAP2 DUP2 SLOAD SWAP2 PUSH2 0x847 DUP4 PUSH2 0x7FD JUMP JUMPDEST DUP1 DUP4 MSTORE SWAP3 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x89D JUMPI POP PUSH1 0x1 EQ PUSH2 0x863 JUMPI POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 SWAP4 SWAP5 POP SWAP2 SWAP3 JUMPDEST DUP4 DUP4 LT PUSH2 0x883 JUMPI POP PUSH1 0x20 SWAP3 POP ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SWAP5 SWAP4 SWAP5 SLOAD DUP4 DUP6 DUP8 ADD ADD MSTORE ADD SWAP2 ADD SWAP2 SWAP1 PUSH2 0x872 JUMP JUMPDEST SWAP2 POP POP PUSH1 0x20 SWAP4 SWAP5 POP PUSH1 0xFF SWAP3 SWAP2 SWAP3 NOT AND DUP4 DUP4 ADD MSTORE ISZERO ISZERO PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x8DC JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO PUSH2 0x98B JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 ISZERO PUSH2 0x30F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE DUP1 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 DUP2 LT PUSH2 0x971 JUMPI SWAP2 PUSH1 0x40 DUP3 DUP3 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP6 DUP8 PUSH1 0x20 SWAP7 MSTORE DUP3 DUP7 MSTORE SUB DUP3 DUP3 KECCAK256 SSTORE DUP7 DUP2 MSTORE DUP1 DUP5 MSTORE KECCAK256 DUP2 DUP2 SLOAD ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 JUMP JUMPDEST SWAP2 PUSH1 0x64 SWAP3 DUP5 PUSH4 0x391434E3 PUSH1 0xE2 SHL DUP5 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 MSTORE REVERT JUMPDEST PUSH4 0x4B637E8F PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0xA94 JUMPI JUMPDEST ISZERO PUSH2 0x9FC JUMPI PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP3 MSTORE PUSH32 0x0 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x0 PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0xA8E PUSH1 0xC0 DUP3 PUSH2 0x8BA JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST POP PUSH32 0x0 CHAINID EQ PUSH2 0x9D3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO PUSH2 0x674 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 ISZERO PUSH2 0x65E JUMPI PUSH1 0x20 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP2 DUP4 PUSH1 0x0 MSTORE PUSH1 0x1 DUP3 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP6 PUSH1 0x0 MSTORE DUP3 MSTORE DUP1 PUSH1 0x40 PUSH1 0x0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 JUMP JUMPDEST PUSH1 0xFF DUP2 EQ PUSH2 0xB6E JUMPI PUSH1 0xFF DUP2 AND SWAP1 PUSH1 0x1F DUP3 GT PUSH2 0xB5D JUMPI PUSH1 0x40 DUP1 MLOAD SWAP3 PUSH2 0xB48 DUP3 DUP6 PUSH2 0x8BA JUMP JUMPDEST PUSH1 0x20 DUP1 DUP6 MSTORE DUP5 ADD SWAP2 PUSH1 0x1F NOT ADD CALLDATASIZE DUP4 CALLDATACOPY DUP4 MSTORE MSTORE SWAP1 JUMP JUMPDEST PUSH4 0x2CD44AC3 PUSH1 0xE2 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xB88 DUP2 PUSH2 0xB81 DUP2 PUSH1 0x5 PUSH2 0x837 JUMP JUMPDEST SUB DUP3 PUSH2 0x8BA JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0xFF DUP2 EQ PUSH2 0xBAF JUMPI PUSH1 0xFF DUP2 AND SWAP1 PUSH1 0x1F DUP3 GT PUSH2 0xB5D JUMPI PUSH1 0x40 DUP1 MLOAD SWAP3 PUSH2 0xB48 DUP3 DUP6 PUSH2 0x8BA JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xB88 DUP2 PUSH2 0xB81 DUP2 PUSH1 0x6 PUSH2 0x837 JUMP JUMPDEST SWAP2 SWAP1 PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 DUP5 GT PUSH2 0xC4B JUMPI SWAP2 PUSH1 0x20 SWAP4 PUSH1 0x80 SWAP3 PUSH1 0xFF PUSH1 0x0 SWAP6 PUSH1 0x40 MLOAD SWAP5 DUP6 MSTORE AND DUP7 DUP5 ADD MSTORE PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE DUP3 DUP1 MSTORE PUSH1 0x1 GAS STATICCALL ISZERO PUSH2 0xC3F JUMPI PUSH1 0x0 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0xC33 JUMPI SWAP1 PUSH1 0x0 SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 PUSH1 0x1 SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST POP POP POP PUSH1 0x0 SWAP2 PUSH1 0x3 SWAP2 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH1 0x4 DUP2 LT ISZERO PUSH2 0xCC9 JUMPI DUP1 PUSH2 0xC6D JUMPI POP SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP3 SUB PUSH2 0xC88 JUMPI PUSH4 0xF645EEDF PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x2 DUP2 SUB PUSH2 0xCA6 JUMPI DUP3 PUSH4 0xFCE698F7 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 SWAP2 PUSH1 0x3 PUSH1 0x0 SWAP3 EQ PUSH2 0xCB6 JUMPI POP POP JUMP JUMPDEST PUSH4 0x35E2F383 PUSH1 0xE2 SHL DUP3 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 SWAP2 POP REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xF8 0x4F 0x4B 0xEE 0xD DUP15 NUMBER 0xFC SMOD 0xB4 PUSH21 0x860960CD2C652820B396A947F9B5D0737900C4E111 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"268:383:40:-:0;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;268:383:40;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;268:383:40;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;268:383:40;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;268:383:40;;;;;;;;;;-1:-1:-1;;;;;268:383:40;;;;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;268:383:40;;;;1671:17:4;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;;1671:17:4;268:383:40;;3501:45:22;;;:::i;:::-;3493:53;;3567:51;;;:::i;:::-;3556:62;;268:383:40;3642:22:22;;3628:36;;;;268:383:40;3691:25:22;;3674:42;;;3744:13;3727:30;;268:383:40;;4304:80:22;268:383:40;4304:80:22;;2079:95;;;;268:383:40;2079:95:22;;;;;;;3744:13;2079:95;;;;4378:4;3727:30;2079:95;;;3727:30;4304:80;;;;;;:::i;:::-;268:383:40;4294:91:22;;2079:95;3767:48;4378:4;4304:80;3825:27;268:383:40;;;;;;;;2079:95:22;268:383:40;;;;;3727:30:22;268:383:40;;;;;4304:80:22;268:383:40;;;;;3628:36:22;268:383:40;;;;;3674:42:22;268:383:40;;;;;3493:53:22;268:383:40;;;;;3556:62:22;268:383:40;;;;;;;;;;-1:-1:-1;268:383:40;;;;;1671:17:4;-1:-1:-1;268:383:40;;;;;;;-1:-1:-1;;;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:17:4;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:17:4;-1:-1:-1;268:383:40;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;;-1:-1:-1;268:383:40;;;;;;;-1:-1:-1;268:383:40;;;;;;;;-1:-1:-1;268:383:40;;1671:17:4;268:383:40;;-1:-1:-1;268:383:40;;;;;;;;;;;;-1:-1:-1;268:383:40;;1671:17:4;268:383:40;;-1:-1:-1;268:383:40;;;;;-1:-1:-1;268:383:40;;;;;;-1:-1:-1;268:383:40;;;;;;;-1:-1:-1;;;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;;-1:-1:-1;268:383:40;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;-1:-1:-1;;;;;268:383:40;;;;;;;;;;:::o;2887:340:18:-;;268:383:40;;3032:2:18;3010:24;;3006:215;3032:2;;;268:383:40;;1854:2:18;268:383:40;;1840:16:18;1836:72;;3032:2;268:383:40;;;;2079:95:22;3032:2:18;268:383:40;;;;1949:36:18;3050:27;:::o;268:383:40:-;;;;3032:2:18;268:383:40;;;;;1949:36:18;3050:27;:::o;1836:72::-;268:383:40;;1879:18:18;;;;;;3032:2;1879:18;;;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;1854:2:18;268:383:40;;;;;;;1879:18:18;;;;268:383:40;3032:2:18;268:383:40;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;3006:215:18;-1:-1:-1;;;;;268:383:40;;;;3532:13:22;268:383:40;;;;;;;;;;;3006:215:18;3032:2;268:383:40;;;;;;;;;;3006:215:18;268:383:40;3032:2:18;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3532:13:22;268:383:40;1390:66:18;3168:42;:::o;268:383:40:-;;;;-1:-1:-1;268:383:40;;;;;;;;;;3532:13:22;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;3532:13:22;268:383:40;1390:66:18;3168:42;:::o;268:383:40:-;;;;;;;;;;;;;;;;;;;;;;;3032:2:18;268:383:40;;;;;;;;;;;;;;;;;3532:13:22;268:383:40;;;3032:2:18;268:383:40;;;;3532:13:22;268:383:40;;;;;;;3532:13:22;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;2887:340:18;;268:383:40;;3032:2:18;3010:24;;3006:215;3032:2;;;268:383:40;;1854:2:18;268:383:40;;1840:16:18;1836:72;;3032:2;268:383:40;;;;2079:95:22;3032:2:18;268:383:40;;;;1949:36:18;3050:27;:::o;1836:72::-;268:383:40;;1879:18:18;;;;;;3032:2;1879:18;;;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;1854:2:18;268:383:40;;;;;;;1879:18:18;;;;268:383:40;3032:2:18;268:383:40;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;3006:215:18;-1:-1:-1;;;;;268:383:40;;;;3601:16:22;268:383:40;;;;;;;;;;;3006:215:18;3032:2;268:383:40;;;;;;;;;;3006:215:18;268:383:40;3032:2:18;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3601:16:22;268:383:40;1390:66:18;3168:42;:::o;268:383:40:-;;;;-1:-1:-1;268:383:40;;;;;;;;;;3601:16:22;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;3601:16:22;268:383:40;1390:66:18;3168:42;:::o;268:383:40:-;;;;;;;;;;;;;;;;;;;;;;;3032:2:18;268:383:40;;;;;;;;;;;;;;;;;3601:16:22;268:383:40;;;3032:2:18;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"abi_decode_address":{"entryPoint":2023,"id":null,"parameterSlots":0,"returnSlots":1},"abi_decode_address_5759":{"entryPoint":2001,"id":null,"parameterSlots":0,"returnSlots":1},"abi_encode_string":{"entryPoint":1936,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_string_storage":{"entryPoint":2103,"id":null,"parameterSlots":2,"returnSlots":1},"extract_byte_array_length":{"entryPoint":2045,"id":null,"parameterSlots":1,"returnSlots":1},"finalize_allocation":{"entryPoint":2234,"id":null,"parameterSlots":2,"returnSlots":0},"fun_approve":{"entryPoint":2749,"id":1006,"parameterSlots":3,"returnSlots":0},"fun_domainSeparatorV4":{"entryPoint":2465,"id":4979,"parameterSlots":0,"returnSlots":1},"fun_throwError":{"entryPoint":3159,"id":4855,"parameterSlots":2,"returnSlots":0},"fun_toStringWithFallback":{"entryPoint":2852,"id":2950,"parameterSlots":1,"returnSlots":1},"fun_toStringWithFallback_5767":{"entryPoint":2955,"id":2950,"parameterSlots":1,"returnSlots":1},"fun_transfer":{"entryPoint":2290,"id":785,"parameterSlots":3,"returnSlots":0},"fun_tryRecover":{"entryPoint":3010,"id":4770,"parameterSlots":4,"returnSlots":3}},"generatedSources":[],"immutableReferences":{"4877":[{"length":32,"start":2522}],"4879":[{"length":32,"start":2711}],"4881":[{"length":32,"start":2468}],"4883":[{"length":32,"start":2601}],"4885":[{"length":32,"start":2639}],"4888":[{"length":32,"start":1059}],"4891":[{"length":32,"start":1100}]},"linkReferences":{},"object":"608080604052600436101561001357600080fd5b60003560e01c90816306fdde03146106eb57508063095ea7b3146106c557806318160ddd146106a757806323b872dd146105ba578063313ce5671461059e5780633644e5151461057b57806370a08231146105415780637ecebe001461050757806384b0196e1461040a57806395d89b4114610325578063a0712d681461028b578063a9059cbb1461025a578063d505accf1461010f5763dd62ed3e146100b957600080fd5b3461010a57604036600319011261010a576100d26107d1565b6100da6107e7565b6001600160a01b039182166000908152600160209081526040808320949093168252928352819020549051908152f35b600080fd5b3461010a5760e036600319011261010a576101286107d1565b6101306107e7565b604435906064359260843560ff8116810361010a578442116102455761020661020f9160018060a01b038416968760005260076020526040600020908154916001830190556040519060208201927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c984528a604084015260018060a01b038916606084015289608084015260a083015260c082015260c081526101d460e0826108ba565b5190206101df6109a1565b906040519161190160f01b83526002830152602282015260c43591604260a4359220610bc2565b90929192610c57565b6001600160a01b031684810361022c575061022a9350610abd565b005b84906325c0072360e11b60005260045260245260446000fd5b8463313c898160e11b60005260045260246000fd5b3461010a57604036600319011261010a576102806102766107d1565b60243590336108f2565b602060405160018152f35b3461010a57602036600319011261010a57600435331561030f576002548181018091116102f9576002556000903382528160205260408220818154019055604051908152817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a380f35b634e487b7160e01b600052601160045260246000fd5b63ec442f0560e01b600052600060045260246000fd5b3461010a57600036600319011261010a576040516000600454610347816107fd565b80845290600181169081156103e65750600114610387575b6103838361036f818503826108ba565b604051918291602083526020830190610790565b0390f35b600460009081527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b939250905b8082106103cc5750909150810160200161036f61035f565b9192600181602092548385880101520191019092916103b4565b60ff191660208086019190915291151560051b8401909101915061036f905061035f565b3461010a57600036600319011261010a576104a96104477f0000000000000000000000000000000000000000000000000000000000000000610b24565b6104707f0000000000000000000000000000000000000000000000000000000000000000610b8b565b60206104b76040519261048383856108ba565b600084526000368137604051958695600f60f81b875260e08588015260e0870190610790565b908582036040870152610790565b466060850152306080850152600060a085015283810360c085015281808451928381520193019160005b8281106104f057505050500390f35b8351855286955093810193928101926001016104e1565b3461010a57602036600319011261010a576001600160a01b036105286107d1565b1660005260076020526020604060002054604051908152f35b3461010a57602036600319011261010a576001600160a01b036105626107d1565b1660005260006020526020604060002054604051908152f35b3461010a57600036600319011261010a5760206105966109a1565b604051908152f35b3461010a57600036600319011261010a57602060405160068152f35b3461010a57606036600319011261010a576105d36107d1565b6105db6107e7565b6001600160a01b038216600081815260016020908152604080832033845290915290205490926044359291600019811061061b575b5061028093506108f2565b83811061068a57841561067457331561065e57610280946000526001602052604060002060018060a01b0333166000526020528360406000209103905584610610565b634a1406b160e11b600052600060045260246000fd5b63e602df0560e01b600052600060045260246000fd5b8390637dc7a0d960e11b6000523360045260245260445260646000fd5b3461010a57600036600319011261010a576020600254604051908152f35b3461010a57604036600319011261010a576102806106e16107d1565b6024359033610abd565b3461010a57600036600319011261010a57600060035461070a816107fd565b80845290600181169081156103e65750600114610731576103838361036f818503826108ba565b600360009081527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b939250905b8082106107765750909150810160200161036f61035f565b91926001816020925483858801015201910190929161075e565b919082519283825260005b8481106107bc575050826000602080949584010152601f8019910116010190565b8060208092840101518282860101520161079b565b600435906001600160a01b038216820361010a57565b602435906001600160a01b038216820361010a57565b90600182811c9216801561082d575b602083101461081757565b634e487b7160e01b600052602260045260246000fd5b91607f169161080c565b60009291815491610847836107fd565b808352926001811690811561089d575060011461086357505050565b60009081526020812093945091925b838310610883575060209250010190565b600181602092949394548385870101520191019190610872565b915050602093945060ff929192191683830152151560051b010190565b90601f8019910116810190811067ffffffffffffffff8211176108dc57604052565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b031690811561098b576001600160a01b031691821561030f5760008281528060205260408120548281106109715791604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815280845220818154019055604051908152a3565b916064928463391434e360e21b8452600452602452604452fd5b634b637e8f60e11b600052600060045260246000fd5b307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161480610a94575b156109fc577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152610a8e60c0826108ba565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000046146109d3565b6001600160a01b0316908115610674576001600160a01b031691821561065e5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60ff8114610b6e5760ff811690601f8211610b5d576040805192610b4882856108ba565b6020808552840191601f190136833783525290565b632cd44ac360e21b60005260046000fd5b50604051610b8881610b81816005610837565b03826108ba565b90565b60ff8114610baf5760ff811690601f8211610b5d576040805192610b4882856108ba565b50604051610b8881610b81816006610837565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411610c4b579160209360809260ff60009560405194855216868401526040830152606082015282805260015afa15610c3f576000516001600160a01b03811615610c335790600090600090565b50600090600190600090565b6040513d6000823e3d90fd5b50505060009160039190565b9190916004811015610cc95780610c6d57509050565b600060018203610c885763f645eedf60e01b60005260046000fd5b5060028103610ca6578263fce698f760e01b60005260045260246000fd5b9091600360009214610cb6575050565b6335e2f38360e21b825260045260249150fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f84f4bee0d8e43fc07b474860960cd2c652820b396a947f9b5d0737900c4e11164736f6c634300081c0033","opcodes":"PUSH1 0x80 DUP1 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT ISZERO PUSH2 0x13 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR SWAP1 DUP2 PUSH4 0x6FDDE03 EQ PUSH2 0x6EB JUMPI POP DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x6C5 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x6A7 JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x5BA JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x59E JUMPI DUP1 PUSH4 0x3644E515 EQ PUSH2 0x57B JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x541 JUMPI DUP1 PUSH4 0x7ECEBE00 EQ PUSH2 0x507 JUMPI DUP1 PUSH4 0x84B0196E EQ PUSH2 0x40A JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x325 JUMPI DUP1 PUSH4 0xA0712D68 EQ PUSH2 0x28B JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x25A JUMPI DUP1 PUSH4 0xD505ACCF EQ PUSH2 0x10F JUMPI PUSH4 0xDD62ED3E EQ PUSH2 0xB9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0xD2 PUSH2 0x7D1 JUMP JUMPDEST PUSH2 0xDA PUSH2 0x7E7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 SWAP1 SWAP4 AND DUP3 MSTORE SWAP3 DUP4 MSTORE DUP2 SWAP1 KECCAK256 SLOAD SWAP1 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0xE0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x128 PUSH2 0x7D1 JUMP JUMPDEST PUSH2 0x130 PUSH2 0x7E7 JUMP JUMPDEST PUSH1 0x44 CALLDATALOAD SWAP1 PUSH1 0x64 CALLDATALOAD SWAP3 PUSH1 0x84 CALLDATALOAD PUSH1 0xFF DUP2 AND DUP2 SUB PUSH2 0x10A JUMPI DUP5 TIMESTAMP GT PUSH2 0x245 JUMPI PUSH2 0x206 PUSH2 0x20F SWAP2 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP7 DUP8 PUSH1 0x0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP1 DUP2 SLOAD SWAP2 PUSH1 0x1 DUP4 ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 PUSH1 0x20 DUP3 ADD SWAP3 PUSH32 0x6E71EDAE12B1B97F4D1F60370FEF10105FA2FAAE0126114A169C64845D6126C9 DUP5 MSTORE DUP11 PUSH1 0x40 DUP5 ADD MSTORE PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB DUP10 AND PUSH1 0x60 DUP5 ADD MSTORE DUP10 PUSH1 0x80 DUP5 ADD MSTORE PUSH1 0xA0 DUP4 ADD MSTORE PUSH1 0xC0 DUP3 ADD MSTORE PUSH1 0xC0 DUP2 MSTORE PUSH2 0x1D4 PUSH1 0xE0 DUP3 PUSH2 0x8BA JUMP JUMPDEST MLOAD SWAP1 KECCAK256 PUSH2 0x1DF PUSH2 0x9A1 JUMP JUMPDEST SWAP1 PUSH1 0x40 MLOAD SWAP2 PUSH2 0x1901 PUSH1 0xF0 SHL DUP4 MSTORE PUSH1 0x2 DUP4 ADD MSTORE PUSH1 0x22 DUP3 ADD MSTORE PUSH1 0xC4 CALLDATALOAD SWAP2 PUSH1 0x42 PUSH1 0xA4 CALLDATALOAD SWAP3 KECCAK256 PUSH2 0xBC2 JUMP JUMPDEST SWAP1 SWAP3 SWAP2 SWAP3 PUSH2 0xC57 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 DUP2 SUB PUSH2 0x22C JUMPI POP PUSH2 0x22A SWAP4 POP PUSH2 0xABD JUMP JUMPDEST STOP JUMPDEST DUP5 SWAP1 PUSH4 0x25C00723 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 PUSH1 0x0 REVERT JUMPDEST DUP5 PUSH4 0x313C8981 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x280 PUSH2 0x276 PUSH2 0x7D1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 CALLER PUSH2 0x8F2 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x4 CALLDATALOAD CALLER ISZERO PUSH2 0x30F JUMPI PUSH1 0x2 SLOAD DUP2 DUP2 ADD DUP1 SWAP2 GT PUSH2 0x2F9 JUMPI PUSH1 0x2 SSTORE PUSH1 0x0 SWAP1 CALLER DUP3 MSTORE DUP2 PUSH1 0x20 MSTORE PUSH1 0x40 DUP3 KECCAK256 DUP2 DUP2 SLOAD ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE DUP2 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF PUSH1 0x20 CALLER SWAP4 LOG3 DUP1 RETURN JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0xEC442F05 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x4 SLOAD PUSH2 0x347 DUP2 PUSH2 0x7FD JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x3E6 JUMPI POP PUSH1 0x1 EQ PUSH2 0x387 JUMPI JUMPDEST PUSH2 0x383 DUP4 PUSH2 0x36F DUP2 DUP6 SUB DUP3 PUSH2 0x8BA JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP2 DUP3 SWAP2 PUSH1 0x20 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP1 PUSH2 0x790 JUMP JUMPDEST SUB SWAP1 RETURN JUMPDEST PUSH1 0x4 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0x8A35ACFBC15FF81A39AE7D344FD709F28E8600B4AA8C65C6B64BFE7FE36BD19B SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x3CC JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x36F PUSH2 0x35F JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x3B4 JUMP JUMPDEST PUSH1 0xFF NOT AND PUSH1 0x20 DUP1 DUP7 ADD SWAP2 SWAP1 SWAP2 MSTORE SWAP2 ISZERO ISZERO PUSH1 0x5 SHL DUP5 ADD SWAP1 SWAP2 ADD SWAP2 POP PUSH2 0x36F SWAP1 POP PUSH2 0x35F JUMP JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x4A9 PUSH2 0x447 PUSH32 0x0 PUSH2 0xB24 JUMP JUMPDEST PUSH2 0x470 PUSH32 0x0 PUSH2 0xB8B JUMP JUMPDEST PUSH1 0x20 PUSH2 0x4B7 PUSH1 0x40 MLOAD SWAP3 PUSH2 0x483 DUP4 DUP6 PUSH2 0x8BA JUMP JUMPDEST PUSH1 0x0 DUP5 MSTORE PUSH1 0x0 CALLDATASIZE DUP2 CALLDATACOPY PUSH1 0x40 MLOAD SWAP6 DUP7 SWAP6 PUSH1 0xF PUSH1 0xF8 SHL DUP8 MSTORE PUSH1 0xE0 DUP6 DUP9 ADD MSTORE PUSH1 0xE0 DUP8 ADD SWAP1 PUSH2 0x790 JUMP JUMPDEST SWAP1 DUP6 DUP3 SUB PUSH1 0x40 DUP8 ADD MSTORE PUSH2 0x790 JUMP JUMPDEST CHAINID PUSH1 0x60 DUP6 ADD MSTORE ADDRESS PUSH1 0x80 DUP6 ADD MSTORE PUSH1 0x0 PUSH1 0xA0 DUP6 ADD MSTORE DUP4 DUP2 SUB PUSH1 0xC0 DUP6 ADD MSTORE DUP2 DUP1 DUP5 MLOAD SWAP3 DUP4 DUP2 MSTORE ADD SWAP4 ADD SWAP2 PUSH1 0x0 JUMPDEST DUP3 DUP2 LT PUSH2 0x4F0 JUMPI POP POP POP POP SUB SWAP1 RETURN JUMPDEST DUP4 MLOAD DUP6 MSTORE DUP7 SWAP6 POP SWAP4 DUP2 ADD SWAP4 SWAP3 DUP2 ADD SWAP3 PUSH1 0x1 ADD PUSH2 0x4E1 JUMP JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x528 PUSH2 0x7D1 JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x7 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x20 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB PUSH2 0x562 PUSH2 0x7D1 JUMP JUMPDEST AND PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x20 MSTORE PUSH1 0x20 PUSH1 0x40 PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x20 PUSH2 0x596 PUSH2 0x9A1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x20 PUSH1 0x40 MLOAD PUSH1 0x6 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x60 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x5D3 PUSH2 0x7D1 JUMP JUMPDEST PUSH2 0x5DB PUSH2 0x7E7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 CALLER DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD SWAP1 SWAP3 PUSH1 0x44 CALLDATALOAD SWAP3 SWAP2 PUSH1 0x0 NOT DUP2 LT PUSH2 0x61B JUMPI JUMPDEST POP PUSH2 0x280 SWAP4 POP PUSH2 0x8F2 JUMP JUMPDEST DUP4 DUP2 LT PUSH2 0x68A JUMPI DUP5 ISZERO PUSH2 0x674 JUMPI CALLER ISZERO PUSH2 0x65E JUMPI PUSH2 0x280 SWAP5 PUSH1 0x0 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x1 DUP1 PUSH1 0xA0 SHL SUB CALLER AND PUSH1 0x0 MSTORE PUSH1 0x20 MSTORE DUP4 PUSH1 0x40 PUSH1 0x0 KECCAK256 SWAP2 SUB SWAP1 SSTORE DUP5 PUSH2 0x610 JUMP JUMPDEST PUSH4 0x4A1406B1 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0xE602DF05 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST DUP4 SWAP1 PUSH4 0x7DC7A0D9 PUSH1 0xE1 SHL PUSH1 0x0 MSTORE CALLER PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 MSTORE PUSH1 0x64 PUSH1 0x0 REVERT JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x20 PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE RETURN JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x40 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH2 0x280 PUSH2 0x6E1 PUSH2 0x7D1 JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 CALLER PUSH2 0xABD JUMP JUMPDEST CALLVALUE PUSH2 0x10A JUMPI PUSH1 0x0 CALLDATASIZE PUSH1 0x3 NOT ADD SLT PUSH2 0x10A JUMPI PUSH1 0x0 PUSH1 0x3 SLOAD PUSH2 0x70A DUP2 PUSH2 0x7FD JUMP JUMPDEST DUP1 DUP5 MSTORE SWAP1 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x3E6 JUMPI POP PUSH1 0x1 EQ PUSH2 0x731 JUMPI PUSH2 0x383 DUP4 PUSH2 0x36F DUP2 DUP6 SUB DUP3 PUSH2 0x8BA JUMP JUMPDEST PUSH1 0x3 PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH32 0xC2575A0E9E593C00F959F8C92F12DB2869C3395A3B0502D05E2516446F71F85B SWAP4 SWAP3 POP SWAP1 JUMPDEST DUP1 DUP3 LT PUSH2 0x776 JUMPI POP SWAP1 SWAP2 POP DUP2 ADD PUSH1 0x20 ADD PUSH2 0x36F PUSH2 0x35F JUMP JUMPDEST SWAP2 SWAP3 PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SLOAD DUP4 DUP6 DUP9 ADD ADD MSTORE ADD SWAP2 ADD SWAP1 SWAP3 SWAP2 PUSH2 0x75E JUMP JUMPDEST SWAP2 SWAP1 DUP3 MLOAD SWAP3 DUP4 DUP3 MSTORE PUSH1 0x0 JUMPDEST DUP5 DUP2 LT PUSH2 0x7BC JUMPI POP POP DUP3 PUSH1 0x0 PUSH1 0x20 DUP1 SWAP5 SWAP6 DUP5 ADD ADD MSTORE PUSH1 0x1F DUP1 NOT SWAP2 ADD AND ADD ADD SWAP1 JUMP JUMPDEST DUP1 PUSH1 0x20 DUP1 SWAP3 DUP5 ADD ADD MLOAD DUP3 DUP3 DUP7 ADD ADD MSTORE ADD PUSH2 0x79B JUMP JUMPDEST PUSH1 0x4 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x10A JUMPI JUMP JUMPDEST PUSH1 0x24 CALLDATALOAD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND DUP3 SUB PUSH2 0x10A JUMPI JUMP JUMPDEST SWAP1 PUSH1 0x1 DUP3 DUP2 SHR SWAP3 AND DUP1 ISZERO PUSH2 0x82D JUMPI JUMPDEST PUSH1 0x20 DUP4 LT EQ PUSH2 0x817 JUMPI JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP2 PUSH1 0x7F AND SWAP2 PUSH2 0x80C JUMP JUMPDEST PUSH1 0x0 SWAP3 SWAP2 DUP2 SLOAD SWAP2 PUSH2 0x847 DUP4 PUSH2 0x7FD JUMP JUMPDEST DUP1 DUP4 MSTORE SWAP3 PUSH1 0x1 DUP2 AND SWAP1 DUP2 ISZERO PUSH2 0x89D JUMPI POP PUSH1 0x1 EQ PUSH2 0x863 JUMPI POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 KECCAK256 SWAP4 SWAP5 POP SWAP2 SWAP3 JUMPDEST DUP4 DUP4 LT PUSH2 0x883 JUMPI POP PUSH1 0x20 SWAP3 POP ADD ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x20 SWAP3 SWAP5 SWAP4 SWAP5 SLOAD DUP4 DUP6 DUP8 ADD ADD MSTORE ADD SWAP2 ADD SWAP2 SWAP1 PUSH2 0x872 JUMP JUMPDEST SWAP2 POP POP PUSH1 0x20 SWAP4 SWAP5 POP PUSH1 0xFF SWAP3 SWAP2 SWAP3 NOT AND DUP4 DUP4 ADD MSTORE ISZERO ISZERO PUSH1 0x5 SHL ADD ADD SWAP1 JUMP JUMPDEST SWAP1 PUSH1 0x1F DUP1 NOT SWAP2 ADD AND DUP2 ADD SWAP1 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR PUSH2 0x8DC JUMPI PUSH1 0x40 MSTORE JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO PUSH2 0x98B JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 ISZERO PUSH2 0x30F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE DUP1 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD DUP3 DUP2 LT PUSH2 0x971 JUMPI SWAP2 PUSH1 0x40 DUP3 DUP3 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP6 DUP8 PUSH1 0x20 SWAP7 MSTORE DUP3 DUP7 MSTORE SUB DUP3 DUP3 KECCAK256 SSTORE DUP7 DUP2 MSTORE DUP1 DUP5 MSTORE KECCAK256 DUP2 DUP2 SLOAD ADD SWAP1 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 JUMP JUMPDEST SWAP2 PUSH1 0x64 SWAP3 DUP5 PUSH4 0x391434E3 PUSH1 0xE2 SHL DUP5 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 MSTORE PUSH1 0x44 MSTORE REVERT JUMPDEST PUSH4 0x4B637E8F PUSH1 0xE1 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH32 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND EQ DUP1 PUSH2 0xA94 JUMPI JUMPDEST ISZERO PUSH2 0x9FC JUMPI PUSH32 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 PUSH32 0x8B73C3C69BB8FE3D512ECC4CF759CC79239F7B179B0FFACAA9A75D522B39400F DUP3 MSTORE PUSH32 0x0 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x0 PUSH1 0x60 DUP3 ADD MSTORE CHAINID PUSH1 0x80 DUP3 ADD MSTORE ADDRESS PUSH1 0xA0 DUP3 ADD MSTORE PUSH1 0xA0 DUP2 MSTORE PUSH2 0xA8E PUSH1 0xC0 DUP3 PUSH2 0x8BA JUMP JUMPDEST MLOAD SWAP1 KECCAK256 SWAP1 JUMP JUMPDEST POP PUSH32 0x0 CHAINID EQ PUSH2 0x9D3 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 DUP2 ISZERO PUSH2 0x674 JUMPI PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 DUP3 ISZERO PUSH2 0x65E JUMPI PUSH1 0x20 PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP2 DUP4 PUSH1 0x0 MSTORE PUSH1 0x1 DUP3 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 DUP6 PUSH1 0x0 MSTORE DUP3 MSTORE DUP1 PUSH1 0x40 PUSH1 0x0 KECCAK256 SSTORE PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE LOG3 JUMP JUMPDEST PUSH1 0xFF DUP2 EQ PUSH2 0xB6E JUMPI PUSH1 0xFF DUP2 AND SWAP1 PUSH1 0x1F DUP3 GT PUSH2 0xB5D JUMPI PUSH1 0x40 DUP1 MLOAD SWAP3 PUSH2 0xB48 DUP3 DUP6 PUSH2 0x8BA JUMP JUMPDEST PUSH1 0x20 DUP1 DUP6 MSTORE DUP5 ADD SWAP2 PUSH1 0x1F NOT ADD CALLDATASIZE DUP4 CALLDATACOPY DUP4 MSTORE MSTORE SWAP1 JUMP JUMPDEST PUSH4 0x2CD44AC3 PUSH1 0xE2 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xB88 DUP2 PUSH2 0xB81 DUP2 PUSH1 0x5 PUSH2 0x837 JUMP JUMPDEST SUB DUP3 PUSH2 0x8BA JUMP JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0xFF DUP2 EQ PUSH2 0xBAF JUMPI PUSH1 0xFF DUP2 AND SWAP1 PUSH1 0x1F DUP3 GT PUSH2 0xB5D JUMPI PUSH1 0x40 DUP1 MLOAD SWAP3 PUSH2 0xB48 DUP3 DUP6 PUSH2 0x8BA JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH2 0xB88 DUP2 PUSH2 0xB81 DUP2 PUSH1 0x6 PUSH2 0x837 JUMP JUMPDEST SWAP2 SWAP1 PUSH32 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0 DUP5 GT PUSH2 0xC4B JUMPI SWAP2 PUSH1 0x20 SWAP4 PUSH1 0x80 SWAP3 PUSH1 0xFF PUSH1 0x0 SWAP6 PUSH1 0x40 MLOAD SWAP5 DUP6 MSTORE AND DUP7 DUP5 ADD MSTORE PUSH1 0x40 DUP4 ADD MSTORE PUSH1 0x60 DUP3 ADD MSTORE DUP3 DUP1 MSTORE PUSH1 0x1 GAS STATICCALL ISZERO PUSH2 0xC3F JUMPI PUSH1 0x0 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0xC33 JUMPI SWAP1 PUSH1 0x0 SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST POP PUSH1 0x0 SWAP1 PUSH1 0x1 SWAP1 PUSH1 0x0 SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE SWAP1 REVERT JUMPDEST POP POP POP PUSH1 0x0 SWAP2 PUSH1 0x3 SWAP2 SWAP1 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 PUSH1 0x4 DUP2 LT ISZERO PUSH2 0xCC9 JUMPI DUP1 PUSH2 0xC6D JUMPI POP SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP3 SUB PUSH2 0xC88 JUMPI PUSH4 0xF645EEDF PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x2 DUP2 SUB PUSH2 0xCA6 JUMPI DUP3 PUSH4 0xFCE698F7 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 SWAP2 PUSH1 0x3 PUSH1 0x0 SWAP3 EQ PUSH2 0xCB6 JUMPI POP POP JUMP JUMPDEST PUSH4 0x35E2F383 PUSH1 0xE2 SHL DUP3 MSTORE PUSH1 0x4 MSTORE PUSH1 0x24 SWAP2 POP REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xF8 0x4F 0x4B 0xEE 0xD DUP15 NUMBER 0xFC SMOD 0xB4 PUSH21 0x860960CD2C652820B396A947F9B5D0737900C4E111 PUSH5 0x736F6C6343 STOP ADDMOD SHR STOP CALLER ","sourceMap":"268:383:40:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;1886:15:6;;:26;1882:97;;7051:25:21;7105:8;268:383:40;;;;;;;;;;;;1121:7:15;268:383:40;;;;;;;;;;;;;;;;2020:78:6;268:383:40;2020:78:6;;268:383:40;1024:95:6;268:383:40;;1024:95:6;268:383:40;1024:95:6;;268:383:40;;;;;;;;;1024:95:6;;268:383:40;1024:95:6;268:383:40;1024:95:6;;268:383:40;;1024:95:6;;268:383:40;;1024:95:6;;268:383:40;;2020:78:6;;;268:383:40;2020:78:6;;:::i;:::-;268:383:40;2010:89:6;;5153:20:22;;:::i;:::-;3993:249:23;268:383:40;3993:249:23;;-1:-1:-1;;;3993:249:23;;;;;;;;;;268:383:40;;;3993:249:23;268:383:40;;3993:249:23;;7051:25:21;:::i;:::-;7105:8;;;;;:::i;:::-;-1:-1:-1;;;;;268:383:40;2223:15:6;;;2219:88;;8823:4:4;;;;;:::i;:::-;268:383:40;2219:88:6;2261:35;;;;;268:383:40;2261:35:6;268:383:40;;;;;;2261:35:6;1882:97;1935:33;;;;268:383:40;1935:33:6;268:383:40;;;;1935:33:6;268:383:40;;;;;;-1:-1:-1;;268:383:40;;;;3440:5:4;268:383:40;;:::i;:::-;;;735:10:14;;3440:5:4;:::i;:::-;268:383:40;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;;;623:10;7509:21:4;7505:91;;6214:21;268:383:40;;;;;;;;;6214:21:4;268:383:40;;623:10;;268:383;;;;;;;;;;;;;;;;;;;623:10;7064:25:4;268:383:40;623:10;7064:25:4;;268:383:40;;;;;;;;;;;;;;7505:91:4;7553:32;;;268:383:40;7553:32:4;268:383:40;;;;;7553:32:4;268:383:40;;;;;;-1:-1:-1;;268:383:40;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;;;;;-1:-1:-1;268:383:40;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;;;;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;-1:-1:-1;268:383:40;;;;;;;;-1:-1:-1;;268:383:40;;;;;6198:41:22;:5;:41;:::i;:::-;6653:47;:8;:47;:::i;:::-;268:383:40;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;5689:13:22;268:383:40;;;;5724:4:22;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;-1:-1:-1;;;;;268:383:40;;:::i;:::-;;;;624:7:15;268:383:40;;;;;;;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;-1:-1:-1;;;;;268:383:40;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;;2744:20:6;;:::i;:::-;268:383:40;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;;;;554:1;268:383;;;;;;;;;-1:-1:-1;;268:383:40;;;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;268:383:40;;;;;;;;;;;;;;;735:10:14;268:383:40;;;;;;;;;;;;;;-1:-1:-1;;10561:36:4;;10557:309;;268:383:40;4967:5:4;;;;;:::i;10557:309::-;10617:24;;;10613:130;;9794:19;;9790:89;;735:10:14;9892:21:4;9888:90;;4967:5;268:383:40;;;;;;;;;;;;;;735:10:14;268:383:40;-1:-1:-1;268:383:40;;;;;-1:-1:-1;268:383:40;;;;;10557:309:4;;;9888:90;9936:31;;;268:383:40;9936:31:4;268:383:40;;;;;9936:31:4;9790:89;9836:32;;;268:383:40;9836:32:4;268:383:40;;;;;9836:32:4;10613:130;10668:60;;;;;268:383:40;10668:60:4;735:10:14;268:383:40;;;;;;;;10668:60:4;268:383:40;;;;;;-1:-1:-1;;268:383:40;;;;;2908:12:4;268:383:40;;;;;;;;;;;;;-1:-1:-1;;268:383:40;;;;8823:4:4;268:383:40;;:::i;:::-;;;735:10:14;;8823:4:4;:::i;268:383:40:-;;;;;;-1:-1:-1;;268:383:40;;;;;1837:5:4;268:383:40;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1837:5:4;268:383:40;;;;;;;-1:-1:-1;268:383:40;;;;;;;-1:-1:-1;268:383:40;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;268:383:40;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;268:383:40;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;268:383:40;;;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;268:383:40;;;;;-1:-1:-1;268:383:40;5374:300:4;-1:-1:-1;;;;;268:383:40;;5457:18:4;;5453:86;;-1:-1:-1;;;;;268:383:40;;5552:16:4;;5548:86;;5473:1;268:383:40;;;;;;;;;;6321:19:4;;;6317:115;;268:383:40;;;;7064:25:4;268:383:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7064:25:4;5374:300::o;6317:115::-;6367:50;268:383:40;6367:50:4;;;;;;;;268:383:40;;;;;6367:50:4;5453:86;5498:30;;;5473:1;5498:30;5473:1;5498:30;268:383:40;;5473:1:4;5498:30;3945:262:22;4029:4;4038:11;-1:-1:-1;;;;;268:383:40;4021:28:22;;:63;;3945:262;4017:184;;;4107:22;4100:29;:::o;4017:184::-;268:383:40;;4304:80:22;;;268:383:40;2079:95:22;268:383:40;;4326:11:22;268:383:40;2079:95:22;;268:383:40;4339:14:22;2079:95;;;268:383:40;4355:13:22;2079:95;;;268:383:40;4029:4:22;2079:95;;;268:383:40;2079:95:22;4304:80;;;;;;:::i;:::-;268:383:40;4294:91:22;;4160:30;:::o;4021:63::-;4070:14;;4053:13;:31;4021:63;;9682:432:4;-1:-1:-1;;;;;268:383:40;;9794:19:4;;9790:89;;-1:-1:-1;;;;;268:383:40;;9892:21:4;;9888:90;;268:383:40;10066:31:4;268:383:40;;9811:1:4;268:383:40;8823:4:4;268:383:40;;;9811:1:4;268:383:40;;-1:-1:-1;268:383:40;;;;;-1:-1:-1;268:383:40;;;;;;;10066:31:4;9682:432::o;3368:267:18:-;1390:66;3491:46;;1390:66;;;2625:40;;2679:11;2688:2;2679:11;;2675:69;;268:383:40;;;;;;;;:::i;:::-;2311:2:18;268:383:40;;;;;;-1:-1:-1;;268:383:40;;;;2324:106:18;;;3553:22;:::o;2675:69::-;2713:20;;;-1:-1:-1;2713:20:18;;-1:-1:-1;2713:20:18;3487:142;268:383:40;;;1390:66:18;;;;6225:13:22;1390:66:18;:::i;:::-;;;;:::i;:::-;3606:12;:::o;3368:267::-;1390:66;3491:46;;1390:66;;;2625:40;;2679:11;2688:2;2679:11;;2675:69;;268:383:40;;;;;;;;:::i;3487:142:18:-;268:383:40;;;1390:66:18;;;;6683:16:22;1390:66:18;:::i;5203:1551:21:-;;;6283:66;6270:79;;6266:164;;268:383:40;;;;;;-1:-1:-1;268:383:40;;;;;;;;;;;;;;;;;;;6541:24:21;;;;;;;;;-1:-1:-1;6541:24:21;-1:-1:-1;;;;;268:383:40;;6579:20:21;6575:113;;6698:49;-1:-1:-1;6698:49:21;-1:-1:-1;5203:1551:21;:::o;6575:113::-;6615:62;-1:-1:-1;6615:62:21;6541:24;6615:62;-1:-1:-1;6615:62:21;:::o;6541:24::-;268:383:40;;;-1:-1:-1;268:383:40;;;;;6266:164:21;6365:54;;;6381:1;6365:54;6385:30;6365:54;;:::o;7280:532::-;;;;268:383:40;;;;;;7366:29:21;;;7411:7;;;:::o;7362:444::-;7375:20;268:383:40;7462:38:21;;268:383:40;;7523:23:21;;;7375:20;7523:23;268:383:40;7375:20:21;7523:23;7458:348;-1:-1:-1;7576:35:21;7567:44;;7576:35;;7634:46;;;;7375:20;7634:46;268:383:40;;;7375:20:21;7634:46;7563:243;268:383:40;;7710:30:21;7375:20;7701:39;;7697:109;;7563:243;;7280:532::o;7697:109::-;-1:-1:-1;;;7763:32:21;;268:383:40;;;;-1:-1:-1;7763:32:21;268:383:40;;;;7375:20:21;268:383:40;;;;;7375:20:21;268:383:40"},"methodIdentifiers":{"DOMAIN_SEPARATOR()":"3644e515","allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","eip712Domain()":"84b0196e","mint(uint256)":"a0712d68","name()":"06fdde03","nonces(address)":"7ecebe00","permit(address,address,uint256,uint256,uint8,bytes32,bytes32)":"d505accf","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ECDSAInvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"ECDSAInvalidSignatureLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"ECDSAInvalidSignatureS\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"ERC2612ExpiredSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"signer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC2612InvalidSigner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidAccountNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"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\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"ECDSAInvalidSignature()\":[{\"details\":\"The signature derives the `address(0)`.\"}],\"ECDSAInvalidSignatureLength(uint256)\":[{\"details\":\"The signature has an invalid length.\"}],\"ECDSAInvalidSignatureS(bytes32)\":[{\"details\":\"The signature has an S value that is in the upper half order.\"}],\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`\\u2019s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC2612ExpiredSignature(uint256)\":[{\"details\":\"Permit deadline has expired.\"}],\"ERC2612InvalidSigner(address,address)\":[{\"details\":\"Mismatched signature.\"}],\"InvalidAccountNonce(address,uint256)\":[{\"details\":\"The nonce used for an `account` is not the expected current nonce.\"}]},\"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.\"},\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"},\"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\":{\"DOMAIN_SEPARATOR()\":{\"details\":\"Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\"},\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the default value returned by this function, unless it's overridden. NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"eip712Domain()\":{\"details\":\"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"nonces(address)\":{\"details\":\"Returns the current nonce for `owner`. This value must be included whenever a signature is generated for {permit}. Every successful call to {permit} increases ``owner``'s nonce by one. This prevents a signature from being used multiple times.\"},\"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)\":{\"details\":\"Sets `value` as the allowance of `spender` over ``owner``'s tokens, given ``owner``'s signed approval. IMPORTANT: The same issues {IERC20-approve} has related to transaction ordering also apply here. Emits an {Approval} event. Requirements: - `spender` cannot be the zero address. - `deadline` must be a timestamp in the future. - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` over the EIP712-formatted function arguments. - the signature must use ``owner``'s current nonce (see {nonces}). For more information on the signature format, see the https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP section]. CAUTION: See Security Considerations above.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/mocks/SimpleERC20Xylose.sol\":\"SimpleERC20Xylose\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@openzeppelin/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0x92aa1df62dc3d33f1656d63bede0923e0df0b706ad4137c8b10b0a8fe549fd92\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c5c0f29195ad64cbe556da8e257dac8f05f78c53f90323c0d2accf8e6922d33a\",\"dweb:/ipfs/QmQ61TED8uaCZwcbh8KkgRSsCav7x7HbcGHwHts3U4DmUP\"]},\"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0x41f6b3b9e030561e7896dbef372b499cc8d418a80c3884a4d65a68f2fdc7493a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://80b0992a11b2fd1f75ced2971696d07bbd1d19ce6761dd50d8b6d48aa435f42a\",\"dweb:/ipfs/QmZDe5xd2gXHjVEjv9t8C1KQ68K5T8qFwdinwQgmP3rF3x\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol\":{\"keccak256\":\"0xaa7f0646f49ebe2606eeca169f85c56451bbaeeeb06265fa076a03369a25d1d3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ee931d4e832385765967efe6366dcc6d00d6a2d794f9c66ee38283c03882de9c\",\"dweb:/ipfs/QmR6SkuJGYxpQeLz38rBdghqaWqEPfzUsL9kBoXgEXKtbD\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0x27dbc90e5136ffe46c04f7596fc2dbcc3acebd8d504da3d93fdb8496e6de04f6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea8b92e4245d75a5579c10f22f118f7b4ba07c57341f181f0b2a85ff8663de3\",\"dweb:/ipfs/Qme3Ss5ByjmkxxkMdLpyu7fQ1PCtjNFH1wEFszt2BZePiG\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Nonces.sol\":{\"keccak256\":\"0x0082767004fca261c332e9ad100868327a863a88ef724e844857128845ab350f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://132dce9686a54e025eb5ba5d2e48208f847a1ec3e60a3e527766d7bf53fb7f9e\",\"dweb:/ipfs/QmXn1a2nUZMpu2z6S88UoTfMVtY2YNh86iGrzJDYmMkKeZ\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0x1fcf8cceb1a67e6c8512267e780933c4a3f63ef44756e6c818fda79be51c8402\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://617d7d57f6f9cd449068b4d23daf485676d083aae648e038d05eb3a13291de35\",\"dweb:/ipfs/QmPADWPiGaSzZDFNpFEUx4ZPqhzPkYncBpHyTfAGcfsqzy\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x81c274a60a7ae232ae3dc9ff3a4011b4849a853c13b0832cd3351bb1bb2f0dae\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9da0c20dc74358a2a76330818f3bac9d1e2ce3371aec847b9cbf5d147fbae4f6\",\"dweb:/ipfs/QmeczhmnFv1hbXKGLwbYXY6Rrytc9a5A2YaRi5QMMgjPnb\"]},\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x69f54c02b7d81d505910ec198c11ed4c6a728418a868b906b4a0cf29946fda84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8e25e4bdb7ae1f21d23bfee996e22736fc0ab44cfabedac82a757b1edc5623b9\",\"dweb:/ipfs/QmQdWQvB6JCP9ZMbzi8EvQ1PTETqkcTWrbcVurS7DKpa5n\"]},\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x0c60057e7351874f086db8dc9291b7ada9ad62cb7725befd2991430d04a74572\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://33cdfd1fc36410d45046f88ff9864350146b194736c32834baa38d99b843ffbe\",\"dweb:/ipfs/QmdVmqgFKjgEBURy4KUwWDA6J1LEg1BKcHcXsx4nkeHAD2\"]},\"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol\":{\"keccak256\":\"0x26670fef37d4adf55570ba78815eec5f31cb017e708f61886add4fc4da665631\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b16d45febff462bafd8a5669f904796a835baf607df58a8461916d3bf4f08c59\",\"dweb:/ipfs/QmU2eJFpjmT4vxeJWJyLeQb8Xht1kdB8Y6MKLDPFA9WPux\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x1225214420c83ebcca88f2ae2b50f053aaa7df7bd684c3e878d334627f2edfc6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c5fab4970634f9ab9a620983dc1c8a30153981a0b1a521666e269d0a11399d3\",\"dweb:/ipfs/QmVRnBC575MESGkEHndjujtR7qub2FzU9RWy9eKLp4hPZB\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]},\"contracts/mocks/SimpleERC20Xylose.sol\":{\"keccak256\":\"0x464ff8234768f77d84c1ff9f5eb1f8682b2c91eb5b459d63c6c8ccb2762d26cb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9b000c41d8f98eea19d6d66b6eb880ccb97b919b133cd3cce3c4adede0cdd91d\",\"dweb:/ipfs/QmVztyrxnRPxiXpF2jhSGhUwCGsqaDeE6jNCyVRy9ixt8T\"]}},\"version\":1}"}}}}}