Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
5,863 CoreCard
Holders
2,026
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CoreCardLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x989Eb7b4...4295d2eA0 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ERC721Template
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-03-20 */ // SPDX-License-Identifier: MIT // Sources flattened with hardhat v2.12.6 https://hardhat.org // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/utils/math/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File @openzeppelin/contracts/security/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev 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. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev 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. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev 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`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File contracts/ERC721Template.sol pragma solidity ^0.8.9; error InvalidProof(); contract ERC721Template is ERC721, ERC721Enumerable, ERC721URIStorage, Pausable, AccessControl { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bool public isCanClaim; string public baseURI; uint256 public maxTokenID; bytes32 public merkleRoot; // include boundary (uninterrupted tokenID) uint256 public merkleReservedMinTokenID; uint256 public merkleReservedMaxTokenID; // reserved tokenID function isReservedTokenID(uint256 tokenID) internal view returns(bool) { return (tokenID >= merkleReservedMinTokenID && tokenID <= merkleReservedMaxTokenID); } modifier whenBelongReserve(uint256 tokenID) { require(isReservedTokenID(tokenID), "Not Reserved"); _; } // minted successful function updateMaxTokenID(uint256 tokenID) internal { if(!isReservedTokenID(tokenID) && tokenID > maxTokenID) maxTokenID = tokenID; } // only once mint is allowed mapping( address => bool ) public reserved; constructor ( bool claim, address admin, address operator, bytes32 merkleTreeRoot, string memory name, string memory symbol, string memory prefixURI, uint256 reservedMinTokenID, uint256 reservedMaxTokenID ) ERC721(name, symbol) { baseURI = prefixURI; isCanClaim = claim; merkleRoot = merkleTreeRoot; require(reservedMaxTokenID > reservedMinTokenID, "MaxTokenID"); merkleReservedMinTokenID = reservedMinTokenID; merkleReservedMaxTokenID = reservedMaxTokenID; _grantRole(DEFAULT_ADMIN_ROLE, admin); _grantRole(PAUSER_ROLE, operator); _grantRole(MINTER_ROLE, operator); } // Un-limited for owner modifier onlyClaimable() { require(isCanClaim, "Only Claimable"); _; } // merkleMint modifier onlyOnce( address to ) { require(!reserved[to], "Only Once"); _; } function updateBaseURI ( string memory prefixURI ) external onlyRole(DEFAULT_ADMIN_ROLE) { baseURI = prefixURI; } function updateIsCanClaim(bool claim ) external onlyRole(PAUSER_ROLE) { isCanClaim = claim; } function updateMerkleRoot(bytes32 root) external onlyRole(DEFAULT_ADMIN_ROLE) { merkleRoot = root; } function _baseURI() internal view override returns (string memory) { return baseURI; } function pause() public onlyRole(PAUSER_ROLE) { _pause(); } function unpause() public onlyRole(PAUSER_ROLE) { _unpause(); } // merkle mint(tokenID of reserved) // Owner can mint tokenID of reserved function merkleMint ( address to, uint256 tokenID, string memory uri, bytes32[] calldata merkleProof ) external whenNotPaused() whenBelongReserve(tokenID) onlyOnce(to) onlyClaimable() { // Verify the merkle proof. bytes32 node = keccak256(abi.encodePacked(to, tokenID, uri)); if (!MerkleProof.verify(merkleProof, merkleRoot, node)) revert InvalidProof(); // Marked is called for user{ to } reserved[to] = true; // Mint _safeMint(to, tokenID); _setTokenURI(tokenID, uri); } // self mint function selfMint () external whenNotPaused() onlyClaimable() { // Get new tokenID uint256 tokenID = maxTokenID + 1; if(isReservedTokenID(tokenID)) { tokenID = merkleReservedMaxTokenID + 1; } // mint _safeMint(msg.sender, tokenID); _setTokenURI(tokenID, ""); } // (MINTER_ROLE) mint // Owner can mint any tokenID of unused(It could be to the TokenID of reserved function ownerMint ( address to, uint256 tokenID, string memory uri ) external whenNotPaused() onlyRole(MINTER_ROLE) { _safeMint(to, tokenID); _setTokenURI(tokenID, uri); } // (MINTER_ROLE) mint(batch) function ownerBatchMint ( address to, uint256[] calldata TokenID, string[] memory uri ) external whenNotPaused() onlyRole(MINTER_ROLE) { require(TokenID.length == uri.length, "Array length must equal. "); for (uint256 i = 0; i < TokenID.length; i++) { _safeMint(to, TokenID[i]); _setTokenURI(TokenID[i], uri[i]); } } function _beforeTokenTransfer ( address from, address to, uint256 tokenID, uint256 batchSize ) internal whenNotPaused override(ERC721, ERC721Enumerable) { // minting if( from == address(0)) { require(tokenID > 0, "tokenID can not be zero"); } super._beforeTokenTransfer(from, to, tokenID, batchSize); } function _afterTokenTransfer ( address from, address to, uint256 firstTokenID, uint256 batchSize ) internal virtual override(ERC721) { // minting if( from == address(0)) { updateMaxTokenID(firstTokenID); } super._afterTokenTransfer(from, to, firstTokenID, batchSize); } // The following functions are overrides required by Solidity. function _burn ( uint256 tokenID ) internal override(ERC721, ERC721URIStorage) { super._burn(tokenID); } function tokenURI ( uint256 tokenID ) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenID); } function supportsInterface ( bytes4 interfaceId ) public view override(ERC721, ERC721Enumerable, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bool","name":"claim","type":"bool"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address","name":"operator","type":"address"},{"internalType":"bytes32","name":"merkleTreeRoot","type":"bytes32"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"prefixURI","type":"string"},{"internalType":"uint256","name":"reservedMinTokenID","type":"uint256"},{"internalType":"uint256","name":"reservedMaxTokenID","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidProof","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"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":"isCanClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"string","name":"uri","type":"string"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"merkleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleReservedMaxTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleReservedMinTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"TokenID","type":"uint256[]"},{"internalType":"string[]","name":"uri","type":"string[]"}],"name":"ownerBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"selfMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prefixURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"claim","type":"bool"}],"name":"updateIsCanClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200327b3803806200327b8339810160408190526200003491620002d9565b8484600062000044838262000450565b50600162000053828262000450565b5050600b805460ff1916905550600e6200006e848262000450565b50600d805460ff19168a15151790556010869055818111620000c35760405162461bcd60e51b815260206004820152600a60248201526913585e151bdad95b925160b21b604482015260640160405180910390fd5b60118290556012819055620000da60008962000141565b620001067f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8862000141565b620001327f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68862000141565b5050505050505050506200051c565b6000828152600c602090815260408083206001600160a01b038516845290915290205460ff16620001e2576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001a13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b80518015158114620001f757600080fd5b919050565b80516001600160a01b0381168114620001f757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023c57600080fd5b81516001600160401b038082111562000259576200025962000214565b604051601f8301601f19908116603f0116810190828211818310171562000284576200028462000214565b81604052838152602092508683858801011115620002a157600080fd5b600091505b83821015620002c55785820183015181830184015290820190620002a6565b600093810190920192909252949350505050565b60008060008060008060008060006101208a8c031215620002f957600080fd5b620003048a620001e6565b98506200031460208b01620001fc565b97506200032460408b01620001fc565b60608b015160808c015191985096506001600160401b03808211156200034957600080fd5b620003578d838e016200022a565b965060a08c01519150808211156200036e57600080fd5b6200037c8d838e016200022a565b955060c08c01519150808211156200039357600080fd5b50620003a28c828d016200022a565b93505060e08a015191506101008a015190509295985092959850929598565b600181811c90821680620003d657607f821691505b602082108103620003f757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200044b57600081815260208120601f850160051c81016020861015620004265750805b601f850160051c820191505b81811015620004475782815560010162000432565b5050505b505050565b81516001600160401b038111156200046c576200046c62000214565b62000484816200047d8454620003c1565b84620003fd565b602080601f831160018114620004bc5760008415620004a35750858301515b600019600386901b1c1916600185901b17855562000447565b600085815260208120601f198616915b82811015620004ed57888601518255948401946001909101908401620004cc565b50858210156200050c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612d4f806200052c6000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c80636352211e11610146578063a22cb465116100c3578063d539139311610087578063d5391393146104c4578063d547741f146104eb578063da9425e2146104fe578063e495d3e514610521578063e63ab1e914610529578063e985e9c51461053e57600080fd5b8063a22cb4651461046f578063b88d4fde14610482578063b943b76014610495578063c87b56dd146104a8578063d02e45f2146104bb57600080fd5b806391d148541161010a57806391d1485414610426578063931688cb1461043957806395d89b411461044c5780639a1a562914610454578063a217fddf1461046757600080fd5b80636352211e146103e35780636c0360eb146103f657806370a08231146103fe5780638456cb59146104115780638a0e9db21461041957600080fd5b806333eec4d4116101d45780634783f0ef116101985780634783f0ef146103965780634f6ccce7146103a95780634fda4294146103bc5780635a570c0c146103cf5780635c975abb146103d857600080fd5b806333eec4d41461034c57806336568abe1461035557806338e1c300146103685780633f4ba83a1461037b57806342842e0e1461038357600080fd5b806323b872dd1161021b57806323b872dd146102e7578063248a9ca3146102fa5780632eb4a7ab1461031d5780632f2ff15d146103265780632f745c591461033957600080fd5b806301ffc9a71461025857806306fdde0314610280578063081812fc14610295578063095ea7b3146102c057806318160ddd146102d5575b600080fd5b61026b610266366004612372565b61057a565b60405190151581526020015b60405180910390f35b61028861058b565b60405161027791906123df565b6102a86102a33660046123f2565b61061d565b6040516001600160a01b039091168152602001610277565b6102d36102ce366004612427565b610644565b005b6008545b604051908152602001610277565b6102d36102f5366004612451565b61075e565b6102d96103083660046123f2565b6000908152600c602052604090206001015490565b6102d960105481565b6102d361033436600461248d565b61078f565b6102d9610347366004612427565b6107b4565b6102d960125481565b6102d361036336600461248d565b61084a565b6102d36103763660046125c4565b6108c8565b6102d3610a7d565b6102d3610391366004612451565b610aa0565b6102d36103a43660046123f2565b610abb565b6102d96103b73660046123f2565b610acc565b6102d36103ca366004612649565b610b5f565b6102d9600f5481565b600b5460ff1661026b565b6102a86103f13660046123f2565b610bab565b610288610c0b565b6102d961040c3660046126a0565b610c99565b6102d3610d1f565b600d5461026b9060ff1681565b61026b61043436600461248d565b610d3f565b6102d36104473660046126bb565b610d6a565b610288610d81565b6102d3610462366004612700565b610d90565b6102d9600081565b6102d361047d36600461271b565b610dbc565b6102d3610490366004612745565b610dc7565b6102d36104a33660046127c1565b610df9565b6102886104b63660046123f2565b610efd565b6102d960115481565b6102d97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102d36104f936600461248d565b610f08565b61026b61050c3660046126a0565b60136020526000908152604090205460ff1681565b6102d3610f2d565b6102d9600080516020612cfa83398151915281565b61026b61054c3660046128bf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600061058582610fcd565b92915050565b60606000805461059a906128e9565b80601f01602080910402602001604051908101604052809291908181526020018280546105c6906128e9565b80156106135780601f106105e857610100808354040283529160200191610613565b820191906000526020600020905b8154815290600101906020018083116105f657829003601f168201915b5050505050905090565b600061062882610ff2565b506000908152600460205260409020546001600160a01b031690565b600061064f82610bab565b9050806001600160a01b0316836001600160a01b0316036106c15760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106dd57506106dd813361054c565b61074f5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106b8565b6107598383611051565b505050565b61076833826110bf565b6107845760405162461bcd60e51b81526004016106b890612923565b61075983838361113e565b6000828152600c60205260409020600101546107aa816112b7565b61075983836112c1565b60006107bf83610c99565b82106108215760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106b8565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b03811633146108ba5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106b8565b6108c48282611347565b5050565b6108d06113ae565b836108da816113f6565b6109155760405162461bcd60e51b815260206004820152600c60248201526b139bdd0814995cd95c9d995960a21b60448201526064016106b8565b6001600160a01b038616600090815260136020526040902054869060ff161561096c5760405162461bcd60e51b81526020600482015260096024820152684f6e6c79204f6e636560b81b60448201526064016106b8565b600d5460ff166109af5760405162461bcd60e51b815260206004820152600e60248201526d4f6e6c7920436c61696d61626c6560901b60448201526064016106b8565b60008787876040516020016109c693929190612970565b604051602081830303815290604052805190602001209050610a1f85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601054915084905061140e565b610a3c576040516309bde33960e01b815260040160405180910390fd5b6001600160a01b0388166000908152601360205260409020805460ff19166001179055610a698888611424565b610a73878761143e565b5050505050505050565b600080516020612cfa833981519152610a95816112b7565b610a9d6114d1565b50565b61075983838360405180602001604052806000815250610dc7565b6000610ac6816112b7565b50601055565b6000610ad760085490565b8210610b3a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106b8565b60088281548110610b4d57610b4d6129af565b90600052602060002001549050919050565b610b676113ae565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610b91816112b7565b610b9b8484611424565b610ba5838361143e565b50505050565b6000818152600260205260408120546001600160a01b0316806105855760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106b8565b600e8054610c18906128e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610c44906128e9565b8015610c915780601f10610c6657610100808354040283529160200191610c91565b820191906000526020600020905b815481529060010190602001808311610c7457829003601f168201915b505050505081565b60006001600160a01b038216610d035760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106b8565b506001600160a01b031660009081526003602052604090205490565b600080516020612cfa833981519152610d37816112b7565b610a9d611523565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000610d75816112b7565b600e6107598382612a0b565b60606001805461059a906128e9565b600080516020612cfa833981519152610da8816112b7565b50600d805460ff1916911515919091179055565b6108c4338383611560565b610dd133836110bf565b610ded5760405162461bcd60e51b81526004016106b890612923565b610ba58484848461162e565b610e016113ae565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e2b816112b7565b81518314610e7b5760405162461bcd60e51b815260206004820152601960248201527f4172726179206c656e677468206d75737420657175616c2e200000000000000060448201526064016106b8565b60005b83811015610ef557610ea886868684818110610e9c57610e9c6129af565b90506020020135611424565b610ee3858583818110610ebd57610ebd6129af565b90506020020135848381518110610ed657610ed66129af565b602002602001015161143e565b80610eed81612ae1565b915050610e7e565b505050505050565b606061058582611661565b6000828152600c6020526040902060010154610f23816112b7565b6107598383611347565b610f356113ae565b600d5460ff16610f785760405162461bcd60e51b815260206004820152600e60248201526d4f6e6c7920436c61696d61626c6560901b60448201526064016106b8565b6000600f546001610f899190612afa565b9050610f94816113f6565b15610faa57601254610fa7906001612afa565b90505b610fb43382611424565b610a9d816040518060200160405280600081525061143e565b60006001600160e01b03198216637965db0b60e01b148061058557506105858261175c565b6000818152600260205260409020546001600160a01b0316610a9d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106b8565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061108682610bab565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806110cb83610bab565b9050806001600160a01b0316846001600160a01b0316148061111257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806111365750836001600160a01b031661112b8461061d565b6001600160a01b0316145b949350505050565b826001600160a01b031661115182610bab565b6001600160a01b0316146111775760405162461bcd60e51b81526004016106b890612b0d565b6001600160a01b0382166111d95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106b8565b6111e68383836001611781565b826001600160a01b03166111f982610bab565b6001600160a01b03161461121f5760405162461bcd60e51b81526004016106b890612b0d565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461075983838360016117f3565b610a9d813361180f565b6112cb8282610d3f565b6108c4576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556113033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6113518282610d3f565b156108c4576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600b5460ff16156113f45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106b8565b565b60006011548210158015610585575050601254101590565b60008261141b8584611868565b14949350505050565b6108c48282604051806020016040528060008152506118b5565b6000828152600260205260409020546001600160a01b03166114b95760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106b8565b6000828152600a602052604090206107598282612a0b565b6114d96118e8565b600b805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b61152b6113ae565b600b805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115063390565b816001600160a01b0316836001600160a01b0316036115c15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106b8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61163984848461113e565b61164584848484611931565b610ba55760405162461bcd60e51b81526004016106b890612b52565b606061166c82610ff2565b6000828152600a602052604081208054611685906128e9565b80601f01602080910402602001604051908101604052809291908181526020018280546116b1906128e9565b80156116fe5780601f106116d3576101008083540402835291602001916116fe565b820191906000526020600020905b8154815290600101906020018083116116e157829003601f168201915b50505050509050600061170f611a32565b90508051600003611721575092915050565b81511561175357808260405160200161173b929190612ba4565b60405160208183030381529060405292505050919050565b61113684611a41565b60006001600160e01b0319821663780e9d6360e01b1480610585575061058582611aa8565b6117896113ae565b6001600160a01b0384166117e757600082116117e75760405162461bcd60e51b815260206004820152601760248201527f746f6b656e49442063616e206e6f74206265207a65726f00000000000000000060448201526064016106b8565b610ba584848484611af8565b6001600160a01b03841661180a5761180a82611c38565b610ba5565b6118198282610d3f565b6108c45761182681611c59565b611831836020611c6b565b604051602001611842929190612bd3565b60408051601f198184030181529082905262461bcd60e51b82526106b8916004016123df565b600081815b84518110156118ad576118998286838151811061188c5761188c6129af565b6020026020010151611e07565b9150806118a581612ae1565b91505061186d565b509392505050565b6118bf8383611e36565b6118cc6000848484611931565b6107595760405162461bcd60e51b81526004016106b890612b52565b600b5460ff166113f45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106b8565b60006001600160a01b0384163b15611a2757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611975903390899088908890600401612c48565b6020604051808303816000875af19250505080156119b0575060408051601f3d908101601f191682019092526119ad91810190612c85565b60015b611a0d573d8080156119de576040519150601f19603f3d011682016040523d82523d6000602084013e6119e3565b606091505b508051600003611a055760405162461bcd60e51b81526004016106b890612b52565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611136565b506001949350505050565b6060600e805461059a906128e9565b6060611a4c82610ff2565b6000611a56611a32565b90506000815111611a765760405180602001604052806000815250611aa1565b80611a8084611fd9565b604051602001611a91929190612ba4565b6040516020818303038152906040525b9392505050565b60006001600160e01b031982166380ac58cd60e01b1480611ad957506001600160e01b03198216635b5e139f60e01b145b8061058557506301ffc9a760e01b6001600160e01b0319831614610585565b611b048484848461206c565b6001811115611b735760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016106b8565b816001600160a01b038516611bcf57611bca81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611bf2565b836001600160a01b0316856001600160a01b031614611bf257611bf285826120f4565b6001600160a01b038416611c0e57611c0981612191565b611c31565b846001600160a01b0316846001600160a01b031614611c3157611c318482612240565b5050505050565b611c41816113f6565b158015611c4f5750600f5481115b15610a9d57600f55565b60606105856001600160a01b03831660145b60606000611c7a836002612ca2565b611c85906002612afa565b67ffffffffffffffff811115611c9d57611c9d6124b9565b6040519080825280601f01601f191660200182016040528015611cc7576020820181803683370190505b509050600360fc1b81600081518110611ce257611ce26129af565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d1157611d116129af565b60200101906001600160f81b031916908160001a9053506000611d35846002612ca2565b611d40906001612afa565b90505b6001811115611db8576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611d7457611d746129af565b1a60f81b828281518110611d8a57611d8a6129af565b60200101906001600160f81b031916908160001a90535060049490941c93611db181612cb9565b9050611d43565b508315611aa15760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106b8565b6000818310611e23576000828152602084905260409020611aa1565b6000838152602083905260409020611aa1565b6001600160a01b038216611e8c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106b8565b6000818152600260205260409020546001600160a01b031615611ef15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b8565b611eff600083836001611781565b6000818152600260205260409020546001600160a01b031615611f645760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b8565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46108c46000838360016117f3565b60606000611fe683612284565b600101905060008167ffffffffffffffff811115612006576120066124b9565b6040519080825280601f01601f191660200182016040528015612030576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461203a57509392505050565b6001811115610ba5576001600160a01b038416156120b2576001600160a01b038416600090815260036020526040812080548392906120ac908490612cd0565b90915550505b6001600160a01b03831615610ba5576001600160a01b038316600090815260036020526040812080548392906120e9908490612afa565b909155505050505050565b6000600161210184610c99565b61210b9190612cd0565b60008381526007602052604090205490915080821461215e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906121a390600190612cd0565b600083815260096020526040812054600880549394509092849081106121cb576121cb6129af565b9060005260206000200154905080600883815481106121ec576121ec6129af565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061222457612224612ce3565b6001900381819060005260206000200160009055905550505050565b600061224b83610c99565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106122c35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106122ef576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061230d57662386f26fc10000830492506010015b6305f5e1008310612325576305f5e100830492506008015b612710831061233957612710830492506004015b6064831061234b576064830492506002015b600a83106105855760010192915050565b6001600160e01b031981168114610a9d57600080fd5b60006020828403121561238457600080fd5b8135611aa18161235c565b60005b838110156123aa578181015183820152602001612392565b50506000910152565b600081518084526123cb81602086016020860161238f565b601f01601f19169290920160200192915050565b602081526000611aa160208301846123b3565b60006020828403121561240457600080fd5b5035919050565b80356001600160a01b038116811461242257600080fd5b919050565b6000806040838503121561243a57600080fd5b6124438361240b565b946020939093013593505050565b60008060006060848603121561246657600080fd5b61246f8461240b565b925061247d6020850161240b565b9150604084013590509250925092565b600080604083850312156124a057600080fd5b823591506124b06020840161240b565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156124f8576124f86124b9565b604052919050565b600067ffffffffffffffff83111561251a5761251a6124b9565b61252d601f8401601f19166020016124cf565b905082815283838301111561254157600080fd5b828260208301376000602084830101529392505050565b600082601f83011261256957600080fd5b611aa183833560208501612500565b60008083601f84011261258a57600080fd5b50813567ffffffffffffffff8111156125a257600080fd5b6020830191508360208260051b85010111156125bd57600080fd5b9250929050565b6000806000806000608086880312156125dc57600080fd5b6125e58661240b565b945060208601359350604086013567ffffffffffffffff8082111561260957600080fd5b61261589838a01612558565b9450606088013591508082111561262b57600080fd5b5061263888828901612578565b969995985093965092949392505050565b60008060006060848603121561265e57600080fd5b6126678461240b565b925060208401359150604084013567ffffffffffffffff81111561268a57600080fd5b61269686828701612558565b9150509250925092565b6000602082840312156126b257600080fd5b611aa18261240b565b6000602082840312156126cd57600080fd5b813567ffffffffffffffff8111156126e457600080fd5b61113684828501612558565b8035801515811461242257600080fd5b60006020828403121561271257600080fd5b611aa1826126f0565b6000806040838503121561272e57600080fd5b6127378361240b565b91506124b0602084016126f0565b6000806000806080858703121561275b57600080fd5b6127648561240b565b93506127726020860161240b565b925060408501359150606085013567ffffffffffffffff81111561279557600080fd5b8501601f810187136127a657600080fd5b6127b587823560208401612500565b91505092959194509250565b600080600080606085870312156127d757600080fd5b6127e08561240b565b935060208086013567ffffffffffffffff808211156127fe57600080fd5b61280a89838a01612578565b9096509450604088013591508082111561282357600080fd5b818801915088601f83011261283757600080fd5b813581811115612849576128496124b9565b8060051b6128588582016124cf565b918252838101850191858101908c84111561287257600080fd5b86860192505b838310156128ae578235858111156128905760008081fd5b61289e8e89838a0101612558565b8352509186019190860190612878565b999c989b5096995050505050505050565b600080604083850312156128d257600080fd5b6128db8361240b565b91506124b06020840161240b565b600181811c908216806128fd57607f821691505b60208210810361291d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6bffffffffffffffffffffffff198460601b168152826014820152600082516129a081603485016020870161238f565b91909101603401949350505050565b634e487b7160e01b600052603260045260246000fd5b601f82111561075957600081815260208120601f850160051c810160208610156129ec5750805b601f850160051c820191505b81811015610ef5578281556001016129f8565b815167ffffffffffffffff811115612a2557612a256124b9565b612a3981612a3384546128e9565b846129c5565b602080601f831160018114612a6e5760008415612a565750858301515b600019600386901b1c1916600185901b178555610ef5565b600085815260208120601f198616915b82811015612a9d57888601518255948401946001909101908401612a7e565b5085821015612abb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201612af357612af3612acb565b5060010190565b8082018082111561058557610585612acb565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351612bb681846020880161238f565b835190830190612bca81836020880161238f565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c0b81601785016020880161238f565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c3c81602884016020880161238f565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c7b908301846123b3565b9695505050505050565b600060208284031215612c9757600080fd5b8151611aa18161235c565b808202811582820484141761058557610585612acb565b600081612cc857612cc8612acb565b506000190190565b8181038181111561058557610585612acb565b634e487b7160e01b600052603160045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862aa2646970667358221220bcb1009f2e08561b2c0bdfeab9bc9f458098d4b52bfa374d5075dabc25ae96a064736f6c6343000812003300000000000000000000000000000000000000000000000000000000000000010000000000000000000000001562e7465c5eb810344fdcc87c736bb489020fa00000000000000000000000001562e7465c5eb810344fdcc87c736bb489020fa0d0e4d0046eea9148adf433b43354175e83ab932dd816f8b736ca2e64b022c25d0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000001e8480000000000000000000000000000000000000000000000000000000000000000920436f7265636172640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000920436f726563617264000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000222068747470733a2f2f6170692e636f7265736b792e636f6d2f636f7265636172642f000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102535760003560e01c80636352211e11610146578063a22cb465116100c3578063d539139311610087578063d5391393146104c4578063d547741f146104eb578063da9425e2146104fe578063e495d3e514610521578063e63ab1e914610529578063e985e9c51461053e57600080fd5b8063a22cb4651461046f578063b88d4fde14610482578063b943b76014610495578063c87b56dd146104a8578063d02e45f2146104bb57600080fd5b806391d148541161010a57806391d1485414610426578063931688cb1461043957806395d89b411461044c5780639a1a562914610454578063a217fddf1461046757600080fd5b80636352211e146103e35780636c0360eb146103f657806370a08231146103fe5780638456cb59146104115780638a0e9db21461041957600080fd5b806333eec4d4116101d45780634783f0ef116101985780634783f0ef146103965780634f6ccce7146103a95780634fda4294146103bc5780635a570c0c146103cf5780635c975abb146103d857600080fd5b806333eec4d41461034c57806336568abe1461035557806338e1c300146103685780633f4ba83a1461037b57806342842e0e1461038357600080fd5b806323b872dd1161021b57806323b872dd146102e7578063248a9ca3146102fa5780632eb4a7ab1461031d5780632f2ff15d146103265780632f745c591461033957600080fd5b806301ffc9a71461025857806306fdde0314610280578063081812fc14610295578063095ea7b3146102c057806318160ddd146102d5575b600080fd5b61026b610266366004612372565b61057a565b60405190151581526020015b60405180910390f35b61028861058b565b60405161027791906123df565b6102a86102a33660046123f2565b61061d565b6040516001600160a01b039091168152602001610277565b6102d36102ce366004612427565b610644565b005b6008545b604051908152602001610277565b6102d36102f5366004612451565b61075e565b6102d96103083660046123f2565b6000908152600c602052604090206001015490565b6102d960105481565b6102d361033436600461248d565b61078f565b6102d9610347366004612427565b6107b4565b6102d960125481565b6102d361036336600461248d565b61084a565b6102d36103763660046125c4565b6108c8565b6102d3610a7d565b6102d3610391366004612451565b610aa0565b6102d36103a43660046123f2565b610abb565b6102d96103b73660046123f2565b610acc565b6102d36103ca366004612649565b610b5f565b6102d9600f5481565b600b5460ff1661026b565b6102a86103f13660046123f2565b610bab565b610288610c0b565b6102d961040c3660046126a0565b610c99565b6102d3610d1f565b600d5461026b9060ff1681565b61026b61043436600461248d565b610d3f565b6102d36104473660046126bb565b610d6a565b610288610d81565b6102d3610462366004612700565b610d90565b6102d9600081565b6102d361047d36600461271b565b610dbc565b6102d3610490366004612745565b610dc7565b6102d36104a33660046127c1565b610df9565b6102886104b63660046123f2565b610efd565b6102d960115481565b6102d97f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102d36104f936600461248d565b610f08565b61026b61050c3660046126a0565b60136020526000908152604090205460ff1681565b6102d3610f2d565b6102d9600080516020612cfa83398151915281565b61026b61054c3660046128bf565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600061058582610fcd565b92915050565b60606000805461059a906128e9565b80601f01602080910402602001604051908101604052809291908181526020018280546105c6906128e9565b80156106135780601f106105e857610100808354040283529160200191610613565b820191906000526020600020905b8154815290600101906020018083116105f657829003601f168201915b5050505050905090565b600061062882610ff2565b506000908152600460205260409020546001600160a01b031690565b600061064f82610bab565b9050806001600160a01b0316836001600160a01b0316036106c15760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106dd57506106dd813361054c565b61074f5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106b8565b6107598383611051565b505050565b61076833826110bf565b6107845760405162461bcd60e51b81526004016106b890612923565b61075983838361113e565b6000828152600c60205260409020600101546107aa816112b7565b61075983836112c1565b60006107bf83610c99565b82106108215760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106b8565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6001600160a01b03811633146108ba5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106b8565b6108c48282611347565b5050565b6108d06113ae565b836108da816113f6565b6109155760405162461bcd60e51b815260206004820152600c60248201526b139bdd0814995cd95c9d995960a21b60448201526064016106b8565b6001600160a01b038616600090815260136020526040902054869060ff161561096c5760405162461bcd60e51b81526020600482015260096024820152684f6e6c79204f6e636560b81b60448201526064016106b8565b600d5460ff166109af5760405162461bcd60e51b815260206004820152600e60248201526d4f6e6c7920436c61696d61626c6560901b60448201526064016106b8565b60008787876040516020016109c693929190612970565b604051602081830303815290604052805190602001209050610a1f85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601054915084905061140e565b610a3c576040516309bde33960e01b815260040160405180910390fd5b6001600160a01b0388166000908152601360205260409020805460ff19166001179055610a698888611424565b610a73878761143e565b5050505050505050565b600080516020612cfa833981519152610a95816112b7565b610a9d6114d1565b50565b61075983838360405180602001604052806000815250610dc7565b6000610ac6816112b7565b50601055565b6000610ad760085490565b8210610b3a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106b8565b60088281548110610b4d57610b4d6129af565b90600052602060002001549050919050565b610b676113ae565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610b91816112b7565b610b9b8484611424565b610ba5838361143e565b50505050565b6000818152600260205260408120546001600160a01b0316806105855760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106b8565b600e8054610c18906128e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610c44906128e9565b8015610c915780601f10610c6657610100808354040283529160200191610c91565b820191906000526020600020905b815481529060010190602001808311610c7457829003601f168201915b505050505081565b60006001600160a01b038216610d035760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106b8565b506001600160a01b031660009081526003602052604090205490565b600080516020612cfa833981519152610d37816112b7565b610a9d611523565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000610d75816112b7565b600e6107598382612a0b565b60606001805461059a906128e9565b600080516020612cfa833981519152610da8816112b7565b50600d805460ff1916911515919091179055565b6108c4338383611560565b610dd133836110bf565b610ded5760405162461bcd60e51b81526004016106b890612923565b610ba58484848461162e565b610e016113ae565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e2b816112b7565b81518314610e7b5760405162461bcd60e51b815260206004820152601960248201527f4172726179206c656e677468206d75737420657175616c2e200000000000000060448201526064016106b8565b60005b83811015610ef557610ea886868684818110610e9c57610e9c6129af565b90506020020135611424565b610ee3858583818110610ebd57610ebd6129af565b90506020020135848381518110610ed657610ed66129af565b602002602001015161143e565b80610eed81612ae1565b915050610e7e565b505050505050565b606061058582611661565b6000828152600c6020526040902060010154610f23816112b7565b6107598383611347565b610f356113ae565b600d5460ff16610f785760405162461bcd60e51b815260206004820152600e60248201526d4f6e6c7920436c61696d61626c6560901b60448201526064016106b8565b6000600f546001610f899190612afa565b9050610f94816113f6565b15610faa57601254610fa7906001612afa565b90505b610fb43382611424565b610a9d816040518060200160405280600081525061143e565b60006001600160e01b03198216637965db0b60e01b148061058557506105858261175c565b6000818152600260205260409020546001600160a01b0316610a9d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106b8565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061108682610bab565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806110cb83610bab565b9050806001600160a01b0316846001600160a01b0316148061111257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806111365750836001600160a01b031661112b8461061d565b6001600160a01b0316145b949350505050565b826001600160a01b031661115182610bab565b6001600160a01b0316146111775760405162461bcd60e51b81526004016106b890612b0d565b6001600160a01b0382166111d95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106b8565b6111e68383836001611781565b826001600160a01b03166111f982610bab565b6001600160a01b03161461121f5760405162461bcd60e51b81526004016106b890612b0d565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a461075983838360016117f3565b610a9d813361180f565b6112cb8282610d3f565b6108c4576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556113033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6113518282610d3f565b156108c4576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600b5460ff16156113f45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016106b8565b565b60006011548210158015610585575050601254101590565b60008261141b8584611868565b14949350505050565b6108c48282604051806020016040528060008152506118b5565b6000828152600260205260409020546001600160a01b03166114b95760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106b8565b6000828152600a602052604090206107598282612a0b565b6114d96118e8565b600b805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b61152b6113ae565b600b805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586115063390565b816001600160a01b0316836001600160a01b0316036115c15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106b8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61163984848461113e565b61164584848484611931565b610ba55760405162461bcd60e51b81526004016106b890612b52565b606061166c82610ff2565b6000828152600a602052604081208054611685906128e9565b80601f01602080910402602001604051908101604052809291908181526020018280546116b1906128e9565b80156116fe5780601f106116d3576101008083540402835291602001916116fe565b820191906000526020600020905b8154815290600101906020018083116116e157829003601f168201915b50505050509050600061170f611a32565b90508051600003611721575092915050565b81511561175357808260405160200161173b929190612ba4565b60405160208183030381529060405292505050919050565b61113684611a41565b60006001600160e01b0319821663780e9d6360e01b1480610585575061058582611aa8565b6117896113ae565b6001600160a01b0384166117e757600082116117e75760405162461bcd60e51b815260206004820152601760248201527f746f6b656e49442063616e206e6f74206265207a65726f00000000000000000060448201526064016106b8565b610ba584848484611af8565b6001600160a01b03841661180a5761180a82611c38565b610ba5565b6118198282610d3f565b6108c45761182681611c59565b611831836020611c6b565b604051602001611842929190612bd3565b60408051601f198184030181529082905262461bcd60e51b82526106b8916004016123df565b600081815b84518110156118ad576118998286838151811061188c5761188c6129af565b6020026020010151611e07565b9150806118a581612ae1565b91505061186d565b509392505050565b6118bf8383611e36565b6118cc6000848484611931565b6107595760405162461bcd60e51b81526004016106b890612b52565b600b5460ff166113f45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016106b8565b60006001600160a01b0384163b15611a2757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611975903390899088908890600401612c48565b6020604051808303816000875af19250505080156119b0575060408051601f3d908101601f191682019092526119ad91810190612c85565b60015b611a0d573d8080156119de576040519150601f19603f3d011682016040523d82523d6000602084013e6119e3565b606091505b508051600003611a055760405162461bcd60e51b81526004016106b890612b52565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611136565b506001949350505050565b6060600e805461059a906128e9565b6060611a4c82610ff2565b6000611a56611a32565b90506000815111611a765760405180602001604052806000815250611aa1565b80611a8084611fd9565b604051602001611a91929190612ba4565b6040516020818303038152906040525b9392505050565b60006001600160e01b031982166380ac58cd60e01b1480611ad957506001600160e01b03198216635b5e139f60e01b145b8061058557506301ffc9a760e01b6001600160e01b0319831614610585565b611b048484848461206c565b6001811115611b735760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016106b8565b816001600160a01b038516611bcf57611bca81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611bf2565b836001600160a01b0316856001600160a01b031614611bf257611bf285826120f4565b6001600160a01b038416611c0e57611c0981612191565b611c31565b846001600160a01b0316846001600160a01b031614611c3157611c318482612240565b5050505050565b611c41816113f6565b158015611c4f5750600f5481115b15610a9d57600f55565b60606105856001600160a01b03831660145b60606000611c7a836002612ca2565b611c85906002612afa565b67ffffffffffffffff811115611c9d57611c9d6124b9565b6040519080825280601f01601f191660200182016040528015611cc7576020820181803683370190505b509050600360fc1b81600081518110611ce257611ce26129af565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d1157611d116129af565b60200101906001600160f81b031916908160001a9053506000611d35846002612ca2565b611d40906001612afa565b90505b6001811115611db8576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611d7457611d746129af565b1a60f81b828281518110611d8a57611d8a6129af565b60200101906001600160f81b031916908160001a90535060049490941c93611db181612cb9565b9050611d43565b508315611aa15760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106b8565b6000818310611e23576000828152602084905260409020611aa1565b6000838152602083905260409020611aa1565b6001600160a01b038216611e8c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106b8565b6000818152600260205260409020546001600160a01b031615611ef15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b8565b611eff600083836001611781565b6000818152600260205260409020546001600160a01b031615611f645760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b8565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46108c46000838360016117f3565b60606000611fe683612284565b600101905060008167ffffffffffffffff811115612006576120066124b9565b6040519080825280601f01601f191660200182016040528015612030576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461203a57509392505050565b6001811115610ba5576001600160a01b038416156120b2576001600160a01b038416600090815260036020526040812080548392906120ac908490612cd0565b90915550505b6001600160a01b03831615610ba5576001600160a01b038316600090815260036020526040812080548392906120e9908490612afa565b909155505050505050565b6000600161210184610c99565b61210b9190612cd0565b60008381526007602052604090205490915080821461215e576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906121a390600190612cd0565b600083815260096020526040812054600880549394509092849081106121cb576121cb6129af565b9060005260206000200154905080600883815481106121ec576121ec6129af565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061222457612224612ce3565b6001900381819060005260206000200160009055905550505050565b600061224b83610c99565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106122c35772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106122ef576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061230d57662386f26fc10000830492506010015b6305f5e1008310612325576305f5e100830492506008015b612710831061233957612710830492506004015b6064831061234b576064830492506002015b600a83106105855760010192915050565b6001600160e01b031981168114610a9d57600080fd5b60006020828403121561238457600080fd5b8135611aa18161235c565b60005b838110156123aa578181015183820152602001612392565b50506000910152565b600081518084526123cb81602086016020860161238f565b601f01601f19169290920160200192915050565b602081526000611aa160208301846123b3565b60006020828403121561240457600080fd5b5035919050565b80356001600160a01b038116811461242257600080fd5b919050565b6000806040838503121561243a57600080fd5b6124438361240b565b946020939093013593505050565b60008060006060848603121561246657600080fd5b61246f8461240b565b925061247d6020850161240b565b9150604084013590509250925092565b600080604083850312156124a057600080fd5b823591506124b06020840161240b565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156124f8576124f86124b9565b604052919050565b600067ffffffffffffffff83111561251a5761251a6124b9565b61252d601f8401601f19166020016124cf565b905082815283838301111561254157600080fd5b828260208301376000602084830101529392505050565b600082601f83011261256957600080fd5b611aa183833560208501612500565b60008083601f84011261258a57600080fd5b50813567ffffffffffffffff8111156125a257600080fd5b6020830191508360208260051b85010111156125bd57600080fd5b9250929050565b6000806000806000608086880312156125dc57600080fd5b6125e58661240b565b945060208601359350604086013567ffffffffffffffff8082111561260957600080fd5b61261589838a01612558565b9450606088013591508082111561262b57600080fd5b5061263888828901612578565b969995985093965092949392505050565b60008060006060848603121561265e57600080fd5b6126678461240b565b925060208401359150604084013567ffffffffffffffff81111561268a57600080fd5b61269686828701612558565b9150509250925092565b6000602082840312156126b257600080fd5b611aa18261240b565b6000602082840312156126cd57600080fd5b813567ffffffffffffffff8111156126e457600080fd5b61113684828501612558565b8035801515811461242257600080fd5b60006020828403121561271257600080fd5b611aa1826126f0565b6000806040838503121561272e57600080fd5b6127378361240b565b91506124b0602084016126f0565b6000806000806080858703121561275b57600080fd5b6127648561240b565b93506127726020860161240b565b925060408501359150606085013567ffffffffffffffff81111561279557600080fd5b8501601f810187136127a657600080fd5b6127b587823560208401612500565b91505092959194509250565b600080600080606085870312156127d757600080fd5b6127e08561240b565b935060208086013567ffffffffffffffff808211156127fe57600080fd5b61280a89838a01612578565b9096509450604088013591508082111561282357600080fd5b818801915088601f83011261283757600080fd5b813581811115612849576128496124b9565b8060051b6128588582016124cf565b918252838101850191858101908c84111561287257600080fd5b86860192505b838310156128ae578235858111156128905760008081fd5b61289e8e89838a0101612558565b8352509186019190860190612878565b999c989b5096995050505050505050565b600080604083850312156128d257600080fd5b6128db8361240b565b91506124b06020840161240b565b600181811c908216806128fd57607f821691505b60208210810361291d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6bffffffffffffffffffffffff198460601b168152826014820152600082516129a081603485016020870161238f565b91909101603401949350505050565b634e487b7160e01b600052603260045260246000fd5b601f82111561075957600081815260208120601f850160051c810160208610156129ec5750805b601f850160051c820191505b81811015610ef5578281556001016129f8565b815167ffffffffffffffff811115612a2557612a256124b9565b612a3981612a3384546128e9565b846129c5565b602080601f831160018114612a6e5760008415612a565750858301515b600019600386901b1c1916600185901b178555610ef5565b600085815260208120601f198616915b82811015612a9d57888601518255948401946001909101908401612a7e565b5085821015612abb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201612af357612af3612acb565b5060010190565b8082018082111561058557610585612acb565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351612bb681846020880161238f565b835190830190612bca81836020880161238f565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c0b81601785016020880161238f565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612c3c81602884016020880161238f565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c7b908301846123b3565b9695505050505050565b600060208284031215612c9757600080fd5b8151611aa18161235c565b808202811582820484141761058557610585612acb565b600081612cc857612cc8612acb565b506000190190565b8181038181111561058557610585612acb565b634e487b7160e01b600052603160045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862aa2646970667358221220bcb1009f2e08561b2c0bdfeab9bc9f458098d4b52bfa374d5075dabc25ae96a064736f6c63430008120033
Deployed Bytecode Sourcemap
85507:6088:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91389:203;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;91389:203:0;;;;;;;;50900:100;;;:::i;:::-;;;;;;;:::i;52412:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;52412:171:0;1533:203:1;51930:416:0;;;;;;:::i;:::-;;:::i;:::-;;68570:113;68658:10;:17;68570:113;;;2324:25:1;;;2312:2;2297:18;68570:113:0;2178:177:1;53112:335:0;;;;;;:::i;:::-;;:::i;25625:131::-;;;;;;:::i;:::-;25699:7;25726:12;;;:6;:12;;;;;:22;;;;25625:131;85871:25;;;;;;26066:147;;;;;;:::i;:::-;;:::i;68238:256::-;;;;;;:::i;:::-;;:::i;86000:39::-;;;;;;27210:218;;;;;;:::i;:::-;;:::i;88436:593::-;;;;;;:::i;:::-;;:::i;88259:77::-;;;:::i;53518:185::-;;;;;;:::i;:::-;;:::i;87948:114::-;;;;;;:::i;:::-;;:::i;68760:233::-;;;;;;:::i;:::-;;:::i;89518:229::-;;;;;;:::i;:::-;;:::i;85837:25::-;;;;;;31150:86;31221:7;;;;31150:86;;50610:223;;;;;;:::i;:::-;;:::i;85807:21::-;;;:::i;50341:207::-;;;;;;:::i;:::-;;:::i;88178:73::-;;;:::i;85776:22::-;;;;;;;;;24098:147;;;;;;:::i;:::-;;:::i;87700:127::-;;;;;;:::i;:::-;;:::i;51069:104::-;;;:::i;87833:107::-;;;;;;:::i;:::-;;:::i;23203:49::-;;23248:4;23203:49;;52655:155;;;;;;:::i;:::-;;:::i;53774:322::-;;;;;;:::i;:::-;;:::i;89793:417::-;;;;;;:::i;:::-;;:::i;91209:172::-;;;;;;:::i;:::-;;:::i;85954:39::-;;;;;;85705:62;;85743:24;85705:62;;26506:149;;;;;;:::i;:::-;;:::i;86617:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;89055:342;;;:::i;85636:62::-;;-1:-1:-1;;;;;;;;;;;85636:62:0;;52881:164;;;;;;:::i;:::-;-1:-1:-1;;;;;53002:25:0;;;52978:4;53002:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52881:164;91389:203;91524:4;91548:36;91572:11;91548:23;:36::i;:::-;91541:43;91389:203;-1:-1:-1;;91389:203:0:o;50900:100::-;50954:13;50987:5;50980:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50900:100;:::o;52412:171::-;52488:7;52508:23;52523:7;52508:14;:23::i;:::-;-1:-1:-1;52551:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;52551:24:0;;52412:171::o;51930:416::-;52011:13;52027:23;52042:7;52027:14;:23::i;:::-;52011:39;;52075:5;-1:-1:-1;;;;;52069:11:0;:2;-1:-1:-1;;;;;52069:11:0;;52061:57;;;;-1:-1:-1;;;52061:57:0;;10229:2:1;52061:57:0;;;10211:21:1;10268:2;10248:18;;;10241:30;10307:34;10287:18;;;10280:62;-1:-1:-1;;;10358:18:1;;;10351:31;10399:19;;52061:57:0;;;;;;;;;3912:10;-1:-1:-1;;;;;52153:21:0;;;;:62;;-1:-1:-1;52178:37:0;52195:5;3912:10;52881:164;:::i;52178:37::-;52131:173;;;;-1:-1:-1;;;52131:173:0;;10631:2:1;52131:173:0;;;10613:21:1;10670:2;10650:18;;;10643:30;10709:34;10689:18;;;10682:62;10780:31;10760:18;;;10753:59;10829:19;;52131:173:0;10429:425:1;52131:173:0;52317:21;52326:2;52330:7;52317:8;:21::i;:::-;52000:346;51930:416;;:::o;53112:335::-;53307:41;3912:10;53340:7;53307:18;:41::i;:::-;53299:99;;;;-1:-1:-1;;;53299:99:0;;;;;;;:::i;:::-;53411:28;53421:4;53427:2;53431:7;53411:9;:28::i;26066:147::-;25699:7;25726:12;;;:6;:12;;;;;:22;;;23694:16;23705:4;23694:10;:16::i;:::-;26180:25:::1;26191:4;26197:7;26180:10;:25::i;68238:256::-:0;68335:7;68371:23;68388:5;68371:16;:23::i;:::-;68363:5;:31;68355:87;;;;-1:-1:-1;;;68355:87:0;;11475:2:1;68355:87:0;;;11457:21:1;11514:2;11494:18;;;11487:30;11553:34;11533:18;;;11526:62;-1:-1:-1;;;11604:18:1;;;11597:41;11655:19;;68355:87:0;11273:407:1;68355:87:0;-1:-1:-1;;;;;;68460:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;68238:256::o;27210:218::-;-1:-1:-1;;;;;27306:23:0;;3912:10;27306:23;27298:83;;;;-1:-1:-1;;;27298:83:0;;11887:2:1;27298:83:0;;;11869:21:1;11926:2;11906:18;;;11899:30;11965:34;11945:18;;;11938:62;-1:-1:-1;;;12016:18:1;;;12009:45;12071:19;;27298:83:0;11685:411:1;27298:83:0;27394:26;27406:4;27412:7;27394:11;:26::i;:::-;27210:218;;:::o;88436:593::-;30755:19;:17;:19::i;:::-;88626:7:::1;86318:26;86336:7;86318:17;:26::i;:::-;86310:51;;;::::0;-1:-1:-1;;;86310:51:0;;12303:2:1;86310:51:0::1;::::0;::::1;12285:21:1::0;12342:2;12322:18;;;12315:30;-1:-1:-1;;;12361:18:1;;;12354:42;12413:18;;86310:51:0::1;12101:336:1::0;86310:51:0::1;-1:-1:-1::0;;;;;87645:12:0;::::2;;::::0;;;:8:::2;:12;::::0;;;;;88644:2;;87645:12:::2;;87644:13;87636:35;;;::::0;-1:-1:-1;;;87636:35:0;;12644:2:1;87636:35:0::2;::::0;::::2;12626:21:1::0;12683:1;12663:18;;;12656:29;-1:-1:-1;;;12701:18:1;;;12694:39;12750:18;;87636:35:0::2;12442:332:1::0;87636:35:0::2;87511:10:::3;::::0;::::3;;87503:37;;;::::0;-1:-1:-1;;;87503:37:0;;12981:2:1;87503:37:0::3;::::0;::::3;12963:21:1::0;13020:2;13000:18;;;12993:30;-1:-1:-1;;;13039:18:1;;;13032:44;13093:18;;87503:37:0::3;12779:338:1::0;87503:37:0::3;88712:12:::4;88754:2;88758:7;88767:3;88737:34;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;88727:45;;;;;;88712:60;;88788:49;88807:11;;88788:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;::::0;;;;-1:-1:-1;;88820:10:0::4;::::0;;-1:-1:-1;88832:4:0;;-1:-1:-1;88788:18:0::4;:49::i;:::-;88783:77;;88846:14;;-1:-1:-1::0;;;88846:14:0::4;;;;;;;;;;;88783:77;-1:-1:-1::0;;;;;88915:12:0;::::4;;::::0;;;:8:::4;:12;::::0;;;;:19;;-1:-1:-1;;88915:19:0::4;88930:4;88915:19;::::0;;88962:22:::4;88924:2:::0;88976:7;88962:9:::4;:22::i;:::-;88995:26;89008:7;89017:3;88995:12;:26::i;:::-;88664:365;86372:1:::2;30785::::1;88436:593:::0;;;;;:::o;88259:77::-;-1:-1:-1;;;;;;;;;;;23694:16:0;23705:4;23694:10;:16::i;:::-;88318:10:::1;:8;:10::i;:::-;88259:77:::0;:::o;53518:185::-;53656:39;53673:4;53679:2;53683:7;53656:39;;;;;;;;;;;;:16;:39::i;87948:114::-;23248:4;23694:16;23248:4;23694:10;:16::i;:::-;-1:-1:-1;88037:10:0::1;:17:::0;87948:114::o;68760:233::-;68835:7;68871:30;68658:10;:17;;68570:113;68871:30;68863:5;:38;68855:95;;;;-1:-1:-1;;;68855:95:0;;13804:2:1;68855:95:0;;;13786:21:1;13843:2;13823:18;;;13816:30;13882:34;13862:18;;;13855:62;-1:-1:-1;;;13933:18:1;;;13926:42;13985:19;;68855:95:0;13602:408:1;68855:95:0;68968:10;68979:5;68968:17;;;;;;;;:::i;:::-;;;;;;;;;68961:24;;68760:233;;;:::o;89518:229::-;30755:19;:17;:19::i;:::-;85743:24:::1;23694:16;23705:4;23694:10;:16::i;:::-;89680:22:::2;89690:2;89694:7;89680:9;:22::i;:::-;89713:26;89726:7;89735:3;89713:12;:26::i;:::-;30785:1:::1;89518:229:::0;;;:::o;50610:223::-;50682:7;55497:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55497:16:0;;50746:56;;;;-1:-1:-1;;;50746:56:0;;14349:2:1;50746:56:0;;;14331:21:1;14388:2;14368:18;;;14361:30;-1:-1:-1;;;14407:18:1;;;14400:54;14471:18;;50746:56:0;14147:348:1;85807:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50341:207::-;50413:7;-1:-1:-1;;;;;50441:19:0;;50433:73;;;;-1:-1:-1;;;50433:73:0;;14702:2:1;50433:73:0;;;14684:21:1;14741:2;14721:18;;;14714:30;14780:34;14760:18;;;14753:62;-1:-1:-1;;;14831:18:1;;;14824:39;14880:19;;50433:73:0;14500:405:1;50433:73:0;-1:-1:-1;;;;;;50524:16:0;;;;;:9;:16;;;;;;;50341:207::o;88178:73::-;-1:-1:-1;;;;;;;;;;;23694:16:0;23705:4;23694:10;:16::i;:::-;88235:8:::1;:6;:8::i;24098:147::-:0;24184:4;24208:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;24208:29:0;;;;;;;;;;;;;;;24098:147::o;87700:127::-;23248:4;23694:16;23248:4;23694:10;:16::i;:::-;87800:7:::1;:19;87810:9:::0;87800:7;:19:::1;:::i;51069:104::-:0;51125:13;51158:7;51151:14;;;;;:::i;87833:107::-;-1:-1:-1;;;;;;;;;;;23694:16:0;23705:4;23694:10;:16::i;:::-;-1:-1:-1;87914:10:0::1;:18:::0;;-1:-1:-1;;87914:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;87833:107::o;52655:155::-;52750:52;3912:10;52783:8;52793;52750:18;:52::i;53774:322::-;53948:41;3912:10;53981:7;53948:18;:41::i;:::-;53940:99;;;;-1:-1:-1;;;53940:99:0;;;;;;;:::i;:::-;54050:38;54064:4;54070:2;54074:7;54083:4;54050:13;:38::i;89793:417::-;30755:19;:17;:19::i;:::-;85743:24:::1;23694:16;23705:4;23694:10;:16::i;:::-;89998:10:::0;;89980:28;::::2;89972:66;;;::::0;-1:-1:-1;;;89972:66:0;;17316:2:1;89972:66:0::2;::::0;::::2;17298:21:1::0;17355:2;17335:18;;;17328:30;17394:27;17374:18;;;17367:55;17439:18;;89972:66:0::2;17114:349:1::0;89972:66:0::2;90064:9;90059:144;90079:18:::0;;::::2;90059:144;;;90119:25;90129:2;90133:7;;90141:1;90133:10;;;;;;;:::i;:::-;;;;;;;90119:9;:25::i;:::-;90159:32;90172:7;;90180:1;90172:10;;;;;;;:::i;:::-;;;;;;;90184:3;90188:1;90184:6;;;;;;;;:::i;:::-;;;;;;;90159:12;:32::i;:::-;90099:3:::0;::::2;::::0;::::2;:::i;:::-;;;;90059:144;;;;30785:1:::1;89793:417:::0;;;;:::o;91209:172::-;91317:13;91350:23;91365:7;91350:14;:23::i;26506:149::-;25699:7;25726:12;;;:6;:12;;;;;:22;;;23694:16;23705:4;23694:10;:16::i;:::-;26621:26:::1;26633:4;26639:7;26621:11;:26::i;89055:342::-:0;30755:19;:17;:19::i;:::-;87511:10:::1;::::0;::::1;;87503:37;;;::::0;-1:-1:-1;;;87503:37:0;;12981:2:1;87503:37:0::1;::::0;::::1;12963:21:1::0;13020:2;13000:18;;;12993:30;-1:-1:-1;;;13039:18:1;;;13032:44;13093:18;;87503:37:0::1;12779:338:1::0;87503:37:0::1;89156:15:::2;89174:10;;89187:1;89174:14;;;;:::i;:::-;89156:32;;89202:26;89220:7;89202:17;:26::i;:::-;89199:96;;;89255:24;::::0;:28:::2;::::0;89282:1:::2;89255:28;:::i;:::-;89245:38;;89199:96;89323:30;89333:10;89345:7;89323:9;:30::i;:::-;89364:25;89377:7;89364:25;;;;;;;;;;;::::0;:12:::2;:25::i;23802:204::-:0;23887:4;-1:-1:-1;;;;;;23911:47:0;;-1:-1:-1;;;23911:47:0;;:87;;;23962:36;23986:11;23962:23;:36::i;62231:135::-;55899:4;55497:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55497:16:0;62305:53;;;;-1:-1:-1;;;62305:53:0;;14349:2:1;62305:53:0;;;14331:21:1;14388:2;14368:18;;;14361:30;-1:-1:-1;;;14407:18:1;;;14400:54;14471:18;;62305:53:0;14147:348:1;61510:174:0;61585:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;61585:29:0;-1:-1:-1;;;;;61585:29:0;;;;;;;;:24;;61639:23;61585:24;61639:14;:23::i;:::-;-1:-1:-1;;;;;61630:46:0;;;;;;;;;;;61510:174;;:::o;56129:264::-;56222:4;56239:13;56255:23;56270:7;56255:14;:23::i;:::-;56239:39;;56308:5;-1:-1:-1;;;;;56297:16:0;:7;-1:-1:-1;;;;;56297:16:0;;:52;;;-1:-1:-1;;;;;;53002:25:0;;;52978:4;53002:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;56317:32;56297:87;;;;56377:7;-1:-1:-1;;;;;56353:31:0;:20;56365:7;56353:11;:20::i;:::-;-1:-1:-1;;;;;56353:31:0;;56297:87;56289:96;56129:264;-1:-1:-1;;;;56129:264:0:o;60128:1263::-;60287:4;-1:-1:-1;;;;;60260:31:0;:23;60275:7;60260:14;:23::i;:::-;-1:-1:-1;;;;;60260:31:0;;60252:81;;;;-1:-1:-1;;;60252:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;60352:16:0;;60344:65;;;;-1:-1:-1;;;60344:65:0;;18478:2:1;60344:65:0;;;18460:21:1;18517:2;18497:18;;;18490:30;18556:34;18536:18;;;18529:62;-1:-1:-1;;;18607:18:1;;;18600:34;18651:19;;60344:65:0;18276:400:1;60344:65:0;60422:42;60443:4;60449:2;60453:7;60462:1;60422:20;:42::i;:::-;60594:4;-1:-1:-1;;;;;60567:31:0;:23;60582:7;60567:14;:23::i;:::-;-1:-1:-1;;;;;60567:31:0;;60559:81;;;;-1:-1:-1;;;60559:81:0;;;;;;;:::i;:::-;60712:24;;;;:15;:24;;;;;;;;60705:31;;-1:-1:-1;;;;;;60705:31:0;;;;;;-1:-1:-1;;;;;61188:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;61188:20:0;;;61223:13;;;;;;;;;:18;;60705:31;61223:18;;;61263:16;;;:7;:16;;;;;;:21;;;;;;;;;;61302:27;;60728:7;;61302:27;;;61342:41;61362:4;61368:2;61372:7;61381:1;61342:19;:41::i;24549:105::-;24616:30;24627:4;3912:10;24616;:30::i;28807:238::-;28891:22;28899:4;28905:7;28891;:22::i;:::-;28886:152;;28930:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;28930:29:0;;;;;;;;;:36;;-1:-1:-1;;28930:36:0;28962:4;28930:36;;;29013:12;3912:10;;3832:98;29013:12;-1:-1:-1;;;;;28986:40:0;29004:7;-1:-1:-1;;;;;28986:40:0;28998:4;28986:40;;;;;;;;;;28807:238;;:::o;29225:239::-;29309:22;29317:4;29323:7;29309;:22::i;:::-;29305:152;;;29380:5;29348:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;29348:29:0;;;;;;;;;;:37;;-1:-1:-1;;29348:37:0;;;29405:40;3912:10;;29348:12;;29405:40;;29380:5;29405:40;29225:239;;:::o;31309:108::-;31221:7;;;;31379:9;31371:38;;;;-1:-1:-1;;;31371:38:0;;18883:2:1;31371:38:0;;;18865:21:1;18922:2;18902:18;;;18895:30;-1:-1:-1;;;18941:18:1;;;18934:46;18997:18;;31371:38:0;18681:340:1;31371:38:0;31309:108::o;86073:174::-;86139:4;86175:24;;86164:7;:35;;:74;;;;-1:-1:-1;;86214:24:0;;-1:-1:-1;86203:35:0;;86073:174::o;77062:190::-;77187:4;77240;77211:25;77224:5;77231:4;77211:12;:25::i;:::-;:33;;77062:190;-1:-1:-1;;;;77062:190:0:o;56735:110::-;56811:26;56821:2;56825:7;56811:26;;;;;;;;;;;;:9;:26::i;75177:217::-;55899:4;55497:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55497:16:0;75269:75;;;;-1:-1:-1;;;75269:75:0;;19228:2:1;75269:75:0;;;19210:21:1;19267:2;19247:18;;;19240:30;19306:34;19286:18;;;19279:62;-1:-1:-1;;;19357:18:1;;;19350:44;19411:19;;75269:75:0;19026:410:1;75269:75:0;75355:19;;;;:10;:19;;;;;:31;75377:9;75355:19;:31;:::i;32005:120::-;31014:16;:14;:16::i;:::-;32064:7:::1;:15:::0;;-1:-1:-1;;32064:15:0::1;::::0;;32095:22:::1;3912:10:::0;32104:12:::1;32095:22;::::0;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;32095:22:0::1;;;;;;;32005:120::o:0;31746:118::-;30755:19;:17;:19::i;:::-;31806:7:::1;:14:::0;;-1:-1:-1;;31806:14:0::1;31816:4;31806:14;::::0;;31836:20:::1;31843:12;3912:10:::0;;3832:98;61827:315;61982:8;-1:-1:-1;;;;;61973:17:0;:5;-1:-1:-1;;;;;61973:17:0;;61965:55;;;;-1:-1:-1;;;61965:55:0;;19643:2:1;61965:55:0;;;19625:21:1;19682:2;19662:18;;;19655:30;19721:27;19701:18;;;19694:55;19766:18;;61965:55:0;19441:349:1;61965:55:0;-1:-1:-1;;;;;62031:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;62031:46:0;;;;;;;;;;62093:41;;540::1;;;62093::0;;513:18:1;62093:41:0;;;;;;;61827:315;;;:::o;54977:313::-;55133:28;55143:4;55149:2;55153:7;55133:9;:28::i;:::-;55180:47;55203:4;55209:2;55213:7;55222:4;55180:22;:47::i;:::-;55172:110;;;;-1:-1:-1;;;55172:110:0;;;;;;;:::i;74397:624::-;74470:13;74496:23;74511:7;74496:14;:23::i;:::-;74532;74558:19;;;:10;:19;;;;;74532:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74588:18;74609:10;:8;:10::i;:::-;74588:31;;74701:4;74695:18;74717:1;74695:23;74691:72;;-1:-1:-1;74742:9:0;74397:624;-1:-1:-1;;74397:624:0:o;74691:72::-;74867:23;;:27;74863:108;;74942:4;74948:9;74925:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;74911:48;;;;74397:624;;;:::o;74863:108::-;74990:23;75005:7;74990:14;:23::i;67930:224::-;68032:4;-1:-1:-1;;;;;;68056:50:0;;-1:-1:-1;;;68056:50:0;;:90;;;68110:36;68134:11;68110:23;:36::i;90218:400::-;30755:19;:17;:19::i;:::-;-1:-1:-1;;;;;90450:18:0;::::1;90446:98;;90503:1;90493:7;:11;90485:47;;;::::0;-1:-1:-1;;;90485:47:0;;20917:2:1;90485:47:0::1;::::0;::::1;20899:21:1::0;20956:2;20936:18;;;20929:30;20995:25;20975:18;;;20968:53;21038:18;;90485:47:0::1;20715:347:1::0;90485:47:0::1;90554:56;90581:4;90587:2;90591:7;90600:9;90554:26;:56::i;90626:367::-:0;-1:-1:-1;;;;;90838:18:0;;90834:81;;90873:30;90890:12;90873:16;:30::i;:::-;90925:60;89518:229;24944:492;25033:22;25041:4;25047:7;25033;:22::i;:::-;25028:401;;25221:28;25241:7;25221:19;:28::i;:::-;25322:38;25350:4;25357:2;25322:19;:38::i;:::-;25126:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25126:257:0;;;;;;;;;;-1:-1:-1;;;25072:345:0;;;;;;;:::i;77929:296::-;78012:7;78055:4;78012:7;78070:118;78094:5;:12;78090:1;:16;78070:118;;;78143:33;78153:12;78167:5;78173:1;78167:8;;;;;;;;:::i;:::-;;;;;;;78143:9;:33::i;:::-;78128:48;-1:-1:-1;78108:3:0;;;;:::i;:::-;;;;78070:118;;;-1:-1:-1;78205:12:0;77929:296;-1:-1:-1;;;77929:296:0:o;57072:319::-;57201:18;57207:2;57211:7;57201:5;:18::i;:::-;57252:53;57283:1;57287:2;57291:7;57300:4;57252:22;:53::i;:::-;57230:153;;;;-1:-1:-1;;;57230:153:0;;;;;;;:::i;31494:108::-;31221:7;;;;31553:41;;;;-1:-1:-1;;;31553:41:0;;22086:2:1;31553:41:0;;;22068:21:1;22125:2;22105:18;;;22098:30;-1:-1:-1;;;22144:18:1;;;22137:50;22204:18;;31553:41:0;21884:344:1;62930:853:0;63084:4;-1:-1:-1;;;;;63105:13:0;;40659:19;:23;63101:675;;63141:71;;-1:-1:-1;;;63141:71:0;;-1:-1:-1;;;;;63141:36:0;;;;;:71;;3912:10;;63192:4;;63198:7;;63207:4;;63141:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63141:71:0;;;;;;;;-1:-1:-1;;63141:71:0;;;;;;;;;;;;:::i;:::-;;;63137:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63382:6;:13;63399:1;63382:18;63378:328;;63425:60;;-1:-1:-1;;;63425:60:0;;;;;;;:::i;63378:328::-;63656:6;63650:13;63641:6;63637:2;63633:15;63626:38;63137:584;-1:-1:-1;;;;;;63263:51:0;-1:-1:-1;;;63263:51:0;;-1:-1:-1;63256:58:0;;63101:675;-1:-1:-1;63760:4:0;62930:853;;;;;;:::o;88070:100::-;88122:13;88155:7;88148:14;;;;;:::i;51244:281::-;51317:13;51343:23;51358:7;51343:14;:23::i;:::-;51379:21;51403:10;:8;:10::i;:::-;51379:34;;51455:1;51437:7;51431:21;:25;:86;;;;;;;;;;;;;;;;;51483:7;51492:18;:7;:16;:18::i;:::-;51466:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;51431:86;51424:93;51244:281;-1:-1:-1;;;51244:281:0:o;49972:305::-;50074:4;-1:-1:-1;;;;;;50111:40:0;;-1:-1:-1;;;50111:40:0;;:105;;-1:-1:-1;;;;;;;50168:48:0;;-1:-1:-1;;;50168:48:0;50111:105;:158;;;-1:-1:-1;;;;;;;;;;5951:40:0;;;50233:36;5842:157;69067:915;69244:61;69271:4;69277:2;69281:12;69295:9;69244:26;:61::i;:::-;69334:1;69322:9;:13;69318:222;;;69465:63;;-1:-1:-1;;;69465:63:0;;23183:2:1;69465:63:0;;;23165:21:1;23222:2;23202:18;;;23195:30;23261:34;23241:18;;;23234:62;-1:-1:-1;;;23312:18:1;;;23305:51;23373:19;;69465:63:0;22981:417:1;69318:222:0;69570:12;-1:-1:-1;;;;;69599:18:0;;69595:187;;69634:40;69666:7;70809:10;:17;;70782:24;;;;:15;:24;;;;;:44;;;70837:24;;;;;;;;;;;;70705:164;69634:40;69595:187;;;69704:2;-1:-1:-1;;;;;69696:10:0;:4;-1:-1:-1;;;;;69696:10:0;;69692:90;;69723:47;69756:4;69762:7;69723:32;:47::i;:::-;-1:-1:-1;;;;;69796:16:0;;69792:183;;69829:45;69866:7;69829:36;:45::i;:::-;69792:183;;;69902:4;-1:-1:-1;;;;;69896:10:0;:2;-1:-1:-1;;;;;69896:10:0;;69892:83;;69923:40;69951:2;69955:7;69923:27;:40::i;:::-;69233:749;69067:915;;;;:::o;86415:160::-;86482:26;86500:7;86482:17;:26::i;:::-;86481:27;:51;;;;;86522:10;;86512:7;:20;86481:51;86478:89;;;86547:10;:20;86415:160::o;21061:151::-;21119:13;21152:52;-1:-1:-1;;;;;21164:22:0;;19216:2;20457:447;20532:13;20558:19;20590:10;20594:6;20590:1;:10;:::i;:::-;:14;;20603:1;20590:14;:::i;:::-;20580:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20580:25:0;;20558:47;;-1:-1:-1;;;20616:6:0;20623:1;20616:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20616:15:0;;;;;;;;;-1:-1:-1;;;20642:6:0;20649:1;20642:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20642:15:0;;;;;;;;-1:-1:-1;20673:9:0;20685:10;20689:6;20685:1;:10;:::i;:::-;:14;;20698:1;20685:14;:::i;:::-;20673:26;;20668:131;20705:1;20701;:5;20668:131;;;-1:-1:-1;;;20749:5:0;20757:3;20749:11;20740:21;;;;;;;:::i;:::-;;;;20728:6;20735:1;20728:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;20728:33:0;;;;;;;;-1:-1:-1;20786:1:0;20776:11;;;;;20708:3;;;:::i;:::-;;;20668:131;;;-1:-1:-1;20817:10:0;;20809:55;;;;-1:-1:-1;;;20809:55:0;;23919:2:1;20809:55:0;;;23901:21:1;;;23938:18;;;23931:30;23997:34;23977:18;;;23970:62;24049:18;;20809:55:0;23717:356:1;84969:149:0;85032:7;85063:1;85059;:5;:51;;85194:13;85288:15;;;85324:4;85317:15;;;85371:4;85355:21;;85059:51;;;85194:13;85288:15;;;85324:4;85317:15;;;85371:4;85355:21;;85067:20;85126:268;57727:942;-1:-1:-1;;;;;57807:16:0;;57799:61;;;;-1:-1:-1;;;57799:61:0;;24280:2:1;57799:61:0;;;24262:21:1;;;24299:18;;;24292:30;24358:34;24338:18;;;24331:62;24410:18;;57799:61:0;24078:356:1;57799:61:0;55899:4;55497:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55497:16:0;55923:31;57871:58;;;;-1:-1:-1;;;57871:58:0;;24641:2:1;57871:58:0;;;24623:21:1;24680:2;24660:18;;;24653:30;24719;24699:18;;;24692:58;24767:18;;57871:58:0;24439:352:1;57871:58:0;57942:48;57971:1;57975:2;57979:7;57988:1;57942:20;:48::i;:::-;55899:4;55497:16;;;:7;:16;;;;;;-1:-1:-1;;;;;55497:16:0;55923:31;58080:58;;;;-1:-1:-1;;;58080:58:0;;24641:2:1;58080:58:0;;;24623:21:1;24680:2;24660:18;;;24653:30;24719;24699:18;;;24692:58;24767:18;;58080:58:0;24439:352:1;58080:58:0;-1:-1:-1;;;;;58487:13:0;;;;;;:9;:13;;;;;;;;:18;;58504:1;58487:18;;;58529:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;58529:21:0;;;;;58568:33;58537:7;;58487:13;;58568:33;;58487:13;;58568:33;58614:47;58642:1;58646:2;58650:7;58659:1;58614:19;:47::i;19325:716::-;19381:13;19432:14;19449:17;19460:5;19449:10;:17::i;:::-;19469:1;19449:21;19432:38;;19485:20;19519:6;19508:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19508:18:0;-1:-1:-1;19485:41:0;-1:-1:-1;19650:28:0;;;19666:2;19650:28;19707:288;-1:-1:-1;;19739:5:0;-1:-1:-1;;;19876:2:0;19865:14;;19860:30;19739:5;19847:44;19937:2;19928:11;;;-1:-1:-1;19958:21:0;19707:288;19958:21;-1:-1:-1;20016:6:0;19325:716;-1:-1:-1;;;19325:716:0:o;64515:410::-;64705:1;64693:9;:13;64689:229;;;-1:-1:-1;;;;;64727:18:0;;;64723:87;;-1:-1:-1;;;;;64766:15:0;;;;;;:9;:15;;;;;:28;;64785:9;;64766:15;:28;;64785:9;;64766:28;:::i;:::-;;;;-1:-1:-1;;64723:87:0;-1:-1:-1;;;;;64828:16:0;;;64824:83;;-1:-1:-1;;;;;64865:13:0;;;;;;:9;:13;;;;;:26;;64882:9;;64865:13;:26;;64882:9;;64865:26;:::i;:::-;;;;-1:-1:-1;;64515:410:0;;;;:::o;71496:988::-;71762:22;71812:1;71787:22;71804:4;71787:16;:22::i;:::-;:26;;;;:::i;:::-;71824:18;71845:26;;;:17;:26;;;;;;71762:51;;-1:-1:-1;71978:28:0;;;71974:328;;-1:-1:-1;;;;;72045:18:0;;72023:19;72045:18;;;:12;:18;;;;;;;;:34;;;;;;;;;72096:30;;;;;;:44;;;72213:30;;:17;:30;;;;;:43;;;71974:328;-1:-1:-1;72398:26:0;;;;:17;:26;;;;;;;;72391:33;;;-1:-1:-1;;;;;72442:18:0;;;;;:12;:18;;;;;:34;;;;;;;72435:41;71496:988::o;72779:1079::-;73057:10;:17;73032:22;;73057:21;;73077:1;;73057:21;:::i;:::-;73089:18;73110:24;;;:15;:24;;;;;;73483:10;:26;;73032:46;;-1:-1:-1;73110:24:0;;73032:46;;73483:26;;;;;;:::i;:::-;;;;;;;;;73461:48;;73547:11;73522:10;73533;73522:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;73627:28;;;:15;:28;;;;;;;:41;;;73799:24;;;;;73792:31;73834:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;72850:1008;;;72779:1079;:::o;70283:221::-;70368:14;70385:20;70402:2;70385:16;:20::i;:::-;-1:-1:-1;;;;;70416:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;70461:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;70283:221:0:o;16185:922::-;16238:7;;-1:-1:-1;;;16316:15:0;;16312:102;;-1:-1:-1;;;16352:15:0;;;-1:-1:-1;16396:2:0;16386:12;16312:102;16441:6;16432:5;:15;16428:102;;16477:6;16468:15;;;-1:-1:-1;16512:2:0;16502:12;16428:102;16557:6;16548:5;:15;16544:102;;16593:6;16584:15;;;-1:-1:-1;16628:2:0;16618:12;16544:102;16673:5;16664;:14;16660:99;;16708:5;16699:14;;;-1:-1:-1;16742:1:0;16732:11;16660:99;16786:5;16777;:14;16773:99;;16821:5;16812:14;;;-1:-1:-1;16855:1:0;16845:11;16773:99;16899:5;16890;:14;16886:99;;16934:5;16925:14;;;-1:-1:-1;16968:1:0;16958:11;16886:99;17012:5;17003;:14;16999:66;;17048:1;17038:11;17093:6;16185:922;-1:-1:-1;;16185:922:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;3060:254::-;3128:6;3136;3189:2;3177:9;3168:7;3164:23;3160:32;3157:52;;;3205:1;3202;3195:12;3157:52;3241:9;3228:23;3218:33;;3270:38;3304:2;3293:9;3289:18;3270:38;:::i;:::-;3260:48;;3060:254;;;;;:::o;3319:127::-;3380:10;3375:3;3371:20;3368:1;3361:31;3411:4;3408:1;3401:15;3435:4;3432:1;3425:15;3451:275;3522:2;3516:9;3587:2;3568:13;;-1:-1:-1;;3564:27:1;3552:40;;3622:18;3607:34;;3643:22;;;3604:62;3601:88;;;3669:18;;:::i;:::-;3705:2;3698:22;3451:275;;-1:-1:-1;3451:275:1:o;3731:407::-;3796:5;3830:18;3822:6;3819:30;3816:56;;;3852:18;;:::i;:::-;3890:57;3935:2;3914:15;;-1:-1:-1;;3910:29:1;3941:4;3906:40;3890:57;:::i;:::-;3881:66;;3970:6;3963:5;3956:21;4010:3;4001:6;3996:3;3992:16;3989:25;3986:45;;;4027:1;4024;4017:12;3986:45;4076:6;4071:3;4064:4;4057:5;4053:16;4040:43;4130:1;4123:4;4114:6;4107:5;4103:18;4099:29;4092:40;3731:407;;;;;:::o;4143:222::-;4186:5;4239:3;4232:4;4224:6;4220:17;4216:27;4206:55;;4257:1;4254;4247:12;4206:55;4279:80;4355:3;4346:6;4333:20;4326:4;4318:6;4314:17;4279:80;:::i;4370:367::-;4433:8;4443:6;4497:3;4490:4;4482:6;4478:17;4474:27;4464:55;;4515:1;4512;4505:12;4464:55;-1:-1:-1;4538:20:1;;4581:18;4570:30;;4567:50;;;4613:1;4610;4603:12;4567:50;4650:4;4642:6;4638:17;4626:29;;4710:3;4703:4;4693:6;4690:1;4686:14;4678:6;4674:27;4670:38;4667:47;4664:67;;;4727:1;4724;4717:12;4664:67;4370:367;;;;;:::o;4742:801::-;4865:6;4873;4881;4889;4897;4950:3;4938:9;4929:7;4925:23;4921:33;4918:53;;;4967:1;4964;4957:12;4918:53;4990:29;5009:9;4990:29;:::i;:::-;4980:39;;5066:2;5055:9;5051:18;5038:32;5028:42;;5121:2;5110:9;5106:18;5093:32;5144:18;5185:2;5177:6;5174:14;5171:34;;;5201:1;5198;5191:12;5171:34;5224:50;5266:7;5257:6;5246:9;5242:22;5224:50;:::i;:::-;5214:60;;5327:2;5316:9;5312:18;5299:32;5283:48;;5356:2;5346:8;5343:16;5340:36;;;5372:1;5369;5362:12;5340:36;;5411:72;5475:7;5464:8;5453:9;5449:24;5411:72;:::i;:::-;4742:801;;;;-1:-1:-1;4742:801:1;;-1:-1:-1;5502:8:1;;5385:98;4742:801;-1:-1:-1;;;4742:801:1:o;5548:464::-;5635:6;5643;5651;5704:2;5692:9;5683:7;5679:23;5675:32;5672:52;;;5720:1;5717;5710:12;5672:52;5743:29;5762:9;5743:29;:::i;:::-;5733:39;;5819:2;5808:9;5804:18;5791:32;5781:42;;5874:2;5863:9;5859:18;5846:32;5901:18;5893:6;5890:30;5887:50;;;5933:1;5930;5923:12;5887:50;5956;5998:7;5989:6;5978:9;5974:22;5956:50;:::i;:::-;5946:60;;;5548:464;;;;;:::o;6017:186::-;6076:6;6129:2;6117:9;6108:7;6104:23;6100:32;6097:52;;;6145:1;6142;6135:12;6097:52;6168:29;6187:9;6168:29;:::i;6208:322::-;6277:6;6330:2;6318:9;6309:7;6305:23;6301:32;6298:52;;;6346:1;6343;6336:12;6298:52;6386:9;6373:23;6419:18;6411:6;6408:30;6405:50;;;6451:1;6448;6441:12;6405:50;6474;6516:7;6507:6;6496:9;6492:22;6474:50;:::i;6535:160::-;6600:20;;6656:13;;6649:21;6639:32;;6629:60;;6685:1;6682;6675:12;6700:180;6756:6;6809:2;6797:9;6788:7;6784:23;6780:32;6777:52;;;6825:1;6822;6815:12;6777:52;6848:26;6864:9;6848:26;:::i;6885:254::-;6950:6;6958;7011:2;6999:9;6990:7;6986:23;6982:32;6979:52;;;7027:1;7024;7017:12;6979:52;7050:29;7069:9;7050:29;:::i;:::-;7040:39;;7098:35;7129:2;7118:9;7114:18;7098:35;:::i;7144:667::-;7239:6;7247;7255;7263;7316:3;7304:9;7295:7;7291:23;7287:33;7284:53;;;7333:1;7330;7323:12;7284:53;7356:29;7375:9;7356:29;:::i;:::-;7346:39;;7404:38;7438:2;7427:9;7423:18;7404:38;:::i;:::-;7394:48;;7489:2;7478:9;7474:18;7461:32;7451:42;;7544:2;7533:9;7529:18;7516:32;7571:18;7563:6;7560:30;7557:50;;;7603:1;7600;7593:12;7557:50;7626:22;;7679:4;7671:13;;7667:27;-1:-1:-1;7657:55:1;;7708:1;7705;7698:12;7657:55;7731:74;7797:7;7792:2;7779:16;7774:2;7770;7766:11;7731:74;:::i;:::-;7721:84;;;7144:667;;;;;;;:::o;7816:1556::-;7955:6;7963;7971;7979;8032:2;8020:9;8011:7;8007:23;8003:32;8000:52;;;8048:1;8045;8038:12;8000:52;8071:29;8090:9;8071:29;:::i;:::-;8061:39;;8119:2;8172;8161:9;8157:18;8144:32;8195:18;8236:2;8228:6;8225:14;8222:34;;;8252:1;8249;8242:12;8222:34;8291:70;8353:7;8344:6;8333:9;8329:22;8291:70;:::i;:::-;8380:8;;-1:-1:-1;8265:96:1;-1:-1:-1;8468:2:1;8453:18;;8440:32;;-1:-1:-1;8484:16:1;;;8481:36;;;8513:1;8510;8503:12;8481:36;8551:8;8540:9;8536:24;8526:34;;8598:7;8591:4;8587:2;8583:13;8579:27;8569:55;;8620:1;8617;8610:12;8569:55;8656:2;8643:16;8678:2;8674;8671:10;8668:36;;;8684:18;;:::i;:::-;8730:2;8727:1;8723:10;8753:28;8777:2;8773;8769:11;8753:28;:::i;:::-;8815:15;;;8885:11;;;8881:20;;;8846:12;;;;8913:19;;;8910:39;;;8945:1;8942;8935:12;8910:39;8977:2;8973;8969:11;8958:22;;8989:353;9005:6;9000:3;8997:15;8989:353;;;9091:3;9078:17;9127:2;9114:11;9111:19;9108:109;;;9171:1;9200:2;9196;9189:14;9108:109;9242:57;9291:7;9286:2;9272:11;9268:2;9264:20;9260:29;9242:57;:::i;:::-;9230:70;;-1:-1:-1;9022:12:1;;;;9320;;;;8989:353;;;7816:1556;;;;-1:-1:-1;7816:1556:1;;-1:-1:-1;;;;;;;;7816:1556:1:o;9377:260::-;9445:6;9453;9506:2;9494:9;9485:7;9481:23;9477:32;9474:52;;;9522:1;9519;9512:12;9474:52;9545:29;9564:9;9545:29;:::i;:::-;9535:39;;9593:38;9627:2;9616:9;9612:18;9593:38;:::i;9642:380::-;9721:1;9717:12;;;;9764;;;9785:61;;9839:4;9831:6;9827:17;9817:27;;9785:61;9892:2;9884:6;9881:14;9861:18;9858:38;9855:161;;9938:10;9933:3;9929:20;9926:1;9919:31;9973:4;9970:1;9963:15;10001:4;9998:1;9991:15;9855:161;;9642:380;;;:::o;10859:409::-;11061:2;11043:21;;;11100:2;11080:18;;;11073:30;11139:34;11134:2;11119:18;;11112:62;-1:-1:-1;;;11205:2:1;11190:18;;11183:43;11258:3;11243:19;;10859:409::o;13122:475::-;13364:26;13360:31;13351:6;13347:2;13343:15;13339:53;13334:3;13327:66;13423:6;13418:2;13413:3;13409:12;13402:28;13309:3;13459:6;13453:13;13475:75;13543:6;13538:2;13533:3;13529:12;13522:4;13514:6;13510:17;13475:75;:::i;:::-;13570:16;;;;13588:2;13566:25;;13122:475;-1:-1:-1;;;;13122:475:1:o;14015:127::-;14076:10;14071:3;14067:20;14064:1;14057:31;14107:4;14104:1;14097:15;14131:4;14128:1;14121:15;15036:545;15138:2;15133:3;15130:11;15127:448;;;15174:1;15199:5;15195:2;15188:17;15244:4;15240:2;15230:19;15314:2;15302:10;15298:19;15295:1;15291:27;15285:4;15281:38;15350:4;15338:10;15335:20;15332:47;;;-1:-1:-1;15373:4:1;15332:47;15428:2;15423:3;15419:12;15416:1;15412:20;15406:4;15402:31;15392:41;;15483:82;15501:2;15494:5;15491:13;15483:82;;;15546:17;;;15527:1;15516:13;15483:82;;15757:1352;15883:3;15877:10;15910:18;15902:6;15899:30;15896:56;;;15932:18;;:::i;:::-;15961:97;16051:6;16011:38;16043:4;16037:11;16011:38;:::i;:::-;16005:4;15961:97;:::i;:::-;16113:4;;16177:2;16166:14;;16194:1;16189:663;;;;16896:1;16913:6;16910:89;;;-1:-1:-1;16965:19:1;;;16959:26;16910:89;-1:-1:-1;;15714:1:1;15710:11;;;15706:24;15702:29;15692:40;15738:1;15734:11;;;15689:57;17012:81;;16159:944;;16189:663;14983:1;14976:14;;;15020:4;15007:18;;-1:-1:-1;;16225:20:1;;;16343:236;16357:7;16354:1;16351:14;16343:236;;;16446:19;;;16440:26;16425:42;;16538:27;;;;16506:1;16494:14;;;;16373:19;;16343:236;;;16347:3;16607:6;16598:7;16595:19;16592:201;;;16668:19;;;16662:26;-1:-1:-1;;16751:1:1;16747:14;;;16763:3;16743:24;16739:37;16735:42;16720:58;16705:74;;16592:201;-1:-1:-1;;;;;16839:1:1;16823:14;;;16819:22;16806:36;;-1:-1:-1;15757:1352:1:o;17468:127::-;17529:10;17524:3;17520:20;17517:1;17510:31;17560:4;17557:1;17550:15;17584:4;17581:1;17574:15;17600:135;17639:3;17660:17;;;17657:43;;17680:18;;:::i;:::-;-1:-1:-1;17727:1:1;17716:13;;17600:135::o;17740:125::-;17805:9;;;17826:10;;;17823:36;;;17839:18;;:::i;17870:401::-;18072:2;18054:21;;;18111:2;18091:18;;;18084:30;18150:34;18145:2;18130:18;;18123:62;-1:-1:-1;;;18216:2:1;18201:18;;18194:35;18261:3;18246:19;;17870:401::o;19795:414::-;19997:2;19979:21;;;20036:2;20016:18;;;20009:30;20075:34;20070:2;20055:18;;20048:62;-1:-1:-1;;;20141:2:1;20126:18;;20119:48;20199:3;20184:19;;19795:414::o;20214:496::-;20393:3;20431:6;20425:13;20447:66;20506:6;20501:3;20494:4;20486:6;20482:17;20447:66;:::i;:::-;20576:13;;20535:16;;;;20598:70;20576:13;20535:16;20645:4;20633:17;;20598:70;:::i;:::-;20684:20;;20214:496;-1:-1:-1;;;;20214:496:1:o;21067:812::-;21478:25;21473:3;21466:38;21448:3;21533:6;21527:13;21549:75;21617:6;21612:2;21607:3;21603:12;21596:4;21588:6;21584:17;21549:75;:::i;:::-;-1:-1:-1;;;21683:2:1;21643:16;;;21675:11;;;21668:40;21733:13;;21755:76;21733:13;21817:2;21809:11;;21802:4;21790:17;;21755:76;:::i;:::-;21851:17;21870:2;21847:26;;21067:812;-1:-1:-1;;;;21067:812:1:o;22233:489::-;-1:-1:-1;;;;;22502:15:1;;;22484:34;;22554:15;;22549:2;22534:18;;22527:43;22601:2;22586:18;;22579:34;;;22649:3;22644:2;22629:18;;22622:31;;;22427:4;;22670:46;;22696:19;;22688:6;22670:46;:::i;:::-;22662:54;22233:489;-1:-1:-1;;;;;;22233:489:1:o;22727:249::-;22796:6;22849:2;22837:9;22828:7;22824:23;22820:32;22817:52;;;22865:1;22862;22855:12;22817:52;22897:9;22891:16;22916:30;22940:5;22916:30;:::i;23403:168::-;23476:9;;;23507;;23524:15;;;23518:22;;23504:37;23494:71;;23545:18;;:::i;23576:136::-;23615:3;23643:5;23633:39;;23652:18;;:::i;:::-;-1:-1:-1;;;23688:18:1;;23576:136::o;24928:128::-;24995:9;;;25016:11;;;25013:37;;;25030:18;;:::i;25061:127::-;25122:10;25117:3;25113:20;25110:1;25103:31;25153:4;25150:1;25143:15;25177:4;25174:1;25167:15
Swarm Source
ipfs://bcb1009f2e08561b2c0bdfeab9bc9f458098d4b52bfa374d5075dabc25ae96a0
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.