Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,000 ToonCity
Holders
2,269
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 ToonCityLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ToonCityNFT
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-06 */ // .----------------. .----------------. .----------------. .-----------------. .----------------. .----------------. .----------------. .----------------. // | .--------------. || .--------------. || .--------------. || .--------------. | | .--------------. || .--------------. || .--------------. || .--------------. | // | | _________ | || | ____ | || | ____ | || | ____ _____ | | | | ______ | || | _____ | || | _________ | || | ____ ____ | | // | | | _ _ | | || | .' `. | || | .' `. | || ||_ \|_ _| | | | | .' ___ | | || | |_ _| | || | | _ _ | | || | |_ _||_ _| | | // | | |_/ | | \_| | || | / .--. \ | || | / .--. \ | || | | \ | | | | | | / .' \_| | || | | | | || | |_/ | | \_| | || | \ \ / / | | // | | | | | || | | | | | | || | | | | | | || | | |\ \| | | | | | | | | || | | | | || | | | | || | \ \/ / | | // | | _| |_ | || | \ `--' / | || | \ `--' / | || | _| |_\ |_ | | | | \ `.___.'\ | || | _| |_ | || | _| |_ | || | _| |_ | | // | | |_____| | || | `.____.' | || | `.____.' | || ||_____|\____| | | | | `._____.' | || | |_____| | || | |_____| | || | |______| | | // | | | || | | || | | || | | | | | | || | | || | | || | | | // | '--------------' || '--------------' || '--------------' || '--------------' | | '--------------' || '--------------' || '--------------' || '--------------' | // '----------------' '----------------' '----------------' '----------------' '----------------' '----------------' '----------------' '----------------' // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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 addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _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: erc721a/contracts/IERC721A.sol // 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/ERC721A.sol // 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: contracts/toonmin.sol pragma solidity ^0.8.17; contract ToonCityNFT is ERC721A, IERC2981, Ownable, DefaultOperatorFilterer{ using Strings for uint256; error TokenDoesNotExist(uint256 id); uint256 public MAX_SUPPLY = 9999; uint256 public MAX_WL_SUPPLY = 1200; uint256 public MAX_MINT = 13; uint256 public PRICE = .005 ether; address public Royalty; mapping(address => uint256) public hasMintedCount; string private baseTokenUri; string public placeholderTokenUri; mapping(address => bool) public hasClaimed; bool public isRevealed; bool public publicSale; bool public whiteListSale; bool public pause; bytes32 private merkleRoot; mapping(address => uint256) public totalPublicMint; mapping(address => uint256) public totalWhitelistMint; constructor() ERC721A("ToonCity", "ToonCity"){} modifier callerIsUser() { require(tx.origin == msg.sender, "ToonCity :: Cannot be called by a contract"); _; } function mint(uint256 _quantity) external payable callerIsUser { require(publicSale, "ToonCity :: Not Yet Active."); require((totalSupply() + _quantity) <= MAX_SUPPLY, "ToonCity :: PUBLIC SOLDOUT"); require((totalPublicMint[msg.sender] + _quantity) <= MAX_MINT, "ToonCity :: Minting this many would put you over 13!"); uint256 cost = PRICE * _quantity; if (hasMintedCount[msg.sender] < 1) { cost = PRICE * (_quantity - 1); } require(msg.value >= cost, "ToonCity :: pay more fool"); totalPublicMint[msg.sender] += _quantity; hasMintedCount[msg.sender]++; _mint(msg.sender, _quantity); } function whitelistMint(bytes32[] memory _merkleProof, uint256 _quantity) external payable callerIsUser { require(whiteListSale, "ToonCity :: Minting is on Pause"); require((totalSupply() + _quantity) < MAX_WL_SUPPLY, "ToonCity :: WHITELIST SOLDOUT"); require((totalWhitelistMint[msg.sender] + _quantity) <= MAX_MINT, "ToonCity :: Minting this many would put you over 13!"); uint256 cost = PRICE * _quantity; if (hasMintedCount[msg.sender] < 2) { cost = PRICE * (_quantity - 2 + hasMintedCount[msg.sender]); } require(msg.value >= cost, "ToonCity :: pay more fool"); //create leaf node bytes32 sender = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, sender), "ToonCity :: You are not whitelisted"); totalWhitelistMint[msg.sender] += _quantity; hasMintedCount[msg.sender] += _quantity; _mint(msg.sender, _quantity); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenUri; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); uint256 trueId = tokenId + 1; if(!isRevealed){ return placeholderTokenUri; } return bytes(baseTokenUri).length > 0 ? string(abi.encodePacked(baseTokenUri, trueId.toString(), ".json")) : ""; } function teamMint(uint256 quantity) external onlyOwner{ require((totalSupply() + quantity) <= MAX_SUPPLY, "ToonCity :: PUBLIC SOLDOUT"); _safeMint(msg.sender, quantity); } function setTokenUri(string calldata _baseTokenUri) external onlyOwner{ baseTokenUri = _baseTokenUri; } function setMaxSupply(uint256 _MAX_SUPPLY) external onlyOwner{ MAX_SUPPLY = _MAX_SUPPLY; } function setPlaceHolderUri(string calldata _placeholderTokenUri) external onlyOwner{ placeholderTokenUri = _placeholderTokenUri; } function setMintPrice(uint256 newMintPrice)external onlyOwner{ PRICE = newMintPrice; } function setMintPrice(address _Royalty)external onlyOwner{ Royalty = _Royalty; } function toggleWhiteListSale() external onlyOwner{ whiteListSale = !whiteListSale; } function togglePublicSale() external onlyOwner{ publicSale = !publicSale; } function toggleReveal() external onlyOwner{ isRevealed = !isRevealed; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner{ merkleRoot = _merkleRoot; } function getMerkleRoot() external view returns (bytes32){ return merkleRoot; } function withdraw() external onlyOwner{ payable(msg.sender).transfer(address(this).balance); } /* ERC 2891 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { if (!_exists(tokenId)) { revert TokenDoesNotExist(tokenId); } return (address(Royalty), SafeMath.div(SafeMath.mul(salePrice, 5), 100)); } function supportsInterface(bytes4 interfaceId) public view override(ERC721A, IERC165) returns (bool) { return _supportsInterface(interfaceId); } function _supportsInterface(bytes4 interfaceId) private view returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC2981).interfaceId || interfaceId == type(Ownable).interfaceId || super.supportsInterface(interfaceId); } //opensea registry function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override payable onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override payable onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override payable onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom (address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"TokenDoesNotExist","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"},{"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":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Royalty","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholderTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"uint256","name":"_MAX_SUPPLY","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_Royalty","type":"address"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_placeholderTokenUri","type":"string"}],"name":"setPlaceHolderUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenUri","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":"quantity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhiteListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalWhitelistMint","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":"whiteListSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405261270f6009556104b0600a55600d600b556611c37937e08000600c553480156200002d57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600881526020017f546f6f6e436974790000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f546f6f6e436974790000000000000000000000000000000000000000000000008152508160029081620000c2919062000657565b508060039081620000d4919062000657565b50620000e56200030a60201b60201c565b60008190555050506200010d620001016200030f60201b60201c565b6200031760201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000302578015620001c8576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200018e92919062000783565b600060405180830381600087803b158015620001a957600080fd5b505af1158015620001be573d6000803e3d6000fd5b5050505062000301565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000282576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200024892919062000783565b600060405180830381600087803b1580156200026357600080fd5b505af115801562000278573d6000803e3d6000fd5b5050505062000300565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002cb9190620007b0565b600060405180830381600087803b158015620002e657600080fd5b505af1158015620002fb573d6000803e3d6000fd5b505050505b5b5b5050620007cd565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200045f57607f821691505b60208210810362000475576200047462000417565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004df7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004a0565b620004eb8683620004a0565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000538620005326200052c8462000503565b6200050d565b62000503565b9050919050565b6000819050919050565b620005548362000517565b6200056c62000563826200053f565b848454620004ad565b825550505050565b600090565b6200058362000574565b6200059081848462000549565b505050565b5b81811015620005b857620005ac60008262000579565b60018101905062000596565b5050565b601f8211156200060757620005d1816200047b565b620005dc8462000490565b81016020851015620005ec578190505b62000604620005fb8562000490565b83018262000595565b50505b505050565b600082821c905092915050565b60006200062c600019846008026200060c565b1980831691505092915050565b600062000647838362000619565b9150826002028217905092915050565b6200066282620003dd565b67ffffffffffffffff8111156200067e576200067d620003e8565b5b6200068a825462000446565b62000697828285620005bc565b600060209050601f831160018114620006cf5760008415620006ba578287015190505b620006c6858262000639565b86555062000736565b601f198416620006df866200047b565b60005b828110156200070957848901518255600182019150602085019450602081019050620006e2565b8683101562000729578489015162000725601f89168262000619565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200076b826200073e565b9050919050565b6200077d816200075e565b82525050565b60006040820190506200079a600083018562000772565b620007a9602083018462000772565b9392505050565b6000602082019050620007c7600083018462000772565b92915050565b61451580620007dd6000396000f3fe6080604052600436106102885760003560e01c80636352211e1161015a578063a0712d68116100c1578063e222c7f91161007a578063e222c7f91461096d578063e985e9c514610984578063f0292a03146109c1578063f2fde38b146109ec578063f4a0a52814610a15578063fa04703114610a3e57610288565b8063a0712d681461087b578063a22cb46514610897578063b0962c53146108c0578063b88d4fde146108e9578063c56acc8f14610905578063c87b56dd1461093057610288565b80638456cb59116101135780638456cb591461078d57806386a173ee146107b85780638bb64a8c146107e35780638d859f3e146107fa5780638da5cb5b1461082557806395d89b411461085057610288565b80636352211e1461066d5780636f8b44b0146106aa57806370a08231146106d3578063715018a61461071057806373b2e80e146107275780637cb647591461076457610288565b80632904e6d9116101fe57806341f43434116101b757806341f434341461058e57806342842e0e146105b957806349590657146105d55780634cf5f7a41461060057806354214f691461062b5780635b8ad4291461065657610288565b80632904e6d91461049e5780632a55205a146104ba5780632fbba115146104f857806332cb6b0c1461052157806333bc1c5c1461054c5780633ccfd60b1461057757610288565b806306fdde031161025057806306fdde0314610396578063081812fc146103c1578063095ea7b3146103fe57806318160ddd1461041a5780631c16521c1461044557806323b872dd1461048257610288565b806301ffc9a71461028d57806303155202146102ca5780630345e3cb14610307578063060d6e5e146103445780630675b7c61461036d575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190612f7b565b610a69565b6040516102c19190612fc3565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec919061303c565b610a7b565b6040516102fe9190613082565b60405180910390f35b34801561031357600080fd5b5061032e6004803603810190610329919061303c565b610a93565b60405161033b9190613082565b60405180910390f35b34801561035057600080fd5b5061036b6004803603810190610366919061303c565b610aab565b005b34801561037957600080fd5b50610394600480360381019061038f9190613102565b610af7565b005b3480156103a257600080fd5b506103ab610b15565b6040516103b891906131df565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e3919061322d565b610ba7565b6040516103f59190613269565b60405180910390f35b61041860048036038101906104139190613284565b610c26565b005b34801561042657600080fd5b5061042f610c3f565b60405161043c9190613082565b60405180910390f35b34801561045157600080fd5b5061046c6004803603810190610467919061303c565b610c56565b6040516104799190613082565b60405180910390f35b61049c600480360381019061049791906132c4565b610c6e565b005b6104b860048036038101906104b3919061348b565b610cbd565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906134e7565b611096565b6040516104ef929190613527565b60405180910390f35b34801561050457600080fd5b5061051f600480360381019061051a919061322d565b611126565b005b34801561052d57600080fd5b50610536611192565b6040516105439190613082565b60405180910390f35b34801561055857600080fd5b50610561611198565b60405161056e9190612fc3565b60405180910390f35b34801561058357600080fd5b5061058c6111ab565b005b34801561059a57600080fd5b506105a36111fc565b6040516105b091906135af565b60405180910390f35b6105d360048036038101906105ce91906132c4565b61120e565b005b3480156105e157600080fd5b506105ea61125d565b6040516105f791906135d9565b60405180910390f35b34801561060c57600080fd5b50610615611267565b60405161062291906131df565b60405180910390f35b34801561063757600080fd5b506106406112f5565b60405161064d9190612fc3565b60405180910390f35b34801561066257600080fd5b5061066b611308565b005b34801561067957600080fd5b50610694600480360381019061068f919061322d565b61133c565b6040516106a19190613269565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc919061322d565b61134e565b005b3480156106df57600080fd5b506106fa60048036038101906106f5919061303c565b611360565b6040516107079190613082565b60405180910390f35b34801561071c57600080fd5b50610725611418565b005b34801561073357600080fd5b5061074e6004803603810190610749919061303c565b61142c565b60405161075b9190612fc3565b60405180910390f35b34801561077057600080fd5b5061078b600480360381019061078691906135f4565b61144c565b005b34801561079957600080fd5b506107a261145e565b6040516107af9190612fc3565b60405180910390f35b3480156107c457600080fd5b506107cd611471565b6040516107da9190612fc3565b60405180910390f35b3480156107ef57600080fd5b506107f8611484565b005b34801561080657600080fd5b5061080f6114b8565b60405161081c9190613082565b60405180910390f35b34801561083157600080fd5b5061083a6114be565b6040516108479190613269565b60405180910390f35b34801561085c57600080fd5b506108656114e8565b60405161087291906131df565b60405180910390f35b6108956004803603810190610890919061322d565b61157a565b005b3480156108a357600080fd5b506108be60048036038101906108b9919061364d565b611890565b005b3480156108cc57600080fd5b506108e760048036038101906108e29190613102565b6118a9565b005b61090360048036038101906108fe9190613742565b6118c7565b005b34801561091157600080fd5b5061091a611918565b6040516109279190613082565b60405180910390f35b34801561093c57600080fd5b506109576004803603810190610952919061322d565b61191e565b60405161096491906131df565b60405180910390f35b34801561097957600080fd5b50610982611a80565b005b34801561099057600080fd5b506109ab60048036038101906109a691906137c5565b611ab4565b6040516109b89190612fc3565b60405180910390f35b3480156109cd57600080fd5b506109d6611b48565b6040516109e39190613082565b60405180910390f35b3480156109f857600080fd5b50610a136004803603810190610a0e919061303c565b611b4e565b005b348015610a2157600080fd5b50610a3c6004803603810190610a37919061322d565b611bd1565b005b348015610a4a57600080fd5b50610a53611be3565b604051610a609190613269565b60405180910390f35b6000610a7482611c09565b9050919050565b600e6020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b610ab3611d53565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610aff611d53565b8181600f9182610b10929190613a12565b505050565b606060028054610b249061383f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b509061383f565b8015610b9d5780601f10610b7257610100808354040283529160200191610b9d565b820191906000526020600020905b815481529060010190602001808311610b8057829003601f168201915b5050505050905090565b6000610bb282611dd1565b610be8576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610c3081611e30565b610c3a8383611f2d565b505050565b6000610c49612071565b6001546000540303905090565b60146020528060005260406000206000915090505481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cac57610cab33611e30565b5b610cb7848484612076565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2290613b54565b60405180910390fd5b601260029054906101000a900460ff16610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190613bc0565b60405180910390fd5b600a5481610d86610c3f565b610d909190613c0f565b10610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790613c8f565b60405180910390fd5b600b5481601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e1e9190613c0f565b1115610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5690613d21565b60405180910390fd5b600081600c54610e6f9190613d41565b90506002600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610f2057600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600283610f069190613d83565b610f109190613c0f565b600c54610f1d9190613d41565b90505b80341015610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a90613e03565b60405180910390fd5b600033604051602001610f769190613e6b565b604051602081830303815290604052805190602001209050610f9b8460135483612398565b610fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd190613ef8565b60405180910390fd5b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110299190613c0f565b9250508190555082600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461107f9190613c0f565b9250508190555061109033846123af565b50505050565b6000806110a284611dd1565b6110e357836040517fc927e5bf0000000000000000000000000000000000000000000000000000000081526004016110da9190613082565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661111b61111485600561256a565b6064612580565b915091509250929050565b61112e611d53565b6009548161113a610c3f565b6111449190613c0f565b1115611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c90613f64565b60405180910390fd5b61118f3382612596565b50565b60095481565b601260019054906101000a900460ff1681565b6111b3611d53565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156111f9573d6000803e3d6000fd5b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461124c5761124b33611e30565b5b6112578484846125b4565b50505050565b6000601354905090565b601080546112749061383f565b80601f01602080910402602001604051908101604052809291908181526020018280546112a09061383f565b80156112ed5780601f106112c2576101008083540402835291602001916112ed565b820191906000526020600020905b8154815290600101906020018083116112d057829003601f168201915b505050505081565b601260009054906101000a900460ff1681565b611310611d53565b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b6000611347826125d4565b9050919050565b611356611d53565b8060098190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113c7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611420611d53565b61142a60006126a0565b565b60116020528060005260406000206000915054906101000a900460ff1681565b611454611d53565b8060138190555050565b601260039054906101000a900460ff1681565b601260029054906101000a900460ff1681565b61148c611d53565b601260029054906101000a900460ff1615601260026101000a81548160ff021916908315150217905550565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546114f79061383f565b80601f01602080910402602001604051908101604052809291908181526020018280546115239061383f565b80156115705780601f1061154557610100808354040283529160200191611570565b820191906000526020600020905b81548152906001019060200180831161155357829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df90613b54565b60405180910390fd5b601260019054906101000a900460ff16611637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162e90613fd0565b60405180910390fd5b60095481611643610c3f565b61164d9190613c0f565b111561168e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168590613f64565b60405180910390fd5b600b5481601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116dc9190613c0f565b111561171d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171490613d21565b60405180910390fd5b600081600c5461172d9190613d41565b90506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611794576001826117849190613d83565b600c546117919190613d41565b90505b803410156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce90613e03565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118269190613c0f565b92505081905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061187d90613ff0565b919050555061188c33836123af565b5050565b8161189a81611e30565b6118a48383612766565b505050565b6118b1611d53565b8181601091826118c2929190613a12565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119055761190433611e30565b5b61191185858585612871565b5050505050565b600a5481565b606061192982611dd1565b611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f906140aa565b60405180910390fd5b60006001836119779190613c0f565b9050601260009054906101000a900460ff16611a20576010805461199a9061383f565b80601f01602080910402602001604051908101604052809291908181526020018280546119c69061383f565b8015611a135780601f106119e857610100808354040283529160200191611a13565b820191906000526020600020905b8154815290600101906020018083116119f657829003601f168201915b5050505050915050611a7b565b6000600f8054611a2f9061383f565b905011611a4b5760405180602001604052806000815250611a77565b600f611a56826128e4565b604051602001611a679291906141d5565b6040516020818303038152906040525b9150505b919050565b611a88611d53565b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b611b56611d53565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc90614276565b60405180910390fd5b611bce816126a0565b50565b611bd9611d53565b80600c8190555050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cd457507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d3c57507f0e083076000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d4c5750611d4b826129b2565b5b9050919050565b611d5b612a44565b73ffffffffffffffffffffffffffffffffffffffff16611d796114be565b73ffffffffffffffffffffffffffffffffffffffff1614611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc6906142e2565b60405180910390fd5b565b600081611ddc612071565b11158015611deb575060005482105b8015611e29575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611f2a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611ea7929190614302565b602060405180830381865afa158015611ec4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee89190614340565b611f2957806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611f209190613269565b60405180910390fd5b5b50565b6000611f388261133c565b90508073ffffffffffffffffffffffffffffffffffffffff16611f59612a4c565b73ffffffffffffffffffffffffffffffffffffffff1614611fbc57611f8581611f80612a4c565b611ab4565b611fbb576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612081826125d4565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146120e8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806120f484612a54565b9150915061210a8187612105612a4c565b612a7b565b6121565761211f8661211a612a4c565b611ab4565b612155576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036121bc576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121c98686866001612abf565b80156121d457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506122a28561227e888887612ac5565b7c020000000000000000000000000000000000000000000000000000000017612aed565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036123285760006001850190506000600460008381526020019081526020016000205403612326576000548114612325578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123908686866001612b18565b505050505050565b6000826123a58584612b1e565b1490509392505050565b600080549050600082036123ef576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123fc6000848385612abf565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612473836124646000866000612ac5565b61246d85612b74565b17612aed565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461251457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506124d9565b506000820361254f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125656000848385612b18565b505050565b600081836125789190613d41565b905092915050565b6000818361258e919061439c565b905092915050565b6125b0828260405180602001604052806000815250612b84565b5050565b6125cf838383604051806020016040528060008152506118c7565b505050565b600080829050806125e3612071565b11612669576000548110156126685760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612666575b6000810361265c576004600083600190039350838152602001908152602001600020549050612632565b809250505061269b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060076000612773612a4c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612820612a4c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128659190612fc3565b60405180910390a35050565b61287c848484610c6e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128de576128a784848484612c21565b6128dd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600060016128f384612d71565b01905060008167ffffffffffffffff81111561291257612911613317565b5b6040519080825280601f01601f1916602001820160405280156129445781602001600182028036833780820191505090505b509050600082602001820190505b6001156129a7578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161299b5761299a61436d565b5b04945060008503612952575b819350505050919050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a0d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a3d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612adc868684612ec4565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008082905060005b8451811015612b6957612b5482868381518110612b4757612b466143cd565b5b6020026020010151612ecd565b91508080612b6190613ff0565b915050612b27565b508091505092915050565b60006001821460e11b9050919050565b612b8e83836123af565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612c1c57600080549050600083820390505b612bce6000868380600101945086612c21565b612c04576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612bbb578160005414612c1957600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c47612a4c565b8786866040518563ffffffff1660e01b8152600401612c699493929190614451565b6020604051808303816000875af1925050508015612ca557506040513d601f19601f82011682018060405250810190612ca291906144b2565b60015b612d1e573d8060008114612cd5576040519150601f19603f3d011682016040523d82523d6000602084013e612cda565b606091505b506000815103612d16576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612dcf577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612dc557612dc461436d565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612e0c576d04ee2d6d415b85acef81000000008381612e0257612e0161436d565b5b0492506020810190505b662386f26fc100008310612e3b57662386f26fc100008381612e3157612e3061436d565b5b0492506010810190505b6305f5e1008310612e64576305f5e1008381612e5a57612e5961436d565b5b0492506008810190505b6127108310612e89576127108381612e7f57612e7e61436d565b5b0492506004810190505b60648310612eac5760648381612ea257612ea161436d565b5b0492506002810190505b600a8310612ebb576001810190505b80915050919050565b60009392505050565b6000818310612ee557612ee08284612ef8565b612ef0565b612eef8383612ef8565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f5881612f23565b8114612f6357600080fd5b50565b600081359050612f7581612f4f565b92915050565b600060208284031215612f9157612f90612f19565b5b6000612f9f84828501612f66565b91505092915050565b60008115159050919050565b612fbd81612fa8565b82525050565b6000602082019050612fd86000830184612fb4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061300982612fde565b9050919050565b61301981612ffe565b811461302457600080fd5b50565b60008135905061303681613010565b92915050565b60006020828403121561305257613051612f19565b5b600061306084828501613027565b91505092915050565b6000819050919050565b61307c81613069565b82525050565b60006020820190506130976000830184613073565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130c2576130c161309d565b5b8235905067ffffffffffffffff8111156130df576130de6130a2565b5b6020830191508360018202830111156130fb576130fa6130a7565b5b9250929050565b6000806020838503121561311957613118612f19565b5b600083013567ffffffffffffffff81111561313757613136612f1e565b5b613143858286016130ac565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561318957808201518184015260208101905061316e565b60008484015250505050565b6000601f19601f8301169050919050565b60006131b18261314f565b6131bb818561315a565b93506131cb81856020860161316b565b6131d481613195565b840191505092915050565b600060208201905081810360008301526131f981846131a6565b905092915050565b61320a81613069565b811461321557600080fd5b50565b60008135905061322781613201565b92915050565b60006020828403121561324357613242612f19565b5b600061325184828501613218565b91505092915050565b61326381612ffe565b82525050565b600060208201905061327e600083018461325a565b92915050565b6000806040838503121561329b5761329a612f19565b5b60006132a985828601613027565b92505060206132ba85828601613218565b9150509250929050565b6000806000606084860312156132dd576132dc612f19565b5b60006132eb86828701613027565b93505060206132fc86828701613027565b925050604061330d86828701613218565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61334f82613195565b810181811067ffffffffffffffff8211171561336e5761336d613317565b5b80604052505050565b6000613381612f0f565b905061338d8282613346565b919050565b600067ffffffffffffffff8211156133ad576133ac613317565b5b602082029050602081019050919050565b6000819050919050565b6133d1816133be565b81146133dc57600080fd5b50565b6000813590506133ee816133c8565b92915050565b600061340761340284613392565b613377565b9050808382526020820190506020840283018581111561342a576134296130a7565b5b835b81811015613453578061343f88826133df565b84526020840193505060208101905061342c565b5050509392505050565b600082601f8301126134725761347161309d565b5b81356134828482602086016133f4565b91505092915050565b600080604083850312156134a2576134a1612f19565b5b600083013567ffffffffffffffff8111156134c0576134bf612f1e565b5b6134cc8582860161345d565b92505060206134dd85828601613218565b9150509250929050565b600080604083850312156134fe576134fd612f19565b5b600061350c85828601613218565b925050602061351d85828601613218565b9150509250929050565b600060408201905061353c600083018561325a565b6135496020830184613073565b9392505050565b6000819050919050565b600061357561357061356b84612fde565b613550565b612fde565b9050919050565b60006135878261355a565b9050919050565b60006135998261357c565b9050919050565b6135a98161358e565b82525050565b60006020820190506135c460008301846135a0565b92915050565b6135d3816133be565b82525050565b60006020820190506135ee60008301846135ca565b92915050565b60006020828403121561360a57613609612f19565b5b6000613618848285016133df565b91505092915050565b61362a81612fa8565b811461363557600080fd5b50565b60008135905061364781613621565b92915050565b6000806040838503121561366457613663612f19565b5b600061367285828601613027565b925050602061368385828601613638565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156136ad576136ac613317565b5b6136b682613195565b9050602081019050919050565b82818337600083830152505050565b60006136e56136e084613692565b613377565b9050828152602081018484840111156137015761370061368d565b5b61370c8482856136c3565b509392505050565b600082601f8301126137295761372861309d565b5b81356137398482602086016136d2565b91505092915050565b6000806000806080858703121561375c5761375b612f19565b5b600061376a87828801613027565b945050602061377b87828801613027565b935050604061378c87828801613218565b925050606085013567ffffffffffffffff8111156137ad576137ac612f1e565b5b6137b987828801613714565b91505092959194509250565b600080604083850312156137dc576137db612f19565b5b60006137ea85828601613027565b92505060206137fb85828601613027565b9150509250929050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061385757607f821691505b60208210810361386a57613869613810565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138d27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613895565b6138dc8683613895565b95508019841693508086168417925050509392505050565b600061390f61390a61390584613069565b613550565b613069565b9050919050565b6000819050919050565b613929836138f4565b61393d61393582613916565b8484546138a2565b825550505050565b600090565b613952613945565b61395d818484613920565b505050565b5b818110156139815761397660008261394a565b600181019050613963565b5050565b601f8211156139c65761399781613870565b6139a084613885565b810160208510156139af578190505b6139c36139bb85613885565b830182613962565b50505b505050565b600082821c905092915050565b60006139e9600019846008026139cb565b1980831691505092915050565b6000613a0283836139d8565b9150826002028217905092915050565b613a1c8383613805565b67ffffffffffffffff811115613a3557613a34613317565b5b613a3f825461383f565b613a4a828285613985565b6000601f831160018114613a795760008415613a67578287013590505b613a7185826139f6565b865550613ad9565b601f198416613a8786613870565b60005b82811015613aaf57848901358255600182019150602085019450602081019050613a8a565b86831015613acc5784890135613ac8601f8916826139d8565b8355505b6001600288020188555050505b50505050505050565b7f546f6f6e43697479203a3a2043616e6e6f742062652063616c6c65642062792060008201527f6120636f6e747261637400000000000000000000000000000000000000000000602082015250565b6000613b3e602a8361315a565b9150613b4982613ae2565b604082019050919050565b60006020820190508181036000830152613b6d81613b31565b9050919050565b7f546f6f6e43697479203a3a204d696e74696e67206973206f6e20506175736500600082015250565b6000613baa601f8361315a565b9150613bb582613b74565b602082019050919050565b60006020820190508181036000830152613bd981613b9d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c1a82613069565b9150613c2583613069565b9250828201905080821115613c3d57613c3c613be0565b5b92915050565b7f546f6f6e43697479203a3a2057484954454c49535420534f4c444f5554000000600082015250565b6000613c79601d8361315a565b9150613c8482613c43565b602082019050919050565b60006020820190508181036000830152613ca881613c6c565b9050919050565b7f546f6f6e43697479203a3a204d696e74696e672074686973206d616e7920776f60008201527f756c642070757420796f75206f76657220313321000000000000000000000000602082015250565b6000613d0b60348361315a565b9150613d1682613caf565b604082019050919050565b60006020820190508181036000830152613d3a81613cfe565b9050919050565b6000613d4c82613069565b9150613d5783613069565b9250828202613d6581613069565b91508282048414831517613d7c57613d7b613be0565b5b5092915050565b6000613d8e82613069565b9150613d9983613069565b9250828203905081811115613db157613db0613be0565b5b92915050565b7f546f6f6e43697479203a3a20706179206d6f726520666f6f6c00000000000000600082015250565b6000613ded60198361315a565b9150613df882613db7565b602082019050919050565b60006020820190508181036000830152613e1c81613de0565b9050919050565b60008160601b9050919050565b6000613e3b82613e23565b9050919050565b6000613e4d82613e30565b9050919050565b613e65613e6082612ffe565b613e42565b82525050565b6000613e778284613e54565b60148201915081905092915050565b7f546f6f6e43697479203a3a20596f7520617265206e6f742077686974656c697360008201527f7465640000000000000000000000000000000000000000000000000000000000602082015250565b6000613ee260238361315a565b9150613eed82613e86565b604082019050919050565b60006020820190508181036000830152613f1181613ed5565b9050919050565b7f546f6f6e43697479203a3a205055424c494320534f4c444f5554000000000000600082015250565b6000613f4e601a8361315a565b9150613f5982613f18565b602082019050919050565b60006020820190508181036000830152613f7d81613f41565b9050919050565b7f546f6f6e43697479203a3a204e6f7420596574204163746976652e0000000000600082015250565b6000613fba601b8361315a565b9150613fc582613f84565b602082019050919050565b60006020820190508181036000830152613fe981613fad565b9050919050565b6000613ffb82613069565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361402d5761402c613be0565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614094602f8361315a565b915061409f82614038565b604082019050919050565b600060208201905081810360008301526140c381614087565b9050919050565b600081905092915050565b600081546140e28161383f565b6140ec81866140ca565b94506001821660008114614107576001811461411c5761414f565b60ff198316865281151582028601935061414f565b61412585613870565b60005b8381101561414757815481890152600182019150602081019050614128565b838801955050505b50505092915050565b60006141638261314f565b61416d81856140ca565b935061417d81856020860161316b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006141bf6005836140ca565b91506141ca82614189565b600582019050919050565b60006141e182856140d5565b91506141ed8284614158565b91506141f8826141b2565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061426060268361315a565b915061426b82614204565b604082019050919050565b6000602082019050818103600083015261428f81614253565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142cc60208361315a565b91506142d782614296565b602082019050919050565b600060208201905081810360008301526142fb816142bf565b9050919050565b6000604082019050614317600083018561325a565b614324602083018461325a565b9392505050565b60008151905061433a81613621565b92915050565b60006020828403121561435657614355612f19565b5b60006143648482850161432b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143a782613069565b91506143b283613069565b9250826143c2576143c161436d565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614423826143fc565b61442d8185614407565b935061443d81856020860161316b565b61444681613195565b840191505092915050565b6000608082019050614466600083018761325a565b614473602083018661325a565b6144806040830185613073565b81810360608301526144928184614418565b905095945050505050565b6000815190506144ac81612f4f565b92915050565b6000602082840312156144c8576144c7612f19565b5b60006144d68482850161449d565b9150509291505056fea2646970667358221220c84779a992f0058c7505f46b8134afc77de296e7e3ca06ac1aa29a91cd7ae5b164736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102885760003560e01c80636352211e1161015a578063a0712d68116100c1578063e222c7f91161007a578063e222c7f91461096d578063e985e9c514610984578063f0292a03146109c1578063f2fde38b146109ec578063f4a0a52814610a15578063fa04703114610a3e57610288565b8063a0712d681461087b578063a22cb46514610897578063b0962c53146108c0578063b88d4fde146108e9578063c56acc8f14610905578063c87b56dd1461093057610288565b80638456cb59116101135780638456cb591461078d57806386a173ee146107b85780638bb64a8c146107e35780638d859f3e146107fa5780638da5cb5b1461082557806395d89b411461085057610288565b80636352211e1461066d5780636f8b44b0146106aa57806370a08231146106d3578063715018a61461071057806373b2e80e146107275780637cb647591461076457610288565b80632904e6d9116101fe57806341f43434116101b757806341f434341461058e57806342842e0e146105b957806349590657146105d55780634cf5f7a41461060057806354214f691461062b5780635b8ad4291461065657610288565b80632904e6d91461049e5780632a55205a146104ba5780632fbba115146104f857806332cb6b0c1461052157806333bc1c5c1461054c5780633ccfd60b1461057757610288565b806306fdde031161025057806306fdde0314610396578063081812fc146103c1578063095ea7b3146103fe57806318160ddd1461041a5780631c16521c1461044557806323b872dd1461048257610288565b806301ffc9a71461028d57806303155202146102ca5780630345e3cb14610307578063060d6e5e146103445780630675b7c61461036d575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190612f7b565b610a69565b6040516102c19190612fc3565b60405180910390f35b3480156102d657600080fd5b506102f160048036038101906102ec919061303c565b610a7b565b6040516102fe9190613082565b60405180910390f35b34801561031357600080fd5b5061032e6004803603810190610329919061303c565b610a93565b60405161033b9190613082565b60405180910390f35b34801561035057600080fd5b5061036b6004803603810190610366919061303c565b610aab565b005b34801561037957600080fd5b50610394600480360381019061038f9190613102565b610af7565b005b3480156103a257600080fd5b506103ab610b15565b6040516103b891906131df565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e3919061322d565b610ba7565b6040516103f59190613269565b60405180910390f35b61041860048036038101906104139190613284565b610c26565b005b34801561042657600080fd5b5061042f610c3f565b60405161043c9190613082565b60405180910390f35b34801561045157600080fd5b5061046c6004803603810190610467919061303c565b610c56565b6040516104799190613082565b60405180910390f35b61049c600480360381019061049791906132c4565b610c6e565b005b6104b860048036038101906104b3919061348b565b610cbd565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906134e7565b611096565b6040516104ef929190613527565b60405180910390f35b34801561050457600080fd5b5061051f600480360381019061051a919061322d565b611126565b005b34801561052d57600080fd5b50610536611192565b6040516105439190613082565b60405180910390f35b34801561055857600080fd5b50610561611198565b60405161056e9190612fc3565b60405180910390f35b34801561058357600080fd5b5061058c6111ab565b005b34801561059a57600080fd5b506105a36111fc565b6040516105b091906135af565b60405180910390f35b6105d360048036038101906105ce91906132c4565b61120e565b005b3480156105e157600080fd5b506105ea61125d565b6040516105f791906135d9565b60405180910390f35b34801561060c57600080fd5b50610615611267565b60405161062291906131df565b60405180910390f35b34801561063757600080fd5b506106406112f5565b60405161064d9190612fc3565b60405180910390f35b34801561066257600080fd5b5061066b611308565b005b34801561067957600080fd5b50610694600480360381019061068f919061322d565b61133c565b6040516106a19190613269565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc919061322d565b61134e565b005b3480156106df57600080fd5b506106fa60048036038101906106f5919061303c565b611360565b6040516107079190613082565b60405180910390f35b34801561071c57600080fd5b50610725611418565b005b34801561073357600080fd5b5061074e6004803603810190610749919061303c565b61142c565b60405161075b9190612fc3565b60405180910390f35b34801561077057600080fd5b5061078b600480360381019061078691906135f4565b61144c565b005b34801561079957600080fd5b506107a261145e565b6040516107af9190612fc3565b60405180910390f35b3480156107c457600080fd5b506107cd611471565b6040516107da9190612fc3565b60405180910390f35b3480156107ef57600080fd5b506107f8611484565b005b34801561080657600080fd5b5061080f6114b8565b60405161081c9190613082565b60405180910390f35b34801561083157600080fd5b5061083a6114be565b6040516108479190613269565b60405180910390f35b34801561085c57600080fd5b506108656114e8565b60405161087291906131df565b60405180910390f35b6108956004803603810190610890919061322d565b61157a565b005b3480156108a357600080fd5b506108be60048036038101906108b9919061364d565b611890565b005b3480156108cc57600080fd5b506108e760048036038101906108e29190613102565b6118a9565b005b61090360048036038101906108fe9190613742565b6118c7565b005b34801561091157600080fd5b5061091a611918565b6040516109279190613082565b60405180910390f35b34801561093c57600080fd5b506109576004803603810190610952919061322d565b61191e565b60405161096491906131df565b60405180910390f35b34801561097957600080fd5b50610982611a80565b005b34801561099057600080fd5b506109ab60048036038101906109a691906137c5565b611ab4565b6040516109b89190612fc3565b60405180910390f35b3480156109cd57600080fd5b506109d6611b48565b6040516109e39190613082565b60405180910390f35b3480156109f857600080fd5b50610a136004803603810190610a0e919061303c565b611b4e565b005b348015610a2157600080fd5b50610a3c6004803603810190610a37919061322d565b611bd1565b005b348015610a4a57600080fd5b50610a53611be3565b604051610a609190613269565b60405180910390f35b6000610a7482611c09565b9050919050565b600e6020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b610ab3611d53565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610aff611d53565b8181600f9182610b10929190613a12565b505050565b606060028054610b249061383f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b509061383f565b8015610b9d5780601f10610b7257610100808354040283529160200191610b9d565b820191906000526020600020905b815481529060010190602001808311610b8057829003601f168201915b5050505050905090565b6000610bb282611dd1565b610be8576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610c3081611e30565b610c3a8383611f2d565b505050565b6000610c49612071565b6001546000540303905090565b60146020528060005260406000206000915090505481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cac57610cab33611e30565b5b610cb7848484612076565b50505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2290613b54565b60405180910390fd5b601260029054906101000a900460ff16610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190613bc0565b60405180910390fd5b600a5481610d86610c3f565b610d909190613c0f565b10610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790613c8f565b60405180910390fd5b600b5481601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e1e9190613c0f565b1115610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5690613d21565b60405180910390fd5b600081600c54610e6f9190613d41565b90506002600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610f2057600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600283610f069190613d83565b610f109190613c0f565b600c54610f1d9190613d41565b90505b80341015610f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5a90613e03565b60405180910390fd5b600033604051602001610f769190613e6b565b604051602081830303815290604052805190602001209050610f9b8460135483612398565b610fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd190613ef8565b60405180910390fd5b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110299190613c0f565b9250508190555082600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461107f9190613c0f565b9250508190555061109033846123af565b50505050565b6000806110a284611dd1565b6110e357836040517fc927e5bf0000000000000000000000000000000000000000000000000000000081526004016110da9190613082565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661111b61111485600561256a565b6064612580565b915091509250929050565b61112e611d53565b6009548161113a610c3f565b6111449190613c0f565b1115611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c90613f64565b60405180910390fd5b61118f3382612596565b50565b60095481565b601260019054906101000a900460ff1681565b6111b3611d53565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156111f9573d6000803e3d6000fd5b50565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461124c5761124b33611e30565b5b6112578484846125b4565b50505050565b6000601354905090565b601080546112749061383f565b80601f01602080910402602001604051908101604052809291908181526020018280546112a09061383f565b80156112ed5780601f106112c2576101008083540402835291602001916112ed565b820191906000526020600020905b8154815290600101906020018083116112d057829003601f168201915b505050505081565b601260009054906101000a900460ff1681565b611310611d53565b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b6000611347826125d4565b9050919050565b611356611d53565b8060098190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113c7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611420611d53565b61142a60006126a0565b565b60116020528060005260406000206000915054906101000a900460ff1681565b611454611d53565b8060138190555050565b601260039054906101000a900460ff1681565b601260029054906101000a900460ff1681565b61148c611d53565b601260029054906101000a900460ff1615601260026101000a81548160ff021916908315150217905550565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546114f79061383f565b80601f01602080910402602001604051908101604052809291908181526020018280546115239061383f565b80156115705780601f1061154557610100808354040283529160200191611570565b820191906000526020600020905b81548152906001019060200180831161155357829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df90613b54565b60405180910390fd5b601260019054906101000a900460ff16611637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162e90613fd0565b60405180910390fd5b60095481611643610c3f565b61164d9190613c0f565b111561168e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168590613f64565b60405180910390fd5b600b5481601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116dc9190613c0f565b111561171d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171490613d21565b60405180910390fd5b600081600c5461172d9190613d41565b90506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015611794576001826117849190613d83565b600c546117919190613d41565b90505b803410156117d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ce90613e03565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118269190613c0f565b92505081905550600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061187d90613ff0565b919050555061188c33836123af565b5050565b8161189a81611e30565b6118a48383612766565b505050565b6118b1611d53565b8181601091826118c2929190613a12565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119055761190433611e30565b5b61191185858585612871565b5050505050565b600a5481565b606061192982611dd1565b611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f906140aa565b60405180910390fd5b60006001836119779190613c0f565b9050601260009054906101000a900460ff16611a20576010805461199a9061383f565b80601f01602080910402602001604051908101604052809291908181526020018280546119c69061383f565b8015611a135780601f106119e857610100808354040283529160200191611a13565b820191906000526020600020905b8154815290600101906020018083116119f657829003601f168201915b5050505050915050611a7b565b6000600f8054611a2f9061383f565b905011611a4b5760405180602001604052806000815250611a77565b600f611a56826128e4565b604051602001611a679291906141d5565b6040516020818303038152906040525b9150505b919050565b611a88611d53565b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b611b56611d53565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbc90614276565b60405180910390fd5b611bce816126a0565b50565b611bd9611d53565b80600c8190555050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cd457507f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d3c57507f0e083076000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d4c5750611d4b826129b2565b5b9050919050565b611d5b612a44565b73ffffffffffffffffffffffffffffffffffffffff16611d796114be565b73ffffffffffffffffffffffffffffffffffffffff1614611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc6906142e2565b60405180910390fd5b565b600081611ddc612071565b11158015611deb575060005482105b8015611e29575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611f2a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611ea7929190614302565b602060405180830381865afa158015611ec4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ee89190614340565b611f2957806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611f209190613269565b60405180910390fd5b5b50565b6000611f388261133c565b90508073ffffffffffffffffffffffffffffffffffffffff16611f59612a4c565b73ffffffffffffffffffffffffffffffffffffffff1614611fbc57611f8581611f80612a4c565b611ab4565b611fbb576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000612081826125d4565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146120e8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806120f484612a54565b9150915061210a8187612105612a4c565b612a7b565b6121565761211f8661211a612a4c565b611ab4565b612155576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036121bc576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121c98686866001612abf565b80156121d457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506122a28561227e888887612ac5565b7c020000000000000000000000000000000000000000000000000000000017612aed565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036123285760006001850190506000600460008381526020019081526020016000205403612326576000548114612325578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123908686866001612b18565b505050505050565b6000826123a58584612b1e565b1490509392505050565b600080549050600082036123ef576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123fc6000848385612abf565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612473836124646000866000612ac5565b61246d85612b74565b17612aed565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461251457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506124d9565b506000820361254f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506125656000848385612b18565b505050565b600081836125789190613d41565b905092915050565b6000818361258e919061439c565b905092915050565b6125b0828260405180602001604052806000815250612b84565b5050565b6125cf838383604051806020016040528060008152506118c7565b505050565b600080829050806125e3612071565b11612669576000548110156126685760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612666575b6000810361265c576004600083600190039350838152602001908152602001600020549050612632565b809250505061269b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060076000612773612a4c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612820612a4c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128659190612fc3565b60405180910390a35050565b61287c848484610c6e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128de576128a784848484612c21565b6128dd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060600060016128f384612d71565b01905060008167ffffffffffffffff81111561291257612911613317565b5b6040519080825280601f01601f1916602001820160405280156129445781602001600182028036833780820191505090505b509050600082602001820190505b6001156129a7578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161299b5761299a61436d565b5b04945060008503612952575b819350505050919050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a0d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a3d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612adc868684612ec4565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008082905060005b8451811015612b6957612b5482868381518110612b4757612b466143cd565b5b6020026020010151612ecd565b91508080612b6190613ff0565b915050612b27565b508091505092915050565b60006001821460e11b9050919050565b612b8e83836123af565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612c1c57600080549050600083820390505b612bce6000868380600101945086612c21565b612c04576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612bbb578160005414612c1957600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c47612a4c565b8786866040518563ffffffff1660e01b8152600401612c699493929190614451565b6020604051808303816000875af1925050508015612ca557506040513d601f19601f82011682018060405250810190612ca291906144b2565b60015b612d1e573d8060008114612cd5576040519150601f19603f3d011682016040523d82523d6000602084013e612cda565b606091505b506000815103612d16576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612dcf577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612dc557612dc461436d565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612e0c576d04ee2d6d415b85acef81000000008381612e0257612e0161436d565b5b0492506020810190505b662386f26fc100008310612e3b57662386f26fc100008381612e3157612e3061436d565b5b0492506010810190505b6305f5e1008310612e64576305f5e1008381612e5a57612e5961436d565b5b0492506008810190505b6127108310612e89576127108381612e7f57612e7e61436d565b5b0492506004810190505b60648310612eac5760648381612ea257612ea161436d565b5b0492506002810190505b600a8310612ebb576001810190505b80915050919050565b60009392505050565b6000818310612ee557612ee08284612ef8565b612ef0565b612eef8383612ef8565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f5881612f23565b8114612f6357600080fd5b50565b600081359050612f7581612f4f565b92915050565b600060208284031215612f9157612f90612f19565b5b6000612f9f84828501612f66565b91505092915050565b60008115159050919050565b612fbd81612fa8565b82525050565b6000602082019050612fd86000830184612fb4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061300982612fde565b9050919050565b61301981612ffe565b811461302457600080fd5b50565b60008135905061303681613010565b92915050565b60006020828403121561305257613051612f19565b5b600061306084828501613027565b91505092915050565b6000819050919050565b61307c81613069565b82525050565b60006020820190506130976000830184613073565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126130c2576130c161309d565b5b8235905067ffffffffffffffff8111156130df576130de6130a2565b5b6020830191508360018202830111156130fb576130fa6130a7565b5b9250929050565b6000806020838503121561311957613118612f19565b5b600083013567ffffffffffffffff81111561313757613136612f1e565b5b613143858286016130ac565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561318957808201518184015260208101905061316e565b60008484015250505050565b6000601f19601f8301169050919050565b60006131b18261314f565b6131bb818561315a565b93506131cb81856020860161316b565b6131d481613195565b840191505092915050565b600060208201905081810360008301526131f981846131a6565b905092915050565b61320a81613069565b811461321557600080fd5b50565b60008135905061322781613201565b92915050565b60006020828403121561324357613242612f19565b5b600061325184828501613218565b91505092915050565b61326381612ffe565b82525050565b600060208201905061327e600083018461325a565b92915050565b6000806040838503121561329b5761329a612f19565b5b60006132a985828601613027565b92505060206132ba85828601613218565b9150509250929050565b6000806000606084860312156132dd576132dc612f19565b5b60006132eb86828701613027565b93505060206132fc86828701613027565b925050604061330d86828701613218565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61334f82613195565b810181811067ffffffffffffffff8211171561336e5761336d613317565b5b80604052505050565b6000613381612f0f565b905061338d8282613346565b919050565b600067ffffffffffffffff8211156133ad576133ac613317565b5b602082029050602081019050919050565b6000819050919050565b6133d1816133be565b81146133dc57600080fd5b50565b6000813590506133ee816133c8565b92915050565b600061340761340284613392565b613377565b9050808382526020820190506020840283018581111561342a576134296130a7565b5b835b81811015613453578061343f88826133df565b84526020840193505060208101905061342c565b5050509392505050565b600082601f8301126134725761347161309d565b5b81356134828482602086016133f4565b91505092915050565b600080604083850312156134a2576134a1612f19565b5b600083013567ffffffffffffffff8111156134c0576134bf612f1e565b5b6134cc8582860161345d565b92505060206134dd85828601613218565b9150509250929050565b600080604083850312156134fe576134fd612f19565b5b600061350c85828601613218565b925050602061351d85828601613218565b9150509250929050565b600060408201905061353c600083018561325a565b6135496020830184613073565b9392505050565b6000819050919050565b600061357561357061356b84612fde565b613550565b612fde565b9050919050565b60006135878261355a565b9050919050565b60006135998261357c565b9050919050565b6135a98161358e565b82525050565b60006020820190506135c460008301846135a0565b92915050565b6135d3816133be565b82525050565b60006020820190506135ee60008301846135ca565b92915050565b60006020828403121561360a57613609612f19565b5b6000613618848285016133df565b91505092915050565b61362a81612fa8565b811461363557600080fd5b50565b60008135905061364781613621565b92915050565b6000806040838503121561366457613663612f19565b5b600061367285828601613027565b925050602061368385828601613638565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156136ad576136ac613317565b5b6136b682613195565b9050602081019050919050565b82818337600083830152505050565b60006136e56136e084613692565b613377565b9050828152602081018484840111156137015761370061368d565b5b61370c8482856136c3565b509392505050565b600082601f8301126137295761372861309d565b5b81356137398482602086016136d2565b91505092915050565b6000806000806080858703121561375c5761375b612f19565b5b600061376a87828801613027565b945050602061377b87828801613027565b935050604061378c87828801613218565b925050606085013567ffffffffffffffff8111156137ad576137ac612f1e565b5b6137b987828801613714565b91505092959194509250565b600080604083850312156137dc576137db612f19565b5b60006137ea85828601613027565b92505060206137fb85828601613027565b9150509250929050565b600082905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061385757607f821691505b60208210810361386a57613869613810565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138d27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613895565b6138dc8683613895565b95508019841693508086168417925050509392505050565b600061390f61390a61390584613069565b613550565b613069565b9050919050565b6000819050919050565b613929836138f4565b61393d61393582613916565b8484546138a2565b825550505050565b600090565b613952613945565b61395d818484613920565b505050565b5b818110156139815761397660008261394a565b600181019050613963565b5050565b601f8211156139c65761399781613870565b6139a084613885565b810160208510156139af578190505b6139c36139bb85613885565b830182613962565b50505b505050565b600082821c905092915050565b60006139e9600019846008026139cb565b1980831691505092915050565b6000613a0283836139d8565b9150826002028217905092915050565b613a1c8383613805565b67ffffffffffffffff811115613a3557613a34613317565b5b613a3f825461383f565b613a4a828285613985565b6000601f831160018114613a795760008415613a67578287013590505b613a7185826139f6565b865550613ad9565b601f198416613a8786613870565b60005b82811015613aaf57848901358255600182019150602085019450602081019050613a8a565b86831015613acc5784890135613ac8601f8916826139d8565b8355505b6001600288020188555050505b50505050505050565b7f546f6f6e43697479203a3a2043616e6e6f742062652063616c6c65642062792060008201527f6120636f6e747261637400000000000000000000000000000000000000000000602082015250565b6000613b3e602a8361315a565b9150613b4982613ae2565b604082019050919050565b60006020820190508181036000830152613b6d81613b31565b9050919050565b7f546f6f6e43697479203a3a204d696e74696e67206973206f6e20506175736500600082015250565b6000613baa601f8361315a565b9150613bb582613b74565b602082019050919050565b60006020820190508181036000830152613bd981613b9d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c1a82613069565b9150613c2583613069565b9250828201905080821115613c3d57613c3c613be0565b5b92915050565b7f546f6f6e43697479203a3a2057484954454c49535420534f4c444f5554000000600082015250565b6000613c79601d8361315a565b9150613c8482613c43565b602082019050919050565b60006020820190508181036000830152613ca881613c6c565b9050919050565b7f546f6f6e43697479203a3a204d696e74696e672074686973206d616e7920776f60008201527f756c642070757420796f75206f76657220313321000000000000000000000000602082015250565b6000613d0b60348361315a565b9150613d1682613caf565b604082019050919050565b60006020820190508181036000830152613d3a81613cfe565b9050919050565b6000613d4c82613069565b9150613d5783613069565b9250828202613d6581613069565b91508282048414831517613d7c57613d7b613be0565b5b5092915050565b6000613d8e82613069565b9150613d9983613069565b9250828203905081811115613db157613db0613be0565b5b92915050565b7f546f6f6e43697479203a3a20706179206d6f726520666f6f6c00000000000000600082015250565b6000613ded60198361315a565b9150613df882613db7565b602082019050919050565b60006020820190508181036000830152613e1c81613de0565b9050919050565b60008160601b9050919050565b6000613e3b82613e23565b9050919050565b6000613e4d82613e30565b9050919050565b613e65613e6082612ffe565b613e42565b82525050565b6000613e778284613e54565b60148201915081905092915050565b7f546f6f6e43697479203a3a20596f7520617265206e6f742077686974656c697360008201527f7465640000000000000000000000000000000000000000000000000000000000602082015250565b6000613ee260238361315a565b9150613eed82613e86565b604082019050919050565b60006020820190508181036000830152613f1181613ed5565b9050919050565b7f546f6f6e43697479203a3a205055424c494320534f4c444f5554000000000000600082015250565b6000613f4e601a8361315a565b9150613f5982613f18565b602082019050919050565b60006020820190508181036000830152613f7d81613f41565b9050919050565b7f546f6f6e43697479203a3a204e6f7420596574204163746976652e0000000000600082015250565b6000613fba601b8361315a565b9150613fc582613f84565b602082019050919050565b60006020820190508181036000830152613fe981613fad565b9050919050565b6000613ffb82613069565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361402d5761402c613be0565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614094602f8361315a565b915061409f82614038565b604082019050919050565b600060208201905081810360008301526140c381614087565b9050919050565b600081905092915050565b600081546140e28161383f565b6140ec81866140ca565b94506001821660008114614107576001811461411c5761414f565b60ff198316865281151582028601935061414f565b61412585613870565b60005b8381101561414757815481890152600182019150602081019050614128565b838801955050505b50505092915050565b60006141638261314f565b61416d81856140ca565b935061417d81856020860161316b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006141bf6005836140ca565b91506141ca82614189565b600582019050919050565b60006141e182856140d5565b91506141ed8284614158565b91506141f8826141b2565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061426060268361315a565b915061426b82614204565b604082019050919050565b6000602082019050818103600083015261428f81614253565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142cc60208361315a565b91506142d782614296565b602082019050919050565b600060208201905081810360008301526142fb816142bf565b9050919050565b6000604082019050614317600083018561325a565b614324602083018461325a565b9392505050565b60008151905061433a81613621565b92915050565b60006020828403121561435657614355612f19565b5b60006143648482850161432b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143a782613069565b91506143b283613069565b9250826143c2576143c161436d565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614423826143fc565b61442d8185614407565b935061443d81856020860161316b565b61444681613195565b840191505092915050565b6000608082019050614466600083018761325a565b614473602083018661325a565b6144806040830185613073565b81810360608301526144928184614418565b905095945050505050565b6000815190506144ac81612f4f565b92915050565b6000602082840312156144c8576144c7612f19565b5b60006144d68482850161449d565b9150509291505056fea2646970667358221220c84779a992f0058c7505f46b8134afc77de296e7e3ca06ac1aa29a91cd7ae5b164736f6c63430008110033
Deployed Bytecode Sourcemap
106744:6602:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111858:158;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107091:49;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107487:53;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110740:94;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;110234:117;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;74535:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;81026:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112567:165;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;70286:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107430:50;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112740:171;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;108452:1005;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;111493:357;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;110032:194;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;106904:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107306:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;111353:108;;;;;;;;;;;;;:::i;:::-;;31803:143;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;112919:179;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;111251:92;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107183:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107277:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;111045:85;;;;;;;;;;;;;:::i;:::-;;75928:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110359:104;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;71470:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54412:103;;;;;;;;;;;;;:::i;:::-;;107226:42;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;111138:105;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;107367:17;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107335:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110842:98;;;;;;;;;;;;;:::i;:::-;;107020:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53764:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;74711:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107745:699;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;112383:176;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;110475:144;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;113106:237;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;106943:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;109588:436;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;110948:89;;;;;;;;;;;;;:::i;:::-;;81975:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106985:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54670:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;110631:100;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;107060:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;111858:158;111953:4;111977:31;111996:11;111977:18;:31::i;:::-;111970:38;;111858:158;;;:::o;107091:49::-;;;;;;;;;;;;;;;;;:::o;107487:53::-;;;;;;;;;;;;;;;;;:::o;110740:94::-;53650:13;:11;:13::i;:::-;110818:8:::1;110808:7;;:18;;;;;;;;;;;;;;;;;;110740:94:::0;:::o;110234:117::-;53650:13;:11;:13::i;:::-;110330::::1;;110315:12;:28;;;;;;;:::i;:::-;;110234:117:::0;;:::o;74535:100::-;74589:13;74622:5;74615:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74535:100;:::o;81026:218::-;81102:7;81127:16;81135:7;81127;:16::i;:::-;81122:64;;81152:34;;;;;;;;;;;;;;81122:64;81206:15;:24;81222:7;81206:24;;;;;;;;;;;:30;;;;;;;;;;;;81199:37;;81026:218;;;:::o;112567:165::-;112671:8;33585:30;33606:8;33585:20;:30::i;:::-;112692:32:::1;112706:8;112716:7;112692:13;:32::i;:::-;112567:165:::0;;;:::o;70286:323::-;70347:7;70575:15;:13;:15::i;:::-;70560:12;;70544:13;;:28;:46;70537:53;;70286:323;:::o;107430:50::-;;;;;;;;;;;;;;;;;:::o;112740:171::-;112849:4;33319:10;33311:18;;:4;:18;;;33307:83;;33346:32;33367:10;33346:20;:32::i;:::-;33307:83;112866:37:::1;112885:4;112891:2;112895:7;112866:18;:37::i;:::-;112740:171:::0;;;;:::o;108452:1005::-;107660:10;107647:23;;:9;:23;;;107639:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;108574:13:::1;;;;;;;;;;;108566:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;108672:13;;108659:9;108643:13;:11;:13::i;:::-;:25;;;;:::i;:::-;108642:43;108634:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;108786:8;;108772:9;108739:18;:30;108758:10;108739:30;;;;;;;;;;;;;;;;:42;;;;:::i;:::-;108738:56;;108730:121;;;;;;;;;;;;:::i;:::-;;;;;;;;;108864:12;108887:9;108879:5;;:17;;;;:::i;:::-;108864:32;;108940:1;108911:14;:26;108926:10;108911:26;;;;;;;;;;;;;;;;:30;108907:122;;;108990:14;:26;109005:10;108990:26;;;;;;;;;;;;;;;;108986:1;108974:9;:13;;;;:::i;:::-;:42;;;;:::i;:::-;108965:5;;:52;;;;:::i;:::-;108958:59;;108907:122;109062:4;109049:9;:17;;109041:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;109137:14;109181:10;109164:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;109154:39;;;;;;109137:56;;109212:52;109231:12;109245:10;;109257:6;109212:18;:52::i;:::-;109204:100;;;;;;;;;;;;:::i;:::-;;;;;;;;;109351:9;109317:18;:30;109336:10;109317:30;;;;;;;;;;;;;;;;:43;;;;;;;:::i;:::-;;;;;;;;109401:9;109371:14;:26;109386:10;109371:26;;;;;;;;;;;;;;;;:39;;;;;;;:::i;:::-;;;;;;;;109421:28;109427:10;109439:9;109421:5;:28::i;:::-;108555:902;;108452:1005:::0;;:::o;111493:357::-;111618:16;111636:21;111680:16;111688:7;111680;:16::i;:::-;111675:83;;111738:7;111720:26;;;;;;;;;;;:::i;:::-;;;;;;;;111675:83;111786:7;;;;;;;;;;;111796:45;111809:26;111822:9;111833:1;111809:12;:26::i;:::-;111837:3;111796:12;:45::i;:::-;111770:72;;;;111493:357;;;;;:::o;110032:194::-;53650:13;:11;:13::i;:::-;110135:10:::1;;110122:8;110106:13;:11;:13::i;:::-;:24;;;;:::i;:::-;110105:40;;110097:79;;;;;;;;;;;;:::i;:::-;;;;;;;;;110187:31;110197:10;110209:8;110187:9;:31::i;:::-;110032:194:::0;:::o;106904:32::-;;;;:::o;107306:22::-;;;;;;;;;;;;;:::o;111353:108::-;53650:13;:11;:13::i;:::-;111410:10:::1;111402:28;;:51;111431:21;111402:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;111353:108::o:0;31803:143::-;24219:42;31803:143;:::o;112919:179::-;113032:4;33319:10;33311:18;;:4;:18;;;33307:83;;33346:32;33367:10;33346:20;:32::i;:::-;33307:83;113049:41:::1;113072:4;113078:2;113082:7;113049:22;:41::i;:::-;112919:179:::0;;;;:::o;111251:92::-;111299:7;111325:10;;111318:17;;111251:92;:::o;107183:34::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;107277:22::-;;;;;;;;;;;;;:::o;111045:85::-;53650:13;:11;:13::i;:::-;111112:10:::1;;;;;;;;;;;111111:11;111098:10;;:24;;;;;;;;;;;;;;;;;;111045:85::o:0;75928:152::-;76000:7;76043:27;76062:7;76043:18;:27::i;:::-;76020:52;;75928:152;;;:::o;110359:104::-;53650:13;:11;:13::i;:::-;110444:11:::1;110431:10;:24;;;;110359:104:::0;:::o;71470:233::-;71542:7;71583:1;71566:19;;:5;:19;;;71562:60;;71594:28;;;;;;;;;;;;;;71562:60;65629:13;71640:18;:25;71659:5;71640:25;;;;;;;;;;;;;;;;:55;71633:62;;71470:233;;;:::o;54412:103::-;53650:13;:11;:13::i;:::-;54477:30:::1;54504:1;54477:18;:30::i;:::-;54412:103::o:0;107226:42::-;;;;;;;;;;;;;;;;;;;;;;:::o;111138:105::-;53650:13;:11;:13::i;:::-;111224:11:::1;111211:10;:24;;;;111138:105:::0;:::o;107367:17::-;;;;;;;;;;;;;:::o;107335:25::-;;;;;;;;;;;;;:::o;110842:98::-;53650:13;:11;:13::i;:::-;110919::::1;;;;;;;;;;;110918:14;110902:13;;:30;;;;;;;;;;;;;;;;;;110842:98::o:0;107020:33::-;;;;:::o;53764:87::-;53810:7;53837:6;;;;;;;;;;;53830:13;;53764:87;:::o;74711:104::-;74767:13;74800:7;74793:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74711:104;:::o;107745:699::-;107660:10;107647:23;;:9;:23;;;107639:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;107827:10:::1;;;;;;;;;;;107819:50;;;;;;;;;;;;:::i;:::-;;;;;;;;;107919:10;;107905:9;107889:13;:11;:13::i;:::-;:25;;;;:::i;:::-;107888:41;;107880:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;108024:8;;108010:9;107980:15;:27;107996:10;107980:27;;;;;;;;;;;;;;;;:39;;;;:::i;:::-;107979:53;;107971:118;;;;;;;;;;;;:::i;:::-;;;;;;;;;108102:12;108125:9;108117:5;;:17;;;;:::i;:::-;108102:32;;108178:1;108149:14;:26;108164:10;108149:26;;;;;;;;;;;;;;;;:30;108145:93;;;108224:1;108212:9;:13;;;;:::i;:::-;108203:5;;:23;;;;:::i;:::-;108196:30;;108145:93;108271:4;108258:9;:17;;108250:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;108349:9;108318:15;:27;108334:10;108318:27;;;;;;;;;;;;;;;;:40;;;;;;;:::i;:::-;;;;;;;;108369:14;:26;108384:10;108369:26;;;;;;;;;;;;;;;;:28;;;;;;;;;:::i;:::-;;;;;;108408;108414:10;108426:9;108408:5;:28::i;:::-;107808:636;107745:699:::0;:::o;112383:176::-;112487:8;33585:30;33606:8;33585:20;:30::i;:::-;112508:43:::1;112532:8;112542;112508:23;:43::i;:::-;112383:176:::0;;;:::o;110475:144::-;53650:13;:11;:13::i;:::-;110591:20:::1;;110569:19;:42;;;;;;;:::i;:::-;;110475:144:::0;;:::o;113106:237::-;113266:4;33319:10;33311:18;;:4;:18;;;33307:83;;33346:32;33367:10;33346:20;:32::i;:::-;33307:83;113288:47:::1;113311:4;113317:2;113321:7;113330:4;113288:22;:47::i;:::-;113106:237:::0;;;;;:::o;106943:35::-;;;;:::o;109588:436::-;109661:13;109695:16;109703:7;109695;:16::i;:::-;109687:76;;;;;;;;;;;;:::i;:::-;;;;;;;;;109776:14;109803:1;109793:7;:11;;;;:::i;:::-;109776:28;;109821:10;;;;;;;;;;;109817:68;;109854:19;109847:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109817:68;109941:1;109918:12;109912:26;;;;;:::i;:::-;;;:30;:104;;;;;;;;;;;;;;;;;109969:12;109983:17;:6;:15;:17::i;:::-;109952:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;109912:104;109905:111;;;109588:436;;;;:::o;110948:89::-;53650:13;:11;:13::i;:::-;111019:10:::1;;;;;;;;;;;111018:11;111005:10;;:24;;;;;;;;;;;;;;;;;;110948:89::o:0;81975:164::-;82072:4;82096:18;:25;82115:5;82096:25;;;;;;;;;;;;;;;:35;82122:8;82096:35;;;;;;;;;;;;;;;;;;;;;;;;;82089:42;;81975:164;;;;:::o;106985:28::-;;;;:::o;54670:201::-;53650:13;:11;:13::i;:::-;54779:1:::1;54759:22;;:8;:22;;::::0;54751:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;54835:28;54854:8;54835:18;:28::i;:::-;54670:201:::0;:::o;110631:100::-;53650:13;:11;:13::i;:::-;110711:12:::1;110703:5;:20;;;;110631:100:::0;:::o;107060:22::-;;;;;;;;;;;;;:::o;112024:323::-;112094:4;112146:25;112131:40;;;:11;:40;;;;:98;;;;112203:26;112188:41;;;:11;:41;;;;112131:98;:155;;;;112261:25;112246:40;;;:11;:40;;;;112131:155;:208;;;;112303:36;112327:11;112303:23;:36::i;:::-;112131:208;112111:228;;112024:323;;;:::o;53929:132::-;54004:12;:10;:12::i;:::-;53993:23;;:7;:5;:7::i;:::-;:23;;;53985:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;53929:132::o;82397:282::-;82462:4;82518:7;82499:15;:13;:15::i;:::-;:26;;:66;;;;;82552:13;;82542:7;:23;82499:66;:153;;;;;82651:1;66405:8;82603:17;:26;82621:7;82603:26;;;;;;;;;;;;:44;:49;82499:153;82479:173;;82397:282;;;:::o;33728:647::-;33967:1;24219:42;33919:45;;;:49;33915:453;;;24219:42;34218;;;34269:4;34276:8;34218:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;34213:144;;34332:8;34313:28;;;;;;;;;;;:::i;:::-;;;;;;;;34213:144;33915:453;33728:647;:::o;80459:408::-;80548:13;80564:16;80572:7;80564;:16::i;:::-;80548:32;;80620:5;80597:28;;:19;:17;:19::i;:::-;:28;;;80593:175;;80645:44;80662:5;80669:19;:17;:19::i;:::-;80645:16;:44::i;:::-;80640:128;;80717:35;;;;;;;;;;;;;;80640:128;80593:175;80813:2;80780:15;:24;80796:7;80780:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;80851:7;80847:2;80831:28;;80840:5;80831:28;;;;;;;;;;;;80537:330;80459:408;;:::o;69802:92::-;69858:7;69802:92;:::o;84665:2825::-;84807:27;84837;84856:7;84837:18;:27::i;:::-;84807:57;;84922:4;84881:45;;84897:19;84881:45;;;84877:86;;84935:28;;;;;;;;;;;;;;84877:86;84977:27;85006:23;85033:35;85060:7;85033:26;:35::i;:::-;84976:92;;;;85168:68;85193:15;85210:4;85216:19;:17;:19::i;:::-;85168:24;:68::i;:::-;85163:180;;85256:43;85273:4;85279:19;:17;:19::i;:::-;85256:16;:43::i;:::-;85251:92;;85308:35;;;;;;;;;;;;;;85251:92;85163:180;85374:1;85360:16;;:2;:16;;;85356:52;;85385:23;;;;;;;;;;;;;;85356:52;85421:43;85443:4;85449:2;85453:7;85462:1;85421:21;:43::i;:::-;85557:15;85554:160;;;85697:1;85676:19;85669:30;85554:160;86094:18;:24;86113:4;86094:24;;;;;;;;;;;;;;;;86092:26;;;;;;;;;;;;86163:18;:22;86182:2;86163:22;;;;;;;;;;;;;;;;86161:24;;;;;;;;;;;86485:146;86522:2;86571:45;86586:4;86592:2;86596:19;86571:14;:45::i;:::-;66685:8;86543:73;86485:18;:146::i;:::-;86456:17;:26;86474:7;86456:26;;;;;;;;;;;:175;;;;86802:1;66685:8;86751:19;:47;:52;86747:627;;86824:19;86856:1;86846:7;:11;86824:33;;87013:1;86979:17;:30;86997:11;86979:30;;;;;;;;;;;;:35;86975:384;;87117:13;;87102:11;:28;87098:242;;87297:19;87264:17;:30;87282:11;87264:30;;;;;;;;;;;:52;;;;87098:242;86975:384;86805:569;86747:627;87421:7;87417:2;87402:27;;87411:4;87402:27;;;;;;;;;;;;87440:42;87461:4;87467:2;87471:7;87480:1;87440:20;:42::i;:::-;84796:2694;;;84665:2825;;;:::o;43297:190::-;43422:4;43475;43446:25;43459:5;43466:4;43446:12;:25::i;:::-;:33;43439:40;;43297:190;;;;;:::o;92046:2966::-;92119:20;92142:13;;92119:36;;92182:1;92170:8;:13;92166:44;;92192:18;;;;;;;;;;;;;;92166:44;92223:61;92253:1;92257:2;92261:12;92275:8;92223:21;:61::i;:::-;92767:1;65767:2;92737:1;:26;;92736:32;92724:8;:45;92698:18;:22;92717:2;92698:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;93046:139;93083:2;93137:33;93160:1;93164:2;93168:1;93137:14;:33::i;:::-;93104:30;93125:8;93104:20;:30::i;:::-;:66;93046:18;:139::i;:::-;93012:17;:31;93030:12;93012:31;;;;;;;;;;;:173;;;;93202:16;93233:11;93262:8;93247:12;:23;93233:37;;93783:16;93779:2;93775:25;93763:37;;94155:12;94115:8;94074:1;94012:25;93953:1;93892;93865:335;94526:1;94512:12;94508:20;94466:346;94567:3;94558:7;94555:16;94466:346;;94785:7;94775:8;94772:1;94745:25;94742:1;94739;94734:59;94620:1;94611:7;94607:15;94596:26;;94466:346;;;94470:77;94857:1;94845:8;:13;94841:45;;94867:19;;;;;;;;;;;;;;94841:45;94919:3;94903:13;:19;;;;92472:2462;;94944:60;94973:1;94977:2;94981:12;94995:8;94944:20;:60::i;:::-;92108:2904;92046:2966;;:::o;20641:98::-;20699:7;20730:1;20726;:5;;;;:::i;:::-;20719:12;;20641:98;;;;:::o;21040:::-;21098:7;21129:1;21125;:5;;;;:::i;:::-;21118:12;;21040:98;;;;:::o;98537:112::-;98614:27;98624:2;98628:8;98614:27;;;;;;;;;;;;:9;:27::i;:::-;98537:112;;:::o;87586:193::-;87732:39;87749:4;87755:2;87759:7;87732:39;;;;;;;;;;;;:16;:39::i;:::-;87586:193;;;:::o;77083:1275::-;77150:7;77170:12;77185:7;77170:22;;77253:4;77234:15;:13;:15::i;:::-;:23;77230:1061;;77287:13;;77280:4;:20;77276:1015;;;77325:14;77342:17;:23;77360:4;77342:23;;;;;;;;;;;;77325:40;;77459:1;66405:8;77431:6;:24;:29;77427:845;;78096:113;78113:1;78103:6;:11;78096:113;;78156:17;:25;78174:6;;;;;;;78156:25;;;;;;;;;;;;78147:34;;78096:113;;;78242:6;78235:13;;;;;;77427:845;77302:989;77276:1015;77230:1061;78319:31;;;;;;;;;;;;;;77083:1275;;;;:::o;55031:191::-;55105:16;55124:6;;;;;;;;;;;55105:25;;55150:8;55141:6;;:17;;;;;;;;;;;;;;;;;;55205:8;55174:40;;55195:8;55174:40;;;;;;;;;;;;55094:128;55031:191;:::o;81584:234::-;81731:8;81679:18;:39;81698:19;:17;:19::i;:::-;81679:39;;;;;;;;;;;;;;;:49;81719:8;81679:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;81791:8;81755:55;;81770:19;:17;:19::i;:::-;81755:55;;;81801:8;81755:55;;;;;;:::i;:::-;;;;;;;;81584:234;;:::o;88377:407::-;88552:31;88565:4;88571:2;88575:7;88552:12;:31::i;:::-;88616:1;88598:2;:14;;;:19;88594:183;;88637:56;88668:4;88674:2;88678:7;88687:5;88637:30;:56::i;:::-;88632:145;;88721:40;;;;;;;;;;;;;;88632:145;88594:183;88377:407;;;;:::o;15133:716::-;15189:13;15240:14;15277:1;15257:17;15268:5;15257:10;:17::i;:::-;:21;15240:38;;15293:20;15327:6;15316:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15293:41;;15349:11;15478:6;15474:2;15470:15;15462:6;15458:28;15451:35;;15515:288;15522:4;15515:288;;;15547:5;;;;;;;;15689:8;15684:2;15677:5;15673:14;15668:30;15663:3;15655:44;15745:2;15736:11;;;;;;:::i;:::-;;;;;15779:1;15770:5;:10;15515:288;15766:21;15515:288;15824:6;15817:13;;;;;15133:716;;;:::o;73633:639::-;73718:4;74057:10;74042:25;;:11;:25;;;;:102;;;;74134:10;74119:25;;:11;:25;;;;74042:102;:179;;;;74211:10;74196:25;;:11;:25;;;;74042:179;74022:199;;73633:639;;;:::o;52315:98::-;52368:7;52395:10;52388:17;;52315:98;:::o;104705:105::-;104765:7;104792:10;104785:17;;104705:105;:::o;83560:485::-;83662:27;83691:23;83732:38;83773:15;:24;83789:7;83773:24;;;;;;;;;;;83732:65;;83950:18;83927:41;;84007:19;84001:26;83982:45;;83912:126;83560:485;;;:::o;82788:659::-;82937:11;83102:16;83095:5;83091:28;83082:37;;83262:16;83251:9;83247:32;83234:45;;83412:15;83401:9;83398:30;83390:5;83379:9;83376:20;83373:56;83363:66;;82788:659;;;;;:::o;89446:159::-;;;;;:::o;104014:311::-;104149:7;104169:16;66809:3;104195:19;:41;;104169:68;;66809:3;104263:31;104274:4;104280:2;104284:9;104263:10;:31::i;:::-;104255:40;;:62;;104248:69;;;104014:311;;;;;:::o;78906:450::-;78986:14;79154:16;79147:5;79143:28;79134:37;;79331:5;79317:11;79292:23;79288:41;79285:52;79278:5;79275:63;79265:73;;78906:450;;;;:::o;90270:158::-;;;;;:::o;44164:296::-;44247:7;44267:20;44290:4;44267:27;;44310:9;44305:118;44329:5;:12;44325:1;:16;44305:118;;;44378:33;44388:12;44402:5;44408:1;44402:8;;;;;;;;:::i;:::-;;;;;;;;44378:9;:33::i;:::-;44363:48;;44343:3;;;;;:::i;:::-;;;;44305:118;;;;44440:12;44433:19;;;44164:296;;;;:::o;79458:324::-;79528:14;79761:1;79751:8;79748:15;79722:24;79718:46;79708:56;;79458:324;;;:::o;97764:689::-;97895:19;97901:2;97905:8;97895:5;:19::i;:::-;97974:1;97956:2;:14;;;:19;97952:483;;97996:11;98010:13;;97996:27;;98042:13;98064:8;98058:3;:14;98042:30;;98091:233;98122:62;98161:1;98165:2;98169:7;;;;;;98178:5;98122:30;:62::i;:::-;98117:167;;98220:40;;;;;;;;;;;;;;98117:167;98319:3;98311:5;:11;98091:233;;98406:3;98389:13;;:20;98385:34;;98411:8;;;98385:34;97977:458;;97952:483;97764:689;;;:::o;90868:716::-;91031:4;91077:2;91052:45;;;91098:19;:17;:19::i;:::-;91119:4;91125:7;91134:5;91052:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;91048:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91352:1;91335:6;:13;:18;91331:235;;91381:40;;;;;;;;;;;;;;91331:235;91524:6;91518:13;91509:6;91505:2;91501:15;91494:38;91048:529;91221:54;;;91211:64;;;:6;:64;;;;91204:71;;;90868:716;;;;;;:::o;11999:922::-;12052:7;12072:14;12089:1;12072:18;;12139:6;12130:5;:15;12126:102;;12175:6;12166:15;;;;;;:::i;:::-;;;;;12210:2;12200:12;;;;12126:102;12255:6;12246:5;:15;12242:102;;12291:6;12282:15;;;;;;:::i;:::-;;;;;12326:2;12316:12;;;;12242:102;12371:6;12362:5;:15;12358:102;;12407:6;12398:15;;;;;;:::i;:::-;;;;;12442:2;12432:12;;;;12358:102;12487:5;12478;:14;12474:99;;12522:5;12513:14;;;;;;:::i;:::-;;;;;12556:1;12546:11;;;;12474:99;12600:5;12591;:14;12587:99;;12635:5;12626:14;;;;;;:::i;:::-;;;;;12669:1;12659:11;;;;12587:99;12713:5;12704;:14;12700:99;;12748:5;12739:14;;;;;;:::i;:::-;;;;;12782:1;12772:11;;;;12700:99;12826:5;12817;:14;12813:66;;12862:1;12852:11;;;;12813:66;12907:6;12900:13;;;11999:922;;;:::o;103715:147::-;103852:6;103715:147;;;;;:::o;51204:149::-;51267:7;51298:1;51294;:5;:51;;51325:20;51340:1;51343;51325:14;:20::i;:::-;51294:51;;;51302:20;51317:1;51320;51302:14;:20::i;:::-;51294:51;51287:58;;51204:149;;;;:::o;51361:268::-;51429:13;51536:1;51530:4;51523:15;51565:1;51559:4;51552:15;51606:4;51600;51590:21;51581:30;;51361:268;;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:126::-;1555:7;1595:42;1588:5;1584:54;1573:65;;1518:126;;;:::o;1650:96::-;1687:7;1716:24;1734:5;1716:24;:::i;:::-;1705:35;;1650:96;;;:::o;1752:122::-;1825:24;1843:5;1825:24;:::i;:::-;1818:5;1815:35;1805:63;;1864:1;1861;1854:12;1805:63;1752:122;:::o;1880:139::-;1926:5;1964:6;1951:20;1942:29;;1980:33;2007:5;1980:33;:::i;:::-;1880:139;;;;:::o;2025:329::-;2084:6;2133:2;2121:9;2112:7;2108:23;2104:32;2101:119;;;2139:79;;:::i;:::-;2101:119;2259:1;2284:53;2329:7;2320:6;2309:9;2305:22;2284:53;:::i;:::-;2274:63;;2230:117;2025:329;;;;:::o;2360:77::-;2397:7;2426:5;2415:16;;2360:77;;;:::o;2443:118::-;2530:24;2548:5;2530:24;:::i;:::-;2525:3;2518:37;2443:118;;:::o;2567:222::-;2660:4;2698:2;2687:9;2683:18;2675:26;;2711:71;2779:1;2768:9;2764:17;2755:6;2711:71;:::i;:::-;2567:222;;;;:::o;2795:117::-;2904:1;2901;2894:12;2918:117;3027:1;3024;3017:12;3041:117;3150:1;3147;3140:12;3178:553;3236:8;3246:6;3296:3;3289:4;3281:6;3277:17;3273:27;3263:122;;3304:79;;:::i;:::-;3263:122;3417:6;3404:20;3394:30;;3447:18;3439:6;3436:30;3433:117;;;3469:79;;:::i;:::-;3433:117;3583:4;3575:6;3571:17;3559:29;;3637:3;3629:4;3621:6;3617:17;3607:8;3603:32;3600:41;3597:128;;;3644:79;;:::i;:::-;3597:128;3178:553;;;;;:::o;3737:529::-;3808:6;3816;3865:2;3853:9;3844:7;3840:23;3836:32;3833:119;;;3871:79;;:::i;:::-;3833:119;4019:1;4008:9;4004:17;3991:31;4049:18;4041:6;4038:30;4035:117;;;4071:79;;:::i;:::-;4035:117;4184:65;4241:7;4232:6;4221:9;4217:22;4184:65;:::i;:::-;4166:83;;;;3962:297;3737:529;;;;;:::o;4272:99::-;4324:6;4358:5;4352:12;4342:22;;4272:99;;;:::o;4377:169::-;4461:11;4495:6;4490:3;4483:19;4535:4;4530:3;4526:14;4511:29;;4377:169;;;;:::o;4552:246::-;4633:1;4643:113;4657:6;4654:1;4651:13;4643:113;;;4742:1;4737:3;4733:11;4727:18;4723:1;4718:3;4714:11;4707:39;4679:2;4676:1;4672:10;4667:15;;4643:113;;;4790:1;4781:6;4776:3;4772:16;4765:27;4614:184;4552:246;;;:::o;4804:102::-;4845:6;4896:2;4892:7;4887:2;4880:5;4876:14;4872:28;4862:38;;4804:102;;;:::o;4912:377::-;5000:3;5028:39;5061:5;5028:39;:::i;:::-;5083:71;5147:6;5142:3;5083:71;:::i;:::-;5076:78;;5163:65;5221:6;5216:3;5209:4;5202:5;5198:16;5163:65;:::i;:::-;5253:29;5275:6;5253:29;:::i;:::-;5248:3;5244:39;5237:46;;5004:285;4912:377;;;;:::o;5295:313::-;5408:4;5446:2;5435:9;5431:18;5423:26;;5495:9;5489:4;5485:20;5481:1;5470:9;5466:17;5459:47;5523:78;5596:4;5587:6;5523:78;:::i;:::-;5515:86;;5295:313;;;;:::o;5614:122::-;5687:24;5705:5;5687:24;:::i;:::-;5680:5;5677:35;5667:63;;5726:1;5723;5716:12;5667:63;5614:122;:::o;5742:139::-;5788:5;5826:6;5813:20;5804:29;;5842:33;5869:5;5842:33;:::i;:::-;5742:139;;;;:::o;5887:329::-;5946:6;5995:2;5983:9;5974:7;5970:23;5966:32;5963:119;;;6001:79;;:::i;:::-;5963:119;6121:1;6146:53;6191:7;6182:6;6171:9;6167:22;6146:53;:::i;:::-;6136:63;;6092:117;5887:329;;;;:::o;6222:118::-;6309:24;6327:5;6309:24;:::i;:::-;6304:3;6297:37;6222:118;;:::o;6346:222::-;6439:4;6477:2;6466:9;6462:18;6454:26;;6490:71;6558:1;6547:9;6543:17;6534:6;6490:71;:::i;:::-;6346:222;;;;:::o;6574:474::-;6642:6;6650;6699:2;6687:9;6678:7;6674:23;6670:32;6667:119;;;6705:79;;:::i;:::-;6667:119;6825:1;6850:53;6895:7;6886:6;6875:9;6871:22;6850:53;:::i;:::-;6840:63;;6796:117;6952:2;6978:53;7023:7;7014:6;7003:9;6999:22;6978:53;:::i;:::-;6968:63;;6923:118;6574:474;;;;;:::o;7054:619::-;7131:6;7139;7147;7196:2;7184:9;7175:7;7171:23;7167:32;7164:119;;;7202:79;;:::i;:::-;7164:119;7322:1;7347:53;7392:7;7383:6;7372:9;7368:22;7347:53;:::i;:::-;7337:63;;7293:117;7449:2;7475:53;7520:7;7511:6;7500:9;7496:22;7475:53;:::i;:::-;7465:63;;7420:118;7577:2;7603:53;7648:7;7639:6;7628:9;7624:22;7603:53;:::i;:::-;7593:63;;7548:118;7054:619;;;;;:::o;7679:180::-;7727:77;7724:1;7717:88;7824:4;7821:1;7814:15;7848:4;7845:1;7838:15;7865:281;7948:27;7970:4;7948:27;:::i;:::-;7940:6;7936:40;8078:6;8066:10;8063:22;8042:18;8030:10;8027:34;8024:62;8021:88;;;8089:18;;:::i;:::-;8021:88;8129:10;8125:2;8118:22;7908:238;7865:281;;:::o;8152:129::-;8186:6;8213:20;;:::i;:::-;8203:30;;8242:33;8270:4;8262:6;8242:33;:::i;:::-;8152:129;;;:::o;8287:311::-;8364:4;8454:18;8446:6;8443:30;8440:56;;;8476:18;;:::i;:::-;8440:56;8526:4;8518:6;8514:17;8506:25;;8586:4;8580;8576:15;8568:23;;8287:311;;;:::o;8604:77::-;8641:7;8670:5;8659:16;;8604:77;;;:::o;8687:122::-;8760:24;8778:5;8760:24;:::i;:::-;8753:5;8750:35;8740:63;;8799:1;8796;8789:12;8740:63;8687:122;:::o;8815:139::-;8861:5;8899:6;8886:20;8877:29;;8915:33;8942:5;8915:33;:::i;:::-;8815:139;;;;:::o;8977:710::-;9073:5;9098:81;9114:64;9171:6;9114:64;:::i;:::-;9098:81;:::i;:::-;9089:90;;9199:5;9228:6;9221:5;9214:21;9262:4;9255:5;9251:16;9244:23;;9315:4;9307:6;9303:17;9295:6;9291:30;9344:3;9336:6;9333:15;9330:122;;;9363:79;;:::i;:::-;9330:122;9478:6;9461:220;9495:6;9490:3;9487:15;9461:220;;;9570:3;9599:37;9632:3;9620:10;9599:37;:::i;:::-;9594:3;9587:50;9666:4;9661:3;9657:14;9650:21;;9537:144;9521:4;9516:3;9512:14;9505:21;;9461:220;;;9465:21;9079:608;;8977:710;;;;;:::o;9710:370::-;9781:5;9830:3;9823:4;9815:6;9811:17;9807:27;9797:122;;9838:79;;:::i;:::-;9797:122;9955:6;9942:20;9980:94;10070:3;10062:6;10055:4;10047:6;10043:17;9980:94;:::i;:::-;9971:103;;9787:293;9710:370;;;;:::o;10086:684::-;10179:6;10187;10236:2;10224:9;10215:7;10211:23;10207:32;10204:119;;;10242:79;;:::i;:::-;10204:119;10390:1;10379:9;10375:17;10362:31;10420:18;10412:6;10409:30;10406:117;;;10442:79;;:::i;:::-;10406:117;10547:78;10617:7;10608:6;10597:9;10593:22;10547:78;:::i;:::-;10537:88;;10333:302;10674:2;10700:53;10745:7;10736:6;10725:9;10721:22;10700:53;:::i;:::-;10690:63;;10645:118;10086:684;;;;;:::o;10776:474::-;10844:6;10852;10901:2;10889:9;10880:7;10876:23;10872:32;10869:119;;;10907:79;;:::i;:::-;10869:119;11027:1;11052:53;11097:7;11088:6;11077:9;11073:22;11052:53;:::i;:::-;11042:63;;10998:117;11154:2;11180:53;11225:7;11216:6;11205:9;11201:22;11180:53;:::i;:::-;11170:63;;11125:118;10776:474;;;;;:::o;11256:332::-;11377:4;11415:2;11404:9;11400:18;11392:26;;11428:71;11496:1;11485:9;11481:17;11472:6;11428:71;:::i;:::-;11509:72;11577:2;11566:9;11562:18;11553:6;11509:72;:::i;:::-;11256:332;;;;;:::o;11594:60::-;11622:3;11643:5;11636:12;;11594:60;;;:::o;11660:142::-;11710:9;11743:53;11761:34;11770:24;11788:5;11770:24;:::i;:::-;11761:34;:::i;:::-;11743:53;:::i;:::-;11730:66;;11660:142;;;:::o;11808:126::-;11858:9;11891:37;11922:5;11891:37;:::i;:::-;11878:50;;11808:126;;;:::o;11940:158::-;12022:9;12055:37;12086:5;12055:37;:::i;:::-;12042:50;;11940:158;;;:::o;12104:195::-;12223:69;12286:5;12223:69;:::i;:::-;12218:3;12211:82;12104:195;;:::o;12305:286::-;12430:4;12468:2;12457:9;12453:18;12445:26;;12481:103;12581:1;12570:9;12566:17;12557:6;12481:103;:::i;:::-;12305:286;;;;:::o;12597:118::-;12684:24;12702:5;12684:24;:::i;:::-;12679:3;12672:37;12597:118;;:::o;12721:222::-;12814:4;12852:2;12841:9;12837:18;12829:26;;12865:71;12933:1;12922:9;12918:17;12909:6;12865:71;:::i;:::-;12721:222;;;;:::o;12949:329::-;13008:6;13057:2;13045:9;13036:7;13032:23;13028:32;13025:119;;;13063:79;;:::i;:::-;13025:119;13183:1;13208:53;13253:7;13244:6;13233:9;13229:22;13208:53;:::i;:::-;13198:63;;13154:117;12949:329;;;;:::o;13284:116::-;13354:21;13369:5;13354:21;:::i;:::-;13347:5;13344:32;13334:60;;13390:1;13387;13380:12;13334:60;13284:116;:::o;13406:133::-;13449:5;13487:6;13474:20;13465:29;;13503:30;13527:5;13503:30;:::i;:::-;13406:133;;;;:::o;13545:468::-;13610:6;13618;13667:2;13655:9;13646:7;13642:23;13638:32;13635:119;;;13673:79;;:::i;:::-;13635:119;13793:1;13818:53;13863:7;13854:6;13843:9;13839:22;13818:53;:::i;:::-;13808:63;;13764:117;13920:2;13946:50;13988:7;13979:6;13968:9;13964:22;13946:50;:::i;:::-;13936:60;;13891:115;13545:468;;;;;:::o;14019:117::-;14128:1;14125;14118:12;14142:307;14203:4;14293:18;14285:6;14282:30;14279:56;;;14315:18;;:::i;:::-;14279:56;14353:29;14375:6;14353:29;:::i;:::-;14345:37;;14437:4;14431;14427:15;14419:23;;14142:307;;;:::o;14455:146::-;14552:6;14547:3;14542;14529:30;14593:1;14584:6;14579:3;14575:16;14568:27;14455:146;;;:::o;14607:423::-;14684:5;14709:65;14725:48;14766:6;14725:48;:::i;:::-;14709:65;:::i;:::-;14700:74;;14797:6;14790:5;14783:21;14835:4;14828:5;14824:16;14873:3;14864:6;14859:3;14855:16;14852:25;14849:112;;;14880:79;;:::i;:::-;14849:112;14970:54;15017:6;15012:3;15007;14970:54;:::i;:::-;14690:340;14607:423;;;;;:::o;15049:338::-;15104:5;15153:3;15146:4;15138:6;15134:17;15130:27;15120:122;;15161:79;;:::i;:::-;15120:122;15278:6;15265:20;15303:78;15377:3;15369:6;15362:4;15354:6;15350:17;15303:78;:::i;:::-;15294:87;;15110:277;15049:338;;;;:::o;15393:943::-;15488:6;15496;15504;15512;15561:3;15549:9;15540:7;15536:23;15532:33;15529:120;;;15568:79;;:::i;:::-;15529:120;15688:1;15713:53;15758:7;15749:6;15738:9;15734:22;15713:53;:::i;:::-;15703:63;;15659:117;15815:2;15841:53;15886:7;15877:6;15866:9;15862:22;15841:53;:::i;:::-;15831:63;;15786:118;15943:2;15969:53;16014:7;16005:6;15994:9;15990:22;15969:53;:::i;:::-;15959:63;;15914:118;16099:2;16088:9;16084:18;16071:32;16130:18;16122:6;16119:30;16116:117;;;16152:79;;:::i;:::-;16116:117;16257:62;16311:7;16302:6;16291:9;16287:22;16257:62;:::i;:::-;16247:72;;16042:287;15393:943;;;;;;;:::o;16342:474::-;16410:6;16418;16467:2;16455:9;16446:7;16442:23;16438:32;16435:119;;;16473:79;;:::i;:::-;16435:119;16593:1;16618:53;16663:7;16654:6;16643:9;16639:22;16618:53;:::i;:::-;16608:63;;16564:117;16720:2;16746:53;16791:7;16782:6;16771:9;16767:22;16746:53;:::i;:::-;16736:63;;16691:118;16342:474;;;;;:::o;16822:97::-;16881:6;16909:3;16899:13;;16822:97;;;;:::o;16925:180::-;16973:77;16970:1;16963:88;17070:4;17067:1;17060:15;17094:4;17091:1;17084:15;17111:320;17155:6;17192:1;17186:4;17182:12;17172:22;;17239:1;17233:4;17229:12;17260:18;17250:81;;17316:4;17308:6;17304:17;17294:27;;17250:81;17378:2;17370:6;17367:14;17347:18;17344:38;17341:84;;17397:18;;:::i;:::-;17341:84;17162:269;17111:320;;;:::o;17437:141::-;17486:4;17509:3;17501:11;;17532:3;17529:1;17522:14;17566:4;17563:1;17553:18;17545:26;;17437:141;;;:::o;17584:93::-;17621:6;17668:2;17663;17656:5;17652:14;17648:23;17638:33;;17584:93;;;:::o;17683:107::-;17727:8;17777:5;17771:4;17767:16;17746:37;;17683:107;;;;:::o;17796:393::-;17865:6;17915:1;17903:10;17899:18;17938:97;17968:66;17957:9;17938:97;:::i;:::-;18056:39;18086:8;18075:9;18056:39;:::i;:::-;18044:51;;18128:4;18124:9;18117:5;18113:21;18104:30;;18177:4;18167:8;18163:19;18156:5;18153:30;18143:40;;17872:317;;17796:393;;;;;:::o;18195:142::-;18245:9;18278:53;18296:34;18305:24;18323:5;18305:24;:::i;:::-;18296:34;:::i;:::-;18278:53;:::i;:::-;18265:66;;18195:142;;;:::o;18343:75::-;18386:3;18407:5;18400:12;;18343:75;;;:::o;18424:269::-;18534:39;18565:7;18534:39;:::i;:::-;18595:91;18644:41;18668:16;18644:41;:::i;:::-;18636:6;18629:4;18623:11;18595:91;:::i;:::-;18589:4;18582:105;18500:193;18424:269;;;:::o;18699:73::-;18744:3;18699:73;:::o;18778:189::-;18855:32;;:::i;:::-;18896:65;18954:6;18946;18940:4;18896:65;:::i;:::-;18831:136;18778:189;;:::o;18973:186::-;19033:120;19050:3;19043:5;19040:14;19033:120;;;19104:39;19141:1;19134:5;19104:39;:::i;:::-;19077:1;19070:5;19066:13;19057:22;;19033:120;;;18973:186;;:::o;19165:543::-;19266:2;19261:3;19258:11;19255:446;;;19300:38;19332:5;19300:38;:::i;:::-;19384:29;19402:10;19384:29;:::i;:::-;19374:8;19370:44;19567:2;19555:10;19552:18;19549:49;;;19588:8;19573:23;;19549:49;19611:80;19667:22;19685:3;19667:22;:::i;:::-;19657:8;19653:37;19640:11;19611:80;:::i;:::-;19270:431;;19255:446;19165:543;;;:::o;19714:117::-;19768:8;19818:5;19812:4;19808:16;19787:37;;19714:117;;;;:::o;19837:169::-;19881:6;19914:51;19962:1;19958:6;19950:5;19947:1;19943:13;19914:51;:::i;:::-;19910:56;19995:4;19989;19985:15;19975:25;;19888:118;19837:169;;;;:::o;20011:295::-;20087:4;20233:29;20258:3;20252:4;20233:29;:::i;:::-;20225:37;;20295:3;20292:1;20288:11;20282:4;20279:21;20271:29;;20011:295;;;;:::o;20311:1403::-;20435:44;20475:3;20470;20435:44;:::i;:::-;20544:18;20536:6;20533:30;20530:56;;;20566:18;;:::i;:::-;20530:56;20610:38;20642:4;20636:11;20610:38;:::i;:::-;20695:67;20755:6;20747;20741:4;20695:67;:::i;:::-;20789:1;20818:2;20810:6;20807:14;20835:1;20830:632;;;;21506:1;21523:6;21520:84;;;21579:9;21574:3;21570:19;21557:33;21548:42;;21520:84;21630:67;21690:6;21683:5;21630:67;:::i;:::-;21624:4;21617:81;21479:229;20800:908;;20830:632;20882:4;20878:9;20870:6;20866:22;20916:37;20948:4;20916:37;:::i;:::-;20975:1;20989:215;21003:7;21000:1;20997:14;20989:215;;;21089:9;21084:3;21080:19;21067:33;21059:6;21052:49;21140:1;21132:6;21128:14;21118:24;;21187:2;21176:9;21172:18;21159:31;;21026:4;21023:1;21019:12;21014:17;;20989:215;;;21232:6;21223:7;21220:19;21217:186;;;21297:9;21292:3;21288:19;21275:33;21340:48;21382:4;21374:6;21370:17;21359:9;21340:48;:::i;:::-;21332:6;21325:64;21240:163;21217:186;21449:1;21445;21437:6;21433:14;21429:22;21423:4;21416:36;20837:625;;;20800:908;;20410:1304;;;20311:1403;;;:::o;21720:229::-;21860:34;21856:1;21848:6;21844:14;21837:58;21929:12;21924:2;21916:6;21912:15;21905:37;21720:229;:::o;21955:366::-;22097:3;22118:67;22182:2;22177:3;22118:67;:::i;:::-;22111:74;;22194:93;22283:3;22194:93;:::i;:::-;22312:2;22307:3;22303:12;22296:19;;21955:366;;;:::o;22327:419::-;22493:4;22531:2;22520:9;22516:18;22508:26;;22580:9;22574:4;22570:20;22566:1;22555:9;22551:17;22544:47;22608:131;22734:4;22608:131;:::i;:::-;22600:139;;22327:419;;;:::o;22752:181::-;22892:33;22888:1;22880:6;22876:14;22869:57;22752:181;:::o;22939:366::-;23081:3;23102:67;23166:2;23161:3;23102:67;:::i;:::-;23095:74;;23178:93;23267:3;23178:93;:::i;:::-;23296:2;23291:3;23287:12;23280:19;;22939:366;;;:::o;23311:419::-;23477:4;23515:2;23504:9;23500:18;23492:26;;23564:9;23558:4;23554:20;23550:1;23539:9;23535:17;23528:47;23592:131;23718:4;23592:131;:::i;:::-;23584:139;;23311:419;;;:::o;23736:180::-;23784:77;23781:1;23774:88;23881:4;23878:1;23871:15;23905:4;23902:1;23895:15;23922:191;23962:3;23981:20;23999:1;23981:20;:::i;:::-;23976:25;;24015:20;24033:1;24015:20;:::i;:::-;24010:25;;24058:1;24055;24051:9;24044:16;;24079:3;24076:1;24073:10;24070:36;;;24086:18;;:::i;:::-;24070:36;23922:191;;;;:::o;24119:179::-;24259:31;24255:1;24247:6;24243:14;24236:55;24119:179;:::o;24304:366::-;24446:3;24467:67;24531:2;24526:3;24467:67;:::i;:::-;24460:74;;24543:93;24632:3;24543:93;:::i;:::-;24661:2;24656:3;24652:12;24645:19;;24304:366;;;:::o;24676:419::-;24842:4;24880:2;24869:9;24865:18;24857:26;;24929:9;24923:4;24919:20;24915:1;24904:9;24900:17;24893:47;24957:131;25083:4;24957:131;:::i;:::-;24949:139;;24676:419;;;:::o;25101:239::-;25241:34;25237:1;25229:6;25225:14;25218:58;25310:22;25305:2;25297:6;25293:15;25286:47;25101:239;:::o;25346:366::-;25488:3;25509:67;25573:2;25568:3;25509:67;:::i;:::-;25502:74;;25585:93;25674:3;25585:93;:::i;:::-;25703:2;25698:3;25694:12;25687:19;;25346:366;;;:::o;25718:419::-;25884:4;25922:2;25911:9;25907:18;25899:26;;25971:9;25965:4;25961:20;25957:1;25946:9;25942:17;25935:47;25999:131;26125:4;25999:131;:::i;:::-;25991:139;;25718:419;;;:::o;26143:410::-;26183:7;26206:20;26224:1;26206:20;:::i;:::-;26201:25;;26240:20;26258:1;26240:20;:::i;:::-;26235:25;;26295:1;26292;26288:9;26317:30;26335:11;26317:30;:::i;:::-;26306:41;;26496:1;26487:7;26483:15;26480:1;26477:22;26457:1;26450:9;26430:83;26407:139;;26526:18;;:::i;:::-;26407:139;26191:362;26143:410;;;;:::o;26559:194::-;26599:4;26619:20;26637:1;26619:20;:::i;:::-;26614:25;;26653:20;26671:1;26653:20;:::i;:::-;26648:25;;26697:1;26694;26690:9;26682:17;;26721:1;26715:4;26712:11;26709:37;;;26726:18;;:::i;:::-;26709:37;26559:194;;;;:::o;26759:175::-;26899:27;26895:1;26887:6;26883:14;26876:51;26759:175;:::o;26940:366::-;27082:3;27103:67;27167:2;27162:3;27103:67;:::i;:::-;27096:74;;27179:93;27268:3;27179:93;:::i;:::-;27297:2;27292:3;27288:12;27281:19;;26940:366;;;:::o;27312:419::-;27478:4;27516:2;27505:9;27501:18;27493:26;;27565:9;27559:4;27555:20;27551:1;27540:9;27536:17;27529:47;27593:131;27719:4;27593:131;:::i;:::-;27585:139;;27312:419;;;:::o;27737:94::-;27770:8;27818:5;27814:2;27810:14;27789:35;;27737:94;;;:::o;27837:::-;27876:7;27905:20;27919:5;27905:20;:::i;:::-;27894:31;;27837:94;;;:::o;27937:100::-;27976:7;28005:26;28025:5;28005:26;:::i;:::-;27994:37;;27937:100;;;:::o;28043:157::-;28148:45;28168:24;28186:5;28168:24;:::i;:::-;28148:45;:::i;:::-;28143:3;28136:58;28043:157;;:::o;28206:256::-;28318:3;28333:75;28404:3;28395:6;28333:75;:::i;:::-;28433:2;28428:3;28424:12;28417:19;;28453:3;28446:10;;28206:256;;;;:::o;28468:222::-;28608:34;28604:1;28596:6;28592:14;28585:58;28677:5;28672:2;28664:6;28660:15;28653:30;28468:222;:::o;28696:366::-;28838:3;28859:67;28923:2;28918:3;28859:67;:::i;:::-;28852:74;;28935:93;29024:3;28935:93;:::i;:::-;29053:2;29048:3;29044:12;29037:19;;28696:366;;;:::o;29068:419::-;29234:4;29272:2;29261:9;29257:18;29249:26;;29321:9;29315:4;29311:20;29307:1;29296:9;29292:17;29285:47;29349:131;29475:4;29349:131;:::i;:::-;29341:139;;29068:419;;;:::o;29493:176::-;29633:28;29629:1;29621:6;29617:14;29610:52;29493:176;:::o;29675:366::-;29817:3;29838:67;29902:2;29897:3;29838:67;:::i;:::-;29831:74;;29914:93;30003:3;29914:93;:::i;:::-;30032:2;30027:3;30023:12;30016:19;;29675:366;;;:::o;30047:419::-;30213:4;30251:2;30240:9;30236:18;30228:26;;30300:9;30294:4;30290:20;30286:1;30275:9;30271:17;30264:47;30328:131;30454:4;30328:131;:::i;:::-;30320:139;;30047:419;;;:::o;30472:177::-;30612:29;30608:1;30600:6;30596:14;30589:53;30472:177;:::o;30655:366::-;30797:3;30818:67;30882:2;30877:3;30818:67;:::i;:::-;30811:74;;30894:93;30983:3;30894:93;:::i;:::-;31012:2;31007:3;31003:12;30996:19;;30655:366;;;:::o;31027:419::-;31193:4;31231:2;31220:9;31216:18;31208:26;;31280:9;31274:4;31270:20;31266:1;31255:9;31251:17;31244:47;31308:131;31434:4;31308:131;:::i;:::-;31300:139;;31027:419;;;:::o;31452:233::-;31491:3;31514:24;31532:5;31514:24;:::i;:::-;31505:33;;31560:66;31553:5;31550:77;31547:103;;31630:18;;:::i;:::-;31547:103;31677:1;31670:5;31666:13;31659:20;;31452:233;;;:::o;31691:234::-;31831:34;31827:1;31819:6;31815:14;31808:58;31900:17;31895:2;31887:6;31883:15;31876:42;31691:234;:::o;31931:366::-;32073:3;32094:67;32158:2;32153:3;32094:67;:::i;:::-;32087:74;;32170:93;32259:3;32170:93;:::i;:::-;32288:2;32283:3;32279:12;32272:19;;31931:366;;;:::o;32303:419::-;32469:4;32507:2;32496:9;32492:18;32484:26;;32556:9;32550:4;32546:20;32542:1;32531:9;32527:17;32520:47;32584:131;32710:4;32584:131;:::i;:::-;32576:139;;32303:419;;;:::o;32728:148::-;32830:11;32867:3;32852:18;;32728:148;;;;:::o;32906:874::-;33009:3;33046:5;33040:12;33075:36;33101:9;33075:36;:::i;:::-;33127:89;33209:6;33204:3;33127:89;:::i;:::-;33120:96;;33247:1;33236:9;33232:17;33263:1;33258:166;;;;33438:1;33433:341;;;;33225:549;;33258:166;33342:4;33338:9;33327;33323:25;33318:3;33311:38;33404:6;33397:14;33390:22;33382:6;33378:35;33373:3;33369:45;33362:52;;33258:166;;33433:341;33500:38;33532:5;33500:38;:::i;:::-;33560:1;33574:154;33588:6;33585:1;33582:13;33574:154;;;33662:7;33656:14;33652:1;33647:3;33643:11;33636:35;33712:1;33703:7;33699:15;33688:26;;33610:4;33607:1;33603:12;33598:17;;33574:154;;;33757:6;33752:3;33748:16;33741:23;;33440:334;;33225:549;;33013:767;;32906:874;;;;:::o;33786:390::-;33892:3;33920:39;33953:5;33920:39;:::i;:::-;33975:89;34057:6;34052:3;33975:89;:::i;:::-;33968:96;;34073:65;34131:6;34126:3;34119:4;34112:5;34108:16;34073:65;:::i;:::-;34163:6;34158:3;34154:16;34147:23;;33896:280;33786:390;;;;:::o;34182:155::-;34322:7;34318:1;34310:6;34306:14;34299:31;34182:155;:::o;34343:400::-;34503:3;34524:84;34606:1;34601:3;34524:84;:::i;:::-;34517:91;;34617:93;34706:3;34617:93;:::i;:::-;34735:1;34730:3;34726:11;34719:18;;34343:400;;;:::o;34749:695::-;35027:3;35049:92;35137:3;35128:6;35049:92;:::i;:::-;35042:99;;35158:95;35249:3;35240:6;35158:95;:::i;:::-;35151:102;;35270:148;35414:3;35270:148;:::i;:::-;35263:155;;35435:3;35428:10;;34749:695;;;;;:::o;35450:225::-;35590:34;35586:1;35578:6;35574:14;35567:58;35659:8;35654:2;35646:6;35642:15;35635:33;35450:225;:::o;35681:366::-;35823:3;35844:67;35908:2;35903:3;35844:67;:::i;:::-;35837:74;;35920:93;36009:3;35920:93;:::i;:::-;36038:2;36033:3;36029:12;36022:19;;35681:366;;;:::o;36053:419::-;36219:4;36257:2;36246:9;36242:18;36234:26;;36306:9;36300:4;36296:20;36292:1;36281:9;36277:17;36270:47;36334:131;36460:4;36334:131;:::i;:::-;36326:139;;36053:419;;;:::o;36478:182::-;36618:34;36614:1;36606:6;36602:14;36595:58;36478:182;:::o;36666:366::-;36808:3;36829:67;36893:2;36888:3;36829:67;:::i;:::-;36822:74;;36905:93;36994:3;36905:93;:::i;:::-;37023:2;37018:3;37014:12;37007:19;;36666:366;;;:::o;37038:419::-;37204:4;37242:2;37231:9;37227:18;37219:26;;37291:9;37285:4;37281:20;37277:1;37266:9;37262:17;37255:47;37319:131;37445:4;37319:131;:::i;:::-;37311:139;;37038:419;;;:::o;37463:332::-;37584:4;37622:2;37611:9;37607:18;37599:26;;37635:71;37703:1;37692:9;37688:17;37679:6;37635:71;:::i;:::-;37716:72;37784:2;37773:9;37769:18;37760:6;37716:72;:::i;:::-;37463:332;;;;;:::o;37801:137::-;37855:5;37886:6;37880:13;37871:22;;37902:30;37926:5;37902:30;:::i;:::-;37801:137;;;;:::o;37944:345::-;38011:6;38060:2;38048:9;38039:7;38035:23;38031:32;38028:119;;;38066:79;;:::i;:::-;38028:119;38186:1;38211:61;38264:7;38255:6;38244:9;38240:22;38211:61;:::i;:::-;38201:71;;38157:125;37944:345;;;;:::o;38295:180::-;38343:77;38340:1;38333:88;38440:4;38437:1;38430:15;38464:4;38461:1;38454:15;38481:185;38521:1;38538:20;38556:1;38538:20;:::i;:::-;38533:25;;38572:20;38590:1;38572:20;:::i;:::-;38567:25;;38611:1;38601:35;;38616:18;;:::i;:::-;38601:35;38658:1;38655;38651:9;38646:14;;38481:185;;;;:::o;38672:180::-;38720:77;38717:1;38710:88;38817:4;38814:1;38807:15;38841:4;38838:1;38831:15;38858:98;38909:6;38943:5;38937:12;38927:22;;38858:98;;;:::o;38962:168::-;39045:11;39079:6;39074:3;39067:19;39119:4;39114:3;39110:14;39095:29;;38962:168;;;;:::o;39136:373::-;39222:3;39250:38;39282:5;39250:38;:::i;:::-;39304:70;39367:6;39362:3;39304:70;:::i;:::-;39297:77;;39383:65;39441:6;39436:3;39429:4;39422:5;39418:16;39383:65;:::i;:::-;39473:29;39495:6;39473:29;:::i;:::-;39468:3;39464:39;39457:46;;39226:283;39136:373;;;;:::o;39515:640::-;39710:4;39748:3;39737:9;39733:19;39725:27;;39762:71;39830:1;39819:9;39815:17;39806:6;39762:71;:::i;:::-;39843:72;39911:2;39900:9;39896:18;39887:6;39843:72;:::i;:::-;39925;39993:2;39982:9;39978:18;39969:6;39925:72;:::i;:::-;40044:9;40038:4;40034:20;40029:2;40018:9;40014:18;40007:48;40072:76;40143:4;40134:6;40072:76;:::i;:::-;40064:84;;39515:640;;;;;;;:::o;40161:141::-;40217:5;40248:6;40242:13;40233:22;;40264:32;40290:5;40264:32;:::i;:::-;40161:141;;;;:::o;40308:349::-;40377:6;40426:2;40414:9;40405:7;40401:23;40397:32;40394:119;;;40432:79;;:::i;:::-;40394:119;40552:1;40577:63;40632:7;40623:6;40612:9;40608:22;40577:63;:::i;:::-;40567:73;;40523:127;40308:349;;;;:::o
Swarm Source
ipfs://c84779a992f0058c7505f46b8134afc77de296e7e3ca06ac1aa29a91cd7ae5b1
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.