ERC-721
Overview
Max Total Supply
5,000 BR
Holders
1,392
Market
Volume (24H)
0.0172 ETH
Min Price (24H)
$13.84 @ 0.005600 ETH
Max Price (24H)
$14.32 @ 0.005796 ETH
Other Info
Token Contract
Balance
0 BRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
SenseLabs
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-03-29 */ // Sources flattened with hardhat v2.19.3 https://hardhat.org // SPDX-License-Identifier: Apache-2.0 AND MIT // File @openzeppelin/contracts/access/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @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. */ 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 `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; } // File @openzeppelin/contracts/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File @openzeppelin/contracts/utils/introspection/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @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] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; /** * @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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/access/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; /** * @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: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ 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 returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @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 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 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 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 `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @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 Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } } // File @openzeppelin/contracts/access/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File @openzeppelin/contracts/interfaces/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol) pragma solidity ^0.8.20; interface IERC5267 { /** * @dev MAY be emitted to signal that the domain could have changed. */ event EIP712DomainChanged(); /** * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712 * signature. */ function eip712Domain() external view returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ); } // File @openzeppelin/contracts/utils/math/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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 towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (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 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 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. uint256 twos = denominator & (0 - denominator); 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 (unsignedRoundsUp(rounding) && 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 * towards zero. * * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File @openzeppelin/contracts/utils/math/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File @openzeppelin/contracts/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @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), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @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) { uint256 localValue = value; 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] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } 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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol) pragma solidity ^0.8.20; /** * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing. * * The library provides methods for generating a hash of a message that conforms to the * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712] * specifications. */ library MessageHashUtils { /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x45` (`personal_sign` messages). * * The digest is calculated by prefixing a bytes32 `messageHash` with * `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method. * * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with * keccak256, although any bytes32 value can be safely used because the final digest will * be re-hashed. * * See {ECDSA-recover}. */ function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) { /// @solidity memory-safe-assembly assembly { mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20) } } /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x45` (`personal_sign` messages). * * The digest is calculated by prefixing an arbitrary `message` with * `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method. * * See {ECDSA-recover}. */ function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) { return keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message)); } /** * @dev Returns the keccak256 digest of an EIP-191 signed data with version * `0x00` (data with intended validator). * * The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended * `validator` address. Then hashing the result. * * See {ECDSA-recover}. */ function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) { return keccak256(abi.encodePacked(hex"19_00", validator, data)); } /** * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`). * * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with * `\x19\x01` and hashing the result. It corresponds to the hash signed by the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712. * * See {ECDSA-recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, hex"19_01") mstore(add(ptr, 0x02), domainSeparator) mstore(add(ptr, 0x22), structHash) digest := keccak256(ptr, 0x42) } } } // File @openzeppelin/contracts/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol) // This file was procedurally generated from scripts/generate/templates/StorageSlot.js. pragma solidity ^0.8.20; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ```solidity * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(newImplementation.code.length > 0); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } struct StringSlot { string value; } struct BytesSlot { bytes value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` with member `value` located at `slot`. */ function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `StringSlot` representation of the string storage pointer `store`. */ function getStringSlot(string storage store) internal pure returns (StringSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } /** * @dev Returns an `BytesSlot` with member `value` located at `slot`. */ function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := slot } } /** * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`. */ function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) { /// @solidity memory-safe-assembly assembly { r.slot := store.slot } } } // File @openzeppelin/contracts/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol) pragma solidity ^0.8.20; // | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | // | length | 0x BB | type ShortString is bytes32; /** * @dev This library provides functions to convert short memory strings * into a `ShortString` type that can be used as an immutable variable. * * Strings of arbitrary length can be optimized using this library if * they are short enough (up to 31 bytes) by packing them with their * length (1 byte) in a single EVM word (32 bytes). Additionally, a * fallback mechanism can be used for every other case. * * Usage example: * * ```solidity * contract Named { * using ShortStrings for *; * * ShortString private immutable _name; * string private _nameFallback; * * constructor(string memory contractName) { * _name = contractName.toShortStringWithFallback(_nameFallback); * } * * function name() external view returns (string memory) { * return _name.toStringWithFallback(_nameFallback); * } * } * ``` */ library ShortStrings { // Used as an identifier for strings longer than 31 bytes. bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF; error StringTooLong(string str); error InvalidShortString(); /** * @dev Encode a string of at most 31 chars into a `ShortString`. * * This will trigger a `StringTooLong` error is the input string is too long. */ function toShortString(string memory str) internal pure returns (ShortString) { bytes memory bstr = bytes(str); if (bstr.length > 31) { revert StringTooLong(str); } return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length)); } /** * @dev Decode a `ShortString` back to a "normal" string. */ function toString(ShortString sstr) internal pure returns (string memory) { uint256 len = byteLength(sstr); // using `new string(len)` would work locally but is not memory safe. string memory str = new string(32); /// @solidity memory-safe-assembly assembly { mstore(str, len) mstore(add(str, 0x20), sstr) } return str; } /** * @dev Return the length of a `ShortString`. */ function byteLength(ShortString sstr) internal pure returns (uint256) { uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF; if (result > 31) { revert InvalidShortString(); } return result; } /** * @dev Encode a string into a `ShortString`, or write it to storage if it is too long. */ function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) { if (bytes(value).length < 32) { return toShortString(value); } else { StorageSlot.getStringSlot(store).value = value; return ShortString.wrap(FALLBACK_SENTINEL); } } /** * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}. */ function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) { if (ShortString.unwrap(value) != FALLBACK_SENTINEL) { return toString(value); } else { return store; } } /** * @dev Return the length of a string that was encoded to `ShortString` or written to storage using * {setWithFallback}. * * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of * actual characters as the UTF-8 encoding of a single character can span over multiple bytes. */ function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) { if (ShortString.unwrap(value) != FALLBACK_SENTINEL) { return byteLength(value); } else { return bytes(store).length; } } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol) pragma solidity ^0.8.20; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the * separator from the immutable values, which is cheaper than accessing a cached version in cold storage. * * @custom:oz-upgrades-unsafe-allow state-variable-immutable */ abstract contract EIP712 is IERC5267 { using ShortStrings for *; bytes32 private constant TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _cachedDomainSeparator; uint256 private immutable _cachedChainId; address private immutable _cachedThis; bytes32 private immutable _hashedName; bytes32 private immutable _hashedVersion; ShortString private immutable _name; ShortString private immutable _version; string private _nameFallback; string private _versionFallback; /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { _name = name.toShortStringWithFallback(_nameFallback); _version = version.toShortStringWithFallback(_versionFallback); _hashedName = keccak256(bytes(name)); _hashedVersion = keccak256(bytes(version)); _cachedChainId = block.chainid; _cachedDomainSeparator = _buildDomainSeparator(); _cachedThis = address(this); } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _cachedThis && block.chainid == _cachedChainId) { return _cachedDomainSeparator; } else { return _buildDomainSeparator(); } } function _buildDomainSeparator() private view returns (bytes32) { return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev See {IERC-5267}. */ function eip712Domain() public view virtual returns ( bytes1 fields, string memory name, string memory version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] memory extensions ) { return ( hex"0f", // 01111 _EIP712Name(), _EIP712Version(), block.chainid, address(this), bytes32(0), new uint256[](0) ); } /** * @dev The name parameter for the EIP712 domain. * * NOTE: By default this function reads _name which is an immutable value. * It only reads from storage if necessary (in case the value is too large to fit in a ShortString). */ // solhint-disable-next-line func-name-mixedcase function _EIP712Name() internal view returns (string memory) { return _name.toStringWithFallback(_nameFallback); } /** * @dev The version parameter for the EIP712 domain. * * NOTE: By default this function reads _version which is an immutable value. * It only reads from storage if necessary (in case the value is too large to fit in a ShortString). */ // solhint-disable-next-line func-name-mixedcase function _EIP712Version() internal view returns (string memory) { return _version.toStringWithFallback(_versionFallback); } } // File @chainlink/contracts/src/v0.8/interfaces/[email protected] // Original license: SPDX_License_Identifier: MIT pragma solidity ^0.8.0; interface VRFCoordinatorV2Interface { /** * @notice Get configuration relevant for making requests * @return minimumRequestConfirmations global min for request confirmations * @return maxGasLimit global max for request gas limit * @return s_provingKeyHashes list of registered key hashes */ function getRequestConfig() external view returns (uint16, uint32, bytes32[] memory); /** * @notice Request a set of random words. * @param keyHash - Corresponds to a particular oracle job which uses * that key for generating the VRF proof. Different keyHash's have different gas price * ceilings, so you can select a specific one to bound your maximum per request cost. * @param subId - The ID of the VRF subscription. Must be funded * with the minimum subscription balance required for the selected keyHash. * @param minimumRequestConfirmations - How many blocks you'd like the * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS * for why you may want to request more. The acceptable range is * [minimumRequestBlockConfirmations, 200]. * @param callbackGasLimit - How much gas you'd like to receive in your * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords * may be slightly less than this amount because of gas used calling the function * (argument decoding etc.), so you may need to request slightly more than you expect * to have inside fulfillRandomWords. The acceptable range is * [0, maxGasLimit] * @param numWords - The number of uint256 random values you'd like to receive * in your fulfillRandomWords callback. Note these numbers are expanded in a * secure way by the VRFCoordinator from a single random value supplied by the oracle. * @return requestId - A unique identifier of the request. Can be used to match * a request to a response in fulfillRandomWords. */ function requestRandomWords( bytes32 keyHash, uint64 subId, uint16 minimumRequestConfirmations, uint32 callbackGasLimit, uint32 numWords ) external returns (uint256 requestId); /** * @notice Create a VRF subscription. * @return subId - A unique subscription id. * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer. * @dev Note to fund the subscription, use transferAndCall. For example * @dev LINKTOKEN.transferAndCall( * @dev address(COORDINATOR), * @dev amount, * @dev abi.encode(subId)); */ function createSubscription() external returns (uint64 subId); /** * @notice Get a VRF subscription. * @param subId - ID of the subscription * @return balance - LINK balance of the subscription in juels. * @return reqCount - number of requests for this subscription, determines fee tier. * @return owner - owner of the subscription. * @return consumers - list of consumer address which are able to use this subscription. */ function getSubscription( uint64 subId ) external view returns (uint96 balance, uint64 reqCount, address owner, address[] memory consumers); /** * @notice Request subscription owner transfer. * @param subId - ID of the subscription * @param newOwner - proposed new owner of the subscription */ function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external; /** * @notice Request subscription owner transfer. * @param subId - ID of the subscription * @dev will revert if original owner of subId has * not requested that msg.sender become the new owner. */ function acceptSubscriptionOwnerTransfer(uint64 subId) external; /** * @notice Add a consumer to a VRF subscription. * @param subId - ID of the subscription * @param consumer - New consumer which can use the subscription */ function addConsumer(uint64 subId, address consumer) external; /** * @notice Remove a consumer from a VRF subscription. * @param subId - ID of the subscription * @param consumer - Consumer to remove from the subscription */ function removeConsumer(uint64 subId, address consumer) external; /** * @notice Cancel a subscription * @param subId - ID of the subscription * @param to - Where to send the remaining LINK to */ function cancelSubscription(uint64 subId, address to) external; /* * @notice Check to see if there exists a request commitment consumers * for all consumers and keyhashes for a given sub. * @param subId - ID of the subscription * @return true if there exists at least one unfulfilled request for the subscription, false * otherwise. */ function pendingRequestExists(uint64 subId) external view returns (bool); } // File @chainlink/contracts/src/v0.8/vrf/[email protected] // Original license: SPDX_License_Identifier: MIT pragma solidity ^0.8.4; /** **************************************************************************** * @notice Interface for contracts using VRF randomness * ***************************************************************************** * @dev PURPOSE * * @dev Reggie the Random Oracle (not his real job) wants to provide randomness * @dev to Vera the verifier in such a way that Vera can be sure he's not * @dev making his output up to suit himself. Reggie provides Vera a public key * @dev to which he knows the secret key. Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed completely * @dev deterministically from the seed and the secret key. * * @dev Reggie provides a proof by which Vera can verify that the output was * @dev correctly computed once Reggie tells it to her, but without that proof, * @dev the output is indistinguishable to her from a uniform random sample * @dev from the output space. * * @dev The purpose of this contract is to make it easy for unrelated contracts * @dev to talk to Vera the verifier about the work Reggie is doing, to provide * @dev simple access to a verifiable source of randomness. It ensures 2 things: * @dev 1. The fulfillment came from the VRFCoordinator * @dev 2. The consumer contract implements fulfillRandomWords. * ***************************************************************************** * @dev USAGE * * @dev Calling contracts must inherit from VRFConsumerBase, and can * @dev initialize VRFConsumerBase's attributes in their constructor as * @dev shown: * * @dev contract VRFConsumer { * @dev constructor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator) public { * @dev <initialization with other arguments goes here> * @dev } * @dev } * * @dev The oracle will have given you an ID for the VRF keypair they have * @dev committed to (let's call it keyHash). Create subscription, fund it * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface * @dev subscription management functions). * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations, * @dev callbackGasLimit, numWords), * @dev see (VRFCoordinatorInterface for a description of the arguments). * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomWords method. * * @dev The randomness argument to fulfillRandomWords is a set of random words * @dev generated from your requestId and the blockHash of the request. * * @dev If your contract could have concurrent requests open, you can use the * @dev requestId returned from requestRandomWords to track which response is associated * @dev with which randomness request. * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind, * @dev if your contract could have multiple requests in flight simultaneously. * * @dev Colliding `requestId`s are cryptographically impossible as long as seeds * @dev differ. * * ***************************************************************************** * @dev SECURITY CONSIDERATIONS * * @dev A method with the ability to call your fulfillRandomness method directly * @dev could spoof a VRF response with any random value, so it's critical that * @dev it cannot be directly called by anything other than this base contract * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method). * * @dev For your users to trust that your contract's random behavior is free * @dev from malicious interference, it's best if you can write it so that all * @dev behaviors implied by a VRF response are executed *during* your * @dev fulfillRandomness method. If your contract must store the response (or * @dev anything derived from it) and use it later, you must ensure that any * @dev user-significant behavior which depends on that stored value cannot be * @dev manipulated by a subsequent VRF request. * * @dev Similarly, both miners and the VRF oracle itself have some influence * @dev over the order in which VRF responses appear on the blockchain, so if * @dev your contract could have multiple VRF requests in flight simultaneously, * @dev you must ensure that the order in which the VRF responses arrive cannot * @dev be used to manipulate your contract's user-significant behavior. * * @dev Since the block hash of the block which contains the requestRandomness * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful * @dev miner could, in principle, fork the blockchain to evict the block * @dev containing the request, forcing the request to be included in a * @dev different block with a different hash, and therefore a different input * @dev to the VRF. However, such an attack would incur a substantial economic * @dev cost. This cost scales with the number of blocks the VRF oracle waits * @dev until it calls responds to a request. It is for this reason that * @dev that you can signal to an oracle you'd like them to wait longer before * @dev responding to the request (however this is not enforced in the contract * @dev and so remains effective only in the case of unmodified oracle software). */ abstract contract VRFConsumerBaseV2 { error OnlyCoordinatorCanFulfill(address have, address want); address private immutable vrfCoordinator; /** * @param _vrfCoordinator address of VRFCoordinator contract */ constructor(address _vrfCoordinator) { vrfCoordinator = _vrfCoordinator; } /** * @notice fulfillRandomness handles the VRF response. Your contract must * @notice implement it. See "SECURITY CONSIDERATIONS" above for important * @notice principles to keep in mind when implementing your fulfillRandomness * @notice method. * * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this * @dev signature, and will call it once it has verified the proof * @dev associated with the randomness. (It is triggered via a call to * @dev rawFulfillRandomness, below.) * * @param requestId The Id initially returned by requestRandomness * @param randomWords the VRF output expanded to the requested number of words */ function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual; // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external { if (msg.sender != vrfCoordinator) { revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator); } fulfillRandomWords(requestId, randomWords); } } // File contracts/types/RandomOffsetType.sol // Original license: SPDX_License_Identifier: Apache-2.0 pragma solidity ^0.8.23; struct RandomOffsetType { uint64 subscriptionId; bytes32 keyHash; address coordinator; } // File contracts/abstracts/RandomOffset.sol // Original license: SPDX_License_Identifier: Apache-2.0 pragma solidity ^0.8.23; abstract contract RandomOffset is VRFConsumerBaseV2, AccessControl { uint32 private constant callbackGasLimit = 100000; uint32 private constant numWords = 1; uint16 private constant requestConfirmations = 3; uint256 public requestId; bool public randomGenerated; uint256 private randomNumber; uint64 s_subscriptionId; bytes32 keyHash; VRFCoordinatorV2Interface COORDINATOR; modifier whenNotRandomGenerated() { require(!randomGenerated, "Random number already generated"); _; } modifier whenRandomGenerated() { require(randomGenerated, "Random number not generated yet"); _; } event RequestSent(uint256 requestId, uint32 numWords); event RequestFulfilled(uint256 requestId, uint256[] randomWords); constructor( RandomOffsetType memory request ) VRFConsumerBaseV2(request.coordinator) { COORDINATOR = VRFCoordinatorV2Interface(request.coordinator); keyHash = request.keyHash; s_subscriptionId = request.subscriptionId; } function requestRandomWords() external onlyRole(DEFAULT_ADMIN_ROLE) whenNotRandomGenerated returns (uint256) { requestId = COORDINATOR.requestRandomWords( keyHash, s_subscriptionId, requestConfirmations, callbackGasLimit, numWords ); emit RequestSent(requestId, numWords); return requestId; } function fulfillRandomWords( uint256 _requestId, uint256[] memory _randomWords ) internal override whenNotRandomGenerated { require(_requestId == requestId, "request not found"); randomNumber = _randomWords[0] % 10001; randomGenerated = true; emit RequestFulfilled(_requestId, _randomWords); } function getRandomNumber() public view whenRandomGenerated returns (uint256) { return randomNumber; } } // File @openzeppelin/contracts/utils/cryptography/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.20; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS } /** * @dev The signature derives the `address(0)`. */ error ECDSAInvalidSignature(); /** * @dev The signature has an invalid length. */ error ECDSAInvalidSignatureLength(uint256 length); /** * @dev The signature has an S value that is in the upper half order. */ error ECDSAInvalidSignatureS(bytes32 s); /** * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not * return address(0) without also returning an error description. Errors are documented using an enum (error type) * and a bytes32 providing additional information about the error. * * If no error is returned, then the address can be used for verification purposes. * * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length)); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature); _throwError(error, errorArg); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] */ function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) { unchecked { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); // We do not check for an overflow here since the shift operation results in 0 or 1. uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. */ function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) { (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs); _throwError(error, errorArg); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError, bytes32) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS, s); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature, bytes32(0)); } return (signer, RecoverError.NoError, bytes32(0)); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s); _throwError(error, errorArg); return recovered; } /** * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided. */ function _throwError(RecoverError error, bytes32 errorArg) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert ECDSAInvalidSignature(); } else if (error == RecoverError.InvalidSignatureLength) { revert ECDSAInvalidSignatureLength(uint256(errorArg)); } else if (error == RecoverError.InvalidSignatureS) { revert ECDSAInvalidSignatureS(errorArg); } } } // File contracts/libraries/Errors.sol // Original license: SPDX_License_Identifier: Apache-2.0 pragma solidity ^0.8.18; library Errors { error AlreadyMinted(); error InvalidSignature(); error SignatureValidityEnd(); error ERC721UriNonExistent(); error MintingPaused(); error MaxSupplyReached(); error WithdrawalFailed(); error WrongEtherAmount(); error ArrayLengthMismatch(); error MintingPublished(); error MintingNotPublished(); error MaxSupplyPerAccount(); error InvalidMaxTotalSupply(); } // File contracts/types/MintType.sol // Original license: SPDX_License_Identifier: Apache-2.0 pragma solidity ^0.8.23; struct MintData { address to; uint256 expire; uint256 mint_amount; uint256 mint_total_price; uint256 user_nonce; } bytes32 constant MINT_DATA_TYPEHASH = keccak256( "MintData(address to,uint256 expire,uint256 mint_amount,uint256 mint_total_price,uint256 user_nonce)" ); // File erc721a/contracts/[email protected] // Original license: SPDX_License_Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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`, * 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 be 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * 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 payable; /** * @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 payable; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File erc721a/contracts/[email protected] // Original license: SPDX_License_Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File erc721a/contracts/extensions/[email protected] // Original license: SPDX_License_Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721ABurnable. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; } // File erc721a/contracts/extensions/[email protected] // Original license: SPDX_License_Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721ABurnable. * * @dev ERC721A token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } } // File contracts/SenseLabs.sol // Original license: SPDX_License_Identifier: Apache-2.0 pragma solidity ^0.8.23; contract SenseLabs is ERC721A, ERC721ABurnable, Ownable, AccessControl, EIP712, RandomOffset { using Strings for uint256; using ECDSA for bytes32; string public baseURI; uint256 public mintPrice; bool public mintPaused; bool public mintPublished; uint256 public maxTotalSupply; mapping(address => uint256) public nonces; mapping(address => uint256) public addressToTokenCount; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); // ============================================================= // CONSTRUCTOR // ============================================================= constructor( string memory _name, string memory _symbol, string memory _url, uint256 _mintPrice, uint256 _airdropAmount, address _minter, string memory _version, RandomOffsetType memory _randomOffset ) ERC721A(_name, _symbol) EIP712(_name, _version) RandomOffset(_randomOffset) Ownable(msg.sender) { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(MINTER_ROLE, _minter); baseURI = _url; mintPrice = _mintPrice; maxTotalSupply = 10000; mintPaused = false; mintPublished = false; _mint(msg.sender, _airdropAmount); } // ============================================================= // PUPLIC // ============================================================= function tokenURI(uint256 tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) { if (!_exists(tokenId)) revert Errors.ERC721UriNonExistent(); if (bytes(_baseURI()).length == 0 || !randomGenerated) return ""; uint256 metadataId = ((tokenId + getRandomNumber()) % 10000) + 1; return string(abi.encodePacked(_baseURI(), metadataId.toString())); } // ============================================================= // EXTERNAL // ============================================================= function mint(uint8 quantity) external payable { if (!mintPublished) revert Errors.MintingNotPublished(); if (msg.value < quantity * mintPrice) revert Errors.WrongEtherAmount(); _mint(msg.sender, quantity); } function mint(MintData calldata request, bytes memory signature) external payable { if (mintPublished) revert Errors.MintingPublished(); if (msg.value < request.mint_total_price) revert Errors.WrongEtherAmount(); uint256 totalCount = addressToTokenCount[request.to] + request.mint_amount; if (totalCount > 5) revert Errors.MaxSupplyPerAccount(); _mintWithSignature(request, signature); addressToTokenCount[request.to] += request.mint_amount; } function batchTransferFrom(address[] calldata recipients, uint256[] calldata tokenIds) external { uint256 tokenIdsLength = tokenIds.length; if (tokenIdsLength != recipients.length) revert Errors.ArrayLengthMismatch(); for (uint256 i = 0; i < tokenIdsLength; ) { transferFrom(msg.sender, recipients[i], tokenIds[i]); unchecked { ++i; } } } // ============================================================= // INTERNAL // ============================================================= function hashStruct(MintData memory mintData) internal pure returns (bytes32) { return keccak256( abi.encode( MINT_DATA_TYPEHASH, mintData.to, mintData.expire, mintData.mint_amount, mintData.mint_total_price, mintData.user_nonce ) ); } function verifySignature(MintData calldata mintData, bytes memory signature) internal view returns (address) { bytes32 _hash = _hashTypedDataV4(hashStruct(mintData)); return ECDSA.recover(_hash, signature); } function _startTokenId() internal pure override returns (uint256) { return 1; } function _baseURI() internal view override returns (string memory) { return baseURI; } function _mint(address to, uint256 quantity) internal virtual override(ERC721A) { if (mintPaused) revert Errors.MintingPaused(); if (_totalMinted() + quantity > maxTotalSupply) revert Errors.MaxSupplyReached(); super._mint(to, quantity); } function _mintWithSignature(MintData calldata request, bytes memory signature) internal { if (block.timestamp > request.expire) revert Errors.SignatureValidityEnd(); if (nonces[request.to] != request.user_nonce) revert Errors.AlreadyMinted(); address recovered = verifySignature(request, signature); if (!hasRole(MINTER_ROLE, recovered)) revert Errors.InvalidSignature(); nonces[request.to] += 1; _mint(request.to, request.mint_amount); } // ============================================================= // SUPPORT INTERFACE // ============================================================= function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721A, IERC721A, AccessControl) returns (bool) { return ERC721A.supportsInterface(interfaceId); } // ============================================================= // ONLY OWNER // ============================================================= function setMintPrice(uint256 newMintPrice) external onlyOwner { mintPrice = newMintPrice; } function setBaseURI(string calldata newBaseUri) external onlyOwner { baseURI = newBaseUri; } function changeMintPaused() external onlyOwner { mintPaused = !mintPaused; } function mintPublish() external onlyOwner { mintPublished = true; } function changeMaxTotalSupply(uint256 newMaxTotalSupply) external onlyOwner { if (_totalMinted() > newMaxTotalSupply) revert Errors.InvalidMaxTotalSupply(); maxTotalSupply = newMaxTotalSupply; } function withdraw() public onlyOwner { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); if (!success) revert Errors.WithdrawalFailed(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_url","type":"string"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_airdropAmount","type":"uint256"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"string","name":"_version","type":"string"},{"components":[{"internalType":"uint64","name":"subscriptionId","type":"uint64"},{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"address","name":"coordinator","type":"address"}],"internalType":"struct RandomOffsetType","name":"_randomOffset","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ArrayLengthMismatch","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[],"name":"ERC721UriNonExistent","type":"error"},{"inputs":[],"name":"InvalidMaxTotalSupply","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MaxSupplyPerAccount","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintingNotPublished","type":"error"},{"inputs":[],"name":"MintingPaused","type":"error"},{"inputs":[],"name":"MintingPublished","type":"error"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SignatureValidityEnd","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WithdrawalFailed","type":"error"},{"inputs":[],"name":"WrongEtherAmount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"RequestFulfilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"},{"indexed":false,"internalType":"uint32","name":"numWords","type":"uint32"}],"name":"RequestSent","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"},{"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":[{"internalType":"address","name":"","type":"address"}],"name":"addressToTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","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":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTotalSupply","type":"uint256"}],"name":"changeMaxTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"changeMintPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"expire","type":"uint256"},{"internalType":"uint256","name":"mint_amount","type":"uint256"},{"internalType":"uint256","name":"mint_total_price","type":"uint256"},{"internalType":"uint256","name":"user_nonce","type":"uint256"}],"internalType":"struct MintData","name":"request","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPublish","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPublished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomGenerated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"requestRandomWords","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61018060405234801562000011575f80fd5b50604051620060a2380380620060a2833981810160405281019062000037919062000c9f565b8088833383604001518c8c81600290816200005391906200100d565b5080600390816200006591906200100d565b50620000766200032060201b60201c565b5f8190555050508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000125575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200011c919062001102565b60405180910390fd5b62000136816200032860201b60201c565b506200014d600a83620003eb60201b90919060201c565b61014081815250506200016b600b82620003eb60201b90919060201c565b610160818152505081805190602001206101008181525050808051906020012061012081815250504660c08181525050620001ab6200044060201b60201c565b60a081815250503073ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff16815250505050806040015160115f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060200151601081905550805f0151600f5f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050620002775f801b336200049d60201b60201c565b50620002aa7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6846200049d60201b60201c565b508560129081620002bc91906200100d565b50846013819055506127106015819055505f60145f6101000a81548160ff0219169083151502179055505f601460016101000a81548160ff0219169083151502179055506200031233856200059960201b60201c565b505050505050505062001311565b5f6001905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f602083511015620004105762000408836200064f60201b60201c565b90506200043a565b826200042283620006b960201b60201c565b5f0190816200043291906200100d565b5060ff5f1b90505b92915050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61010051610120514630604051602001620004829594939291906200113f565b60405160208183030381529060405280519060200120905090565b5f620004b08383620006c260201b60201c565b6200058f57600160095f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506200052b6200072660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905062000593565b5f90505b92915050565b60145f9054906101000a900460ff1615620005e0576040517feb56075600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60155481620005f46200072d60201b60201c565b620006009190620011c7565b111562000639576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200064b82826200074660201b60201c565b5050565b5f80829050601f815111156200069e57826040517f305a27a900000000000000000000000000000000000000000000000000000000815260040162000695919062001251565b60405180910390fd5b805181620006ac90620012a2565b5f1c175f1b915050919050565b5f819050919050565b5f60095f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f33905090565b5f6200073e6200032060201b60201c565b5f5403905090565b5f805490505f820362000785576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620007995f8483856200091b60201b60201c565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055506200082383620008055f865f6200092160201b60201c565b62000816856200095060201b60201c565b176200095f60201b60201c565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114620008bf5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a460018101905062000884565b505f8203620008fa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050620009165f8483856200098960201b60201c565b505050565b50505050565b5f8060e883901c905060e86200093f8686846200098f60201b60201c565b62ffffff16901b9150509392505050565b5f6001821460e11b9050919050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f9392505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620009f882620009b0565b810181811067ffffffffffffffff8211171562000a1a5762000a19620009c0565b5b80604052505050565b5f62000a2e62000997565b905062000a3c8282620009ed565b919050565b5f67ffffffffffffffff82111562000a5e5762000a5d620009c0565b5b62000a6982620009b0565b9050602081019050919050565b5f5b8381101562000a9557808201518184015260208101905062000a78565b5f8484015250505050565b5f62000ab662000ab08462000a41565b62000a23565b90508281526020810184848401111562000ad55762000ad4620009ac565b5b62000ae284828562000a76565b509392505050565b5f82601f83011262000b015762000b00620009a8565b5b815162000b1384826020860162000aa0565b91505092915050565b5f819050919050565b62000b308162000b1c565b811462000b3b575f80fd5b50565b5f8151905062000b4e8162000b25565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000b7f8262000b54565b9050919050565b62000b918162000b73565b811462000b9c575f80fd5b50565b5f8151905062000baf8162000b86565b92915050565b5f80fd5b5f67ffffffffffffffff82169050919050565b62000bd78162000bb9565b811462000be2575f80fd5b50565b5f8151905062000bf58162000bcc565b92915050565b5f819050919050565b62000c0f8162000bfb565b811462000c1a575f80fd5b50565b5f8151905062000c2d8162000c04565b92915050565b5f6060828403121562000c4b5762000c4a62000bb5565b5b62000c57606062000a23565b90505f62000c688482850162000be5565b5f83015250602062000c7d8482850162000c1d565b602083015250604062000c938482850162000b9f565b60408301525092915050565b5f805f805f805f80610140898b03121562000cbf5762000cbe620009a0565b5b5f89015167ffffffffffffffff81111562000cdf5762000cde620009a4565b5b62000ced8b828c0162000aea565b985050602089015167ffffffffffffffff81111562000d115762000d10620009a4565b5b62000d1f8b828c0162000aea565b975050604089015167ffffffffffffffff81111562000d435762000d42620009a4565b5b62000d518b828c0162000aea565b965050606062000d648b828c0162000b3e565b955050608062000d778b828c0162000b3e565b94505060a062000d8a8b828c0162000b9f565b93505060c089015167ffffffffffffffff81111562000dae5762000dad620009a4565b5b62000dbc8b828c0162000aea565b92505060e062000dcf8b828c0162000c33565b9150509295985092959890939650565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168062000e2e57607f821691505b60208210810362000e445762000e4362000de9565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830262000ea87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000e6b565b62000eb4868362000e6b565b95508019841693508086168417925050509392505050565b5f819050919050565b5f62000ef562000eef62000ee98462000b1c565b62000ecc565b62000b1c565b9050919050565b5f819050919050565b62000f108362000ed5565b62000f2862000f1f8262000efc565b84845462000e77565b825550505050565b5f90565b62000f3e62000f30565b62000f4b81848462000f05565b505050565b5b8181101562000f725762000f665f8262000f34565b60018101905062000f51565b5050565b601f82111562000fc15762000f8b8162000e4a565b62000f968462000e5c565b8101602085101562000fa6578190505b62000fbe62000fb58562000e5c565b83018262000f50565b50505b505050565b5f82821c905092915050565b5f62000fe35f198460080262000fc6565b1980831691505092915050565b5f62000ffd838362000fd2565b9150826002028217905092915050565b620010188262000ddf565b67ffffffffffffffff811115620010345762001033620009c0565b5b62001040825462000e16565b6200104d82828562000f76565b5f60209050601f83116001811462001083575f84156200106e578287015190505b6200107a858262000ff0565b865550620010e9565b601f198416620010938662000e4a565b5f5b82811015620010bc5784890151825560018201915060208501945060208101905062001095565b86831015620010dc5784890151620010d8601f89168262000fd2565b8355505b6001600288020188555050505b505050505050565b620010fc8162000b73565b82525050565b5f602082019050620011175f830184620010f1565b92915050565b620011288162000bfb565b82525050565b620011398162000b1c565b82525050565b5f60a082019050620011545f8301886200111d565b6200116360208301876200111d565b6200117260408301866200111d565b6200118160608301856200112e565b620011906080830184620010f1565b9695505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f620011d38262000b1c565b9150620011e08362000b1c565b9250828201905080821115620011fb57620011fa6200119a565b5b92915050565b5f82825260208201905092915050565b5f6200121d8262000ddf565b62001229818562001201565b93506200123b81856020860162000a76565b6200124681620009b0565b840191505092915050565b5f6020820190508181035f8301526200126b818462001211565b905092915050565b5f81519050919050565b5f819050602082019050919050565b5f62001299825162000bfb565b80915050919050565b5f620012ae8262001273565b82620012ba846200127d565b9050620012c7816200128c565b925060208210156200130a57620013057fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8360200360080262000e6b565b831692505b5050919050565b60805160a05160c05160e05161010051610120516101405161016051614d2e620013745f395f6128d001525f61289501525f61361f01525f6135fe01525f61333001525f61338601525f6133af01525f8181610d620152610db60152614d2e5ff3fe608060405260043610610286575f3560e01c806370a0823111610159578063ad2d267e116100c0578063d547741f11610079578063d547741f14610938578063dbdff2c114610960578063e0c862891461098a578063e985e9c5146109b4578063f2fde38b146109f0578063f4a0a52814610a1857610286565b8063ad2d267e1461085c578063b88d4fde14610878578063c589c15414610894578063c87b56dd146108bc578063cdb64d91146108f8578063d53913931461090e57610286565b806384b0196e1161011257806384b0196e1461074a5780638da5cb5b1461077a57806391d14854146107a457806395d89b41146107e0578063a217fddf1461080a578063a22cb4651461083457610286565b806370a082311461063e578063715018a61461067a5780637c6be9d8146106905780637e4831d3146106ba5780637ecebe00146106e45780638246a16e1461072057610286565b80632ab4d052116101fd57806355f804b3116101b657806355f804b31461055457806356f30bcd1461057c5780636352211e146105925780636817c76c146105ce5780636c0360eb146105f85780636ecd23061461062257610286565b80632ab4d052146104805780632f2ff15d146104aa57806336568abe146104d25780633ccfd60b146104fa57806342842e0e1461051057806342966c681461052c57610286565b806314d387251161024f57806314d387251461037257806318160ddd1461039a5780631fe543e3146103c457806321f94285146103ec57806323b872dd14610428578063248a9ca31461044457610286565b80626d6cae1461028a57806301ffc9a7146102b457806306fdde03146102f0578063081812fc1461031a578063095ea7b314610356575b5f80fd5b348015610295575f80fd5b5061029e610a40565b6040516102ab919061376e565b60405180910390f35b3480156102bf575f80fd5b506102da60048036038101906102d591906137ed565b610a46565b6040516102e79190613832565b60405180910390f35b3480156102fb575f80fd5b50610304610a57565b60405161031191906138d5565b60405180910390f35b348015610325575f80fd5b50610340600480360381019061033b919061391f565b610ae7565b60405161034d9190613989565b60405180910390f35b610370600480360381019061036b91906139cc565b610b61565b005b34801561037d575f80fd5b5061039860048036038101906103939190613ac0565b610ca0565b005b3480156103a5575f80fd5b506103ae610d4b565b6040516103bb919061376e565b60405180910390f35b3480156103cf575f80fd5b506103ea60048036038101906103e59190613c76565b610d60565b005b3480156103f7575f80fd5b50610412600480360381019061040d9190613cd0565b610e20565b60405161041f919061376e565b60405180910390f35b610442600480360381019061043d9190613cfb565b610e35565b005b34801561044f575f80fd5b5061046a60048036038101906104659190613d7e565b611143565b6040516104779190613db8565b60405180910390f35b34801561048b575f80fd5b50610494611160565b6040516104a1919061376e565b60405180910390f35b3480156104b5575f80fd5b506104d060048036038101906104cb9190613dd1565b611166565b005b3480156104dd575f80fd5b506104f860048036038101906104f39190613dd1565b611188565b005b348015610505575f80fd5b5061050e611203565b005b61052a60048036038101906105259190613cfb565b6112ad565b005b348015610537575f80fd5b50610552600480360381019061054d919061391f565b6112cc565b005b34801561055f575f80fd5b5061057a60048036038101906105759190613e64565b6112da565b005b348015610587575f80fd5b506105906112f8565b005b34801561059d575f80fd5b506105b860048036038101906105b3919061391f565b61132a565b6040516105c59190613989565b60405180910390f35b3480156105d9575f80fd5b506105e261133b565b6040516105ef919061376e565b60405180910390f35b348015610603575f80fd5b5061060c611341565b60405161061991906138d5565b60405180910390f35b61063c60048036038101906106379190613ee5565b6113cd565b005b348015610649575f80fd5b50610664600480360381019061065f9190613cd0565b61146d565b604051610671919061376e565b60405180910390f35b348015610685575f80fd5b5061068e611522565b005b34801561069b575f80fd5b506106a4611535565b6040516106b19190613832565b60405180910390f35b3480156106c5575f80fd5b506106ce611548565b6040516106db9190613832565b60405180910390f35b3480156106ef575f80fd5b5061070a60048036038101906107059190613cd0565b61155a565b604051610717919061376e565b60405180910390f35b34801561072b575f80fd5b5061073461156f565b6040516107419190613832565b60405180910390f35b348015610755575f80fd5b5061075e611581565b6040516107719796959493929190614001565b60405180910390f35b348015610785575f80fd5b5061078e611626565b60405161079b9190613989565b60405180910390f35b3480156107af575f80fd5b506107ca60048036038101906107c59190613dd1565b61164e565b6040516107d79190613832565b60405180910390f35b3480156107eb575f80fd5b506107f46116b2565b60405161080191906138d5565b60405180910390f35b348015610815575f80fd5b5061081e611742565b60405161082b9190613db8565b60405180910390f35b34801561083f575f80fd5b5061085a600480360381019061085591906140ad565b611748565b005b610876600480360381019061087191906141bd565b61184e565b005b610892600480360381019061088d9190614217565b6119e6565b005b34801561089f575f80fd5b506108ba60048036038101906108b5919061391f565b611a58565b005b3480156108c7575f80fd5b506108e260048036038101906108dd919061391f565b611aab565b6040516108ef91906138d5565b60405180910390f35b348015610903575f80fd5b5061090c611b92565b005b348015610919575f80fd5b50610922611bb7565b60405161092f9190613db8565b60405180910390f35b348015610943575f80fd5b5061095e60048036038101906109599190613dd1565b611bdb565b005b34801561096b575f80fd5b50610974611bfd565b604051610981919061376e565b60405180910390f35b348015610995575f80fd5b5061099e611c54565b6040516109ab919061376e565b60405180910390f35b3480156109bf575f80fd5b506109da60048036038101906109d59190614297565b611db9565b6040516109e79190613832565b60405180910390f35b3480156109fb575f80fd5b50610a166004803603810190610a119190613cd0565b611e47565b005b348015610a23575f80fd5b50610a3e6004803603810190610a39919061391f565b611ecb565b005b600c5481565b5f610a5082611edd565b9050919050565b606060028054610a6690614302565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9290614302565b8015610add5780601f10610ab457610100808354040283529160200191610add565b820191905f5260205f20905b815481529060010190602001808311610ac057829003601f168201915b5050505050905090565b5f610af182611f6e565b610b27576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f610b6b8261132a565b90508073ffffffffffffffffffffffffffffffffffffffff16610b8c611fc8565b73ffffffffffffffffffffffffffffffffffffffff1614610bef57610bb881610bb3611fc8565b611db9565b610bee576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f828290509050848490508114610ce3576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b81811015610d4357610d3833878784818110610d0457610d03614332565b5b9050602002016020810190610d199190613cd0565b868685818110610d2c57610d2b614332565b5b90506020020135610e35565b806001019050610ce5565b505050505050565b5f610d54611fcf565b6001545f540303905090565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e1257337f00000000000000000000000000000000000000000000000000000000000000006040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610e0992919061435f565b60405180910390fd5b610e1c8282611fd7565b5050565b6017602052805f5260405f205f915090505481565b5f610e3f826120ef565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ea6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610eb1846121b2565b91509150610ec78187610ec2611fc8565b6121d5565b610f1357610edc86610ed7611fc8565b611db9565b610f12576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f78576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f858686866001612218565b8015610f8f575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600101919050819055506110578561103388888761221e565b7c020000000000000000000000000000000000000000000000000000000017612245565b60045f8681526020019081526020015f20819055505f7c02000000000000000000000000000000000000000000000000000000008416036110d3575f6001850190505f60045f8381526020019081526020015f2054036110d1575f5481146110d0578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461113b868686600161226f565b505050505050565b5f60095f8381526020019081526020015f20600101549050919050565b60155481565b61116f82611143565b61117881612275565b6111828383612289565b50505050565b611190612373565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111f4576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111fe828261237a565b505050565b61120b612464565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051611230906143b3565b5f6040518083038185875af1925050503d805f811461126a576040519150601f19603f3d011682016040523d82523d5f602084013e61126f565b606091505b50509050806112aa576040517f27fcd9d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6112c783838360405180602001604052805f8152506119e6565b505050565b6112d78160016124eb565b50565b6112e2612464565b8181601291826112f392919061456e565b505050565b611300612464565b60145f9054906101000a900460ff161560145f6101000a81548160ff021916908315150217905550565b5f611334826120ef565b9050919050565b60135481565b6012805461134e90614302565b80601f016020809104026020016040519081016040528092919081815260200182805461137a90614302565b80156113c55780601f1061139c576101008083540402835291602001916113c5565b820191905f5260205f20905b8154815290600101906020018083116113a857829003601f168201915b505050505081565b601460019054906101000a900460ff16611413576040517f1cdb188800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6013548160ff166114249190614668565b34101561145d576040517f31fc877f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61146a338260ff16612727565b50565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114d3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b61152a612464565b6115335f6127c9565b565b601460019054906101000a900460ff1681565b60145f9054906101000a900460ff1681565b6016602052805f5260405f205f915090505481565b600d5f9054906101000a900460ff1681565b5f6060805f805f606061159261288c565b61159a6128c7565b46305f801b5f67ffffffffffffffff8111156115b9576115b8613b3e565b5b6040519080825280602002602001820160405280156115e75781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f60095f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6060600380546116c190614302565b80601f01602080910402602001604051908101604052809291908181526020018280546116ed90614302565b80156117385780601f1061170f57610100808354040283529160200191611738565b820191905f5260205f20905b81548152906001019060200180831161171b57829003601f168201915b5050505050905090565b5f801b81565b8060075f611754611fc8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117fd611fc8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118429190613832565b60405180910390a35050565b601460019054906101000a900460ff1615611895576040517fb8c7b8ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81606001353410156118d3576040517f31fc877f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f826040013560175f855f0160208101906118ee9190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461193291906146a9565b9050600581111561196f576040517f5e3aa1df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119798383612902565b826040013560175f855f0160208101906119939190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546119da91906146a9565b92505081905550505050565b6119f1848484610e35565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611a5257611a1b84848484612ac1565b611a51576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611a60612464565b80611a69612c0c565b1115611aa1576040517fdd92316a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060158190555050565b6060611ab682611f6e565b611aec576040517f851b21c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f611af5612c1d565b511480611b0e5750600d5f9054906101000a900460ff16155b15611b295760405180602001604052805f8152509050611b8d565b5f6001612710611b37611bfd565b85611b4291906146a9565b611b4c9190614709565b611b5691906146a9565b9050611b60612c1d565b611b6982612cad565b604051602001611b7a929190614773565b6040516020818303038152906040529150505b919050565b611b9a612464565b6001601460016101000a81548160ff021916908315150217905550565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611be482611143565b611bed81612275565b611bf7838361237a565b50505050565b5f600d5f9054906101000a900460ff16611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c43906147e0565b60405180910390fd5b600e54905090565b5f805f1b611c6181612275565b600d5f9054906101000a900460ff1615611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca790614848565b60405180910390fd5b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30601054600f5f9054906101000a900467ffffffffffffffff166003620186a060016040518663ffffffff1660e01b8152600401611d2e9594939291906148c2565b6020604051808303815f875af1158015611d4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6e9190614927565b600c819055507fcc58b13ad3eab50626c6a6300b1d139cd6ebb1688a7cced9461c2f7e762665ee600c546001604051611da8929190614952565b60405180910390a1600c5491505090565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611e4f612464565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ebf575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611eb69190613989565b60405180910390fd5b611ec8816127c9565b50565b611ed3612464565b8060138190555050565b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f3757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f675750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b5f81611f78611fcf565b11158015611f8657505f5482105b8015611fc157505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b600d5f9054906101000a900460ff1615612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d90614848565b60405180910390fd5b600c54821461206a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612061906149c3565b60405180910390fd5b612711815f815181106120805761207f614332565b5b60200260200101516120929190614709565b600e819055506001600d5f6101000a81548160ff0219169083151502179055507ffe2e2d779dba245964d4e3ef9b994be63856fd568bf7d3ca9e224755cb1bd54d82826040516120e39291906149e1565b60405180910390a15050565b5f80829050806120fd611fcf565b1161217b575f5481101561217a575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603612178575b5f810361216e5760045f836001900393508381526020019081526020015f20549050612147565b80925050506121ad565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8612234868684612d77565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61228681612281612373565b612d7f565b50565b5f612294838361164e565b61236957600160095f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550612306612373565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905061236d565b5f90505b92915050565b5f33905090565b5f612385838361164e565b1561245a575f60095f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506123f7612373565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a46001905061245e565b5f90505b92915050565b61246c612373565b73ffffffffffffffffffffffffffffffffffffffff1661248a611626565b73ffffffffffffffffffffffffffffffffffffffff16146124e9576124ad612373565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016124e09190613989565b60405180910390fd5b565b5f6124f5836120ef565b90505f8190505f80612506866121b2565b91509150841561256f57612522818461251d611fc8565b6121d5565b61256e5761253783612532611fc8565b611db9565b61256d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61257c835f886001612218565b8015612586575f82555b600160806001901b0360055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555061262a836125e7855f8861221e565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612245565b60045f8881526020019081526020015f20819055505f7c02000000000000000000000000000000000000000000000000000000008516036126a6575f6001870190505f60045f8381526020019081526020015f2054036126a4575f5481146126a3578460045f8381526020019081526020015f20819055505b5b505b855f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461270e835f88600161226f565b60015f8154809291906001019190505550505050505050565b60145f9054906101000a900460ff161561276d576040517feb56075600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60155481612779612c0c565b61278391906146a9565b11156127bb576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127c58282612dd0565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606128c2600a7f0000000000000000000000000000000000000000000000000000000000000000612f7990919063ffffffff16565b905090565b60606128fd600b7f0000000000000000000000000000000000000000000000000000000000000000612f7990919063ffffffff16565b905090565b8160200135421115612940576040517fc20ba0be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816080013560165f845f01602081019061295a9190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054146129cb576040517fddefae2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6129d68383613026565b9050612a027f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68261164e565b612a38576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160165f855f016020810190612a4f9190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254612a9691906146a9565b92505081905550612abc835f016020810190612ab29190613cd0565b8460400135612727565b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ae6611fc8565b8786866040518563ffffffff1660e01b8152600401612b089493929190614a61565b6020604051808303815f875af1925050508015612b4357506040513d601f19601f82011682018060405250810190612b409190614abf565b60015b612bb9573d805f8114612b71576040519150601f19603f3d011682016040523d82523d5f602084013e612b76565b606091505b505f815103612bb1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b5f612c15611fcf565b5f5403905090565b606060128054612c2c90614302565b80601f0160208091040260200160405190810160405280929190818152602001828054612c5890614302565b8015612ca35780601f10612c7a57610100808354040283529160200191612ca3565b820191905f5260205f20905b815481529060010190602001808311612c8657829003601f168201915b5050505050905090565b60605f6001612cbb8461305e565b0190505f8167ffffffffffffffff811115612cd957612cd8613b3e565b5b6040519080825280601f01601f191660200182016040528015612d0b5781602001600182028036833780820191505090505b5090505f82602001820190505b600115612d6c578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612d6157612d606146dc565b5b0494505f8503612d18575b819350505050919050565b5f9392505050565b612d89828261164e565b612dcc5780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401612dc3929190614aea565b60405180910390fd5b5050565b5f805490505f8203612e0e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e1a5f848385612218565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550612e8c83612e7d5f865f61221e565b612e86856131af565b17612245565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114612f265780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050612eed565b505f8203612f60576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050612f745f84838561226f565b505050565b606060ff5f1b8314612f9557612f8e836131be565b9050613020565b818054612fa190614302565b80601f0160208091040260200160405190810160405280929190818152602001828054612fcd90614302565b80156130185780601f10612fef57610100808354040283529160200191613018565b820191905f5260205f20905b815481529060010190602001808311612ffb57829003601f168201915b505050505090505b92915050565b5f806130496130448580360381019061303f9190614b9e565b613230565b61329c565b905061305581846132b5565b91505092915050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130ba577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816130b0576130af6146dc565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106130f7576d04ee2d6d415b85acef810000000083816130ed576130ec6146dc565b5b0492506020810190505b662386f26fc10000831061312657662386f26fc10000838161311c5761311b6146dc565b5b0492506010810190505b6305f5e100831061314f576305f5e1008381613145576131446146dc565b5b0492506008810190505b612710831061317457612710838161316a576131696146dc565b5b0492506004810190505b60648310613197576064838161318d5761318c6146dc565b5b0492506002810190505b600a83106131a6576001810190505b80915050919050565b5f6001821460e11b9050919050565b60605f6131ca836132df565b90505f602067ffffffffffffffff8111156131e8576131e7613b3e565b5b6040519080825280601f01601f19166020018201604052801561321a5781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b5f7fe5c20a8d3ac3f3fe5c5e8ba67b9a411b883cc440bac676f1606810908b1bf4a2825f0151836020015184604001518560600151866080015160405160200161327f96959493929190614bc9565b604051602081830303815290604052805190602001209050919050565b5f6132ae6132a861332d565b836133e3565b9050919050565b5f805f806132c38686613423565b9250925092506132d38282613478565b82935050505092915050565b5f8060ff835f1c169050601f811115613324576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156133a857507f000000000000000000000000000000000000000000000000000000000000000046145b156133d5577f000000000000000000000000000000000000000000000000000000000000000090506133e0565b6133dd6135da565b90505b90565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f6041845103613463575f805f602087015192506040870151915060608701515f1a90506134558882858561366f565b955095509550505050613471565b5f600285515f1b9250925092505b9250925092565b5f600381111561348b5761348a614c28565b5b82600381111561349e5761349d614c28565b5b03156135d657600160038111156134b8576134b7614c28565b5b8260038111156134cb576134ca614c28565b5b03613502576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600381111561351657613515614c28565b5b82600381111561352957613528614c28565b5b0361356d57805f1c6040517ffce698f7000000000000000000000000000000000000000000000000000000008152600401613564919061376e565b60405180910390fd5b6003808111156135805761357f614c28565b5b82600381111561359357613592614c28565b5b036135d557806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016135cc9190613db8565b60405180910390fd5b5b5050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000004630604051602001613654959493929190614c55565b60405160208183030381529060405280519060200120905090565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c11156136ab575f60038592509250925061374c565b5f6001888888886040515f81526020016040526040516136ce9493929190614cb5565b6020604051602081039080840390855afa1580156136ee573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361373f575f60015f801b9350935093505061374c565b805f805f1b935093509350505b9450945094915050565b5f819050919050565b61376881613756565b82525050565b5f6020820190506137815f83018461375f565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137cc81613798565b81146137d6575f80fd5b50565b5f813590506137e7816137c3565b92915050565b5f6020828403121561380257613801613790565b5b5f61380f848285016137d9565b91505092915050565b5f8115159050919050565b61382c81613818565b82525050565b5f6020820190506138455f830184613823565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015613882578082015181840152602081019050613867565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6138a78261384b565b6138b18185613855565b93506138c1818560208601613865565b6138ca8161388d565b840191505092915050565b5f6020820190508181035f8301526138ed818461389d565b905092915050565b6138fe81613756565b8114613908575f80fd5b50565b5f81359050613919816138f5565b92915050565b5f6020828403121561393457613933613790565b5b5f6139418482850161390b565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6139738261394a565b9050919050565b61398381613969565b82525050565b5f60208201905061399c5f83018461397a565b92915050565b6139ab81613969565b81146139b5575f80fd5b50565b5f813590506139c6816139a2565b92915050565b5f80604083850312156139e2576139e1613790565b5b5f6139ef858286016139b8565b9250506020613a008582860161390b565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112613a2b57613a2a613a0a565b5b8235905067ffffffffffffffff811115613a4857613a47613a0e565b5b602083019150836020820283011115613a6457613a63613a12565b5b9250929050565b5f8083601f840112613a8057613a7f613a0a565b5b8235905067ffffffffffffffff811115613a9d57613a9c613a0e565b5b602083019150836020820283011115613ab957613ab8613a12565b5b9250929050565b5f805f8060408587031215613ad857613ad7613790565b5b5f85013567ffffffffffffffff811115613af557613af4613794565b5b613b0187828801613a16565b9450945050602085013567ffffffffffffffff811115613b2457613b23613794565b5b613b3087828801613a6b565b925092505092959194509250565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b613b748261388d565b810181811067ffffffffffffffff82111715613b9357613b92613b3e565b5b80604052505050565b5f613ba5613787565b9050613bb18282613b6b565b919050565b5f67ffffffffffffffff821115613bd057613bcf613b3e565b5b602082029050602081019050919050565b5f613bf3613bee84613bb6565b613b9c565b90508083825260208201905060208402830185811115613c1657613c15613a12565b5b835b81811015613c3f5780613c2b888261390b565b845260208401935050602081019050613c18565b5050509392505050565b5f82601f830112613c5d57613c5c613a0a565b5b8135613c6d848260208601613be1565b91505092915050565b5f8060408385031215613c8c57613c8b613790565b5b5f613c998582860161390b565b925050602083013567ffffffffffffffff811115613cba57613cb9613794565b5b613cc685828601613c49565b9150509250929050565b5f60208284031215613ce557613ce4613790565b5b5f613cf2848285016139b8565b91505092915050565b5f805f60608486031215613d1257613d11613790565b5b5f613d1f868287016139b8565b9350506020613d30868287016139b8565b9250506040613d418682870161390b565b9150509250925092565b5f819050919050565b613d5d81613d4b565b8114613d67575f80fd5b50565b5f81359050613d7881613d54565b92915050565b5f60208284031215613d9357613d92613790565b5b5f613da084828501613d6a565b91505092915050565b613db281613d4b565b82525050565b5f602082019050613dcb5f830184613da9565b92915050565b5f8060408385031215613de757613de6613790565b5b5f613df485828601613d6a565b9250506020613e05858286016139b8565b9150509250929050565b5f8083601f840112613e2457613e23613a0a565b5b8235905067ffffffffffffffff811115613e4157613e40613a0e565b5b602083019150836001820283011115613e5d57613e5c613a12565b5b9250929050565b5f8060208385031215613e7a57613e79613790565b5b5f83013567ffffffffffffffff811115613e9757613e96613794565b5b613ea385828601613e0f565b92509250509250929050565b5f60ff82169050919050565b613ec481613eaf565b8114613ece575f80fd5b50565b5f81359050613edf81613ebb565b92915050565b5f60208284031215613efa57613ef9613790565b5b5f613f0784828501613ed1565b91505092915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b613f4481613f10565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613f7c81613756565b82525050565b5f613f8d8383613f73565b60208301905092915050565b5f602082019050919050565b5f613faf82613f4a565b613fb98185613f54565b9350613fc483613f64565b805f5b83811015613ff4578151613fdb8882613f82565b9750613fe683613f99565b925050600181019050613fc7565b5085935050505092915050565b5f60e0820190506140145f83018a613f3b565b8181036020830152614026818961389d565b9050818103604083015261403a818861389d565b9050614049606083018761375f565b614056608083018661397a565b61406360a0830185613da9565b81810360c08301526140758184613fa5565b905098975050505050505050565b61408c81613818565b8114614096575f80fd5b50565b5f813590506140a781614083565b92915050565b5f80604083850312156140c3576140c2613790565b5b5f6140d0858286016139b8565b92505060206140e185828601614099565b9150509250929050565b5f80fd5b5f60a08284031215614104576141036140eb565b5b81905092915050565b5f80fd5b5f67ffffffffffffffff82111561412b5761412a613b3e565b5b6141348261388d565b9050602081019050919050565b828183375f83830152505050565b5f61416161415c84614111565b613b9c565b90508281526020810184848401111561417d5761417c61410d565b5b614188848285614141565b509392505050565b5f82601f8301126141a4576141a3613a0a565b5b81356141b484826020860161414f565b91505092915050565b5f8060c083850312156141d3576141d2613790565b5b5f6141e0858286016140ef565b92505060a083013567ffffffffffffffff81111561420157614200613794565b5b61420d85828601614190565b9150509250929050565b5f805f806080858703121561422f5761422e613790565b5b5f61423c878288016139b8565b945050602061424d878288016139b8565b935050604061425e8782880161390b565b925050606085013567ffffffffffffffff81111561427f5761427e613794565b5b61428b87828801614190565b91505092959194509250565b5f80604083850312156142ad576142ac613790565b5b5f6142ba858286016139b8565b92505060206142cb858286016139b8565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061431957607f821691505b60208210810361432c5761432b6142d5565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f6040820190506143725f83018561397a565b61437f602083018461397a565b9392505050565b5f81905092915050565b50565b5f61439e5f83614386565b91506143a982614390565b5f82019050919050565b5f6143bd82614393565b9150819050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261442d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826143f2565b61443786836143f2565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61447261446d61446884613756565b61444f565b613756565b9050919050565b5f819050919050565b61448b83614458565b61449f61449782614479565b8484546143fe565b825550505050565b5f90565b6144b36144a7565b6144be818484614482565b505050565b5b818110156144e1576144d65f826144ab565b6001810190506144c4565b5050565b601f821115614526576144f7816143d1565b614500846143e3565b8101602085101561450f578190505b61452361451b856143e3565b8301826144c3565b50505b505050565b5f82821c905092915050565b5f6145465f198460080261452b565b1980831691505092915050565b5f61455e8383614537565b9150826002028217905092915050565b61457883836143c7565b67ffffffffffffffff81111561459157614590613b3e565b5b61459b8254614302565b6145a68282856144e5565b5f601f8311600181146145d3575f84156145c1578287013590505b6145cb8582614553565b865550614632565b601f1984166145e1866143d1565b5f5b82811015614608578489013582556001820191506020850194506020810190506145e3565b868310156146255784890135614621601f891682614537565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61467282613756565b915061467d83613756565b925082820261468b81613756565b915082820484148315176146a2576146a161463b565b5b5092915050565b5f6146b382613756565b91506146be83613756565b92508282019050808211156146d6576146d561463b565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61471382613756565b915061471e83613756565b92508261472e5761472d6146dc565b5b828206905092915050565b5f81905092915050565b5f61474d8261384b565b6147578185614739565b9350614767818560208601613865565b80840191505092915050565b5f61477e8285614743565b915061478a8284614743565b91508190509392505050565b7f52616e646f6d206e756d626572206e6f742067656e65726174656420796574005f82015250565b5f6147ca601f83613855565b91506147d582614796565b602082019050919050565b5f6020820190508181035f8301526147f7816147be565b9050919050565b7f52616e646f6d206e756d62657220616c72656164792067656e657261746564005f82015250565b5f614832601f83613855565b915061483d826147fe565b602082019050919050565b5f6020820190508181035f83015261485f81614826565b9050919050565b5f67ffffffffffffffff82169050919050565b61488281614866565b82525050565b5f61ffff82169050919050565b61489e81614888565b82525050565b5f63ffffffff82169050919050565b6148bc816148a4565b82525050565b5f60a0820190506148d55f830188613da9565b6148e26020830187614879565b6148ef6040830186614895565b6148fc60608301856148b3565b61490960808301846148b3565b9695505050505050565b5f81519050614921816138f5565b92915050565b5f6020828403121561493c5761493b613790565b5b5f61494984828501614913565b91505092915050565b5f6040820190506149655f83018561375f565b61497260208301846148b3565b9392505050565b7f72657175657374206e6f7420666f756e640000000000000000000000000000005f82015250565b5f6149ad601183613855565b91506149b882614979565b602082019050919050565b5f6020820190508181035f8301526149da816149a1565b9050919050565b5f6040820190506149f45f83018561375f565b8181036020830152614a068184613fa5565b90509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f614a3382614a0f565b614a3d8185614a19565b9350614a4d818560208601613865565b614a568161388d565b840191505092915050565b5f608082019050614a745f83018761397a565b614a81602083018661397a565b614a8e604083018561375f565b8181036060830152614aa08184614a29565b905095945050505050565b5f81519050614ab9816137c3565b92915050565b5f60208284031215614ad457614ad3613790565b5b5f614ae184828501614aab565b91505092915050565b5f604082019050614afd5f83018561397a565b614b0a6020830184613da9565b9392505050565b5f80fd5b5f60a08284031215614b2a57614b29614b11565b5b614b3460a0613b9c565b90505f614b43848285016139b8565b5f830152506020614b568482850161390b565b6020830152506040614b6a8482850161390b565b6040830152506060614b7e8482850161390b565b6060830152506080614b928482850161390b565b60808301525092915050565b5f60a08284031215614bb357614bb2613790565b5b5f614bc084828501614b15565b91505092915050565b5f60c082019050614bdc5f830189613da9565b614be9602083018861397a565b614bf6604083018761375f565b614c03606083018661375f565b614c10608083018561375f565b614c1d60a083018461375f565b979650505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b5f60a082019050614c685f830188613da9565b614c756020830187613da9565b614c826040830186613da9565b614c8f606083018561375f565b614c9c608083018461397a565b9695505050505050565b614caf81613eaf565b82525050565b5f608082019050614cc85f830187613da9565b614cd56020830186614ca6565b614ce26040830185613da9565b614cef6060830184613da9565b9594505050505056fea2646970667358221220e765b40babb296841943680560135227b58c930682f97d9321e5a2a02c11005d64736f6c634300081800330000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000313ca20913fbe50b4508fe2bbe7740cd346ccc9d00000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000397ff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f92000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909000000000000000000000000000000000000000000000000000000000000000b427265772052696465727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024252000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e37373773656e73656c6162732e636f6d2f627265772d7269646572732f6e6674732f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013100000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405260043610610286575f3560e01c806370a0823111610159578063ad2d267e116100c0578063d547741f11610079578063d547741f14610938578063dbdff2c114610960578063e0c862891461098a578063e985e9c5146109b4578063f2fde38b146109f0578063f4a0a52814610a1857610286565b8063ad2d267e1461085c578063b88d4fde14610878578063c589c15414610894578063c87b56dd146108bc578063cdb64d91146108f8578063d53913931461090e57610286565b806384b0196e1161011257806384b0196e1461074a5780638da5cb5b1461077a57806391d14854146107a457806395d89b41146107e0578063a217fddf1461080a578063a22cb4651461083457610286565b806370a082311461063e578063715018a61461067a5780637c6be9d8146106905780637e4831d3146106ba5780637ecebe00146106e45780638246a16e1461072057610286565b80632ab4d052116101fd57806355f804b3116101b657806355f804b31461055457806356f30bcd1461057c5780636352211e146105925780636817c76c146105ce5780636c0360eb146105f85780636ecd23061461062257610286565b80632ab4d052146104805780632f2ff15d146104aa57806336568abe146104d25780633ccfd60b146104fa57806342842e0e1461051057806342966c681461052c57610286565b806314d387251161024f57806314d387251461037257806318160ddd1461039a5780631fe543e3146103c457806321f94285146103ec57806323b872dd14610428578063248a9ca31461044457610286565b80626d6cae1461028a57806301ffc9a7146102b457806306fdde03146102f0578063081812fc1461031a578063095ea7b314610356575b5f80fd5b348015610295575f80fd5b5061029e610a40565b6040516102ab919061376e565b60405180910390f35b3480156102bf575f80fd5b506102da60048036038101906102d591906137ed565b610a46565b6040516102e79190613832565b60405180910390f35b3480156102fb575f80fd5b50610304610a57565b60405161031191906138d5565b60405180910390f35b348015610325575f80fd5b50610340600480360381019061033b919061391f565b610ae7565b60405161034d9190613989565b60405180910390f35b610370600480360381019061036b91906139cc565b610b61565b005b34801561037d575f80fd5b5061039860048036038101906103939190613ac0565b610ca0565b005b3480156103a5575f80fd5b506103ae610d4b565b6040516103bb919061376e565b60405180910390f35b3480156103cf575f80fd5b506103ea60048036038101906103e59190613c76565b610d60565b005b3480156103f7575f80fd5b50610412600480360381019061040d9190613cd0565b610e20565b60405161041f919061376e565b60405180910390f35b610442600480360381019061043d9190613cfb565b610e35565b005b34801561044f575f80fd5b5061046a60048036038101906104659190613d7e565b611143565b6040516104779190613db8565b60405180910390f35b34801561048b575f80fd5b50610494611160565b6040516104a1919061376e565b60405180910390f35b3480156104b5575f80fd5b506104d060048036038101906104cb9190613dd1565b611166565b005b3480156104dd575f80fd5b506104f860048036038101906104f39190613dd1565b611188565b005b348015610505575f80fd5b5061050e611203565b005b61052a60048036038101906105259190613cfb565b6112ad565b005b348015610537575f80fd5b50610552600480360381019061054d919061391f565b6112cc565b005b34801561055f575f80fd5b5061057a60048036038101906105759190613e64565b6112da565b005b348015610587575f80fd5b506105906112f8565b005b34801561059d575f80fd5b506105b860048036038101906105b3919061391f565b61132a565b6040516105c59190613989565b60405180910390f35b3480156105d9575f80fd5b506105e261133b565b6040516105ef919061376e565b60405180910390f35b348015610603575f80fd5b5061060c611341565b60405161061991906138d5565b60405180910390f35b61063c60048036038101906106379190613ee5565b6113cd565b005b348015610649575f80fd5b50610664600480360381019061065f9190613cd0565b61146d565b604051610671919061376e565b60405180910390f35b348015610685575f80fd5b5061068e611522565b005b34801561069b575f80fd5b506106a4611535565b6040516106b19190613832565b60405180910390f35b3480156106c5575f80fd5b506106ce611548565b6040516106db9190613832565b60405180910390f35b3480156106ef575f80fd5b5061070a60048036038101906107059190613cd0565b61155a565b604051610717919061376e565b60405180910390f35b34801561072b575f80fd5b5061073461156f565b6040516107419190613832565b60405180910390f35b348015610755575f80fd5b5061075e611581565b6040516107719796959493929190614001565b60405180910390f35b348015610785575f80fd5b5061078e611626565b60405161079b9190613989565b60405180910390f35b3480156107af575f80fd5b506107ca60048036038101906107c59190613dd1565b61164e565b6040516107d79190613832565b60405180910390f35b3480156107eb575f80fd5b506107f46116b2565b60405161080191906138d5565b60405180910390f35b348015610815575f80fd5b5061081e611742565b60405161082b9190613db8565b60405180910390f35b34801561083f575f80fd5b5061085a600480360381019061085591906140ad565b611748565b005b610876600480360381019061087191906141bd565b61184e565b005b610892600480360381019061088d9190614217565b6119e6565b005b34801561089f575f80fd5b506108ba60048036038101906108b5919061391f565b611a58565b005b3480156108c7575f80fd5b506108e260048036038101906108dd919061391f565b611aab565b6040516108ef91906138d5565b60405180910390f35b348015610903575f80fd5b5061090c611b92565b005b348015610919575f80fd5b50610922611bb7565b60405161092f9190613db8565b60405180910390f35b348015610943575f80fd5b5061095e60048036038101906109599190613dd1565b611bdb565b005b34801561096b575f80fd5b50610974611bfd565b604051610981919061376e565b60405180910390f35b348015610995575f80fd5b5061099e611c54565b6040516109ab919061376e565b60405180910390f35b3480156109bf575f80fd5b506109da60048036038101906109d59190614297565b611db9565b6040516109e79190613832565b60405180910390f35b3480156109fb575f80fd5b50610a166004803603810190610a119190613cd0565b611e47565b005b348015610a23575f80fd5b50610a3e6004803603810190610a39919061391f565b611ecb565b005b600c5481565b5f610a5082611edd565b9050919050565b606060028054610a6690614302565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9290614302565b8015610add5780601f10610ab457610100808354040283529160200191610add565b820191905f5260205f20905b815481529060010190602001808311610ac057829003601f168201915b5050505050905090565b5f610af182611f6e565b610b27576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f610b6b8261132a565b90508073ffffffffffffffffffffffffffffffffffffffff16610b8c611fc8565b73ffffffffffffffffffffffffffffffffffffffff1614610bef57610bb881610bb3611fc8565b611db9565b610bee576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f828290509050848490508114610ce3576040517fa24a13a600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5b81811015610d4357610d3833878784818110610d0457610d03614332565b5b9050602002016020810190610d199190613cd0565b868685818110610d2c57610d2b614332565b5b90506020020135610e35565b806001019050610ce5565b505050505050565b5f610d54611fcf565b6001545f540303905090565b7f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990973ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e1257337f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096040517f1cf993f4000000000000000000000000000000000000000000000000000000008152600401610e0992919061435f565b60405180910390fd5b610e1c8282611fd7565b5050565b6017602052805f5260405f205f915090505481565b5f610e3f826120ef565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ea6576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610eb1846121b2565b91509150610ec78187610ec2611fc8565b6121d5565b610f1357610edc86610ed7611fc8565b611db9565b610f12576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610f78576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f858686866001612218565b8015610f8f575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600101919050819055506110578561103388888761221e565b7c020000000000000000000000000000000000000000000000000000000017612245565b60045f8681526020019081526020015f20819055505f7c02000000000000000000000000000000000000000000000000000000008416036110d3575f6001850190505f60045f8381526020019081526020015f2054036110d1575f5481146110d0578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461113b868686600161226f565b505050505050565b5f60095f8381526020019081526020015f20600101549050919050565b60155481565b61116f82611143565b61117881612275565b6111828383612289565b50505050565b611190612373565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111f4576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111fe828261237a565b505050565b61120b612464565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051611230906143b3565b5f6040518083038185875af1925050503d805f811461126a576040519150601f19603f3d011682016040523d82523d5f602084013e61126f565b606091505b50509050806112aa576040517f27fcd9d100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b6112c783838360405180602001604052805f8152506119e6565b505050565b6112d78160016124eb565b50565b6112e2612464565b8181601291826112f392919061456e565b505050565b611300612464565b60145f9054906101000a900460ff161560145f6101000a81548160ff021916908315150217905550565b5f611334826120ef565b9050919050565b60135481565b6012805461134e90614302565b80601f016020809104026020016040519081016040528092919081815260200182805461137a90614302565b80156113c55780601f1061139c576101008083540402835291602001916113c5565b820191905f5260205f20905b8154815290600101906020018083116113a857829003601f168201915b505050505081565b601460019054906101000a900460ff16611413576040517f1cdb188800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6013548160ff166114249190614668565b34101561145d576040517f31fc877f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61146a338260ff16612727565b50565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114d3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b61152a612464565b6115335f6127c9565b565b601460019054906101000a900460ff1681565b60145f9054906101000a900460ff1681565b6016602052805f5260405f205f915090505481565b600d5f9054906101000a900460ff1681565b5f6060805f805f606061159261288c565b61159a6128c7565b46305f801b5f67ffffffffffffffff8111156115b9576115b8613b3e565b5b6040519080825280602002602001820160405280156115e75781602001602082028036833780820191505090505b507f0f00000000000000000000000000000000000000000000000000000000000000959493929190965096509650965096509650965090919293949596565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f60095f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6060600380546116c190614302565b80601f01602080910402602001604051908101604052809291908181526020018280546116ed90614302565b80156117385780601f1061170f57610100808354040283529160200191611738565b820191905f5260205f20905b81548152906001019060200180831161171b57829003601f168201915b5050505050905090565b5f801b81565b8060075f611754611fc8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117fd611fc8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118429190613832565b60405180910390a35050565b601460019054906101000a900460ff1615611895576040517fb8c7b8ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81606001353410156118d3576040517f31fc877f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f826040013560175f855f0160208101906118ee9190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461193291906146a9565b9050600581111561196f576040517f5e3aa1df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119798383612902565b826040013560175f855f0160208101906119939190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546119da91906146a9565b92505081905550505050565b6119f1848484610e35565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611a5257611a1b84848484612ac1565b611a51576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611a60612464565b80611a69612c0c565b1115611aa1576040517fdd92316a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060158190555050565b6060611ab682611f6e565b611aec576040517f851b21c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f611af5612c1d565b511480611b0e5750600d5f9054906101000a900460ff16155b15611b295760405180602001604052805f8152509050611b8d565b5f6001612710611b37611bfd565b85611b4291906146a9565b611b4c9190614709565b611b5691906146a9565b9050611b60612c1d565b611b6982612cad565b604051602001611b7a929190614773565b6040516020818303038152906040529150505b919050565b611b9a612464565b6001601460016101000a81548160ff021916908315150217905550565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611be482611143565b611bed81612275565b611bf7838361237a565b50505050565b5f600d5f9054906101000a900460ff16611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c43906147e0565b60405180910390fd5b600e54905090565b5f805f1b611c6181612275565b600d5f9054906101000a900460ff1615611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca790614848565b60405180910390fd5b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635d3b1d30601054600f5f9054906101000a900467ffffffffffffffff166003620186a060016040518663ffffffff1660e01b8152600401611d2e9594939291906148c2565b6020604051808303815f875af1158015611d4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6e9190614927565b600c819055507fcc58b13ad3eab50626c6a6300b1d139cd6ebb1688a7cced9461c2f7e762665ee600c546001604051611da8929190614952565b60405180910390a1600c5491505090565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611e4f612464565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ebf575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611eb69190613989565b60405180910390fd5b611ec8816127c9565b50565b611ed3612464565b8060138190555050565b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f3757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f675750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b5f81611f78611fcf565b11158015611f8657505f5482105b8015611fc157505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b600d5f9054906101000a900460ff1615612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d90614848565b60405180910390fd5b600c54821461206a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612061906149c3565b60405180910390fd5b612711815f815181106120805761207f614332565b5b60200260200101516120929190614709565b600e819055506001600d5f6101000a81548160ff0219169083151502179055507ffe2e2d779dba245964d4e3ef9b994be63856fd568bf7d3ca9e224755cb1bd54d82826040516120e39291906149e1565b60405180910390a15050565b5f80829050806120fd611fcf565b1161217b575f5481101561217a575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603612178575b5f810361216e5760045f836001900393508381526020019081526020015f20549050612147565b80925050506121ad565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8612234868684612d77565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61228681612281612373565b612d7f565b50565b5f612294838361164e565b61236957600160095f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550612306612373565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905061236d565b5f90505b92915050565b5f33905090565b5f612385838361164e565b1561245a575f60095f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506123f7612373565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a46001905061245e565b5f90505b92915050565b61246c612373565b73ffffffffffffffffffffffffffffffffffffffff1661248a611626565b73ffffffffffffffffffffffffffffffffffffffff16146124e9576124ad612373565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016124e09190613989565b60405180910390fd5b565b5f6124f5836120ef565b90505f8190505f80612506866121b2565b91509150841561256f57612522818461251d611fc8565b6121d5565b61256e5761253783612532611fc8565b611db9565b61256d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61257c835f886001612218565b8015612586575f82555b600160806001901b0360055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555061262a836125e7855f8861221e565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612245565b60045f8881526020019081526020015f20819055505f7c02000000000000000000000000000000000000000000000000000000008516036126a6575f6001870190505f60045f8381526020019081526020015f2054036126a4575f5481146126a3578460045f8381526020019081526020015f20819055505b5b505b855f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461270e835f88600161226f565b60015f8154809291906001019190505550505050505050565b60145f9054906101000a900460ff161561276d576040517feb56075600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60155481612779612c0c565b61278391906146a9565b11156127bb576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127c58282612dd0565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606128c2600a7f427265772052696465727300000000000000000000000000000000000000000b612f7990919063ffffffff16565b905090565b60606128fd600b7f3100000000000000000000000000000000000000000000000000000000000001612f7990919063ffffffff16565b905090565b8160200135421115612940576040517fc20ba0be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816080013560165f845f01602081019061295a9190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054146129cb576040517fddefae2800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f6129d68383613026565b9050612a027f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a68261164e565b612a38576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160165f855f016020810190612a4f9190613cd0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254612a9691906146a9565b92505081905550612abc835f016020810190612ab29190613cd0565b8460400135612727565b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ae6611fc8565b8786866040518563ffffffff1660e01b8152600401612b089493929190614a61565b6020604051808303815f875af1925050508015612b4357506040513d601f19601f82011682018060405250810190612b409190614abf565b60015b612bb9573d805f8114612b71576040519150601f19603f3d011682016040523d82523d5f602084013e612b76565b606091505b505f815103612bb1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b5f612c15611fcf565b5f5403905090565b606060128054612c2c90614302565b80601f0160208091040260200160405190810160405280929190818152602001828054612c5890614302565b8015612ca35780601f10612c7a57610100808354040283529160200191612ca3565b820191905f5260205f20905b815481529060010190602001808311612c8657829003601f168201915b5050505050905090565b60605f6001612cbb8461305e565b0190505f8167ffffffffffffffff811115612cd957612cd8613b3e565b5b6040519080825280601f01601f191660200182016040528015612d0b5781602001600182028036833780820191505090505b5090505f82602001820190505b600115612d6c578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612d6157612d606146dc565b5b0494505f8503612d18575b819350505050919050565b5f9392505050565b612d89828261164e565b612dcc5780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401612dc3929190614aea565b60405180910390fd5b5050565b5f805490505f8203612e0e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612e1a5f848385612218565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550612e8c83612e7d5f865f61221e565b612e86856131af565b17612245565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114612f265780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050612eed565b505f8203612f60576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050612f745f84838561226f565b505050565b606060ff5f1b8314612f9557612f8e836131be565b9050613020565b818054612fa190614302565b80601f0160208091040260200160405190810160405280929190818152602001828054612fcd90614302565b80156130185780601f10612fef57610100808354040283529160200191613018565b820191905f5260205f20905b815481529060010190602001808311612ffb57829003601f168201915b505050505090505b92915050565b5f806130496130448580360381019061303f9190614b9e565b613230565b61329c565b905061305581846132b5565b91505092915050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130ba577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816130b0576130af6146dc565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106130f7576d04ee2d6d415b85acef810000000083816130ed576130ec6146dc565b5b0492506020810190505b662386f26fc10000831061312657662386f26fc10000838161311c5761311b6146dc565b5b0492506010810190505b6305f5e100831061314f576305f5e1008381613145576131446146dc565b5b0492506008810190505b612710831061317457612710838161316a576131696146dc565b5b0492506004810190505b60648310613197576064838161318d5761318c6146dc565b5b0492506002810190505b600a83106131a6576001810190505b80915050919050565b5f6001821460e11b9050919050565b60605f6131ca836132df565b90505f602067ffffffffffffffff8111156131e8576131e7613b3e565b5b6040519080825280601f01601f19166020018201604052801561321a5781602001600182028036833780820191505090505b5090508181528360208201528092505050919050565b5f7fe5c20a8d3ac3f3fe5c5e8ba67b9a411b883cc440bac676f1606810908b1bf4a2825f0151836020015184604001518560600151866080015160405160200161327f96959493929190614bc9565b604051602081830303815290604052805190602001209050919050565b5f6132ae6132a861332d565b836133e3565b9050919050565b5f805f806132c38686613423565b9250925092506132d38282613478565b82935050505092915050565b5f8060ff835f1c169050601f811115613324576040517fb3512b0c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80915050919050565b5f7f00000000000000000000000093aaee888b977ec787cbf0bccaa567aa2c51a23073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156133a857507f000000000000000000000000000000000000000000000000000000000000000146145b156133d5577f73b1b20cf63f671316e16ba37e68e28189301afd22a003f0d79544c0d23776e290506133e0565b6133dd6135da565b90505b90565b5f6040517f190100000000000000000000000000000000000000000000000000000000000081528360028201528260228201526042812091505092915050565b5f805f6041845103613463575f805f602087015192506040870151915060608701515f1a90506134558882858561366f565b955095509550505050613471565b5f600285515f1b9250925092505b9250925092565b5f600381111561348b5761348a614c28565b5b82600381111561349e5761349d614c28565b5b03156135d657600160038111156134b8576134b7614c28565b5b8260038111156134cb576134ca614c28565b5b03613502576040517ff645eedf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600381111561351657613515614c28565b5b82600381111561352957613528614c28565b5b0361356d57805f1c6040517ffce698f7000000000000000000000000000000000000000000000000000000008152600401613564919061376e565b60405180910390fd5b6003808111156135805761357f614c28565b5b82600381111561359357613592614c28565b5b036135d557806040517fd78bce0c0000000000000000000000000000000000000000000000000000000081526004016135cc9190613db8565b60405180910390fd5b5b5050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f345ac91a54866138ed005ad98209274d95f603d4bbafbd03915461f017bd61bb7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc64630604051602001613654959493929190614c55565b60405160208183030381529060405280519060200120905090565b5f805f7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0845f1c11156136ab575f60038592509250925061374c565b5f6001888888886040515f81526020016040526040516136ce9493929190614cb5565b6020604051602081039080840390855afa1580156136ee573d5f803e3d5ffd5b5050506020604051035190505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361373f575f60015f801b9350935093505061374c565b805f805f1b935093509350505b9450945094915050565b5f819050919050565b61376881613756565b82525050565b5f6020820190506137815f83018461375f565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137cc81613798565b81146137d6575f80fd5b50565b5f813590506137e7816137c3565b92915050565b5f6020828403121561380257613801613790565b5b5f61380f848285016137d9565b91505092915050565b5f8115159050919050565b61382c81613818565b82525050565b5f6020820190506138455f830184613823565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015613882578082015181840152602081019050613867565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6138a78261384b565b6138b18185613855565b93506138c1818560208601613865565b6138ca8161388d565b840191505092915050565b5f6020820190508181035f8301526138ed818461389d565b905092915050565b6138fe81613756565b8114613908575f80fd5b50565b5f81359050613919816138f5565b92915050565b5f6020828403121561393457613933613790565b5b5f6139418482850161390b565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6139738261394a565b9050919050565b61398381613969565b82525050565b5f60208201905061399c5f83018461397a565b92915050565b6139ab81613969565b81146139b5575f80fd5b50565b5f813590506139c6816139a2565b92915050565b5f80604083850312156139e2576139e1613790565b5b5f6139ef858286016139b8565b9250506020613a008582860161390b565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112613a2b57613a2a613a0a565b5b8235905067ffffffffffffffff811115613a4857613a47613a0e565b5b602083019150836020820283011115613a6457613a63613a12565b5b9250929050565b5f8083601f840112613a8057613a7f613a0a565b5b8235905067ffffffffffffffff811115613a9d57613a9c613a0e565b5b602083019150836020820283011115613ab957613ab8613a12565b5b9250929050565b5f805f8060408587031215613ad857613ad7613790565b5b5f85013567ffffffffffffffff811115613af557613af4613794565b5b613b0187828801613a16565b9450945050602085013567ffffffffffffffff811115613b2457613b23613794565b5b613b3087828801613a6b565b925092505092959194509250565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b613b748261388d565b810181811067ffffffffffffffff82111715613b9357613b92613b3e565b5b80604052505050565b5f613ba5613787565b9050613bb18282613b6b565b919050565b5f67ffffffffffffffff821115613bd057613bcf613b3e565b5b602082029050602081019050919050565b5f613bf3613bee84613bb6565b613b9c565b90508083825260208201905060208402830185811115613c1657613c15613a12565b5b835b81811015613c3f5780613c2b888261390b565b845260208401935050602081019050613c18565b5050509392505050565b5f82601f830112613c5d57613c5c613a0a565b5b8135613c6d848260208601613be1565b91505092915050565b5f8060408385031215613c8c57613c8b613790565b5b5f613c998582860161390b565b925050602083013567ffffffffffffffff811115613cba57613cb9613794565b5b613cc685828601613c49565b9150509250929050565b5f60208284031215613ce557613ce4613790565b5b5f613cf2848285016139b8565b91505092915050565b5f805f60608486031215613d1257613d11613790565b5b5f613d1f868287016139b8565b9350506020613d30868287016139b8565b9250506040613d418682870161390b565b9150509250925092565b5f819050919050565b613d5d81613d4b565b8114613d67575f80fd5b50565b5f81359050613d7881613d54565b92915050565b5f60208284031215613d9357613d92613790565b5b5f613da084828501613d6a565b91505092915050565b613db281613d4b565b82525050565b5f602082019050613dcb5f830184613da9565b92915050565b5f8060408385031215613de757613de6613790565b5b5f613df485828601613d6a565b9250506020613e05858286016139b8565b9150509250929050565b5f8083601f840112613e2457613e23613a0a565b5b8235905067ffffffffffffffff811115613e4157613e40613a0e565b5b602083019150836001820283011115613e5d57613e5c613a12565b5b9250929050565b5f8060208385031215613e7a57613e79613790565b5b5f83013567ffffffffffffffff811115613e9757613e96613794565b5b613ea385828601613e0f565b92509250509250929050565b5f60ff82169050919050565b613ec481613eaf565b8114613ece575f80fd5b50565b5f81359050613edf81613ebb565b92915050565b5f60208284031215613efa57613ef9613790565b5b5f613f0784828501613ed1565b91505092915050565b5f7fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b613f4481613f10565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b613f7c81613756565b82525050565b5f613f8d8383613f73565b60208301905092915050565b5f602082019050919050565b5f613faf82613f4a565b613fb98185613f54565b9350613fc483613f64565b805f5b83811015613ff4578151613fdb8882613f82565b9750613fe683613f99565b925050600181019050613fc7565b5085935050505092915050565b5f60e0820190506140145f83018a613f3b565b8181036020830152614026818961389d565b9050818103604083015261403a818861389d565b9050614049606083018761375f565b614056608083018661397a565b61406360a0830185613da9565b81810360c08301526140758184613fa5565b905098975050505050505050565b61408c81613818565b8114614096575f80fd5b50565b5f813590506140a781614083565b92915050565b5f80604083850312156140c3576140c2613790565b5b5f6140d0858286016139b8565b92505060206140e185828601614099565b9150509250929050565b5f80fd5b5f60a08284031215614104576141036140eb565b5b81905092915050565b5f80fd5b5f67ffffffffffffffff82111561412b5761412a613b3e565b5b6141348261388d565b9050602081019050919050565b828183375f83830152505050565b5f61416161415c84614111565b613b9c565b90508281526020810184848401111561417d5761417c61410d565b5b614188848285614141565b509392505050565b5f82601f8301126141a4576141a3613a0a565b5b81356141b484826020860161414f565b91505092915050565b5f8060c083850312156141d3576141d2613790565b5b5f6141e0858286016140ef565b92505060a083013567ffffffffffffffff81111561420157614200613794565b5b61420d85828601614190565b9150509250929050565b5f805f806080858703121561422f5761422e613790565b5b5f61423c878288016139b8565b945050602061424d878288016139b8565b935050604061425e8782880161390b565b925050606085013567ffffffffffffffff81111561427f5761427e613794565b5b61428b87828801614190565b91505092959194509250565b5f80604083850312156142ad576142ac613790565b5b5f6142ba858286016139b8565b92505060206142cb858286016139b8565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061431957607f821691505b60208210810361432c5761432b6142d5565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f6040820190506143725f83018561397a565b61437f602083018461397a565b9392505050565b5f81905092915050565b50565b5f61439e5f83614386565b91506143a982614390565b5f82019050919050565b5f6143bd82614393565b9150819050919050565b5f82905092915050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261442d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826143f2565b61443786836143f2565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61447261446d61446884613756565b61444f565b613756565b9050919050565b5f819050919050565b61448b83614458565b61449f61449782614479565b8484546143fe565b825550505050565b5f90565b6144b36144a7565b6144be818484614482565b505050565b5b818110156144e1576144d65f826144ab565b6001810190506144c4565b5050565b601f821115614526576144f7816143d1565b614500846143e3565b8101602085101561450f578190505b61452361451b856143e3565b8301826144c3565b50505b505050565b5f82821c905092915050565b5f6145465f198460080261452b565b1980831691505092915050565b5f61455e8383614537565b9150826002028217905092915050565b61457883836143c7565b67ffffffffffffffff81111561459157614590613b3e565b5b61459b8254614302565b6145a68282856144e5565b5f601f8311600181146145d3575f84156145c1578287013590505b6145cb8582614553565b865550614632565b601f1984166145e1866143d1565b5f5b82811015614608578489013582556001820191506020850194506020810190506145e3565b868310156146255784890135614621601f891682614537565b8355505b6001600288020188555050505b50505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61467282613756565b915061467d83613756565b925082820261468b81613756565b915082820484148315176146a2576146a161463b565b5b5092915050565b5f6146b382613756565b91506146be83613756565b92508282019050808211156146d6576146d561463b565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61471382613756565b915061471e83613756565b92508261472e5761472d6146dc565b5b828206905092915050565b5f81905092915050565b5f61474d8261384b565b6147578185614739565b9350614767818560208601613865565b80840191505092915050565b5f61477e8285614743565b915061478a8284614743565b91508190509392505050565b7f52616e646f6d206e756d626572206e6f742067656e65726174656420796574005f82015250565b5f6147ca601f83613855565b91506147d582614796565b602082019050919050565b5f6020820190508181035f8301526147f7816147be565b9050919050565b7f52616e646f6d206e756d62657220616c72656164792067656e657261746564005f82015250565b5f614832601f83613855565b915061483d826147fe565b602082019050919050565b5f6020820190508181035f83015261485f81614826565b9050919050565b5f67ffffffffffffffff82169050919050565b61488281614866565b82525050565b5f61ffff82169050919050565b61489e81614888565b82525050565b5f63ffffffff82169050919050565b6148bc816148a4565b82525050565b5f60a0820190506148d55f830188613da9565b6148e26020830187614879565b6148ef6040830186614895565b6148fc60608301856148b3565b61490960808301846148b3565b9695505050505050565b5f81519050614921816138f5565b92915050565b5f6020828403121561493c5761493b613790565b5b5f61494984828501614913565b91505092915050565b5f6040820190506149655f83018561375f565b61497260208301846148b3565b9392505050565b7f72657175657374206e6f7420666f756e640000000000000000000000000000005f82015250565b5f6149ad601183613855565b91506149b882614979565b602082019050919050565b5f6020820190508181035f8301526149da816149a1565b9050919050565b5f6040820190506149f45f83018561375f565b8181036020830152614a068184613fa5565b90509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f614a3382614a0f565b614a3d8185614a19565b9350614a4d818560208601613865565b614a568161388d565b840191505092915050565b5f608082019050614a745f83018761397a565b614a81602083018661397a565b614a8e604083018561375f565b8181036060830152614aa08184614a29565b905095945050505050565b5f81519050614ab9816137c3565b92915050565b5f60208284031215614ad457614ad3613790565b5b5f614ae184828501614aab565b91505092915050565b5f604082019050614afd5f83018561397a565b614b0a6020830184613da9565b9392505050565b5f80fd5b5f60a08284031215614b2a57614b29614b11565b5b614b3460a0613b9c565b90505f614b43848285016139b8565b5f830152506020614b568482850161390b565b6020830152506040614b6a8482850161390b565b6040830152506060614b7e8482850161390b565b6060830152506080614b928482850161390b565b60808301525092915050565b5f60a08284031215614bb357614bb2613790565b5b5f614bc084828501614b15565b91505092915050565b5f60c082019050614bdc5f830189613da9565b614be9602083018861397a565b614bf6604083018761375f565b614c03606083018661375f565b614c10608083018561375f565b614c1d60a083018461375f565b979650505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b5f60a082019050614c685f830188613da9565b614c756020830187613da9565b614c826040830186613da9565b614c8f606083018561375f565b614c9c608083018461397a565b9695505050505050565b614caf81613eaf565b82525050565b5f608082019050614cc85f830187613da9565b614cd56020830186614ca6565b614ce26040830185613da9565b614cef6060830184613da9565b9594505050505056fea2646970667358221220e765b40babb296841943680560135227b58c930682f97d9321e5a2a02c11005d64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000313ca20913fbe50b4508fe2bbe7740cd346ccc9d00000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000397ff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f92000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909000000000000000000000000000000000000000000000000000000000000000b427265772052696465727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024252000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e37373773656e73656c6162732e636f6d2f627265772d7269646572732f6e6674732f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000013100000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Brew Riders
Arg [1] : _symbol (string): BR
Arg [2] : _url (string): https://api.777senselabs.com/brew-riders/nfts/
Arg [3] : _mintPrice (uint256): 10000000000000000
Arg [4] : _airdropAmount (uint256): 1500
Arg [5] : _minter (address): 0x313cA20913FBe50B4508Fe2BBe7740cD346CcC9D
Arg [6] : _version (string): 1
Arg [7] : _randomOffset (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [3] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [5] : 000000000000000000000000313ca20913fbe50b4508fe2bbe7740cd346ccc9d
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000397
Arg [8] : ff8dedfbfa60af186cf3c830acbc32c05aae823045ae5ea7da1e45fbfaba4f92
Arg [9] : 000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [11] : 4272657720526964657273000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [13] : 4252000000000000000000000000000000000000000000000000000000000000
Arg [14] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [15] : 68747470733a2f2f6170692e37373773656e73656c6162732e636f6d2f627265
Arg [16] : 772d7269646572732f6e6674732f000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [18] : 3100000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
133761:6641:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70011:24;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;139175:205;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;100311:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106802:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106235:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;136682:439;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;96062:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;69125:261;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;134137:54;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110441:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;10458:122;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;134051:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10890:138;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;12027:251;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;140207:192;;;;;;;;;;;;;:::i;:::-;;113362:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;133519:94;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;139681:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;139795:90;;;;;;;;;;;;;:::i;:::-;;101704:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;133955:24;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;133925:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;135916:242;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;97246:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16204:103;;;;;;;;;;;;;:::i;:::-;;134017:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;133988:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;134089:41;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;70044:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55791:580;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;15529:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9474:138;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;100487:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8786:49;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107360:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;136166:508;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;114153:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;139982:217;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;135315:416;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;139893:81;;;;;;;;;;;;;:::i;:::-;;134200:62;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11321:140;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;71699:156;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;70887:439;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107751:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16462:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;139567:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;70011:24;;;;:::o;139175:205::-;139310:4;139334:38;139360:11;139334:25;:38::i;:::-;139327:45;;139175:205;;;:::o;100311:100::-;100365:13;100398:5;100391:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100311:100;:::o;106802:218::-;106878:7;106903:16;106911:7;106903;:16::i;:::-;106898:64;;106928:34;;;;;;;;;;;;;;106898:64;106982:15;:24;106998:7;106982:24;;;;;;;;;;;:30;;;;;;;;;;;;106975:37;;106802:218;;;:::o;106235:408::-;106324:13;106340:16;106348:7;106340;:16::i;:::-;106324:32;;106396:5;106373:28;;:19;:17;:19::i;:::-;:28;;;106369:175;;106421:44;106438:5;106445:19;:17;:19::i;:::-;106421:16;:44::i;:::-;106416:128;;106493:35;;;;;;;;;;;;;;106416:128;106369:175;106589:2;106556:15;:24;106572:7;106556:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;106627:7;106623:2;106607:28;;106616:5;106607:28;;;;;;;;;;;;106313:330;106235:408;;:::o;136682:439::-;136789:22;136814:8;;:15;;136789:40;;136864:10;;:17;;136846:14;:35;136842:76;;136890:28;;;;;;;;;;;;;;136842:76;136936:9;136931:183;136955:14;136951:1;:18;136931:183;;;136988:52;137001:10;137013;;137024:1;137013:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;137028:8;;137037:1;137028:11;;;;;;;:::i;:::-;;;;;;;;136988:12;:52::i;:::-;137084:3;;;;;136931:183;;;;136778:343;136682:439;;;;:::o;96062:323::-;96123:7;96351:15;:13;:15::i;:::-;96336:12;;96320:13;;:28;:46;96313:53;;96062:323;:::o;69125:261::-;69239:14;69225:28;;:10;:28;;;69221:111;;69297:10;69309:14;69271:53;;;;;;;;;;;;:::i;:::-;;;;;;;;69221:111;69338:42;69357:9;69368:11;69338:18;:42::i;:::-;69125:261;;:::o;134137:54::-;;;;;;;;;;;;;;;;;:::o;110441:2825::-;110583:27;110613;110632:7;110613:18;:27::i;:::-;110583:57;;110698:4;110657:45;;110673:19;110657:45;;;110653:86;;110711:28;;;;;;;;;;;;;;110653:86;110753:27;110782:23;110809:35;110836:7;110809:26;:35::i;:::-;110752:92;;;;110944:68;110969:15;110986:4;110992:19;:17;:19::i;:::-;110944:24;:68::i;:::-;110939:180;;111032:43;111049:4;111055:19;:17;:19::i;:::-;111032:16;:43::i;:::-;111027:92;;111084:35;;;;;;;;;;;;;;111027:92;110939:180;111150:1;111136:16;;:2;:16;;;111132:52;;111161:23;;;;;;;;;;;;;;111132:52;111197:43;111219:4;111225:2;111229:7;111238:1;111197:21;:43::i;:::-;111333:15;111330:160;;;111473:1;111452:19;111445:30;111330:160;111870:18;:24;111889:4;111870:24;;;;;;;;;;;;;;;;111868:26;;;;;;;;;;;;111939:18;:22;111958:2;111939:22;;;;;;;;;;;;;;;;111937:24;;;;;;;;;;;112261:146;112298:2;112347:45;112362:4;112368:2;112372:19;112347:14;:45::i;:::-;92461:8;112319:73;112261:18;:146::i;:::-;112232:17;:26;112250:7;112232:26;;;;;;;;;;;:175;;;;112578:1;92461:8;112527:19;:47;:52;112523:627;;112600:19;112632:1;112622:7;:11;112600:33;;112789:1;112755:17;:30;112773:11;112755:30;;;;;;;;;;;;:35;112751:384;;112893:13;;112878:11;:28;112874:242;;113073:19;113040:17;:30;113058:11;113040:30;;;;;;;;;;;:52;;;;112874:242;112751:384;112581:569;112523:627;113197:7;113193:2;113178:27;;113187:4;113178:27;;;;;;;;;;;;113216:42;113237:4;113243:2;113247:7;113256:1;113216:20;:42::i;:::-;110572:2694;;;110441:2825;;;:::o;10458:122::-;10523:7;10550:6;:12;10557:4;10550:12;;;;;;;;;;;:22;;;10543:29;;10458:122;;;:::o;134051:29::-;;;;:::o;10890:138::-;10964:18;10977:4;10964:12;:18::i;:::-;9070:16;9081:4;9070:10;:16::i;:::-;10995:25:::1;11006:4;11012:7;10995:10;:25::i;:::-;;10890:138:::0;;;:::o;12027:251::-;12143:12;:10;:12::i;:::-;12121:34;;:18;:34;;;12117:104;;12179:30;;;;;;;;;;;;;;12117:104;12233:37;12245:4;12251:18;12233:11;:37::i;:::-;;12027:251;;:::o;140207:192::-;15415:13;:11;:13::i;:::-;140256:12:::1;140282:10;140274:24;;140306:21;140274:58;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;140255:77;;;140350:7;140345:46;;140366:25;;;;;;;;;;;;;;140345:46;140244:155;140207:192::o:0;113362:193::-;113508:39;113525:4;113531:2;113535:7;113508:39;;;;;;;;;;;;:16;:39::i;:::-;113362:193;;;:::o;133519:94::-;133585:20;133591:7;133600:4;133585:5;:20::i;:::-;133519:94;:::o;139681:106::-;15415:13;:11;:13::i;:::-;139769:10:::1;;139759:7;:20;;;;;;;:::i;:::-;;139681:106:::0;;:::o;139795:90::-;15415:13;:11;:13::i;:::-;139867:10:::1;;;;;;;;;;;139866:11;139853:10;;:24;;;;;;;;;;;;;;;;;;139795:90::o:0;101704:152::-;101776:7;101819:27;101838:7;101819:18;:27::i;:::-;101796:52;;101704:152;;;:::o;133955:24::-;;;;:::o;133925:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;135916:242::-;135979:13;;;;;;;;;;;135974:55;;136001:28;;;;;;;;;;;;;;135974:55;136067:9;;136056:8;:20;;;;;;:::i;:::-;136044:9;:32;136040:70;;;136085:25;;;;;;;;;;;;;;136040:70;136123:27;136129:10;136141:8;136123:27;;:5;:27::i;:::-;135916:242;:::o;97246:233::-;97318:7;97359:1;97342:19;;:5;:19;;;97338:60;;97370:28;;;;;;;;;;;;;;97338:60;91405:13;97416:18;:25;97435:5;97416:25;;;;;;;;;;;;;;;;:55;97409:62;;97246:233;;;:::o;16204:103::-;15415:13;:11;:13::i;:::-;16269:30:::1;16296:1;16269:18;:30::i;:::-;16204:103::o:0;134017:25::-;;;;;;;;;;;;;:::o;133988:22::-;;;;;;;;;;;;;:::o;134089:41::-;;;;;;;;;;;;;;;;;:::o;70044:27::-;;;;;;;;;;;;;:::o;55791:580::-;55894:13;55922:18;55955:21;55991:15;56021:25;56061:12;56088:27;56196:13;:11;:13::i;:::-;56224:16;:14;:16::i;:::-;56255:13;56291:4;56319:1;56311:10;;56350:1;56336:16;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56143:220;;;;;;;;;;;;;;;;;;;;;55791:580;;;;;;;:::o;15529:87::-;15575:7;15602:6;;;;;;;;;;;15595:13;;15529:87;:::o;9474:138::-;9551:4;9575:6;:12;9582:4;9575:12;;;;;;;;;;;:20;;:29;9596:7;9575:29;;;;;;;;;;;;;;;;;;;;;;;;;9568:36;;9474:138;;;;:::o;100487:104::-;100543:13;100576:7;100569:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100487:104;:::o;8786:49::-;8831:4;8786:49;;;:::o;107360:234::-;107507:8;107455:18;:39;107474:19;:17;:19::i;:::-;107455:39;;;;;;;;;;;;;;;:49;107495:8;107455:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;107567:8;107531:55;;107546:19;:17;:19::i;:::-;107531:55;;;107577:8;107531:55;;;;;;:::i;:::-;;;;;;;;107360:234;;:::o;136166:508::-;136263:13;;;;;;;;;;;136259:51;;;136285:25;;;;;;;;;;;;;;136259:51;136339:7;:24;;;136327:9;:36;136323:74;;;136372:25;;;;;;;;;;;;;;136323:74;136410:18;136465:7;:19;;;136431;:31;136451:7;:10;;;;;;;;;;:::i;:::-;136431:31;;;;;;;;;;;;;;;;:53;;;;:::i;:::-;136410:74;;136512:1;136499:10;:14;136495:55;;;136522:28;;;;;;;;;;;;;;136495:55;136563:38;136582:7;136591:9;136563:18;:38::i;:::-;136647:7;:19;;;136612;:31;136632:7;:10;;;;;;;;;;:::i;:::-;136612:31;;;;;;;;;;;;;;;;:54;;;;;;;:::i;:::-;;;;;;;;136248:426;136166:508;;:::o;114153:407::-;114328:31;114341:4;114347:2;114351:7;114328:12;:31::i;:::-;114392:1;114374:2;:14;;;:19;114370:183;;114413:56;114444:4;114450:2;114454:7;114463:5;114413:30;:56::i;:::-;114408:145;;114497:40;;;;;;;;;;;;;;114408:145;114370:183;114153:407;;;;:::o;139982:217::-;15415:13;:11;:13::i;:::-;140090:17:::1;140073:14;:12;:14::i;:::-;:34;140069:77;;;140116:30;;;;;;;;;;;;;;140069:77;140174:17;140157:14;:34;;;;139982:217:::0;:::o;135315:416::-;135407:13;135438:16;135446:7;135438;:16::i;:::-;135433:59;;135463:29;;;;;;;;;;;;;;135433:59;135537:1;135515:10;:8;:10::i;:::-;135509:24;:29;:49;;;;135543:15;;;;;;;;;;;135542:16;135509:49;135505:64;;;135560:9;;;;;;;;;;;;;;;;135505:64;135582:18;135645:1;135636:5;135615:17;:15;:17::i;:::-;135605:7;:27;;;;:::i;:::-;135604:37;;;;:::i;:::-;135603:43;;;;:::i;:::-;135582:64;;135688:10;:8;:10::i;:::-;135700:21;:10;:19;:21::i;:::-;135671:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;135657:66;;;135315:416;;;;:::o;139893:81::-;15415:13;:11;:13::i;:::-;139962:4:::1;139946:13;;:20;;;;;;;;;;;;;;;;;;139893:81::o:0;134200:62::-;134238:24;134200:62;:::o;11321:140::-;11396:18;11409:4;11396:12;:18::i;:::-;9070:16;9081:4;9070:10;:16::i;:::-;11427:26:::1;11439:4;11445:7;11427:11;:26::i;:::-;;11321:140:::0;;;:::o;71699:156::-;71803:7;70400:15;;;;;;;;;;;70392:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;71835:12:::1;;71828:19;;71699:156:::0;:::o;70887:439::-;71023:7;8831:4;70953:18;;9070:16;9081:4;9070:10;:16::i;:::-;70271:15:::1;;;;;;;;;;;70270:16;70262:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;71060:11:::2;;;;;;;;;;;:30;;;71105:7;;71127:16;;;;;;;;;;;70001:1;69898:6;69946:1;71060:183;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71048:9;:195;;;;71259:32;71271:9;;69946:1;71259:32;;;;;;;:::i;:::-;;;;;;;;71309:9;;71302:16;;70887:439:::0;;:::o;107751:164::-;107848:4;107872:18;:25;107891:5;107872:25;;;;;;;;;;;;;;;:35;107898:8;107872:35;;;;;;;;;;;;;;;;;;;;;;;;;107865:42;;107751:164;;;;:::o;16462:220::-;15415:13;:11;:13::i;:::-;16567:1:::1;16547:22;;:8;:22;;::::0;16543:93:::1;;16621:1;16593:31;;;;;;;;;;;:::i;:::-;;;;;;;;16543:93;16646:28;16665:8;16646:18;:28::i;:::-;16462:220:::0;:::o;139567:106::-;15415:13;:11;:13::i;:::-;139653:12:::1;139641:9;:24;;;;139567:106:::0;:::o;99409:639::-;99494:4;99833:10;99818:25;;:11;:25;;;;:102;;;;99910:10;99895:25;;:11;:25;;;;99818:102;:179;;;;99987:10;99972:25;;:11;:25;;;;99818:179;99798:199;;99409:639;;;:::o;108173:282::-;108238:4;108294:7;108275:15;:13;:15::i;:::-;:26;;:66;;;;;108328:13;;108318:7;:23;108275:66;:153;;;;;108427:1;92181:8;108379:17;:26;108397:7;108379:26;;;;;;;;;;;;:44;:49;108275:153;108255:173;;108173:282;;;:::o;130481:105::-;130541:7;130568:10;130561:17;;130481:105;:::o;137988:93::-;138045:7;138072:1;138065:8;;137988:93;:::o;71334:357::-;70271:15;;;;;;;;;;;70270:16;70262:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;71512:9:::1;;71498:10;:23;71490:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;71587:5;71569:12;71582:1;71569:15;;;;;;;;:::i;:::-;;;;;;;;:23;;;;:::i;:::-;71554:12;:38;;;;71621:4;71603:15;;:22;;;;;;;;;;;;;;;;;;71641:42;71658:10;71670:12;71641:42;;;;;;;:::i;:::-;;;;;;;;71334:357:::0;;:::o;102859:1275::-;102926:7;102946:12;102961:7;102946:22;;103029:4;103010:15;:13;:15::i;:::-;:23;103006:1061;;103063:13;;103056:4;:20;103052:1015;;;103101:14;103118:17;:23;103136:4;103118:23;;;;;;;;;;;;103101:40;;103235:1;92181:8;103207:6;:24;:29;103203:845;;103872:113;103889:1;103879:6;:11;103872:113;;103932:17;:25;103950:6;;;;;;;103932:25;;;;;;;;;;;;103923:34;;103872:113;;;104018:6;104011:13;;;;;;103203:845;103078:989;103052:1015;103006:1061;104095:31;;;;;;;;;;;;;;102859:1275;;;;:::o;109336:485::-;109438:27;109467:23;109508:38;109549:15;:24;109565:7;109549:24;;;;;;;;;;;109508:65;;109726:18;109703:41;;109783:19;109777:26;109758:45;;109688:126;109336:485;;;:::o;108564:659::-;108713:11;108878:16;108871:5;108867:28;108858:37;;109038:16;109027:9;109023:32;109010:45;;109188:15;109177:9;109174:30;109166:5;109155:9;109152:20;109149:56;109139:66;;108564:659;;;;;:::o;115222:159::-;;;;;:::o;129790:311::-;129925:7;129945:16;92585:3;129971:19;:41;;129945:68;;92585:3;130039:31;130050:4;130056:2;130060:9;130039:10;:31::i;:::-;130031:40;;:62;;130024:69;;;129790:311;;;;;:::o;104682:450::-;104762:14;104930:16;104923:5;104919:28;104910:37;;105107:5;105093:11;105068:23;105064:41;105061:52;105054:5;105051:63;105041:73;;104682:450;;;;:::o;116046:158::-;;;;;:::o;9827:105::-;9894:30;9905:4;9911:12;:10;:12::i;:::-;9894:10;:30::i;:::-;9827:105;:::o;12904:324::-;12981:4;13003:22;13011:4;13017:7;13003;:22::i;:::-;12998:223;;13074:4;13042:6;:12;13049:4;13042:12;;;;;;;;;;;:20;;:29;13063:7;13042:29;;;;;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;13125:12;:10;:12::i;:::-;13098:40;;13116:7;13098:40;;13110:4;13098:40;;;;;;;;;;13160:4;13153:11;;;;12998:223;13204:5;13197:12;;12904:324;;;;;:::o;4312:98::-;4365:7;4392:10;4385:17;;4312:98;:::o;13472:325::-;13550:4;13571:22;13579:4;13585:7;13571;:22::i;:::-;13567:223;;;13642:5;13610:6;:12;13617:4;13610:12;;;;;;;;;;;:20;;:29;13631:7;13610:29;;;;;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;13694:12;:10;:12::i;:::-;13667:40;;13685:7;13667:40;;13679:4;13667:40;;;;;;;;;;13729:4;13722:11;;;;13567:223;13773:5;13766:12;;13472:325;;;;;:::o;15694:166::-;15765:12;:10;:12::i;:::-;15754:23;;:7;:5;:7::i;:::-;:23;;;15750:103;;15828:12;:10;:12::i;:::-;15801:40;;;;;;;;;;;:::i;:::-;;;;;;;;15750:103;15694:166::o;125010:3081::-;125090:27;125120;125139:7;125120:18;:27::i;:::-;125090:57;;125160:12;125191:19;125160:52;;125226:27;125255:23;125282:35;125309:7;125282:26;:35::i;:::-;125225:92;;;;125334:13;125330:316;;;125455:68;125480:15;125497:4;125503:19;:17;:19::i;:::-;125455:24;:68::i;:::-;125450:184;;125547:43;125564:4;125570:19;:17;:19::i;:::-;125547:16;:43::i;:::-;125542:92;;125599:35;;;;;;;;;;;;;;125542:92;125450:184;125330:316;125658:51;125680:4;125694:1;125698:7;125707:1;125658:21;:51::i;:::-;125802:15;125799:160;;;125942:1;125921:19;125914:30;125799:160;126620:1;91670:3;126590:1;:26;;126589:32;126561:18;:24;126580:4;126561:24;;;;;;;;;;;;;;;;:60;;;;;;;;;;;126888:176;126925:4;126996:53;127011:4;127025:1;127029:19;126996:14;:53::i;:::-;92461:8;92181;126949:43;126948:101;126888:18;:176::i;:::-;126859:17;:26;126877:7;126859:26;;;;;;;;;;;:205;;;;127235:1;92461:8;127184:19;:47;:52;127180:627;;127257:19;127289:1;127279:7;:11;127257:33;;127446:1;127412:17;:30;127430:11;127412:30;;;;;;;;;;;;:35;127408:384;;127550:13;;127535:11;:28;127531:242;;127730:19;127697:17;:30;127715:11;127697:30;;;;;;;;;;;:52;;;;127531:242;127408:384;127238:569;127180:627;127862:7;127858:1;127835:35;;127844:4;127835:35;;;;;;;;;;;;127881:50;127902:4;127916:1;127920:7;127929:1;127881:20;:50::i;:::-;128058:12;;:14;;;;;;;;;;;;;125079:3012;;;;125010:3081;;:::o;138197:273::-;138292:10;;;;;;;;;;;138288:45;;;138311:22;;;;;;;;;;;;;;138288:45;138376:14;;138365:8;138348:14;:12;:14::i;:::-;:25;;;;:::i;:::-;:42;138344:80;;;138399:25;;;;;;;;;;;;;;138344:80;138437:25;138449:2;138453:8;138437:11;:25::i;:::-;138197:273;;:::o;16842:191::-;16916:16;16935:6;;;;;;;;;;;16916:25;;16961:8;16952:6;;:17;;;;;;;;;;;;;;;;;;17016:8;16985:40;;17006:8;16985:40;;;;;;;;;;;;16905:128;16842:191;:::o;56700:128::-;56746:13;56779:41;56806:13;56779:5;:26;;:41;;;;:::i;:::-;56772:48;;56700:128;:::o;57163:137::-;57212:13;57245:47;57275:16;57245:8;:29;;:47;;;;:::i;:::-;57238:54;;57163:137;:::o;138478:503::-;138599:7;:14;;;138581:15;:32;138577:74;;;138622:29;;;;;;;;;;;;;;138577:74;138688:7;:18;;;138666:6;:18;138673:7;:10;;;;;;;;;;:::i;:::-;138666:18;;;;;;;;;;;;;;;;:40;138662:75;;138715:22;;;;;;;;;;;;;;138662:75;138750:17;138770:35;138786:7;138795:9;138770:15;:35::i;:::-;138750:55;;138821:31;134238:24;138842:9;138821:7;:31::i;:::-;138816:70;;138861:25;;;;;;;;;;;;;;138816:70;138921:1;138899:6;:18;138906:7;:10;;;;;;;;;;:::i;:::-;138899:18;;;;;;;;;;;;;;;;:23;;;;;;;:::i;:::-;;;;;;;;138935:38;138941:7;:10;;;;;;;;;;:::i;:::-;138953:7;:19;;;138935:5;:38::i;:::-;138566:415;138478:503;;:::o;116644:716::-;116807:4;116853:2;116828:45;;;116874:19;:17;:19::i;:::-;116895:4;116901:7;116910:5;116828:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;116824:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;117128:1;117111:6;:13;:18;117107:235;;117157:40;;;;;;;;;;;;;;117107:235;117300:6;117294:13;117285:6;117281:2;117277:15;117270:38;116824:529;116997:54;;;116987:64;;;:6;:64;;;;116980:71;;;116644:716;;;;;;:::o;96483:296::-;96538:7;96745:15;:13;:15::i;:::-;96729:13;;:31;96722:38;;96483:296;:::o;138089:100::-;138141:13;138174:7;138167:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;138089:100;:::o;35559:718::-;35615:13;35666:14;35703:1;35683:17;35694:5;35683:10;:17::i;:::-;:21;35666:38;;35719:20;35753:6;35742:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35719:41;;35775:11;35904:6;35900:2;35896:15;35888:6;35884:28;35877:35;;35941:290;35948:4;35941:290;;;35973:5;;;;;;;;36115:10;36110:2;36103:5;36099:14;36094:32;36089:3;36081:46;36173:2;36164:11;;;;;;:::i;:::-;;;;;36207:1;36198:5;:10;35941:290;36194:21;35941:290;36252:6;36245:13;;;;;35559:718;;;:::o;129491:147::-;129628:6;129491:147;;;;;:::o;10068:201::-;10157:22;10165:4;10171:7;10157;:22::i;:::-;10152:110;;10236:7;10245:4;10203:47;;;;;;;;;;;;:::i;:::-;;;;;;;;10152:110;10068:201;;:::o;117822:2966::-;117895:20;117918:13;;117895:36;;117958:1;117946:8;:13;117942:44;;117968:18;;;;;;;;;;;;;;117942:44;117999:61;118029:1;118033:2;118037:12;118051:8;117999:21;:61::i;:::-;118543:1;91543:2;118513:1;:26;;118512:32;118500:8;:45;118474:18;:22;118493:2;118474:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;118822:139;118859:2;118913:33;118936:1;118940:2;118944:1;118913:14;:33::i;:::-;118880:30;118901:8;118880:20;:30::i;:::-;:66;118822:18;:139::i;:::-;118788:17;:31;118806:12;118788:31;;;;;;;;;;;:173;;;;118978:16;119009:11;119038:8;119023:12;:23;119009:37;;119559:16;119555:2;119551:25;119539:37;;119931:12;119891:8;119850:1;119788:25;119729:1;119668;119641:335;120302:1;120288:12;120284:20;120242:346;120343:3;120334:7;120331:16;120242:346;;120561:7;120551:8;120548:1;120521:25;120518:1;120515;120510:59;120396:1;120387:7;120383:15;120372:26;;120242:346;;;120246:77;120633:1;120621:8;:13;120617:45;;120643:19;;;;;;;;;;;;;;120617:45;120695:3;120679:13;:19;;;;118248:2462;;120720:60;120749:1;120753:2;120757:12;120771:8;120720:20;:60::i;:::-;117884:2904;117822:2966;;:::o;49670:273::-;49764:13;47616:66;49823:17;;49813:5;49794:46;49790:146;;49864:15;49873:5;49864:8;:15::i;:::-;49857:22;;;;49790:146;49919:5;49912:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49670:273;;;;;:::o;137749:231::-;137849:7;137869:13;137885:38;137902:20;137913:8;137902:20;;;;;;;;;;:::i;:::-;:10;:20::i;:::-;137885:16;:38::i;:::-;137869:54;;137941:31;137955:5;137962:9;137941:13;:31::i;:::-;137934:38;;;137749:231;;;;:::o;30511:948::-;30564:7;30584:14;30601:1;30584:18;;30651:8;30642:5;:17;30638:106;;30689:8;30680:17;;;;;;:::i;:::-;;;;;30726:2;30716:12;;;;30638:106;30771:8;30762:5;:17;30758:106;;30809:8;30800:17;;;;;;:::i;:::-;;;;;30846:2;30836:12;;;;30758:106;30891:8;30882:5;:17;30878:106;;30929:8;30920:17;;;;;;:::i;:::-;;;;;30966:2;30956:12;;;;30878:106;31011:7;31002:5;:16;30998:103;;31048:7;31039:16;;;;;;:::i;:::-;;;;;31084:1;31074:11;;;;30998:103;31128:7;31119:5;:16;31115:103;;31165:7;31156:16;;;;;;:::i;:::-;;;;;31201:1;31191:11;;;;31115:103;31245:7;31236:5;:16;31232:103;;31282:7;31273:16;;;;;;:::i;:::-;;;;;31318:1;31308:11;;;;31232:103;31362:7;31353:5;:16;31349:68;;31400:1;31390:11;;;;31349:68;31445:6;31438:13;;;30511:948;;;:::o;105234:324::-;105304:14;105537:1;105527:8;105524:15;105498:24;105494:46;105484:56;;105234:324;;;:::o;48325:415::-;48384:13;48410:11;48424:16;48435:4;48424:10;:16::i;:::-;48410:30;;48530:17;48561:2;48550:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48530:34;;48655:3;48650;48643:16;48696:4;48689;48684:3;48680:14;48673:28;48729:3;48722:10;;;;48325:415;;;:::o;137306:435::-;137375:7;80768:120;137517:8;:11;;;137551:8;:15;;;137589:8;:20;;;137632:8;:25;;;137680:8;:19;;;137443:275;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;137415:318;;;;;;137395:338;;137306:435;;;:::o;55557:178::-;55634:7;55661:66;55694:20;:18;:20::i;:::-;55716:10;55661:32;:66::i;:::-;55654:73;;55557:178;;;:::o;75743:259::-;75821:7;75842:17;75861:18;75881:16;75901:27;75912:4;75918:9;75901:10;:27::i;:::-;75841:87;;;;;;75939:28;75951:5;75958:8;75939:11;:28::i;:::-;75985:9;75978:16;;;;;75743:259;;;;:::o;48817:251::-;48878:7;48898:14;48951:4;48942;48915:33;;:40;48898:57;;48979:2;48970:6;:11;48966:71;;;49005:20;;;;;;;;;;;;;;48966:71;49054:6;49047:13;;;48817:251;;;:::o;54458:268::-;54511:7;54552:11;54535:28;;54543:4;54535:28;;;:63;;;;;54584:14;54567:13;:31;54535:63;54531:188;;;54622:22;54615:29;;;;54531:188;54684:23;:21;:23::i;:::-;54677:30;;54458:268;;:::o;41581:410::-;41674:14;41786:4;41780:11;41817:10;41812:3;41805:23;41865:15;41858:4;41853:3;41849:14;41842:39;41918:10;41911:4;41906:3;41902:14;41895:34;41968:4;41963:3;41953:20;41943:30;;41754:230;41581:410;;;;:::o;74137:783::-;74218:7;74227:12;74241:7;74285:2;74265:9;:16;:22;74261:652;;74304:9;74328;74352:7;74609:4;74598:9;74594:20;74588:27;74583:32;;74659:4;74648:9;74644:20;74638:27;74633:32;;74717:4;74706:9;74702:20;74696:27;74693:1;74688:36;74683:41;;74760:25;74771:4;74777:1;74780;74783;74760:10;:25::i;:::-;74753:32;;;;;;;;;;;74261:652;74834:1;74838:35;74883:9;:16;74875:25;;74818:83;;;;;;74137:783;;;;;;:::o;79311:542::-;79407:20;79398:29;;;;;;;;:::i;:::-;;:5;:29;;;;;;;;:::i;:::-;;;79394:452;79444:7;79394:452;79505:29;79496:38;;;;;;;;:::i;:::-;;:5;:38;;;;;;;;:::i;:::-;;;79492:354;;79558:23;;;;;;;;;;;;;;79492:354;79612:35;79603:44;;;;;;;;:::i;:::-;;:5;:44;;;;;;;;:::i;:::-;;;79599:247;;79707:8;79699:17;;79671:46;;;;;;;;;;;:::i;:::-;;;;;;;;79599:247;79748:30;79739:39;;;;;;;;:::i;:::-;;:5;:39;;;;;;;;:::i;:::-;;;79735:111;;79825:8;79802:32;;;;;;;;;;;:::i;:::-;;;;;;;;79735:111;79311:542;;;:::o;54734:181::-;54789:7;52650:95;54848:11;54861:14;54877:13;54900:4;54826:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54816:91;;;;;;54809:98;;54734:181;:::o;77214:1556::-;77345:7;77354:12;77368:7;78288:66;78283:1;78275:10;;:79;78271:166;;;78387:1;78391:30;78423:1;78371:54;;;;;;;;78271:166;78534:14;78551:24;78561:4;78567:1;78570;78573;78551:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78534:41;;78608:1;78590:20;;:6;:20;;;78586:115;;78643:1;78647:29;78686:1;78678:10;;78627:62;;;;;;;;;78586:115;78721:6;78729:20;78759:1;78751:10;;78713:49;;;;;;;77214:1556;;;;;;;;;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:75::-;475:6;508:2;502:9;492:19;;442:75;:::o;523:117::-;632:1;629;622:12;646:117;755:1;752;745:12;769:149;805:7;845:66;838:5;834:78;823:89;;769:149;;;:::o;924:120::-;996:23;1013:5;996:23;:::i;:::-;989:5;986:34;976:62;;1034:1;1031;1024:12;976:62;924:120;:::o;1050:137::-;1095:5;1133:6;1120:20;1111:29;;1149:32;1175:5;1149:32;:::i;:::-;1050:137;;;;:::o;1193:327::-;1251:6;1300:2;1288:9;1279:7;1275:23;1271:32;1268:119;;;1306:79;;:::i;:::-;1268:119;1426:1;1451:52;1495:7;1486:6;1475:9;1471:22;1451:52;:::i;:::-;1441:62;;1397:116;1193:327;;;;:::o;1526:90::-;1560:7;1603:5;1596:13;1589:21;1578:32;;1526:90;;;:::o;1622:109::-;1703:21;1718:5;1703:21;:::i;:::-;1698:3;1691:34;1622:109;;:::o;1737:210::-;1824:4;1862:2;1851:9;1847:18;1839:26;;1875:65;1937:1;1926:9;1922:17;1913:6;1875:65;:::i;:::-;1737:210;;;;:::o;1953:99::-;2005:6;2039:5;2033:12;2023:22;;1953:99;;;:::o;2058:169::-;2142:11;2176:6;2171:3;2164:19;2216:4;2211:3;2207:14;2192:29;;2058:169;;;;:::o;2233:246::-;2314:1;2324:113;2338:6;2335:1;2332:13;2324:113;;;2423:1;2418:3;2414:11;2408:18;2404:1;2399:3;2395:11;2388:39;2360:2;2357:1;2353:10;2348:15;;2324:113;;;2471:1;2462:6;2457:3;2453:16;2446:27;2295:184;2233:246;;;:::o;2485:102::-;2526:6;2577:2;2573:7;2568:2;2561:5;2557:14;2553:28;2543:38;;2485:102;;;:::o;2593:377::-;2681:3;2709:39;2742:5;2709:39;:::i;:::-;2764:71;2828:6;2823:3;2764:71;:::i;:::-;2757:78;;2844:65;2902:6;2897:3;2890:4;2883:5;2879:16;2844:65;:::i;:::-;2934:29;2956:6;2934:29;:::i;:::-;2929:3;2925:39;2918:46;;2685:285;2593:377;;;;:::o;2976:313::-;3089:4;3127:2;3116:9;3112:18;3104:26;;3176:9;3170:4;3166:20;3162:1;3151:9;3147:17;3140:47;3204:78;3277:4;3268:6;3204:78;:::i;:::-;3196:86;;2976:313;;;;:::o;3295:122::-;3368:24;3386:5;3368:24;:::i;:::-;3361:5;3358:35;3348:63;;3407:1;3404;3397:12;3348:63;3295:122;:::o;3423:139::-;3469:5;3507:6;3494:20;3485:29;;3523:33;3550:5;3523:33;:::i;:::-;3423:139;;;;:::o;3568:329::-;3627:6;3676:2;3664:9;3655:7;3651:23;3647:32;3644:119;;;3682:79;;:::i;:::-;3644:119;3802:1;3827:53;3872:7;3863:6;3852:9;3848:22;3827:53;:::i;:::-;3817:63;;3773:117;3568:329;;;;:::o;3903:126::-;3940:7;3980:42;3973:5;3969:54;3958:65;;3903:126;;;:::o;4035:96::-;4072:7;4101:24;4119:5;4101:24;:::i;:::-;4090:35;;4035:96;;;:::o;4137:118::-;4224:24;4242:5;4224:24;:::i;:::-;4219:3;4212:37;4137:118;;:::o;4261:222::-;4354:4;4392:2;4381:9;4377:18;4369:26;;4405:71;4473:1;4462:9;4458:17;4449:6;4405:71;:::i;:::-;4261:222;;;;:::o;4489:122::-;4562:24;4580:5;4562:24;:::i;:::-;4555:5;4552:35;4542:63;;4601:1;4598;4591:12;4542:63;4489:122;:::o;4617:139::-;4663:5;4701:6;4688:20;4679:29;;4717:33;4744:5;4717:33;:::i;:::-;4617:139;;;;:::o;4762:474::-;4830:6;4838;4887:2;4875:9;4866:7;4862:23;4858:32;4855:119;;;4893:79;;:::i;:::-;4855:119;5013:1;5038:53;5083:7;5074:6;5063:9;5059:22;5038:53;:::i;:::-;5028:63;;4984:117;5140:2;5166:53;5211:7;5202:6;5191:9;5187:22;5166:53;:::i;:::-;5156:63;;5111:118;4762:474;;;;;:::o;5242:117::-;5351:1;5348;5341:12;5365:117;5474:1;5471;5464:12;5488:117;5597:1;5594;5587:12;5628:568;5701:8;5711:6;5761:3;5754:4;5746:6;5742:17;5738:27;5728:122;;5769:79;;:::i;:::-;5728:122;5882:6;5869:20;5859:30;;5912:18;5904:6;5901:30;5898:117;;;5934:79;;:::i;:::-;5898:117;6048:4;6040:6;6036:17;6024:29;;6102:3;6094:4;6086:6;6082:17;6072:8;6068:32;6065:41;6062:128;;;6109:79;;:::i;:::-;6062:128;5628:568;;;;;:::o;6219:::-;6292:8;6302:6;6352:3;6345:4;6337:6;6333:17;6329:27;6319:122;;6360:79;;:::i;:::-;6319:122;6473:6;6460:20;6450:30;;6503:18;6495:6;6492:30;6489:117;;;6525:79;;:::i;:::-;6489:117;6639:4;6631:6;6627:17;6615:29;;6693:3;6685:4;6677:6;6673:17;6663:8;6659:32;6656:41;6653:128;;;6700:79;;:::i;:::-;6653:128;6219:568;;;;;:::o;6793:934::-;6915:6;6923;6931;6939;6988:2;6976:9;6967:7;6963:23;6959:32;6956:119;;;6994:79;;:::i;:::-;6956:119;7142:1;7131:9;7127:17;7114:31;7172:18;7164:6;7161:30;7158:117;;;7194:79;;:::i;:::-;7158:117;7307:80;7379:7;7370:6;7359:9;7355:22;7307:80;:::i;:::-;7289:98;;;;7085:312;7464:2;7453:9;7449:18;7436:32;7495:18;7487:6;7484:30;7481:117;;;7517:79;;:::i;:::-;7481:117;7630:80;7702:7;7693:6;7682:9;7678:22;7630:80;:::i;:::-;7612:98;;;;7407:313;6793:934;;;;;;;:::o;7733:180::-;7781:77;7778:1;7771:88;7878:4;7875:1;7868:15;7902:4;7899:1;7892:15;7919:281;8002:27;8024:4;8002:27;:::i;:::-;7994:6;7990:40;8132:6;8120:10;8117:22;8096:18;8084:10;8081:34;8078:62;8075:88;;;8143:18;;:::i;:::-;8075:88;8183:10;8179:2;8172:22;7962:238;7919:281;;:::o;8206:129::-;8240:6;8267:20;;:::i;:::-;8257:30;;8296:33;8324:4;8316:6;8296:33;:::i;:::-;8206:129;;;:::o;8341:311::-;8418:4;8508:18;8500:6;8497:30;8494:56;;;8530:18;;:::i;:::-;8494:56;8580:4;8572:6;8568:17;8560:25;;8640:4;8634;8630:15;8622:23;;8341:311;;;:::o;8675:710::-;8771:5;8796:81;8812:64;8869:6;8812:64;:::i;:::-;8796:81;:::i;:::-;8787:90;;8897:5;8926:6;8919:5;8912:21;8960:4;8953:5;8949:16;8942:23;;9013:4;9005:6;9001:17;8993:6;8989:30;9042:3;9034:6;9031:15;9028:122;;;9061:79;;:::i;:::-;9028:122;9176:6;9159:220;9193:6;9188:3;9185:15;9159:220;;;9268:3;9297:37;9330:3;9318:10;9297:37;:::i;:::-;9292:3;9285:50;9364:4;9359:3;9355:14;9348:21;;9235:144;9219:4;9214:3;9210:14;9203:21;;9159:220;;;9163:21;8777:608;;8675:710;;;;;:::o;9408:370::-;9479:5;9528:3;9521:4;9513:6;9509:17;9505:27;9495:122;;9536:79;;:::i;:::-;9495:122;9653:6;9640:20;9678:94;9768:3;9760:6;9753:4;9745:6;9741:17;9678:94;:::i;:::-;9669:103;;9485:293;9408:370;;;;:::o;9784:684::-;9877:6;9885;9934:2;9922:9;9913:7;9909:23;9905:32;9902:119;;;9940:79;;:::i;:::-;9902:119;10060:1;10085:53;10130:7;10121:6;10110:9;10106:22;10085:53;:::i;:::-;10075:63;;10031:117;10215:2;10204:9;10200:18;10187:32;10246:18;10238:6;10235:30;10232:117;;;10268:79;;:::i;:::-;10232:117;10373:78;10443:7;10434:6;10423:9;10419:22;10373:78;:::i;:::-;10363:88;;10158:303;9784:684;;;;;:::o;10474:329::-;10533:6;10582:2;10570:9;10561:7;10557:23;10553:32;10550:119;;;10588:79;;:::i;:::-;10550:119;10708:1;10733:53;10778:7;10769:6;10758:9;10754:22;10733:53;:::i;:::-;10723:63;;10679:117;10474:329;;;;:::o;10809:619::-;10886:6;10894;10902;10951:2;10939:9;10930:7;10926:23;10922:32;10919:119;;;10957:79;;:::i;:::-;10919:119;11077:1;11102:53;11147:7;11138:6;11127:9;11123:22;11102:53;:::i;:::-;11092:63;;11048:117;11204:2;11230:53;11275:7;11266:6;11255:9;11251:22;11230:53;:::i;:::-;11220:63;;11175:118;11332:2;11358:53;11403:7;11394:6;11383:9;11379:22;11358:53;:::i;:::-;11348:63;;11303:118;10809:619;;;;;:::o;11434:77::-;11471:7;11500:5;11489:16;;11434:77;;;:::o;11517:122::-;11590:24;11608:5;11590:24;:::i;:::-;11583:5;11580:35;11570:63;;11629:1;11626;11619:12;11570:63;11517:122;:::o;11645:139::-;11691:5;11729:6;11716:20;11707:29;;11745:33;11772:5;11745:33;:::i;:::-;11645:139;;;;:::o;11790:329::-;11849:6;11898:2;11886:9;11877:7;11873:23;11869:32;11866:119;;;11904:79;;:::i;:::-;11866:119;12024:1;12049:53;12094:7;12085:6;12074:9;12070:22;12049:53;:::i;:::-;12039:63;;11995:117;11790:329;;;;:::o;12125:118::-;12212:24;12230:5;12212:24;:::i;:::-;12207:3;12200:37;12125:118;;:::o;12249:222::-;12342:4;12380:2;12369:9;12365:18;12357:26;;12393:71;12461:1;12450:9;12446:17;12437:6;12393:71;:::i;:::-;12249:222;;;;:::o;12477:474::-;12545:6;12553;12602:2;12590:9;12581:7;12577:23;12573:32;12570:119;;;12608:79;;:::i;:::-;12570:119;12728:1;12753:53;12798:7;12789:6;12778:9;12774:22;12753:53;:::i;:::-;12743:63;;12699:117;12855:2;12881:53;12926:7;12917:6;12906:9;12902:22;12881:53;:::i;:::-;12871:63;;12826:118;12477:474;;;;;:::o;12971:553::-;13029:8;13039:6;13089:3;13082:4;13074:6;13070:17;13066:27;13056:122;;13097:79;;:::i;:::-;13056:122;13210:6;13197:20;13187:30;;13240:18;13232:6;13229:30;13226:117;;;13262:79;;:::i;:::-;13226:117;13376:4;13368:6;13364:17;13352:29;;13430:3;13422:4;13414:6;13410:17;13400:8;13396:32;13393:41;13390:128;;;13437:79;;:::i;:::-;13390:128;12971:553;;;;;:::o;13530:529::-;13601:6;13609;13658:2;13646:9;13637:7;13633:23;13629:32;13626:119;;;13664:79;;:::i;:::-;13626:119;13812:1;13801:9;13797:17;13784:31;13842:18;13834:6;13831:30;13828:117;;;13864:79;;:::i;:::-;13828:117;13977:65;14034:7;14025:6;14014:9;14010:22;13977:65;:::i;:::-;13959:83;;;;13755:297;13530:529;;;;;:::o;14065:86::-;14100:7;14140:4;14133:5;14129:16;14118:27;;14065:86;;;:::o;14157:118::-;14228:22;14244:5;14228:22;:::i;:::-;14221:5;14218:33;14208:61;;14265:1;14262;14255:12;14208:61;14157:118;:::o;14281:135::-;14325:5;14363:6;14350:20;14341:29;;14379:31;14404:5;14379:31;:::i;:::-;14281:135;;;;:::o;14422:325::-;14479:6;14528:2;14516:9;14507:7;14503:23;14499:32;14496:119;;;14534:79;;:::i;:::-;14496:119;14654:1;14679:51;14722:7;14713:6;14702:9;14698:22;14679:51;:::i;:::-;14669:61;;14625:115;14422:325;;;;:::o;14753:149::-;14789:7;14829:66;14822:5;14818:78;14807:89;;14753:149;;;:::o;14908:115::-;14993:23;15010:5;14993:23;:::i;:::-;14988:3;14981:36;14908:115;;:::o;15029:114::-;15096:6;15130:5;15124:12;15114:22;;15029:114;;;:::o;15149:184::-;15248:11;15282:6;15277:3;15270:19;15322:4;15317:3;15313:14;15298:29;;15149:184;;;;:::o;15339:132::-;15406:4;15429:3;15421:11;;15459:4;15454:3;15450:14;15442:22;;15339:132;;;:::o;15477:108::-;15554:24;15572:5;15554:24;:::i;:::-;15549:3;15542:37;15477:108;;:::o;15591:179::-;15660:10;15681:46;15723:3;15715:6;15681:46;:::i;:::-;15759:4;15754:3;15750:14;15736:28;;15591:179;;;;:::o;15776:113::-;15846:4;15878;15873:3;15869:14;15861:22;;15776:113;;;:::o;15925:732::-;16044:3;16073:54;16121:5;16073:54;:::i;:::-;16143:86;16222:6;16217:3;16143:86;:::i;:::-;16136:93;;16253:56;16303:5;16253:56;:::i;:::-;16332:7;16363:1;16348:284;16373:6;16370:1;16367:13;16348:284;;;16449:6;16443:13;16476:63;16535:3;16520:13;16476:63;:::i;:::-;16469:70;;16562:60;16615:6;16562:60;:::i;:::-;16552:70;;16408:224;16395:1;16392;16388:9;16383:14;;16348:284;;;16352:14;16648:3;16641:10;;16049:608;;;15925:732;;;;:::o;16663:1215::-;17012:4;17050:3;17039:9;17035:19;17027:27;;17064:69;17130:1;17119:9;17115:17;17106:6;17064:69;:::i;:::-;17180:9;17174:4;17170:20;17165:2;17154:9;17150:18;17143:48;17208:78;17281:4;17272:6;17208:78;:::i;:::-;17200:86;;17333:9;17327:4;17323:20;17318:2;17307:9;17303:18;17296:48;17361:78;17434:4;17425:6;17361:78;:::i;:::-;17353:86;;17449:72;17517:2;17506:9;17502:18;17493:6;17449:72;:::i;:::-;17531:73;17599:3;17588:9;17584:19;17575:6;17531:73;:::i;:::-;17614;17682:3;17671:9;17667:19;17658:6;17614:73;:::i;:::-;17735:9;17729:4;17725:20;17719:3;17708:9;17704:19;17697:49;17763:108;17866:4;17857:6;17763:108;:::i;:::-;17755:116;;16663:1215;;;;;;;;;;:::o;17884:116::-;17954:21;17969:5;17954:21;:::i;:::-;17947:5;17944:32;17934:60;;17990:1;17987;17980:12;17934:60;17884:116;:::o;18006:133::-;18049:5;18087:6;18074:20;18065:29;;18103:30;18127:5;18103:30;:::i;:::-;18006:133;;;;:::o;18145:468::-;18210:6;18218;18267:2;18255:9;18246:7;18242:23;18238:32;18235:119;;;18273:79;;:::i;:::-;18235:119;18393:1;18418:53;18463:7;18454:6;18443:9;18439:22;18418:53;:::i;:::-;18408:63;;18364:117;18520:2;18546:50;18588:7;18579:6;18568:9;18564:22;18546:50;:::i;:::-;18536:60;;18491:115;18145:468;;;;;:::o;18619:117::-;18728:1;18725;18718:12;18765:233;18839:5;18880:3;18871:6;18866:3;18862:16;18858:26;18855:113;;;18887:79;;:::i;:::-;18855:113;18986:6;18977:15;;18765:233;;;;:::o;19004:117::-;19113:1;19110;19103:12;19127:307;19188:4;19278:18;19270:6;19267:30;19264:56;;;19300:18;;:::i;:::-;19264:56;19338:29;19360:6;19338:29;:::i;:::-;19330:37;;19422:4;19416;19412:15;19404:23;;19127:307;;;:::o;19440:146::-;19537:6;19532:3;19527;19514:30;19578:1;19569:6;19564:3;19560:16;19553:27;19440:146;;;:::o;19592:423::-;19669:5;19694:65;19710:48;19751:6;19710:48;:::i;:::-;19694:65;:::i;:::-;19685:74;;19782:6;19775:5;19768:21;19820:4;19813:5;19809:16;19858:3;19849:6;19844:3;19840:16;19837:25;19834:112;;;19865:79;;:::i;:::-;19834:112;19955:54;20002:6;19997:3;19992;19955:54;:::i;:::-;19675:340;19592:423;;;;;:::o;20034:338::-;20089:5;20138:3;20131:4;20123:6;20119:17;20115:27;20105:122;;20146:79;;:::i;:::-;20105:122;20263:6;20250:20;20288:78;20362:3;20354:6;20347:4;20339:6;20335:17;20288:78;:::i;:::-;20279:87;;20095:277;20034:338;;;;:::o;20378:710::-;20483:6;20491;20540:3;20528:9;20519:7;20515:23;20511:33;20508:120;;;20547:79;;:::i;:::-;20508:120;20667:1;20692:81;20765:7;20756:6;20745:9;20741:22;20692:81;:::i;:::-;20682:91;;20638:145;20850:3;20839:9;20835:19;20822:33;20882:18;20874:6;20871:30;20868:117;;;20904:79;;:::i;:::-;20868:117;21009:62;21063:7;21054:6;21043:9;21039:22;21009:62;:::i;:::-;20999:72;;20793:288;20378:710;;;;;:::o;21094:943::-;21189:6;21197;21205;21213;21262:3;21250:9;21241:7;21237:23;21233:33;21230:120;;;21269:79;;:::i;:::-;21230:120;21389:1;21414:53;21459:7;21450:6;21439:9;21435:22;21414:53;:::i;:::-;21404:63;;21360:117;21516:2;21542:53;21587:7;21578:6;21567:9;21563:22;21542:53;:::i;:::-;21532:63;;21487:118;21644:2;21670:53;21715:7;21706:6;21695:9;21691:22;21670:53;:::i;:::-;21660:63;;21615:118;21800:2;21789:9;21785:18;21772:32;21831:18;21823:6;21820:30;21817:117;;;21853:79;;:::i;:::-;21817:117;21958:62;22012:7;22003:6;21992:9;21988:22;21958:62;:::i;:::-;21948:72;;21743:287;21094:943;;;;;;;:::o;22043:474::-;22111:6;22119;22168:2;22156:9;22147:7;22143:23;22139:32;22136:119;;;22174:79;;:::i;:::-;22136:119;22294:1;22319:53;22364:7;22355:6;22344:9;22340:22;22319:53;:::i;:::-;22309:63;;22265:117;22421:2;22447:53;22492:7;22483:6;22472:9;22468:22;22447:53;:::i;:::-;22437:63;;22392:118;22043:474;;;;;:::o;22523:180::-;22571:77;22568:1;22561:88;22668:4;22665:1;22658:15;22692:4;22689:1;22682:15;22709:320;22753:6;22790:1;22784:4;22780:12;22770:22;;22837:1;22831:4;22827:12;22858:18;22848:81;;22914:4;22906:6;22902:17;22892:27;;22848:81;22976:2;22968:6;22965:14;22945:18;22942:38;22939:84;;22995:18;;:::i;:::-;22939:84;22760:269;22709:320;;;:::o;23035:180::-;23083:77;23080:1;23073:88;23180:4;23177:1;23170:15;23204:4;23201:1;23194:15;23221:332;23342:4;23380:2;23369:9;23365:18;23357:26;;23393:71;23461:1;23450:9;23446:17;23437:6;23393:71;:::i;:::-;23474:72;23542:2;23531:9;23527:18;23518:6;23474:72;:::i;:::-;23221:332;;;;;:::o;23559:147::-;23660:11;23697:3;23682:18;;23559:147;;;;:::o;23712:114::-;;:::o;23832:398::-;23991:3;24012:83;24093:1;24088:3;24012:83;:::i;:::-;24005:90;;24104:93;24193:3;24104:93;:::i;:::-;24222:1;24217:3;24213:11;24206:18;;23832:398;;;:::o;24236:379::-;24420:3;24442:147;24585:3;24442:147;:::i;:::-;24435:154;;24606:3;24599:10;;24236:379;;;:::o;24621:97::-;24680:6;24708:3;24698:13;;24621:97;;;;:::o;24724:141::-;24773:4;24796:3;24788:11;;24819:3;24816:1;24809:14;24853:4;24850:1;24840:18;24832:26;;24724:141;;;:::o;24871:93::-;24908:6;24955:2;24950;24943:5;24939:14;24935:23;24925:33;;24871:93;;;:::o;24970:107::-;25014:8;25064:5;25058:4;25054:16;25033:37;;24970:107;;;;:::o;25083:393::-;25152:6;25202:1;25190:10;25186:18;25225:97;25255:66;25244:9;25225:97;:::i;:::-;25343:39;25373:8;25362:9;25343:39;:::i;:::-;25331:51;;25415:4;25411:9;25404:5;25400:21;25391:30;;25464:4;25454:8;25450:19;25443:5;25440:30;25430:40;;25159:317;;25083:393;;;;;:::o;25482:60::-;25510:3;25531:5;25524:12;;25482:60;;;:::o;25548:142::-;25598:9;25631:53;25649:34;25658:24;25676:5;25658:24;:::i;:::-;25649:34;:::i;:::-;25631:53;:::i;:::-;25618:66;;25548:142;;;:::o;25696:75::-;25739:3;25760:5;25753:12;;25696:75;;;:::o;25777:269::-;25887:39;25918:7;25887:39;:::i;:::-;25948:91;25997:41;26021:16;25997:41;:::i;:::-;25989:6;25982:4;25976:11;25948:91;:::i;:::-;25942:4;25935:105;25853:193;25777:269;;;:::o;26052:73::-;26097:3;26052:73;:::o;26131:189::-;26208:32;;:::i;:::-;26249:65;26307:6;26299;26293:4;26249:65;:::i;:::-;26184:136;26131:189;;:::o;26326:186::-;26386:120;26403:3;26396:5;26393:14;26386:120;;;26457:39;26494:1;26487:5;26457:39;:::i;:::-;26430:1;26423:5;26419:13;26410:22;;26386:120;;;26326:186;;:::o;26518:543::-;26619:2;26614:3;26611:11;26608:446;;;26653:38;26685:5;26653:38;:::i;:::-;26737:29;26755:10;26737:29;:::i;:::-;26727:8;26723:44;26920:2;26908:10;26905:18;26902:49;;;26941:8;26926:23;;26902:49;26964:80;27020:22;27038:3;27020:22;:::i;:::-;27010:8;27006:37;26993:11;26964:80;:::i;:::-;26623:431;;26608:446;26518:543;;;:::o;27067:117::-;27121:8;27171:5;27165:4;27161:16;27140:37;;27067:117;;;;:::o;27190:169::-;27234:6;27267:51;27315:1;27311:6;27303:5;27300:1;27296:13;27267:51;:::i;:::-;27263:56;27348:4;27342;27338:15;27328:25;;27241:118;27190:169;;;;:::o;27364:295::-;27440:4;27586:29;27611:3;27605:4;27586:29;:::i;:::-;27578:37;;27648:3;27645:1;27641:11;27635:4;27632:21;27624:29;;27364:295;;;;:::o;27664:1403::-;27788:44;27828:3;27823;27788:44;:::i;:::-;27897:18;27889:6;27886:30;27883:56;;;27919:18;;:::i;:::-;27883:56;27963:38;27995:4;27989:11;27963:38;:::i;:::-;28048:67;28108:6;28100;28094:4;28048:67;:::i;:::-;28142:1;28171:2;28163:6;28160:14;28188:1;28183:632;;;;28859:1;28876:6;28873:84;;;28932:9;28927:3;28923:19;28910:33;28901:42;;28873:84;28983:67;29043:6;29036:5;28983:67;:::i;:::-;28977:4;28970:81;28832:229;28153:908;;28183:632;28235:4;28231:9;28223:6;28219:22;28269:37;28301:4;28269:37;:::i;:::-;28328:1;28342:215;28356:7;28353:1;28350:14;28342:215;;;28442:9;28437:3;28433:19;28420:33;28412:6;28405:49;28493:1;28485:6;28481:14;28471:24;;28540:2;28529:9;28525:18;28512:31;;28379:4;28376:1;28372:12;28367:17;;28342:215;;;28585:6;28576:7;28573:19;28570:186;;;28650:9;28645:3;28641:19;28628:33;28693:48;28735:4;28727:6;28723:17;28712:9;28693:48;:::i;:::-;28685:6;28678:64;28593:163;28570:186;28802:1;28798;28790:6;28786:14;28782:22;28776:4;28769:36;28190:625;;;28153:908;;27763:1304;;;27664:1403;;;:::o;29073:180::-;29121:77;29118:1;29111:88;29218:4;29215:1;29208:15;29242:4;29239:1;29232:15;29259:410;29299:7;29322:20;29340:1;29322:20;:::i;:::-;29317:25;;29356:20;29374:1;29356:20;:::i;:::-;29351:25;;29411:1;29408;29404:9;29433:30;29451:11;29433:30;:::i;:::-;29422:41;;29612:1;29603:7;29599:15;29596:1;29593:22;29573:1;29566:9;29546:83;29523:139;;29642:18;;:::i;:::-;29523:139;29307:362;29259:410;;;;:::o;29675:191::-;29715:3;29734:20;29752:1;29734:20;:::i;:::-;29729:25;;29768:20;29786:1;29768:20;:::i;:::-;29763:25;;29811:1;29808;29804:9;29797:16;;29832:3;29829:1;29826:10;29823:36;;;29839:18;;:::i;:::-;29823:36;29675:191;;;;:::o;29872:180::-;29920:77;29917:1;29910:88;30017:4;30014:1;30007:15;30041:4;30038:1;30031:15;30058:176;30090:1;30107:20;30125:1;30107:20;:::i;:::-;30102:25;;30141:20;30159:1;30141:20;:::i;:::-;30136:25;;30180:1;30170:35;;30185:18;;:::i;:::-;30170:35;30226:1;30223;30219:9;30214:14;;30058:176;;;;:::o;30240:148::-;30342:11;30379:3;30364:18;;30240:148;;;;:::o;30394:390::-;30500:3;30528:39;30561:5;30528:39;:::i;:::-;30583:89;30665:6;30660:3;30583:89;:::i;:::-;30576:96;;30681:65;30739:6;30734:3;30727:4;30720:5;30716:16;30681:65;:::i;:::-;30771:6;30766:3;30762:16;30755:23;;30504:280;30394:390;;;;:::o;30790:435::-;30970:3;30992:95;31083:3;31074:6;30992:95;:::i;:::-;30985:102;;31104:95;31195:3;31186:6;31104:95;:::i;:::-;31097:102;;31216:3;31209:10;;30790:435;;;;;:::o;31231:181::-;31371:33;31367:1;31359:6;31355:14;31348:57;31231:181;:::o;31418:366::-;31560:3;31581:67;31645:2;31640:3;31581:67;:::i;:::-;31574:74;;31657:93;31746:3;31657:93;:::i;:::-;31775:2;31770:3;31766:12;31759:19;;31418:366;;;:::o;31790:419::-;31956:4;31994:2;31983:9;31979:18;31971:26;;32043:9;32037:4;32033:20;32029:1;32018:9;32014:17;32007:47;32071:131;32197:4;32071:131;:::i;:::-;32063:139;;31790:419;;;:::o;32215:181::-;32355:33;32351:1;32343:6;32339:14;32332:57;32215:181;:::o;32402:366::-;32544:3;32565:67;32629:2;32624:3;32565:67;:::i;:::-;32558:74;;32641:93;32730:3;32641:93;:::i;:::-;32759:2;32754:3;32750:12;32743:19;;32402:366;;;:::o;32774:419::-;32940:4;32978:2;32967:9;32963:18;32955:26;;33027:9;33021:4;33017:20;33013:1;33002:9;32998:17;32991:47;33055:131;33181:4;33055:131;:::i;:::-;33047:139;;32774:419;;;:::o;33199:101::-;33235:7;33275:18;33268:5;33264:30;33253:41;;33199:101;;;:::o;33306:115::-;33391:23;33408:5;33391:23;:::i;:::-;33386:3;33379:36;33306:115;;:::o;33427:89::-;33463:7;33503:6;33496:5;33492:18;33481:29;;33427:89;;;:::o;33522:115::-;33607:23;33624:5;33607:23;:::i;:::-;33602:3;33595:36;33522:115;;:::o;33643:93::-;33679:7;33719:10;33712:5;33708:22;33697:33;;33643:93;;;:::o;33742:115::-;33827:23;33844:5;33827:23;:::i;:::-;33822:3;33815:36;33742:115;;:::o;33863:648::-;34060:4;34098:3;34087:9;34083:19;34075:27;;34112:71;34180:1;34169:9;34165:17;34156:6;34112:71;:::i;:::-;34193:70;34259:2;34248:9;34244:18;34235:6;34193:70;:::i;:::-;34273;34339:2;34328:9;34324:18;34315:6;34273:70;:::i;:::-;34353;34419:2;34408:9;34404:18;34395:6;34353:70;:::i;:::-;34433:71;34499:3;34488:9;34484:19;34475:6;34433:71;:::i;:::-;33863:648;;;;;;;;:::o;34517:143::-;34574:5;34605:6;34599:13;34590:22;;34621:33;34648:5;34621:33;:::i;:::-;34517:143;;;;:::o;34666:351::-;34736:6;34785:2;34773:9;34764:7;34760:23;34756:32;34753:119;;;34791:79;;:::i;:::-;34753:119;34911:1;34936:64;34992:7;34983:6;34972:9;34968:22;34936:64;:::i;:::-;34926:74;;34882:128;34666:351;;;;:::o;35023:328::-;35142:4;35180:2;35169:9;35165:18;35157:26;;35193:71;35261:1;35250:9;35246:17;35237:6;35193:71;:::i;:::-;35274:70;35340:2;35329:9;35325:18;35316:6;35274:70;:::i;:::-;35023:328;;;;;:::o;35357:167::-;35497:19;35493:1;35485:6;35481:14;35474:43;35357:167;:::o;35530:366::-;35672:3;35693:67;35757:2;35752:3;35693:67;:::i;:::-;35686:74;;35769:93;35858:3;35769:93;:::i;:::-;35887:2;35882:3;35878:12;35871:19;;35530:366;;;:::o;35902:419::-;36068:4;36106:2;36095:9;36091:18;36083:26;;36155:9;36149:4;36145:20;36141:1;36130:9;36126:17;36119:47;36183:131;36309:4;36183:131;:::i;:::-;36175:139;;35902:419;;;:::o;36327:483::-;36498:4;36536:2;36525:9;36521:18;36513:26;;36549:71;36617:1;36606:9;36602:17;36593:6;36549:71;:::i;:::-;36667:9;36661:4;36657:20;36652:2;36641:9;36637:18;36630:48;36695:108;36798:4;36789:6;36695:108;:::i;:::-;36687:116;;36327:483;;;;;:::o;36816:98::-;36867:6;36901:5;36895:12;36885:22;;36816:98;;;:::o;36920:168::-;37003:11;37037:6;37032:3;37025:19;37077:4;37072:3;37068:14;37053:29;;36920:168;;;;:::o;37094:373::-;37180:3;37208:38;37240:5;37208:38;:::i;:::-;37262:70;37325:6;37320:3;37262:70;:::i;:::-;37255:77;;37341:65;37399:6;37394:3;37387:4;37380:5;37376:16;37341:65;:::i;:::-;37431:29;37453:6;37431:29;:::i;:::-;37426:3;37422:39;37415:46;;37184:283;37094:373;;;;:::o;37473:640::-;37668:4;37706:3;37695:9;37691:19;37683:27;;37720:71;37788:1;37777:9;37773:17;37764:6;37720:71;:::i;:::-;37801:72;37869:2;37858:9;37854:18;37845:6;37801:72;:::i;:::-;37883;37951:2;37940:9;37936:18;37927:6;37883:72;:::i;:::-;38002:9;37996:4;37992:20;37987:2;37976:9;37972:18;37965:48;38030:76;38101:4;38092:6;38030:76;:::i;:::-;38022:84;;37473:640;;;;;;;:::o;38119:141::-;38175:5;38206:6;38200:13;38191:22;;38222:32;38248:5;38222:32;:::i;:::-;38119:141;;;;:::o;38266:349::-;38335:6;38384:2;38372:9;38363:7;38359:23;38355:32;38352:119;;;38390:79;;:::i;:::-;38352:119;38510:1;38535:63;38590:7;38581:6;38570:9;38566:22;38535:63;:::i;:::-;38525:73;;38481:127;38266:349;;;;:::o;38621:332::-;38742:4;38780:2;38769:9;38765:18;38757:26;;38793:71;38861:1;38850:9;38846:17;38837:6;38793:71;:::i;:::-;38874:72;38942:2;38931:9;38927:18;38918:6;38874:72;:::i;:::-;38621:332;;;;;:::o;38959:117::-;39068:1;39065;39058:12;39228:1084;39303:5;39347:4;39335:9;39330:3;39326:19;39322:30;39319:117;;;39355:79;;:::i;:::-;39319:117;39454:21;39470:4;39454:21;:::i;:::-;39445:30;;39532:1;39572:49;39617:3;39608:6;39597:9;39593:22;39572:49;:::i;:::-;39565:4;39558:5;39554:16;39547:75;39485:148;39694:2;39735:49;39780:3;39771:6;39760:9;39756:22;39735:49;:::i;:::-;39728:4;39721:5;39717:16;39710:75;39643:153;39862:2;39903:49;39948:3;39939:6;39928:9;39924:22;39903:49;:::i;:::-;39896:4;39889:5;39885:16;39878:75;39806:158;40035:2;40076:49;40121:3;40112:6;40101:9;40097:22;40076:49;:::i;:::-;40069:4;40062:5;40058:16;40051:75;39974:163;40202:3;40244:49;40289:3;40280:6;40269:9;40265:22;40244:49;:::i;:::-;40237:4;40230:5;40226:16;40219:75;40147:158;39228:1084;;;;:::o;40318:382::-;40403:6;40452:3;40440:9;40431:7;40427:23;40423:33;40420:120;;;40459:79;;:::i;:::-;40420:120;40579:1;40604:79;40675:7;40666:6;40655:9;40651:22;40604:79;:::i;:::-;40594:89;;40550:143;40318:382;;;;:::o;40706:775::-;40939:4;40977:3;40966:9;40962:19;40954:27;;40991:71;41059:1;41048:9;41044:17;41035:6;40991:71;:::i;:::-;41072:72;41140:2;41129:9;41125:18;41116:6;41072:72;:::i;:::-;41154;41222:2;41211:9;41207:18;41198:6;41154:72;:::i;:::-;41236;41304:2;41293:9;41289:18;41280:6;41236:72;:::i;:::-;41318:73;41386:3;41375:9;41371:19;41362:6;41318:73;:::i;:::-;41401;41469:3;41458:9;41454:19;41445:6;41401:73;:::i;:::-;40706:775;;;;;;;;;:::o;41487:180::-;41535:77;41532:1;41525:88;41632:4;41629:1;41622:15;41656:4;41653:1;41646:15;41673:664;41878:4;41916:3;41905:9;41901:19;41893:27;;41930:71;41998:1;41987:9;41983:17;41974:6;41930:71;:::i;:::-;42011:72;42079:2;42068:9;42064:18;42055:6;42011:72;:::i;:::-;42093;42161:2;42150:9;42146:18;42137:6;42093:72;:::i;:::-;42175;42243:2;42232:9;42228:18;42219:6;42175:72;:::i;:::-;42257:73;42325:3;42314:9;42310:19;42301:6;42257:73;:::i;:::-;41673:664;;;;;;;;:::o;42343:112::-;42426:22;42442:5;42426:22;:::i;:::-;42421:3;42414:35;42343:112;;:::o;42461:545::-;42634:4;42672:3;42661:9;42657:19;42649:27;;42686:71;42754:1;42743:9;42739:17;42730:6;42686:71;:::i;:::-;42767:68;42831:2;42820:9;42816:18;42807:6;42767:68;:::i;:::-;42845:72;42913:2;42902:9;42898:18;42889:6;42845:72;:::i;:::-;42927;42995:2;42984:9;42980:18;42971:6;42927:72;:::i;:::-;42461:545;;;;;;;:::o
Swarm Source
ipfs://e765b40babb296841943680560135227b58c930682f97d9321e5a2a02c11005d
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.