ERC-721
Overview
Max Total Supply
6,666 CRYPT
Holders
923
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CRYPTLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Crypt
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity)
/** *Submitted for verification at apescan.io on 2025-01-25 */ // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol) pragma solidity ^0.8.20; /** * @dev String operations. */ library Strings { bytes16 private constant HEX_DIGITS = "0123456789abcdef"; uint8 private constant ADDRESS_LENGTH = 20; /** * @dev The `value` string doesn't fit in the specified `length`. */ error StringsInsufficientHexLength(uint256 value, uint256 length); /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), HEX_DIGITS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toStringSigned(int256 value) internal pure returns (string memory) { return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { uint256 localValue = value; bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = HEX_DIGITS[localValue & 0xf]; localValue >>= 4; } if (localValue != 0) { revert StringsInsufficientHexLength(value, length); } return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal * representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.20; /** * @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. */ 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. * * NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the * royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } // File: contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // 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`. * * 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 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 ) external; /** * @dev Transfers `tokenId` token 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; /** * @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); // ============================== // 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 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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 == 0x2a55205a || // ERC 2981 rotyalty interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 { 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; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { 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 ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _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 { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _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)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/common/ERC2981.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator); /** * @dev The default royalty receiver is invalid. */ error ERC2981InvalidDefaultRoyaltyReceiver(address receiver); /** * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator); /** * @dev The royalty receiver for `tokenId` is invalid. */ error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) public view virtual returns (address receiver, uint256 amount) { RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId]; address royaltyReceiver = _royaltyInfo.receiver; uint96 royaltyFraction = _royaltyInfo.royaltyFraction; if (royaltyReceiver == address(0)) { royaltyReceiver = _defaultRoyaltyInfo.receiver; royaltyFraction = _defaultRoyaltyInfo.royaltyFraction; } uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator(); return (royaltyReceiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidDefaultRoyaltyReceiver(address(0)); } _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0)); } _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @limitbreak/creator-token-contracts/contracts/programmable-royalties/BasicRoyalties.sol pragma solidity ^0.8.4; /** * @title BasicRoyaltiesBase * @author Limit Break, Inc. * @dev Base functionality of an NFT mix-in contract implementing the most basic form of programmable royalties. */ abstract contract BasicRoyaltiesBase is ERC2981 { event DefaultRoyaltySet(address indexed receiver, uint96 feeNumerator); event TokenRoyaltySet(uint256 indexed tokenId, address indexed receiver, uint96 feeNumerator); function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual override { super._setDefaultRoyalty(receiver, feeNumerator); emit DefaultRoyaltySet(receiver, feeNumerator); } function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual override { super._setTokenRoyalty(tokenId, receiver, feeNumerator); emit TokenRoyaltySet(tokenId, receiver, feeNumerator); } } /** * @title BasicRoyalties * @author Limit Break, Inc. * @notice Constructable BasicRoyalties Contract implementation. */ abstract contract BasicRoyalties is BasicRoyaltiesBase { constructor(address receiver, uint96 feeNumerator) { _setDefaultRoyalty(receiver, feeNumerator); } } /** * @title BasicRoyaltiesInitializable * @author Limit Break, Inc. * @notice Initializable BasicRoyalties Contract implementation to allow for EIP-1167 clones. */ abstract contract BasicRoyaltiesInitializable is BasicRoyaltiesBase {} // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.9.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: contracts/ImmediateRoyaltySplitter.sol pragma solidity ^0.8.0; /** * @title ImmediateRoyaltySplitter * @dev Contract for instantly splitting received payments between multiple addresses */ abstract contract ImmediateRoyaltySplitter is ReentrancyGuard { using SafeMath for uint256; // Events event PaymentReceived(address from, uint256 amount); event PaymentSplit(address to, uint256 amount); event RoyaltySharesUpdated( address[] royaltyReceivers, uint256[] royaltyShares ); // Constants uint256 public constant TOTAL_ROYALTY_SHARES = 10000; // 100% = 10000 (0.01% precision) // State variables address[] public royaltyReceivers; uint256[] public royaltyShares; /** * @dev Internal function to update royaltyShares with validations */ function _updateRoyaltyShares( address[] memory _receivers, uint256[] memory _shares ) internal { require(_receivers.length == _shares.length, "Arrays length mismatch"); require(_receivers.length > 0, "No royaltyReceivers provided"); uint256 _totalShares; for (uint256 i = 0; i < _receivers.length; i++) { require(_receivers[i] != address(0), "Invalid receiver address"); require(_shares[i] > 0, "Share must be greater than 0"); _totalShares = _totalShares.add(_shares[i]); } require( _totalShares == TOTAL_ROYALTY_SHARES, "Total royaltyShares must be 10000" ); royaltyReceivers = _receivers; royaltyShares = _shares; emit RoyaltySharesUpdated(_receivers, _shares); } /** * @dev Private function to set the royalty shares only if they are not set yet */ function _initializeRoyaltyShares( address[] memory _receivers, uint256[] memory _shares ) internal { require(royaltyReceivers.length == 0, "Royalty shares already set"); _updateRoyaltyShares(_receivers, _shares); } /** * @dev Fallback function to receive and immediately split payments */ receive() external payable nonReentrant { require(msg.value > 0, "No payment received"); emit PaymentReceived(msg.sender, msg.value); uint256 remaining = msg.value; uint256 share; uint256 amount; // Process all royaltyReceivers except the last one for (uint256 i = 0; i < royaltyReceivers.length - 1; i++) { share = royaltyShares[i]; // Calculate payment amount using the share percentage amount = msg.value.mul(share).div(TOTAL_ROYALTY_SHARES); remaining = remaining.sub(amount); (bool success, ) = royaltyReceivers[i].call{value: amount}(""); require(success, "Transfer failed"); emit PaymentSplit(royaltyReceivers[i], amount); } // Send remaining amount to last receiver to handle rounding dust if (remaining > 0 && royaltyReceivers.length > 0) { (bool success, ) = royaltyReceivers[royaltyReceivers.length - 1] .call{value: remaining}(""); require(success, "Transfer failed"); emit PaymentSplit( royaltyReceivers[royaltyReceivers.length - 1], remaining ); } } /** * @dev Returns the current royaltyReceivers and their royaltyShares */ function getRoyaltyShares() external view returns (address[] memory, uint256[] memory) { return (royaltyReceivers, royaltyShares); } /** * @dev Allows a royalty receiver to update their wallet address * @param newAddress The new address to update to */ function updateReceiverAddress(address newAddress) external nonReentrant { require(newAddress != address(0), "New address is invalid"); bool updated = false; for (uint256 i = 0; i < royaltyReceivers.length; i++) { if (royaltyReceivers[i] == msg.sender) { royaltyReceivers[i] = newAddress; updated = true; break; } } require(updated, "Receiver address not found"); } } // File: contracts/access/OwnablePermissions.sol pragma solidity ^0.8.4; abstract contract OwnablePermissions is Context { function _requireCallerIsContractOwner() internal view virtual; } // File: interfaces/IEOARegistry.sol pragma solidity ^0.8.4; interface IEOARegistry is IERC165 { function isVerifiedEOA(address account) external view returns (bool); } // File: utils/TransferPolicy.sol pragma solidity ^0.8.4; enum AllowlistTypes { Operators, PermittedContractReceivers } enum ReceiverConstraints { None, NoCode, EOA } enum CallerConstraints { None, OperatorWhitelistEnableOTC, OperatorWhitelistDisableOTC } enum StakerConstraints { None, CallerIsTxOrigin, EOA } enum TransferSecurityLevels { Zero, One, Two, Three, Four, Five, Six } struct TransferSecurityPolicy { CallerConstraints callerConstraints; ReceiverConstraints receiverConstraints; } struct CollectionSecurityPolicy { TransferSecurityLevels transferSecurityLevel; uint120 operatorWhitelistId; uint120 permittedContractReceiversId; } // File: interfaces/ITransferSecurityRegistry.sol pragma solidity ^0.8.4; interface ITransferSecurityRegistry { event AddedToAllowlist(AllowlistTypes indexed kind, uint256 indexed id, address indexed account); event CreatedAllowlist(AllowlistTypes indexed kind, uint256 indexed id, string indexed name); event ReassignedAllowlistOwnership(AllowlistTypes indexed kind, uint256 indexed id, address indexed newOwner); event RemovedFromAllowlist(AllowlistTypes indexed kind, uint256 indexed id, address indexed account); event SetAllowlist(AllowlistTypes indexed kind, address indexed collection, uint120 indexed id); event SetTransferSecurityLevel(address indexed collection, TransferSecurityLevels level); function createOperatorWhitelist(string calldata name) external returns (uint120); function createPermittedContractReceiverAllowlist(string calldata name) external returns (uint120); function reassignOwnershipOfOperatorWhitelist(uint120 id, address newOwner) external; function reassignOwnershipOfPermittedContractReceiverAllowlist(uint120 id, address newOwner) external; function renounceOwnershipOfOperatorWhitelist(uint120 id) external; function renounceOwnershipOfPermittedContractReceiverAllowlist(uint120 id) external; function setTransferSecurityLevelOfCollection(address collection, TransferSecurityLevels level) external; function setOperatorWhitelistOfCollection(address collection, uint120 id) external; function setPermittedContractReceiverAllowlistOfCollection(address collection, uint120 id) external; function addOperatorToWhitelist(uint120 id, address operator) external; function addPermittedContractReceiverToAllowlist(uint120 id, address receiver) external; function removeOperatorFromWhitelist(uint120 id, address operator) external; function removePermittedContractReceiverFromAllowlist(uint120 id, address receiver) external; function getCollectionSecurityPolicy(address collection) external view returns (CollectionSecurityPolicy memory); function getWhitelistedOperators(uint120 id) external view returns (address[] memory); function getPermittedContractReceivers(uint120 id) external view returns (address[] memory); function isOperatorWhitelisted(uint120 id, address operator) external view returns (bool); function isContractReceiverPermitted(uint120 id, address receiver) external view returns (bool); } // File: interfaces/ITransferValidator.sol pragma solidity ^0.8.4; interface ITransferValidator { function applyCollectionTransferPolicy(address caller, address from, address to) external view; } // File: interfaces/ICreatorTokenTransferValidator.sol pragma solidity ^0.8.4; interface ICreatorTokenTransferValidator is ITransferSecurityRegistry, ITransferValidator, IEOARegistry {} // File: interfaces/ICreatorToken.sol pragma solidity ^0.8.4; interface ICreatorToken { event TransferValidatorUpdated(address oldValidator, address newValidator); function getTransferValidator() external view returns (ICreatorTokenTransferValidator); function getSecurityPolicy() external view returns (CollectionSecurityPolicy memory); function getWhitelistedOperators() external view returns (address[] memory); function getPermittedContractReceivers() external view returns (address[] memory); function isOperatorWhitelisted(address operator) external view returns (bool); function isContractReceiverPermitted(address receiver) external view returns (bool); function isTransferAllowed(address caller, address from, address to) external view returns (bool); } // File: utils/TransferValidation.sol pragma solidity ^0.8.4; /** * @title TransferValidation * @author Limit Break, Inc. * @notice A mix-in that can be combined with ERC-721 contracts to provide more granular hooks. * Openzeppelin's ERC721 contract only provides hooks for before and after transfer. This allows * developers to validate or customize transfers within the context of a mint, a burn, or a transfer. */ abstract contract TransferValidation is Context { error ShouldNotMintToBurnAddress(); /// @dev Inheriting contracts should call this function in the _beforeTokenTransfer function to get more granular hooks. function _validateBeforeTransfer(address from, address to, uint256 tokenId) internal virtual { bool fromZeroAddress = from == address(0); bool toZeroAddress = to == address(0); if(fromZeroAddress && toZeroAddress) { revert ShouldNotMintToBurnAddress(); } else if(fromZeroAddress) { _preValidateMint(_msgSender(), to, tokenId, msg.value); } else if(toZeroAddress) { _preValidateBurn(_msgSender(), from, tokenId, msg.value); } else { _preValidateTransfer(_msgSender(), from, to, tokenId, msg.value); } } /// @dev Inheriting contracts should call this function in the _afterTokenTransfer function to get more granular hooks. function _validateAfterTransfer(address from, address to, uint256 tokenId) internal virtual { bool fromZeroAddress = from == address(0); bool toZeroAddress = to == address(0); if(fromZeroAddress && toZeroAddress) { revert ShouldNotMintToBurnAddress(); } else if(fromZeroAddress) { _postValidateMint(_msgSender(), to, tokenId, msg.value); } else if(toZeroAddress) { _postValidateBurn(_msgSender(), from, tokenId, msg.value); } else { _postValidateTransfer(_msgSender(), from, to, tokenId, msg.value); } } /// @dev Optional validation hook that fires before a mint function _preValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {} /// @dev Optional validation hook that fires after a mint function _postValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {} /// @dev Optional validation hook that fires before a burn function _preValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {} /// @dev Optional validation hook that fires after a burn function _postValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {} /// @dev Optional validation hook that fires before a transfer function _preValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {} /// @dev Optional validation hook that fires after a transfer function _postValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {} } // File: @openzeppelin/contracts/interfaces/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol) pragma solidity ^0.8.20; // File: contracts/CreatorTokenBase.sol pragma solidity ^0.8.4; /** * @title CreatorTokenBase * @author Limit Break, Inc. * @notice CreatorTokenBase is an abstract contract that provides basic functionality for managing token * transfer policies through an implementation of ICreatorTokenTransferValidator. This contract is intended to be used * as a base for creator-specific token contracts, enabling customizable transfer restrictions and security policies. * * <h4>Features:</h4> * <ul>Ownable: This contract can have an owner who can set and update the transfer validator.</ul> * <ul>TransferValidation: Implements the basic token transfer validation interface.</ul> * <ul>ICreatorToken: Implements the interface for creator tokens, providing view functions for token security policies.</ul> * * <h4>Benefits:</h4> * <ul>Provides a flexible and modular way to implement custom token transfer restrictions and security policies.</ul> * <ul>Allows creators to enforce policies such as whitelisted operators and permitted contract receivers.</ul> * <ul>Can be easily integrated into other token contracts as a base contract.</ul> * * <h4>Intended Usage:</h4> * <ul>Use as a base contract for creator token implementations that require advanced transfer restrictions and * security policies.</ul> * <ul>Set and update the ICreatorTokenTransferValidator implementation contract to enforce desired policies for the * creator token.</ul> */ abstract contract CreatorTokenBase is OwnablePermissions, TransferValidation, ICreatorToken { error CreatorTokenBase__InvalidTransferValidatorContract(); error CreatorTokenBase__SetTransferValidatorFirst(); address public constant DEFAULT_TRANSFER_VALIDATOR = address(0x0000721C310194CcfC01E523fc93C9cCcFa2A0Ac); TransferSecurityLevels public constant DEFAULT_TRANSFER_SECURITY_LEVEL = TransferSecurityLevels.One; uint120 public constant DEFAULT_OPERATOR_WHITELIST_ID = uint120(1); ICreatorTokenTransferValidator private transferValidator; /** * @notice Allows the contract owner to set the transfer validator to the official validator contract * and set the security policy to the recommended default settings. * @dev May be overridden to change the default behavior of an individual collection. */ function setToDefaultSecurityPolicy() public virtual { _requireCallerIsContractOwner(); setTransferValidator(DEFAULT_TRANSFER_VALIDATOR); ICreatorTokenTransferValidator(DEFAULT_TRANSFER_VALIDATOR).setTransferSecurityLevelOfCollection(address(this), DEFAULT_TRANSFER_SECURITY_LEVEL); ICreatorTokenTransferValidator(DEFAULT_TRANSFER_VALIDATOR).setOperatorWhitelistOfCollection(address(this), DEFAULT_OPERATOR_WHITELIST_ID); } /** * @notice Allows the contract owner to set the transfer validator to a custom validator contract * and set the security policy to their own custom settings. */ function setToCustomValidatorAndSecurityPolicy( address validator, TransferSecurityLevels level, uint120 operatorWhitelistId, uint120 permittedContractReceiversAllowlistId) public { _requireCallerIsContractOwner(); setTransferValidator(validator); ICreatorTokenTransferValidator(validator). setTransferSecurityLevelOfCollection(address(this), level); ICreatorTokenTransferValidator(validator). setOperatorWhitelistOfCollection(address(this), operatorWhitelistId); ICreatorTokenTransferValidator(validator). setPermittedContractReceiverAllowlistOfCollection(address(this), permittedContractReceiversAllowlistId); } /** * @notice Allows the contract owner to set the security policy to their own custom settings. * @dev Reverts if the transfer validator has not been set. */ function setToCustomSecurityPolicy( TransferSecurityLevels level, uint120 operatorWhitelistId, uint120 permittedContractReceiversAllowlistId) public { _requireCallerIsContractOwner(); ICreatorTokenTransferValidator validator = getTransferValidator(); if (address(validator) == address(0)) { revert CreatorTokenBase__SetTransferValidatorFirst(); } validator.setTransferSecurityLevelOfCollection(address(this), level); validator.setOperatorWhitelistOfCollection(address(this), operatorWhitelistId); validator.setPermittedContractReceiverAllowlistOfCollection(address(this), permittedContractReceiversAllowlistId); } /** * @notice Sets the transfer validator for the token contract. * * @dev Throws when provided validator contract is not the zero address and doesn't support * the ICreatorTokenTransferValidator interface. * @dev Throws when the caller is not the contract owner. * * @dev <h4>Postconditions:</h4> * 1. The transferValidator address is updated. * 2. The `TransferValidatorUpdated` event is emitted. * * @param transferValidator_ The address of the transfer validator contract. */ function setTransferValidator(address transferValidator_) public { _requireCallerIsContractOwner(); bool isValidTransferValidator = false; if(transferValidator_.code.length > 0) { try IERC165(transferValidator_).supportsInterface(type(ICreatorTokenTransferValidator).interfaceId) returns (bool supportsInterface) { isValidTransferValidator = supportsInterface; } catch {} } if(transferValidator_ != address(0) && !isValidTransferValidator) { revert CreatorTokenBase__InvalidTransferValidatorContract(); } emit TransferValidatorUpdated(address(transferValidator), transferValidator_); transferValidator = ICreatorTokenTransferValidator(transferValidator_); } /** * @notice Returns the transfer validator contract address for this token contract. */ function getTransferValidator() public view override returns (ICreatorTokenTransferValidator) { return transferValidator; } /** * @notice Returns the security policy for this token contract, which includes: * Transfer security level, operator whitelist id, permitted contract receiver allowlist id. */ function getSecurityPolicy() public view override returns (CollectionSecurityPolicy memory) { if (address(transferValidator) != address(0)) { return transferValidator.getCollectionSecurityPolicy(address(this)); } return CollectionSecurityPolicy({ transferSecurityLevel: TransferSecurityLevels.Zero, operatorWhitelistId: 0, permittedContractReceiversId: 0 }); } /** * @notice Returns the list of all whitelisted operators for this token contract. * @dev This can be an expensive call and should only be used in view-only functions. */ function getWhitelistedOperators() public view override returns (address[] memory) { if (address(transferValidator) != address(0)) { return transferValidator.getWhitelistedOperators( transferValidator.getCollectionSecurityPolicy(address(this)).operatorWhitelistId); } return new address[](0); } /** * @notice Returns the list of permitted contract receivers for this token contract. * @dev This can be an expensive call and should only be used in view-only functions. */ function getPermittedContractReceivers() public view override returns (address[] memory) { if (address(transferValidator) != address(0)) { return transferValidator.getPermittedContractReceivers( transferValidator.getCollectionSecurityPolicy(address(this)).permittedContractReceiversId); } return new address[](0); } /** * @notice Checks if an operator is whitelisted for this token contract. * @param operator The address of the operator to check. */ function isOperatorWhitelisted(address operator) public view override returns (bool) { if (address(transferValidator) != address(0)) { return transferValidator.isOperatorWhitelisted( transferValidator.getCollectionSecurityPolicy(address(this)).operatorWhitelistId, operator); } return false; } /** * @notice Checks if a contract receiver is permitted for this token contract. * @param receiver The address of the receiver to check. */ function isContractReceiverPermitted(address receiver) public view override returns (bool) { if (address(transferValidator) != address(0)) { return transferValidator.isContractReceiverPermitted( transferValidator.getCollectionSecurityPolicy(address(this)).permittedContractReceiversId, receiver); } return false; } /** * @notice Determines if a transfer is allowed based on the token contract's security policy. Use this function * to simulate whether or not a transfer made by the specified `caller` from the `from` address to the `to` * address would be allowed by this token's security policy. * * @notice This function only checks the security policy restrictions and does not check whether token ownership * or approvals are in place. * * @param caller The address of the simulated caller. * @param from The address of the sender. * @param to The address of the receiver. * @return True if the transfer is allowed, false otherwise. */ function isTransferAllowed(address caller, address from, address to) public view override returns (bool) { if (address(transferValidator) != address(0)) { try transferValidator.applyCollectionTransferPolicy(caller, from, to) { return true; } catch { return false; } } return true; } /** * @dev Pre-validates a token transfer, reverting if the transfer is not allowed by this token's security policy. * Inheriting contracts are responsible for overriding the _beforeTokenTransfer function, or its equivalent * and calling _validateBeforeTransfer so that checks can be properly applied during token transfers. * * @dev Throws when the transfer doesn't comply with the collection's transfer policy, if the transferValidator is * set to a non-zero address. * * @param caller The address of the caller. * @param from The address of the sender. * @param to The address of the receiver. */ function _preValidateTransfer( address caller, address from, address to, uint256 /*tokenId*/, uint256 /*value*/) internal virtual override { if (address(transferValidator) != address(0)) { transferValidator.applyCollectionTransferPolicy(caller, from, to); } } } // File: contracts/CryptApe.sol pragma solidity ^0.8.23; contract Crypt is Ownable, ReentrancyGuard, ERC721A, BasicRoyaltiesInitializable, ImmediateRoyaltySplitter, CreatorTokenBase { using Strings for uint256; /// ----------------------------------------------------------------------- /// Constants & Configuration /// ----------------------------------------------------------------------- uint256 public MAX_SUPPLY = 6666; /// ----------------------------------------------------------------------- /// Metadata /// ----------------------------------------------------------------------- string public baseURI; /// ----------------------------------------------------------------------- /// Constructor /// ----------------------------------------------------------------------- /** * @param _initialOwner The owner of the contract. * @param _baseUri The initial base URI for token metadata. * @param _royaltyFeeNumerator The default royalty fee (e.g. 500 = 5%). */ constructor( address _initialOwner, string memory _baseUri, uint96 _royaltyFeeNumerator ) ERC721A("Crypt", "CRYPT") Ownable(_initialOwner) CreatorTokenBase() { baseURI = _baseUri; _setDefaultRoyalty(address(this), _royaltyFeeNumerator); } /// ----------------------------------------------------------------------- /// Gift (Owner Mint) /// ----------------------------------------------------------------------- /** * @notice Owner can mint/gift tokens directly to a wallet without restriction. */ function gift(address to, uint256 quantity) external onlyOwner { require(totalSupply() + quantity <= MAX_SUPPLY, "Exceeds max supply"); _safeMint(to, quantity); } /** * @notice Mints 1 NFT to each address provided in the `recipients` array. */ function batchAirdrop(address[] calldata recipients) external onlyOwner { // Check that we won't exceed the max supply require(totalSupply() + recipients.length <= MAX_SUPPLY, "Exceeds max supply"); for (uint256 i = 0; i < recipients.length; i++) { _safeMint(recipients[i], 1); } } /// ----------------------------------------------------------------------- /// Burn (Optional) /// ----------------------------------------------------------------------- function burn(uint256 tokenId) external nonReentrant { require( msg.sender == owner() || msg.sender == ownerOf(tokenId), "Not allowed to burn" ); _burn(tokenId); } /// ----------------------------------------------------------------------- /// Admin Functions /// ----------------------------------------------------------------------- /// @notice Adjust the max number of tokens. function setMaxSupply(uint256 _newMax) external onlyOwner { MAX_SUPPLY = _newMax; } /// @notice Updates the base URI for the tokens (e.g., IPFS folder link). function setBaseURI(string memory _baseUri) external onlyOwner { baseURI = _baseUri; } /// @notice Rescue stuck ERC20 tokens if needed. function rescueERC20(IERC20 token, address to, uint256 amount) external onlyOwner { token.transfer(to, amount); } /// @notice Withdraw all ETH from the contract to the owner. function withdrawNative() external onlyOwner nonReentrant { uint256 balance = address(this).balance; require(balance > 0, "No native token to withdraw"); (bool success, ) = payable(owner()).call{value: balance}(""); require(success, "Native withdraw failed"); } /// ----------------------------------------------------------------------- /// Royalties /// ----------------------------------------------------------------------- function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } function initializeRoyaltyShares( address[] memory _receivers, uint256[] memory _shares ) external onlyOwner { _initializeRoyaltyShares(_receivers, _shares); } /// ----------------------------------------------------------------------- /// Metadata /// ----------------------------------------------------------------------- function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : ""; } /// ----------------------------------------------------------------------- /// ERC165 / Interface Support /// ----------------------------------------------------------------------- function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } /// ----------------------------------------------------------------------- /// Creator Token Base Requirement /// ----------------------------------------------------------------------- function _requireCallerIsContractOwner() internal view override { require(msg.sender == owner(), "Caller is not the contract owner"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_initialOwner","type":"address"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"uint96","name":"_royaltyFeeNumerator","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CreatorTokenBase__InvalidTransferValidatorContract","type":"error"},{"inputs":[],"name":"CreatorTokenBase__SetTransferValidatorFirst","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"ShouldNotMintToBurnAddress","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":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"DefaultRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentSplit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"royaltyReceivers","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"royaltyShares","type":"uint256[]"}],"name":"RoyaltySharesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"TokenRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldValidator","type":"address"},{"indexed":false,"internalType":"address","name":"newValidator","type":"address"}],"name":"TransferValidatorUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_OPERATOR_WHITELIST_ID","outputs":[{"internalType":"uint120","name":"","type":"uint120"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_TRANSFER_SECURITY_LEVEL","outputs":[{"internalType":"enum TransferSecurityLevels","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_TRANSFER_VALIDATOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_ROYALTY_SHARES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"batchAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPermittedContractReceivers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyShares","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSecurityPolicy","outputs":[{"components":[{"internalType":"enum TransferSecurityLevels","name":"transferSecurityLevel","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversId","type":"uint120"}],"internalType":"struct CollectionSecurityPolicy","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransferValidator","outputs":[{"internalType":"contract ICreatorTokenTransferValidator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistedOperators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"name":"initializeRoyaltyShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"isContractReceiverPermitted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"isOperatorWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"isTransferAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","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":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyReceivers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyShares","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum TransferSecurityLevels","name":"level","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversAllowlistId","type":"uint120"}],"name":"setToCustomSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"validator","type":"address"},{"internalType":"enum TransferSecurityLevels","name":"level","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversAllowlistId","type":"uint120"}],"name":"setToCustomValidatorAndSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setToDefaultSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"transferValidator_","type":"address"}],"name":"setTransferValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateReceiverAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052611a0a600f5534801562000016575f80fd5b5060405162003dc738038062003dc7833981016040819052620000399162000285565b6040518060400160405280600581526020016410dc9e5c1d60da1b8152506040518060400160405280600581526020016410d496541560da1b815250845f6001600160a01b0316816001600160a01b031603620000b057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000bb8162000109565b50600180556004620000ce83826200040e565b506005620000dd82826200040e565b50506001600255506010620000f383826200040e565b5062000100308262000158565b505050620004da565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001648282620001af565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b6127106001600160601b038216811015620001f057604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401620000a7565b6001600160a01b0383166200021b57604051635b6cc80560e11b81525f6004820152602401620000a7565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b634e487b7160e01b5f52604160045260245ffd5b80516001600160601b038116811462000280575f80fd5b919050565b5f805f6060848603121562000298575f80fd5b83516001600160a01b0381168114620002af575f80fd5b602085810151919450906001600160401b0380821115620002ce575f80fd5b818701915087601f830112620002e2575f80fd5b815181811115620002f757620002f762000255565b604051601f8201601f19908116603f0116810190838211818310171562000322576200032262000255565b816040528281528a868487010111156200033a575f80fd5b5f93505b828410156200035d57848401860151818501870152928501926200033e565b5f8684830101528097505050505050506200037b6040850162000269565b90509250925092565b600181811c908216806200039957607f821691505b602082108103620003b857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200040957805f5260205f20601f840160051c81016020851015620003e55750805b601f840160051c820191505b8181101562000406575f8155600101620003f1565b50505b505050565b81516001600160401b038111156200042a576200042a62000255565b62000442816200043b845462000384565b84620003be565b602080601f83116001811462000478575f8415620004605750858301515b5f19600386901b1c1916600185901b178555620004d2565b5f85815260208120601f198616915b82811015620004a85788860151825594840194600190910190840162000487565b5085821015620004c657878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b6138df80620004e85f395ff3fe60806040526004361061028e575f3560e01c80636352211e11610155578063a596dae3116100be578063cbce4c9711610078578063cbce4c9714610b1d578063d007af5c14610b3c578063e985e9c514610b50578063f152015714610b97578063f2fde38b14610bb6578063fd762d9214610bd5575f80fd5b8063a596dae314610a5e578063a9fc664e14610a80578063b2118a8d14610a9f578063b88d4fde14610abe578063be537f4314610add578063c87b56dd14610afe575f80fd5b8063715018a61161010f578063715018a6146109bd5780638da5cb5b146109d157806395d89b41146109ed5780639d645a4414610a015780639edfbec914610a20578063a22cb46514610a3f575f80fd5b80636352211e146109195780636b8eed0a146109385780636c0360eb146109575780636c3b86991461096b5780636f8b44b01461097f57806370a082311461099e575f80fd5b80632e8da829116101f7578063495c8bf9116101b1578063495c8bf91461085b57806350431ce41461087c57806355f804b3146108905780635bb2f691146108af5780635d4c1d46146108ce57806361347162146108fa575f80fd5b80632e8da829146107b55780632f255240146107d457806332cb6b0c146107e95780633c768d0e146107fe57806342842e0e1461081d57806342966c681461083c575f80fd5b8063098144d411610248578063098144d4146106d657806318160ddd146106f35780631b25b077146107185780631c33b3281461073757806323b872dd146107585780632a55205a14610777575f80fd5b806301463546146105e757806301ffc9a71461062957806304634d8d1461065857806306fdde0314610677578063081812fc14610698578063095ea7b3146106b7575f80fd5b366105e35761029b610bf4565b5f34116102e55760405162461bcd60e51b8152602060048201526013602482015272139bc81c185e5b595b9d081c9958d95a5d9959606a1b60448201526064015b60405180910390fd5b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770910160405180910390a1345f80805b600c5461033190600190612d8f565b81101561049257600d818154811061034b5761034b612da2565b5f91825260209091200154925061036e6127106103683486610c4d565b90610c61565b915061037a8483610c6c565b93505f600c828154811061039057610390612da2565b5f9182526020822001546040516001600160a01b039091169185919081818185875af1925050503d805f81146103e1576040519150601f19603f3d011682016040523d82523d5f602084013e6103e6565b606091505b50509050806104295760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016102dc565b7fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174600c838154811061045d5761045d612da2565b5f9182526020918290200154604080516001600160a01b0390921682529181018690520160405180910390a150600101610322565b505f831180156104a35750600c5415155b156105d557600c80545f91906104bb90600190612d8f565b815481106104cb576104cb612da2565b5f9182526020822001546040516001600160a01b039091169186919081818185875af1925050503d805f811461051c576040519150601f19603f3d011682016040523d82523d5f602084013e610521565b606091505b50509050806105645760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016102dc565b600c80547fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174919061059790600190612d8f565b815481106105a7576105a7612da2565b5f9182526020918290200154604080516001600160a01b0390921682529181018790520160405180910390a1505b5050506105e160018055565b005b5f80fd5b3480156105f2575f80fd5b5061060c71721c310194ccfc01e523fc93c9cccfa2a0ac81565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610634575f80fd5b50610648610643366004612dcb565b610c77565b6040519015158152602001610620565b348015610663575f80fd5b506105e1610672366004612dfa565b610c90565b348015610682575f80fd5b5061068b610ca6565b6040516106209190612e89565b3480156106a3575f80fd5b5061060c6106b2366004612e9b565b610d36565b3480156106c2575f80fd5b506105e16106d1366004612eb2565b610d78565b3480156106e1575f80fd5b50600e546001600160a01b031661060c565b3480156106fe575f80fd5b50600354600254035f19015b604051908152602001610620565b348015610723575f80fd5b50610648610732366004612edc565b610e16565b348015610742575f80fd5b5061074b600181565b6040516106209190612f44565b348015610763575f80fd5b506105e1610772366004612f52565b610eab565b348015610782575f80fd5b50610796610791366004612f90565b611046565b604080516001600160a01b039093168352602083019190915201610620565b3480156107c0575f80fd5b506106486107cf366004612fb0565b6110c9565b3480156107df575f80fd5b5061070a61271081565b3480156107f4575f80fd5b5061070a600f5481565b348015610809575f80fd5b5061060c610818366004612e9b565b6111cf565b348015610828575f80fd5b506105e1610837366004612f52565b6111f7565b348015610847575f80fd5b506105e1610856366004612e9b565b611216565b348015610866575f80fd5b5061086f6112a6565b604051610620919061300e565b348015610887575f80fd5b506105e16113b0565b34801561089b575f80fd5b506105e16108aa3660046130ba565b6114b4565b3480156108ba575f80fd5b506105e16108c936600461318e565b6114c8565b3480156108d9575f80fd5b506108e2600181565b6040516001600160781b039091168152602001610620565b348015610905575f80fd5b506105e161091436600461326a565b6114da565b348015610924575f80fd5b5061060c610933366004612e9b565b611635565b348015610943575f80fd5b506105e1610952366004612fb0565b61163f565b348015610962575f80fd5b5061068b611781565b348015610976575f80fd5b506105e161180d565b34801561098a575f80fd5b506105e1610999366004612e9b565b6118fc565b3480156109a9575f80fd5b5061070a6109b8366004612fb0565b611909565b3480156109c8575f80fd5b506105e1611956565b3480156109dc575f80fd5b505f546001600160a01b031661060c565b3480156109f8575f80fd5b5061068b611967565b348015610a0c575f80fd5b50610648610a1b366004612fb0565b611976565b348015610a2b575f80fd5b506105e1610a3a3660046132a7565b611a3b565b348015610a4a575f80fd5b506105e1610a59366004613323565b611ae3565b348015610a69575f80fd5b50610a72611b77565b60405161062092919061334f565b348015610a8b575f80fd5b506105e1610a9a366004612fb0565b611c30565b348015610aaa575f80fd5b506105e1610ab9366004612f52565b611d4f565b348015610ac9575f80fd5b506105e1610ad83660046133a4565b611dc7565b348015610ae8575f80fd5b50610af1611e0b565b604051610620919061341f565b348015610b09575f80fd5b5061068b610b18366004612e9b565b611ec2565b348015610b28575f80fd5b506105e1610b37366004612eb2565b611f73565b348015610b47575f80fd5b5061086f611fe2565b348015610b5b575f80fd5b50610648610b6a36600461345a565b6001600160a01b039182165f90815260096020908152604080832093909416825291909152205460ff1690565b348015610ba2575f80fd5b5061070a610bb1366004612e9b565b612099565b348015610bc1575f80fd5b506105e1610bd0366004612fb0565b6120b8565b348015610be0575f80fd5b506105e1610bef366004613486565b6120f2565b600260015403610c465760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102dc565b6002600155565b5f610c5882846134df565b90505b92915050565b5f610c5882846134f6565b5f610c588284612d8f565b5f610c81826121e7565b80610c5b5750610c5b8261224f565b610c98612283565b610ca282826122af565b5050565b606060048054610cb590613515565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce190613515565b8015610d2c5780601f10610d0357610100808354040283529160200191610d2c565b820191905f5260205f20905b815481529060010190602001808311610d0f57829003601f168201915b5050505050905090565b5f610d4082612304565b610d5d576040516333d1c03960e21b815260040160405180910390fd5b505f908152600860205260409020546001600160a01b031690565b5f610d8282611635565b9050336001600160a01b03821614610dbb57610d9e8133610b6a565b610dbb576040516367d9dca160e11b815260040160405180910390fd5b5f8281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600e545f906001600160a01b031615610ea057600e5460405163050bf71960e31b81526001600160a01b038681166004830152858116602483015284811660448301529091169063285fb8c8906064015f6040518083038186803b158015610e7c575f80fd5b505afa925050508015610e8d575060015b610e9857505f610ea4565b506001610ea4565b5060015b9392505050565b5f610eb582612337565b9050836001600160a01b0316816001600160a01b031614610ee85760405162a1148160e81b815260040160405180910390fd5b5f8281526008602052604090208054610f138187335b6001600160a01b039081169116811491141790565b610f3e57610f218633610b6a565b610f3e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f6557604051633a954ecd60e21b815260040160405180910390fd5b8015610f6f575f82555b6001600160a01b038681165f9081526007602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260066020526040812091909155600160e11b84169003610ffc57600184015f818152600660205260408120549003610ffa576002548114610ffa575f8181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b6020526040812080548291906001600160a01b03811690600160a01b90046001600160601b031681611099575050600a546001600160a01b03811690600160a01b90046001600160601b03165b5f6127106110b06001600160601b038416896134df565b6110ba91906134f6565b92989297509195505050505050565b600e545f906001600160a01b0316156111c857600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063d72dde5e90829063b955455290602401606060405180830381865afa15801561112a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061114e919061354d565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044015b602060405180830381865afa1580156111a4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5b91906135bd565b505f919050565b600c81815481106111de575f80fd5b5f918252602090912001546001600160a01b0316905081565b61121183838360405180602001604052805f815250611dc7565b505050565b61121e610bf4565b5f546001600160a01b031633148061124f575061123a81611635565b6001600160a01b0316336001600160a01b0316145b6112915760405162461bcd60e51b81526020600482015260136024820152722737ba1030b63637bbb2b2103a3790313ab93760691b60448201526064016102dc565b61129a816123a1565b6112a360018055565b50565b600e546060906001600160a01b03161561139e57600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690633fe5df9990829063b955455290602401606060405180830381865afa158015611308573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132c919061354d565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526024015b5f60405180830381865afa158015611372573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261139991908101906135d8565b905090565b50604080515f81526020810190915290565b6113b8612283565b6113c0610bf4565b478061140e5760405162461bcd60e51b815260206004820152601b60248201527f4e6f206e617469766520746f6b656e20746f207769746864726177000000000060448201526064016102dc565b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f8114611458576040519150601f19603f3d011682016040523d82523d5f602084013e61145d565b606091505b50509050806114a75760405162461bcd60e51b815260206004820152601660248201527513985d1a5d99481dda5d1a191c985dc819985a5b195960521b60448201526064016102dc565b50506114b260018055565b565b6114bc612283565b6010610ca282826136b1565b6114d0612283565b610ca282826123ab565b6114e2612405565b5f6114f5600e546001600160a01b031690565b90506001600160a01b03811661151e57604051631cffe3dd60e11b815260040160405180910390fd5b604051630368065360e61b81526001600160a01b0382169063da0194c09061154c903090889060040161376d565b5f604051808303815f87803b158015611563575f80fd5b505af1158015611575573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0384169250632304aa0291506115a7903090879060040161378a565b5f604051808303815f87803b1580156115be575f80fd5b505af11580156115d0573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0384169250638d7443149150611602903090869060040161378a565b5f604051808303815f87803b158015611619575f80fd5b505af115801561162b573d5f803e3d5ffd5b5050505050505050565b5f610c5b82612337565b611647610bf4565b6001600160a01b0381166116965760405162461bcd60e51b815260206004820152601660248201527513995dc81859191c995cdcc81a5cc81a5b9d985b1a5960521b60448201526064016102dc565b5f805b600c5481101561172957336001600160a01b0316600c82815481106116c0576116c0612da2565b5f918252602090912001546001600160a01b0316036117215782600c82815481106116ed576116ed612da2565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060019150611729565b600101611699565b50806117775760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722061646472657373206e6f7420666f756e6400000000000060448201526064016102dc565b506112a360018055565b6010805461178e90613515565b80601f01602080910402602001604051908101604052809291908181526020018280546117ba90613515565b80156118055780601f106117dc57610100808354040283529160200191611805565b820191905f5260205f20905b8154815290600101906020018083116117e857829003601f168201915b505050505081565b611815612405565b61183071721c310194ccfc01e523fc93c9cccfa2a0ac611c30565b604051630368065360e61b815271721c310194ccfc01e523fc93c9cccfa2a0ac9063da0194c09061186890309060019060040161376d565b5f604051808303815f87803b15801561187f575f80fd5b505af1158015611891573d5f803e3d5ffd5b5050604051631182550160e11b815271721c310194ccfc01e523fc93c9cccfa2a0ac9250632304aa0291506118cd90309060019060040161378a565b5f604051808303815f87803b1580156118e4575f80fd5b505af11580156118f6573d5f803e3d5ffd5b50505050565b611904612283565b600f55565b5f6001600160a01b038216611931576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526007602052604090205467ffffffffffffffff1690565b61195e612283565b6114b25f61245e565b606060058054610cb590613515565b600e545f906001600160a01b0316156111c857600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690639445f53090829063b955455290602401606060405180830381865afa1580156119d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fb919061354d565b60409081015190516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b0385166024820152604401611189565b611a43612283565b600f54600354600254839190035f1901611a5d91906137ac565b1115611aa05760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016102dc565b5f5b8181101561121157611adb838383818110611abf57611abf612da2565b9050602002016020810190611ad49190612fb0565b60016124ad565b600101611aa2565b336001600160a01b03831603611b0c5760405163b06307db60e01b815260040160405180910390fd5b335f8181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606080600c600d81805480602002602001604051908101604052809291908181526020018280548015611bd157602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611bb3575b5050505050915080805480602002602001604051908101604052809291908181526020018280548015611c2157602002820191905f5260205f20905b815481526020019060010190808311611c0d575b50505050509050915091509091565b611c38612405565b5f6001600160a01b0382163b15611cb1576040516301ffc9a760e01b81525f60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa925050508015611ca9575060408051601f3d908101601f19168201909252611ca6918101906135bd565b60015b15611cb15790505b6001600160a01b03821615801590611cc7575080155b15611ce5576040516332483afb60e01b815260040160405180910390fd5b600e54604080516001600160a01b03928316815291841660208301527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a150600e80546001600160a01b0319166001600160a01b0392909216919091179055565b611d57612283565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015611da3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f691906135bd565b611dd2848484610eab565b6001600160a01b0383163b156118f657611dee848484846124c6565b6118f6576040516368d2bf6b60e11b815260040160405180910390fd5b604080516060810182525f8082526020820181905291810191909152600e546001600160a01b031615611ea257600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063b955455290602401606060405180830381865afa158015611e7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611399919061354d565b50604080516060810182525f808252602082018190529181019190915290565b6060611ecd82612304565b611f195760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016102dc565b5f60108054611f2790613515565b905011611f425760405180602001604052805f815250610c5b565b6010611f4d836125ae565b604051602001611f5e9291906137bf565b60405160208183030381529060405292915050565b611f7b612283565b600f54600354600254839190035f1901611f9591906137ac565b1115611fd85760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016102dc565b610ca282826124ad565b600e546060906001600160a01b03161561139e57600e54604051635caaa2a960e11b81523060048201526001600160a01b03909116906317e94a6c90829063b955455290602401606060405180830381865afa158015612044573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612068919061354d565b60409081015190516001600160e01b031960e084901b1681526001600160781b039091166004820152602401611358565b600d81815481106120a8575f80fd5b5f91825260209091200154905081565b6120c0612283565b6001600160a01b0381166120e957604051631e4fbdf760e01b81525f60048201526024016102dc565b6112a38161245e565b6120fa612405565b61210384611c30565b604051630368065360e61b81526001600160a01b0385169063da0194c090612131903090879060040161376d565b5f604051808303815f87803b158015612148575f80fd5b505af115801561215a573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0387169250632304aa02915061218c903090869060040161378a565b5f604051808303815f87803b1580156121a3575f80fd5b505af11580156121b5573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0387169250638d7443149150611602903090859060040161378a565b5f6301ffc9a760e01b6001600160e01b03198316148061221757506380ac58cd60e01b6001600160e01b03198316145b80612232575063152a902d60e11b6001600160e01b03198316145b80610c5b5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b1480610c5b57506301ffc9a760e01b6001600160e01b0319831614610c5b565b5f546001600160a01b031633146114b25760405163118cdaa760e01b81523360048201526024016102dc565b6122b9828261263e565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b5f81600111158015612317575060025482105b8015610c5b5750505f90815260066020526040902054600160e01b161590565b5f818060011161238857600254811015612388575f8181526006602052604081205490600160e01b82169003612386575b805f03610ea457505f19015f81815260066020526040902054612368565b505b604051636f96cda160e11b815260040160405180910390fd5b6112a3815f6126e0565b600c54156123fb5760405162461bcd60e51b815260206004820152601a60248201527f526f79616c74792073686172657320616c72656164792073657400000000000060448201526064016102dc565b610ca28282612822565b5f546001600160a01b031633146114b25760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f742074686520636f6e7472616374206f776e657260448201526064016102dc565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ca2828260405180602001604052805f815250612aa2565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906124fa903390899088908890600401613852565b6020604051808303815f875af1925050508015612534575060408051601f3d908101601f191682019092526125319181019061388e565b60015b612590573d808015612561576040519150601f19603f3d011682016040523d82523d5f602084013e612566565b606091505b5080515f03612588576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6125ba83612b0d565b60010190505f8167ffffffffffffffff8111156125d9576125d9613020565b6040519080825280601f01601f191660200182016040528015612603576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461260d57509392505050565b6127106001600160601b03821681101561267d57604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016102dc565b6001600160a01b0383166126a657604051635b6cc80560e11b81525f60048201526024016102dc565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f6126ea83612337565b9050805f80612706865f90815260086020526040902080549091565b9150915084156127465761271b818433610efe565b612746576127298333610b6a565b61274657604051632ce44b5f60e11b815260040160405180910390fd5b8015612750575f82555b6001600160a01b0383165f81815260076020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260066020526040812091909155600160e11b851690036127da57600186015f8181526006602052604081205490036127d85760025481146127d8575f8181526006602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060038054600101905550505050565b805182511461286c5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b60448201526064016102dc565b5f8251116128bc5760405162461bcd60e51b815260206004820152601c60248201527f4e6f20726f79616c74795265636569766572732070726f76696465640000000060448201526064016102dc565b5f805b83518110156129e0575f6001600160a01b03168482815181106128e4576128e4612da2565b60200260200101516001600160a01b0316036129425760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642072656365697665722061646472657373000000000000000060448201526064016102dc565b5f83828151811061295557612955612da2565b6020026020010151116129aa5760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e20300000000060448201526064016102dc565b6129d68382815181106129bf576129bf612da2565b602002602001015183612be490919063ffffffff16565b91506001016128bf565b506127108114612a3c5760405162461bcd60e51b815260206004820152602160248201527f546f74616c20726f79616c7479536861726573206d75737420626520313030306044820152600360fc1b60648201526084016102dc565b8251612a4f90600c906020860190612ccb565b508151612a6390600d906020850190612d2e565b507f093643a9a716c713e0c48f9cd3ddcbc463c36fe73c4af8ee4e97d4b00b04e2a48383604051612a9592919061334f565b60405180910390a1505050565b612aac8383612bef565b6001600160a01b0383163b15611211576002548281035b612ad55f8683806001019450866124c6565b612af2576040516368d2bf6b60e11b815260040160405180910390fd5b818110612ac3578160025414612b06575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612b4b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612b77576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b9557662386f26fc10000830492506010015b6305f5e1008310612bad576305f5e100830492506008015b6127108310612bc157612710830492506004015b60648310612bd3576064830492506002015b600a8310610c5b5760010192915050565b5f610c5882846137ac565b6002546001600160a01b038316612c1857604051622e076360e81b815260040160405180910390fd5b815f03612c385760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260066020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210612c805760025550505050565b828054828255905f5260205f20908101928215612d1e579160200282015b82811115612d1e57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612ce9565b50612d2a929150612d67565b5090565b828054828255905f5260205f20908101928215612d1e579160200282015b82811115612d1e578251825591602001919060010190612d4c565b5b80821115612d2a575f8155600101612d68565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610c5b57610c5b612d7b565b634e487b7160e01b5f52603260045260245ffd5b6001600160e01b0319811681146112a3575f80fd5b5f60208284031215612ddb575f80fd5b8135610ea481612db6565b6001600160a01b03811681146112a3575f80fd5b5f8060408385031215612e0b575f80fd5b8235612e1681612de6565b915060208301356001600160601b0381168114612e31575f80fd5b809150509250929050565b5f5b83811015612e56578181015183820152602001612e3e565b50505f910152565b5f8151808452612e75816020860160208601612e3c565b601f01601f19169290920160200192915050565b602081525f610c586020830184612e5e565b5f60208284031215612eab575f80fd5b5035919050565b5f8060408385031215612ec3575f80fd5b8235612ece81612de6565b946020939093013593505050565b5f805f60608486031215612eee575f80fd5b8335612ef981612de6565b92506020840135612f0981612de6565b91506040840135612f1981612de6565b809150509250925092565b60078110612f4057634e487b7160e01b5f52602160045260245ffd5b9052565b60208101610c5b8284612f24565b5f805f60608486031215612f64575f80fd5b8335612f6f81612de6565b92506020840135612f7f81612de6565b929592945050506040919091013590565b5f8060408385031215612fa1575f80fd5b50508035926020909101359150565b5f60208284031215612fc0575f80fd5b8135610ea481612de6565b5f815180845260208085019450602084015f5b838110156130035781516001600160a01b031687529582019590820190600101612fde565b509495945050505050565b602081525f610c586020830184612fcb565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561305d5761305d613020565b604052919050565b5f67ffffffffffffffff83111561307e5761307e613020565b613091601f8401601f1916602001613034565b90508281528383830111156130a4575f80fd5b828260208301375f602084830101529392505050565b5f602082840312156130ca575f80fd5b813567ffffffffffffffff8111156130e0575f80fd5b8201601f810184136130f0575f80fd5b6125a684823560208401613065565b5f67ffffffffffffffff82111561311857613118613020565b5060051b60200190565b5f82601f830112613131575f80fd5b81356020613146613141836130ff565b613034565b8083825260208201915060208460051b870101935086841115613167575f80fd5b602086015b84811015613183578035835291830191830161316c565b509695505050505050565b5f806040838503121561319f575f80fd5b823567ffffffffffffffff808211156131b6575f80fd5b818501915085601f8301126131c9575f80fd5b813560206131d9613141836130ff565b82815260059290921b840181019181810190898411156131f7575f80fd5b948201945b8386101561321e57853561320f81612de6565b825294820194908201906131fc565b96505086013592505080821115613233575f80fd5b5061324085828601613122565b9150509250929050565b600781106112a3575f80fd5b6001600160781b03811681146112a3575f80fd5b5f805f6060848603121561327c575f80fd5b83356132878161324a565b9250602084013561329781613256565b91506040840135612f1981613256565b5f80602083850312156132b8575f80fd5b823567ffffffffffffffff808211156132cf575f80fd5b818501915085601f8301126132e2575f80fd5b8135818111156132f0575f80fd5b8660208260051b8501011115613304575f80fd5b60209290920196919550909350505050565b80151581146112a3575f80fd5b5f8060408385031215613334575f80fd5b823561333f81612de6565b91506020830135612e3181613316565b604081525f6133616040830185612fcb565b8281036020848101919091528451808352858201928201905f5b818110156133975784518352938301939183019160010161337b565b5090979650505050505050565b5f805f80608085870312156133b7575f80fd5b84356133c281612de6565b935060208501356133d281612de6565b925060408501359150606085013567ffffffffffffffff8111156133f4575f80fd5b8501601f81018713613404575f80fd5b61341387823560208401613065565b91505092959194509250565b5f606082019050613431828451612f24565b60208301516001600160781b038082166020850152806040860151166040850152505092915050565b5f806040838503121561346b575f80fd5b823561347681612de6565b91506020830135612e3181612de6565b5f805f8060808587031215613499575f80fd5b84356134a481612de6565b935060208501356134b48161324a565b925060408501356134c481613256565b915060608501356134d481613256565b939692955090935050565b8082028115828204841417610c5b57610c5b612d7b565b5f8261351057634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c9082168061352957607f821691505b60208210810361354757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6060828403121561355d575f80fd5b6040516060810181811067ffffffffffffffff8211171561358057613580613020565b604052825161358e8161324a565b8152602083015161359e81613256565b602082015260408301516135b181613256565b60408201529392505050565b5f602082840312156135cd575f80fd5b8151610ea481613316565b5f60208083850312156135e9575f80fd5b825167ffffffffffffffff8111156135ff575f80fd5b8301601f8101851361360f575f80fd5b805161361d613141826130ff565b81815260059190911b8201830190838101908783111561363b575f80fd5b928401925b8284101561366257835161365381612de6565b82529284019290840190613640565b979650505050505050565b601f82111561121157805f5260205f20601f840160051c810160208510156136925750805b601f840160051c820191505b81811015612b06575f815560010161369e565b815167ffffffffffffffff8111156136cb576136cb613020565b6136df816136d98454613515565b8461366d565b602080601f831160018114613712575f84156136fb5750858301515b5f19600386901b1c1916600185901b17855561103e565b5f85815260208120601f198616915b8281101561374057888601518255948401946001909101908401613721565b508582101561375d57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038316815260408101610ea46020830184612f24565b6001600160a01b039290921682526001600160781b0316602082015260400190565b80820180821115610c5b57610c5b612d7b565b5f8084546137cc81613515565b600182811680156137e457600181146137f957613825565b60ff1984168752821515830287019450613825565b885f526020805f205f5b8581101561381c5781548a820152908401908201613803565b50505082870194505b505050508351613839818360208801612e3c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061388490830184612e5e565b9695505050505050565b5f6020828403121561389e575f80fd5b8151610ea481612db656fea2646970667358221220815773bd8fdfcb815b90da6d70710754e90fe9cd4911b8fd6e472cf2509dfe3f64736f6c634300081800330000000000000000000000003303c4350259c2b8f3c560b2ec70ad3ed87a5e72000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002b2000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f63727970742e6d7966696c65626173652e636f6d2f697066732f516d5950676250524a6538796d64504e615933787639626e434e4e6f4853474138366f546270397a6732776839552f000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061028e575f3560e01c80636352211e11610155578063a596dae3116100be578063cbce4c9711610078578063cbce4c9714610b1d578063d007af5c14610b3c578063e985e9c514610b50578063f152015714610b97578063f2fde38b14610bb6578063fd762d9214610bd5575f80fd5b8063a596dae314610a5e578063a9fc664e14610a80578063b2118a8d14610a9f578063b88d4fde14610abe578063be537f4314610add578063c87b56dd14610afe575f80fd5b8063715018a61161010f578063715018a6146109bd5780638da5cb5b146109d157806395d89b41146109ed5780639d645a4414610a015780639edfbec914610a20578063a22cb46514610a3f575f80fd5b80636352211e146109195780636b8eed0a146109385780636c0360eb146109575780636c3b86991461096b5780636f8b44b01461097f57806370a082311461099e575f80fd5b80632e8da829116101f7578063495c8bf9116101b1578063495c8bf91461085b57806350431ce41461087c57806355f804b3146108905780635bb2f691146108af5780635d4c1d46146108ce57806361347162146108fa575f80fd5b80632e8da829146107b55780632f255240146107d457806332cb6b0c146107e95780633c768d0e146107fe57806342842e0e1461081d57806342966c681461083c575f80fd5b8063098144d411610248578063098144d4146106d657806318160ddd146106f35780631b25b077146107185780631c33b3281461073757806323b872dd146107585780632a55205a14610777575f80fd5b806301463546146105e757806301ffc9a71461062957806304634d8d1461065857806306fdde0314610677578063081812fc14610698578063095ea7b3146106b7575f80fd5b366105e35761029b610bf4565b5f34116102e55760405162461bcd60e51b8152602060048201526013602482015272139bc81c185e5b595b9d081c9958d95a5d9959606a1b60448201526064015b60405180910390fd5b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770910160405180910390a1345f80805b600c5461033190600190612d8f565b81101561049257600d818154811061034b5761034b612da2565b5f91825260209091200154925061036e6127106103683486610c4d565b90610c61565b915061037a8483610c6c565b93505f600c828154811061039057610390612da2565b5f9182526020822001546040516001600160a01b039091169185919081818185875af1925050503d805f81146103e1576040519150601f19603f3d011682016040523d82523d5f602084013e6103e6565b606091505b50509050806104295760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016102dc565b7fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174600c838154811061045d5761045d612da2565b5f9182526020918290200154604080516001600160a01b0390921682529181018690520160405180910390a150600101610322565b505f831180156104a35750600c5415155b156105d557600c80545f91906104bb90600190612d8f565b815481106104cb576104cb612da2565b5f9182526020822001546040516001600160a01b039091169186919081818185875af1925050503d805f811461051c576040519150601f19603f3d011682016040523d82523d5f602084013e610521565b606091505b50509050806105645760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064016102dc565b600c80547fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174919061059790600190612d8f565b815481106105a7576105a7612da2565b5f9182526020918290200154604080516001600160a01b0390921682529181018790520160405180910390a1505b5050506105e160018055565b005b5f80fd5b3480156105f2575f80fd5b5061060c71721c310194ccfc01e523fc93c9cccfa2a0ac81565b6040516001600160a01b0390911681526020015b60405180910390f35b348015610634575f80fd5b50610648610643366004612dcb565b610c77565b6040519015158152602001610620565b348015610663575f80fd5b506105e1610672366004612dfa565b610c90565b348015610682575f80fd5b5061068b610ca6565b6040516106209190612e89565b3480156106a3575f80fd5b5061060c6106b2366004612e9b565b610d36565b3480156106c2575f80fd5b506105e16106d1366004612eb2565b610d78565b3480156106e1575f80fd5b50600e546001600160a01b031661060c565b3480156106fe575f80fd5b50600354600254035f19015b604051908152602001610620565b348015610723575f80fd5b50610648610732366004612edc565b610e16565b348015610742575f80fd5b5061074b600181565b6040516106209190612f44565b348015610763575f80fd5b506105e1610772366004612f52565b610eab565b348015610782575f80fd5b50610796610791366004612f90565b611046565b604080516001600160a01b039093168352602083019190915201610620565b3480156107c0575f80fd5b506106486107cf366004612fb0565b6110c9565b3480156107df575f80fd5b5061070a61271081565b3480156107f4575f80fd5b5061070a600f5481565b348015610809575f80fd5b5061060c610818366004612e9b565b6111cf565b348015610828575f80fd5b506105e1610837366004612f52565b6111f7565b348015610847575f80fd5b506105e1610856366004612e9b565b611216565b348015610866575f80fd5b5061086f6112a6565b604051610620919061300e565b348015610887575f80fd5b506105e16113b0565b34801561089b575f80fd5b506105e16108aa3660046130ba565b6114b4565b3480156108ba575f80fd5b506105e16108c936600461318e565b6114c8565b3480156108d9575f80fd5b506108e2600181565b6040516001600160781b039091168152602001610620565b348015610905575f80fd5b506105e161091436600461326a565b6114da565b348015610924575f80fd5b5061060c610933366004612e9b565b611635565b348015610943575f80fd5b506105e1610952366004612fb0565b61163f565b348015610962575f80fd5b5061068b611781565b348015610976575f80fd5b506105e161180d565b34801561098a575f80fd5b506105e1610999366004612e9b565b6118fc565b3480156109a9575f80fd5b5061070a6109b8366004612fb0565b611909565b3480156109c8575f80fd5b506105e1611956565b3480156109dc575f80fd5b505f546001600160a01b031661060c565b3480156109f8575f80fd5b5061068b611967565b348015610a0c575f80fd5b50610648610a1b366004612fb0565b611976565b348015610a2b575f80fd5b506105e1610a3a3660046132a7565b611a3b565b348015610a4a575f80fd5b506105e1610a59366004613323565b611ae3565b348015610a69575f80fd5b50610a72611b77565b60405161062092919061334f565b348015610a8b575f80fd5b506105e1610a9a366004612fb0565b611c30565b348015610aaa575f80fd5b506105e1610ab9366004612f52565b611d4f565b348015610ac9575f80fd5b506105e1610ad83660046133a4565b611dc7565b348015610ae8575f80fd5b50610af1611e0b565b604051610620919061341f565b348015610b09575f80fd5b5061068b610b18366004612e9b565b611ec2565b348015610b28575f80fd5b506105e1610b37366004612eb2565b611f73565b348015610b47575f80fd5b5061086f611fe2565b348015610b5b575f80fd5b50610648610b6a36600461345a565b6001600160a01b039182165f90815260096020908152604080832093909416825291909152205460ff1690565b348015610ba2575f80fd5b5061070a610bb1366004612e9b565b612099565b348015610bc1575f80fd5b506105e1610bd0366004612fb0565b6120b8565b348015610be0575f80fd5b506105e1610bef366004613486565b6120f2565b600260015403610c465760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102dc565b6002600155565b5f610c5882846134df565b90505b92915050565b5f610c5882846134f6565b5f610c588284612d8f565b5f610c81826121e7565b80610c5b5750610c5b8261224f565b610c98612283565b610ca282826122af565b5050565b606060048054610cb590613515565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce190613515565b8015610d2c5780601f10610d0357610100808354040283529160200191610d2c565b820191905f5260205f20905b815481529060010190602001808311610d0f57829003601f168201915b5050505050905090565b5f610d4082612304565b610d5d576040516333d1c03960e21b815260040160405180910390fd5b505f908152600860205260409020546001600160a01b031690565b5f610d8282611635565b9050336001600160a01b03821614610dbb57610d9e8133610b6a565b610dbb576040516367d9dca160e11b815260040160405180910390fd5b5f8281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600e545f906001600160a01b031615610ea057600e5460405163050bf71960e31b81526001600160a01b038681166004830152858116602483015284811660448301529091169063285fb8c8906064015f6040518083038186803b158015610e7c575f80fd5b505afa925050508015610e8d575060015b610e9857505f610ea4565b506001610ea4565b5060015b9392505050565b5f610eb582612337565b9050836001600160a01b0316816001600160a01b031614610ee85760405162a1148160e81b815260040160405180910390fd5b5f8281526008602052604090208054610f138187335b6001600160a01b039081169116811491141790565b610f3e57610f218633610b6a565b610f3e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610f6557604051633a954ecd60e21b815260040160405180910390fd5b8015610f6f575f82555b6001600160a01b038681165f9081526007602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260066020526040812091909155600160e11b84169003610ffc57600184015f818152600660205260408120549003610ffa576002548114610ffa575f8181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f828152600b6020526040812080548291906001600160a01b03811690600160a01b90046001600160601b031681611099575050600a546001600160a01b03811690600160a01b90046001600160601b03165b5f6127106110b06001600160601b038416896134df565b6110ba91906134f6565b92989297509195505050505050565b600e545f906001600160a01b0316156111c857600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063d72dde5e90829063b955455290602401606060405180830381865afa15801561112a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061114e919061354d565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044015b602060405180830381865afa1580156111a4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c5b91906135bd565b505f919050565b600c81815481106111de575f80fd5b5f918252602090912001546001600160a01b0316905081565b61121183838360405180602001604052805f815250611dc7565b505050565b61121e610bf4565b5f546001600160a01b031633148061124f575061123a81611635565b6001600160a01b0316336001600160a01b0316145b6112915760405162461bcd60e51b81526020600482015260136024820152722737ba1030b63637bbb2b2103a3790313ab93760691b60448201526064016102dc565b61129a816123a1565b6112a360018055565b50565b600e546060906001600160a01b03161561139e57600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690633fe5df9990829063b955455290602401606060405180830381865afa158015611308573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061132c919061354d565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526024015b5f60405180830381865afa158015611372573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261139991908101906135d8565b905090565b50604080515f81526020810190915290565b6113b8612283565b6113c0610bf4565b478061140e5760405162461bcd60e51b815260206004820152601b60248201527f4e6f206e617469766520746f6b656e20746f207769746864726177000000000060448201526064016102dc565b5f80546040516001600160a01b039091169083908381818185875af1925050503d805f8114611458576040519150601f19603f3d011682016040523d82523d5f602084013e61145d565b606091505b50509050806114a75760405162461bcd60e51b815260206004820152601660248201527513985d1a5d99481dda5d1a191c985dc819985a5b195960521b60448201526064016102dc565b50506114b260018055565b565b6114bc612283565b6010610ca282826136b1565b6114d0612283565b610ca282826123ab565b6114e2612405565b5f6114f5600e546001600160a01b031690565b90506001600160a01b03811661151e57604051631cffe3dd60e11b815260040160405180910390fd5b604051630368065360e61b81526001600160a01b0382169063da0194c09061154c903090889060040161376d565b5f604051808303815f87803b158015611563575f80fd5b505af1158015611575573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0384169250632304aa0291506115a7903090879060040161378a565b5f604051808303815f87803b1580156115be575f80fd5b505af11580156115d0573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0384169250638d7443149150611602903090869060040161378a565b5f604051808303815f87803b158015611619575f80fd5b505af115801561162b573d5f803e3d5ffd5b5050505050505050565b5f610c5b82612337565b611647610bf4565b6001600160a01b0381166116965760405162461bcd60e51b815260206004820152601660248201527513995dc81859191c995cdcc81a5cc81a5b9d985b1a5960521b60448201526064016102dc565b5f805b600c5481101561172957336001600160a01b0316600c82815481106116c0576116c0612da2565b5f918252602090912001546001600160a01b0316036117215782600c82815481106116ed576116ed612da2565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060019150611729565b600101611699565b50806117775760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722061646472657373206e6f7420666f756e6400000000000060448201526064016102dc565b506112a360018055565b6010805461178e90613515565b80601f01602080910402602001604051908101604052809291908181526020018280546117ba90613515565b80156118055780601f106117dc57610100808354040283529160200191611805565b820191905f5260205f20905b8154815290600101906020018083116117e857829003601f168201915b505050505081565b611815612405565b61183071721c310194ccfc01e523fc93c9cccfa2a0ac611c30565b604051630368065360e61b815271721c310194ccfc01e523fc93c9cccfa2a0ac9063da0194c09061186890309060019060040161376d565b5f604051808303815f87803b15801561187f575f80fd5b505af1158015611891573d5f803e3d5ffd5b5050604051631182550160e11b815271721c310194ccfc01e523fc93c9cccfa2a0ac9250632304aa0291506118cd90309060019060040161378a565b5f604051808303815f87803b1580156118e4575f80fd5b505af11580156118f6573d5f803e3d5ffd5b50505050565b611904612283565b600f55565b5f6001600160a01b038216611931576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526007602052604090205467ffffffffffffffff1690565b61195e612283565b6114b25f61245e565b606060058054610cb590613515565b600e545f906001600160a01b0316156111c857600e54604051635caaa2a960e11b81523060048201526001600160a01b0390911690639445f53090829063b955455290602401606060405180830381865afa1580156119d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119fb919061354d565b60409081015190516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b0385166024820152604401611189565b611a43612283565b600f54600354600254839190035f1901611a5d91906137ac565b1115611aa05760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016102dc565b5f5b8181101561121157611adb838383818110611abf57611abf612da2565b9050602002016020810190611ad49190612fb0565b60016124ad565b600101611aa2565b336001600160a01b03831603611b0c5760405163b06307db60e01b815260040160405180910390fd5b335f8181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606080600c600d81805480602002602001604051908101604052809291908181526020018280548015611bd157602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611bb3575b5050505050915080805480602002602001604051908101604052809291908181526020018280548015611c2157602002820191905f5260205f20905b815481526020019060010190808311611c0d575b50505050509050915091509091565b611c38612405565b5f6001600160a01b0382163b15611cb1576040516301ffc9a760e01b81525f60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa925050508015611ca9575060408051601f3d908101601f19168201909252611ca6918101906135bd565b60015b15611cb15790505b6001600160a01b03821615801590611cc7575080155b15611ce5576040516332483afb60e01b815260040160405180910390fd5b600e54604080516001600160a01b03928316815291841660208301527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a150600e80546001600160a01b0319166001600160a01b0392909216919091179055565b611d57612283565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284169063a9059cbb906044016020604051808303815f875af1158015611da3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118f691906135bd565b611dd2848484610eab565b6001600160a01b0383163b156118f657611dee848484846124c6565b6118f6576040516368d2bf6b60e11b815260040160405180910390fd5b604080516060810182525f8082526020820181905291810191909152600e546001600160a01b031615611ea257600e54604051635caaa2a960e11b81523060048201526001600160a01b039091169063b955455290602401606060405180830381865afa158015611e7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611399919061354d565b50604080516060810182525f808252602082018190529181019190915290565b6060611ecd82612304565b611f195760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016102dc565b5f60108054611f2790613515565b905011611f425760405180602001604052805f815250610c5b565b6010611f4d836125ae565b604051602001611f5e9291906137bf565b60405160208183030381529060405292915050565b611f7b612283565b600f54600354600254839190035f1901611f9591906137ac565b1115611fd85760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016102dc565b610ca282826124ad565b600e546060906001600160a01b03161561139e57600e54604051635caaa2a960e11b81523060048201526001600160a01b03909116906317e94a6c90829063b955455290602401606060405180830381865afa158015612044573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612068919061354d565b60409081015190516001600160e01b031960e084901b1681526001600160781b039091166004820152602401611358565b600d81815481106120a8575f80fd5b5f91825260209091200154905081565b6120c0612283565b6001600160a01b0381166120e957604051631e4fbdf760e01b81525f60048201526024016102dc565b6112a38161245e565b6120fa612405565b61210384611c30565b604051630368065360e61b81526001600160a01b0385169063da0194c090612131903090879060040161376d565b5f604051808303815f87803b158015612148575f80fd5b505af115801561215a573d5f803e3d5ffd5b5050604051631182550160e11b81526001600160a01b0387169250632304aa02915061218c903090869060040161378a565b5f604051808303815f87803b1580156121a3575f80fd5b505af11580156121b5573d5f803e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0387169250638d7443149150611602903090859060040161378a565b5f6301ffc9a760e01b6001600160e01b03198316148061221757506380ac58cd60e01b6001600160e01b03198316145b80612232575063152a902d60e11b6001600160e01b03198316145b80610c5b5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b1480610c5b57506301ffc9a760e01b6001600160e01b0319831614610c5b565b5f546001600160a01b031633146114b25760405163118cdaa760e01b81523360048201526024016102dc565b6122b9828261263e565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b5f81600111158015612317575060025482105b8015610c5b5750505f90815260066020526040902054600160e01b161590565b5f818060011161238857600254811015612388575f8181526006602052604081205490600160e01b82169003612386575b805f03610ea457505f19015f81815260066020526040902054612368565b505b604051636f96cda160e11b815260040160405180910390fd5b6112a3815f6126e0565b600c54156123fb5760405162461bcd60e51b815260206004820152601a60248201527f526f79616c74792073686172657320616c72656164792073657400000000000060448201526064016102dc565b610ca28282612822565b5f546001600160a01b031633146114b25760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f742074686520636f6e7472616374206f776e657260448201526064016102dc565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610ca2828260405180602001604052805f815250612aa2565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906124fa903390899088908890600401613852565b6020604051808303815f875af1925050508015612534575060408051601f3d908101601f191682019092526125319181019061388e565b60015b612590573d808015612561576040519150601f19603f3d011682016040523d82523d5f602084013e612566565b606091505b5080515f03612588576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6125ba83612b0d565b60010190505f8167ffffffffffffffff8111156125d9576125d9613020565b6040519080825280601f01601f191660200182016040528015612603576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461260d57509392505050565b6127106001600160601b03821681101561267d57604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016102dc565b6001600160a01b0383166126a657604051635b6cc80560e11b81525f60048201526024016102dc565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f6126ea83612337565b9050805f80612706865f90815260086020526040902080549091565b9150915084156127465761271b818433610efe565b612746576127298333610b6a565b61274657604051632ce44b5f60e11b815260040160405180910390fd5b8015612750575f82555b6001600160a01b0383165f81815260076020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260066020526040812091909155600160e11b851690036127da57600186015f8181526006602052604081205490036127d85760025481146127d8575f8181526006602052604090208590555b505b60405186905f906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a4505060038054600101905550505050565b805182511461286c5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b60448201526064016102dc565b5f8251116128bc5760405162461bcd60e51b815260206004820152601c60248201527f4e6f20726f79616c74795265636569766572732070726f76696465640000000060448201526064016102dc565b5f805b83518110156129e0575f6001600160a01b03168482815181106128e4576128e4612da2565b60200260200101516001600160a01b0316036129425760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642072656365697665722061646472657373000000000000000060448201526064016102dc565b5f83828151811061295557612955612da2565b6020026020010151116129aa5760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e20300000000060448201526064016102dc565b6129d68382815181106129bf576129bf612da2565b602002602001015183612be490919063ffffffff16565b91506001016128bf565b506127108114612a3c5760405162461bcd60e51b815260206004820152602160248201527f546f74616c20726f79616c7479536861726573206d75737420626520313030306044820152600360fc1b60648201526084016102dc565b8251612a4f90600c906020860190612ccb565b508151612a6390600d906020850190612d2e565b507f093643a9a716c713e0c48f9cd3ddcbc463c36fe73c4af8ee4e97d4b00b04e2a48383604051612a9592919061334f565b60405180910390a1505050565b612aac8383612bef565b6001600160a01b0383163b15611211576002548281035b612ad55f8683806001019450866124c6565b612af2576040516368d2bf6b60e11b815260040160405180910390fd5b818110612ac3578160025414612b06575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612b4b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612b77576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b9557662386f26fc10000830492506010015b6305f5e1008310612bad576305f5e100830492506008015b6127108310612bc157612710830492506004015b60648310612bd3576064830492506002015b600a8310610c5b5760010192915050565b5f610c5882846137ac565b6002546001600160a01b038316612c1857604051622e076360e81b815260040160405180910390fd5b815f03612c385760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f81815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b17175f82815260066020526040902055808281015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210612c805760025550505050565b828054828255905f5260205f20908101928215612d1e579160200282015b82811115612d1e57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612ce9565b50612d2a929150612d67565b5090565b828054828255905f5260205f20908101928215612d1e579160200282015b82811115612d1e578251825591602001919060010190612d4c565b5b80821115612d2a575f8155600101612d68565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610c5b57610c5b612d7b565b634e487b7160e01b5f52603260045260245ffd5b6001600160e01b0319811681146112a3575f80fd5b5f60208284031215612ddb575f80fd5b8135610ea481612db6565b6001600160a01b03811681146112a3575f80fd5b5f8060408385031215612e0b575f80fd5b8235612e1681612de6565b915060208301356001600160601b0381168114612e31575f80fd5b809150509250929050565b5f5b83811015612e56578181015183820152602001612e3e565b50505f910152565b5f8151808452612e75816020860160208601612e3c565b601f01601f19169290920160200192915050565b602081525f610c586020830184612e5e565b5f60208284031215612eab575f80fd5b5035919050565b5f8060408385031215612ec3575f80fd5b8235612ece81612de6565b946020939093013593505050565b5f805f60608486031215612eee575f80fd5b8335612ef981612de6565b92506020840135612f0981612de6565b91506040840135612f1981612de6565b809150509250925092565b60078110612f4057634e487b7160e01b5f52602160045260245ffd5b9052565b60208101610c5b8284612f24565b5f805f60608486031215612f64575f80fd5b8335612f6f81612de6565b92506020840135612f7f81612de6565b929592945050506040919091013590565b5f8060408385031215612fa1575f80fd5b50508035926020909101359150565b5f60208284031215612fc0575f80fd5b8135610ea481612de6565b5f815180845260208085019450602084015f5b838110156130035781516001600160a01b031687529582019590820190600101612fde565b509495945050505050565b602081525f610c586020830184612fcb565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561305d5761305d613020565b604052919050565b5f67ffffffffffffffff83111561307e5761307e613020565b613091601f8401601f1916602001613034565b90508281528383830111156130a4575f80fd5b828260208301375f602084830101529392505050565b5f602082840312156130ca575f80fd5b813567ffffffffffffffff8111156130e0575f80fd5b8201601f810184136130f0575f80fd5b6125a684823560208401613065565b5f67ffffffffffffffff82111561311857613118613020565b5060051b60200190565b5f82601f830112613131575f80fd5b81356020613146613141836130ff565b613034565b8083825260208201915060208460051b870101935086841115613167575f80fd5b602086015b84811015613183578035835291830191830161316c565b509695505050505050565b5f806040838503121561319f575f80fd5b823567ffffffffffffffff808211156131b6575f80fd5b818501915085601f8301126131c9575f80fd5b813560206131d9613141836130ff565b82815260059290921b840181019181810190898411156131f7575f80fd5b948201945b8386101561321e57853561320f81612de6565b825294820194908201906131fc565b96505086013592505080821115613233575f80fd5b5061324085828601613122565b9150509250929050565b600781106112a3575f80fd5b6001600160781b03811681146112a3575f80fd5b5f805f6060848603121561327c575f80fd5b83356132878161324a565b9250602084013561329781613256565b91506040840135612f1981613256565b5f80602083850312156132b8575f80fd5b823567ffffffffffffffff808211156132cf575f80fd5b818501915085601f8301126132e2575f80fd5b8135818111156132f0575f80fd5b8660208260051b8501011115613304575f80fd5b60209290920196919550909350505050565b80151581146112a3575f80fd5b5f8060408385031215613334575f80fd5b823561333f81612de6565b91506020830135612e3181613316565b604081525f6133616040830185612fcb565b8281036020848101919091528451808352858201928201905f5b818110156133975784518352938301939183019160010161337b565b5090979650505050505050565b5f805f80608085870312156133b7575f80fd5b84356133c281612de6565b935060208501356133d281612de6565b925060408501359150606085013567ffffffffffffffff8111156133f4575f80fd5b8501601f81018713613404575f80fd5b61341387823560208401613065565b91505092959194509250565b5f606082019050613431828451612f24565b60208301516001600160781b038082166020850152806040860151166040850152505092915050565b5f806040838503121561346b575f80fd5b823561347681612de6565b91506020830135612e3181612de6565b5f805f8060808587031215613499575f80fd5b84356134a481612de6565b935060208501356134b48161324a565b925060408501356134c481613256565b915060608501356134d481613256565b939692955090935050565b8082028115828204841417610c5b57610c5b612d7b565b5f8261351057634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c9082168061352957607f821691505b60208210810361354757634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6060828403121561355d575f80fd5b6040516060810181811067ffffffffffffffff8211171561358057613580613020565b604052825161358e8161324a565b8152602083015161359e81613256565b602082015260408301516135b181613256565b60408201529392505050565b5f602082840312156135cd575f80fd5b8151610ea481613316565b5f60208083850312156135e9575f80fd5b825167ffffffffffffffff8111156135ff575f80fd5b8301601f8101851361360f575f80fd5b805161361d613141826130ff565b81815260059190911b8201830190838101908783111561363b575f80fd5b928401925b8284101561366257835161365381612de6565b82529284019290840190613640565b979650505050505050565b601f82111561121157805f5260205f20601f840160051c810160208510156136925750805b601f840160051c820191505b81811015612b06575f815560010161369e565b815167ffffffffffffffff8111156136cb576136cb613020565b6136df816136d98454613515565b8461366d565b602080601f831160018114613712575f84156136fb5750858301515b5f19600386901b1c1916600185901b17855561103e565b5f85815260208120601f198616915b8281101561374057888601518255948401946001909101908401613721565b508582101561375d57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b038316815260408101610ea46020830184612f24565b6001600160a01b039290921682526001600160781b0316602082015260400190565b80820180821115610c5b57610c5b612d7b565b5f8084546137cc81613515565b600182811680156137e457600181146137f957613825565b60ff1984168752821515830287019450613825565b885f526020805f205f5b8581101561381c5781548a820152908401908201613803565b50505082870194505b505050508351613839818360208801612e3c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061388490830184612e5e565b9695505050505050565b5f6020828403121561389e575f80fd5b8151610ea481612db656fea2646970667358221220815773bd8fdfcb815b90da6d70710754e90fe9cd4911b8fd6e472cf2509dfe3f64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003303c4350259c2b8f3c560b2ec70ad3ed87a5e72000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002b2000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f63727970742e6d7966696c65626173652e636f6d2f697066732f516d5950676250524a6538796d64504e615933787639626e434e4e6f4853474138366f546270397a6732776839552f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initialOwner (address): 0x3303C4350259C2B8F3C560B2ec70aD3ed87A5E72
Arg [1] : _baseUri (string): https://crypt.myfilebase.com/ipfs/QmYPgbPRJe8ymdPNaY3xv9bnCNNoHSGA86oTbp9zg2wh9U/
Arg [2] : _royaltyFeeNumerator (uint96): 690
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000003303c4350259c2b8f3c560b2ec70ad3ed87a5e72
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000002b2
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [4] : 68747470733a2f2f63727970742e6d7966696c65626173652e636f6d2f697066
Arg [5] : 732f516d5950676250524a6538796d64504e615933787639626e434e4e6f4853
Arg [6] : 474138366f546270397a6732776839552f000000000000000000000000000000
Deployed Bytecode Sourcemap
116152:5780:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6435:21;:19;:21::i;:::-;94224:1:::1;94212:9;:13;94204:45;;;::::0;-1:-1:-1;;;94204:45:0;;216:2:1;94204:45:0::1;::::0;::::1;198:21:1::0;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:49;333:18;;94204:45:0::1;;;;;;;;;94265:38;::::0;;94281:10:::1;536:51:1::0;;94293:9:0::1;618:2:1::0;603:18;;596:34;94265:38:0::1;::::0;509:18:1;94265:38:0::1;;;;;;;94336:9;94316:17;::::0;;94468:485:::1;94492:16;:23:::0;:27:::1;::::0;94518:1:::1;::::0;94492:27:::1;:::i;:::-;94488:1;:31;94468:485;;;94549:13;94563:1;94549:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;94657:46:0::1;92583:5;94657:20;:9;94549:16:::0;94657:13:::1;:20::i;:::-;:24:::0;::::1;:46::i;:::-;94648:55:::0;-1:-1:-1;94730:21:0::1;:9:::0;94648:55;94730:13:::1;:21::i;:::-;94718:33;;94769:12;94787:16;94804:1;94787:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:43:::1;::::0;-1:-1:-1;;;;;94787:19:0;;::::1;::::0;94819:6;;94787:43;;:19;:43;94819:6;94787:19;:43:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94768:62;;;94853:7;94845:35;;;::::0;-1:-1:-1;;;94845:35:0;;1450:2:1;94845:35:0::1;::::0;::::1;1432:21:1::0;1489:2;1469:18;;;1462:30;-1:-1:-1;;;1508:18:1;;;1501:45;1563:18;;94845:35:0::1;1248:339:1::0;94845:35:0::1;94900:41;94913:16;94930:1;94913:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;94900:41:::1;::::0;;-1:-1:-1;;;;;94913:19:0;;::::1;536:51:1::0;;603:18;;;596:34;;;509:18;94900:41:0::1;;;;;;;-1:-1:-1::0;94521:3:0::1;;94468:485;;;;95056:1;95044:9;:13;:44;;;;-1:-1:-1::0;95061:16:0::1;:23:::0;:27;;95044:44:::1;95040:375;;;95124:16;95141:23:::0;;95106:12:::1;::::0;95124:16;95141:27:::1;::::0;95167:1:::1;::::0;95141:27:::1;:::i;:::-;95124:45;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:90:::1;::::0;-1:-1:-1;;;;;95124:45:0;;::::1;::::0;95200:9;;95124:90;;:45;:90;95200:9;95124:45;:90:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95105:109;;;95237:7;95229:35;;;::::0;-1:-1:-1;;;95229:35:0;;1450:2:1;95229:35:0::1;::::0;::::1;1432:21:1::0;1489:2;1469:18;;;1462:30;-1:-1:-1;;;1508:18:1;;;1501:45;1563:18;;95229:35:0::1;1248:339:1::0;95229:35:0::1;95315:16;95332:23:::0;;95284:119:::1;::::0;95315:16;95332:27:::1;::::0;95358:1:::1;::::0;95332:27:::1;:::i;:::-;95315:45;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;95284:119:::1;::::0;;-1:-1:-1;;;;;95315:45:0;;::::1;536:51:1::0;;603:18;;;596:34;;;509:18;95284:119:0::1;;;;;;;95090:325;95040:375;94193:1229;;;6479:20:::0;5873:1;6999:22;;6816:213;6479:20;116152:5780;;;;;106318:104;;;;;;;;;;;;106379:42;106318:104;;;;;-1:-1:-1;;;;;1756:32:1;;;1738:51;;1726:2;1711:18;106318:104:0;;;;;;;;121275:291;;;;;;;;;;-1:-1:-1;121275:291:0;;;;;:::i;:::-;;:::i;:::-;;;2351:14:1;;2344:22;2326:41;;2314:2;2299:18;121275:291:0;2186:187:1;120154:146:0;;;;;;;;;;-1:-1:-1;120154:146:0;;;;;:::i;:::-;;:::i;52579:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54531:204::-;;;;;;;;;;-1:-1:-1;54531:204:0;;;;;:::i;:::-;;:::i;54073:392::-;;;;;;;;;;-1:-1:-1;54073:392:0;;;;;:::i;:::-;;:::i;110844:137::-;;;;;;;;;;-1:-1:-1;110956:17:0;;-1:-1:-1;;;;;110956:17:0;110844:137;;45923:315;;;;;;;;;;-1:-1:-1;46189:12:0;;46173:13;;:28;-1:-1:-1;;46173:46:0;45923:315;;;4608:25:1;;;4596:2;4581:18;45923:315:0;4462:177:1;114628:387:0;;;;;;;;;;-1:-1:-1;114628:387:0;;;;;:::i;:::-;;:::i;106429:99::-;;;;;;;;;;;;106502:26;106429:99;;;;;;;;;:::i;63800:2800::-;;;;;;;;;;-1:-1:-1;63800:2800:0;;;;;:::i;:::-;;:::i;80352:673::-;;;;;;;;;;-1:-1:-1;80352:673:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;554:32:1;;;536:51;;618:2;603:18;;596:34;;;;509:18;80352:673:0;362:274:1;112973:357:0;;;;;;;;;;-1:-1:-1;112973:357:0;;;;;:::i;:::-;;:::i;92536:52::-;;;;;;;;;;;;92583:5;92536:52;;116546:32;;;;;;;;;;;;;;;;92655:33;;;;;;;;;;-1:-1:-1;92655:33:0;;;;;:::i;:::-;;:::i;55425:185::-;;;;;;;;;;-1:-1:-1;55425:185:0;;;;;:::i;:::-;;:::i;118648:221::-;;;;;;;;;;-1:-1:-1;118648:221:0;;;;;:::i;:::-;;:::i;111860:358::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;119663:302::-;;;;;;;;;;;;;:::i;119300:100::-;;;;;;;;;;-1:-1:-1;119300:100:0;;;;;:::i;:::-;;:::i;120308:196::-;;;;;;;;;;-1:-1:-1;120308:196:0;;;;;:::i;:::-;;:::i;106535:66::-;;;;;;;;;;;;106599:1;106535:66;;;;;-1:-1:-1;;;;;11031:45:1;;;11013:64;;11001:2;10986:18;106535:66:0;10867:216:1;108584:727:0;;;;;;;;;;-1:-1:-1;108584:727:0;;;;;:::i;:::-;;:::i;52368:144::-;;;;;;;;;;-1:-1:-1;52368:144:0;;;;;:::i;:::-;;:::i;95851:496::-;;;;;;;;;;-1:-1:-1;95851:496:0;;;;;:::i;:::-;;:::i;116769:21::-;;;;;;;;;;;;;:::i;106975:464::-;;;;;;;;;;;;;:::i;119116:97::-;;;;;;;;;;-1:-1:-1;119116:97:0;;;;;:::i;:::-;;:::i;47611:224::-;;;;;;;;;;-1:-1:-1;47611:224:0;;;;;:::i;:::-;;:::i;3254:103::-;;;;;;;;;;;;;:::i;2579:87::-;;;;;;;;;;-1:-1:-1;2625:7:0;2652:6;-1:-1:-1;;;;;2652:6:0;2579:87;;52748:104;;;;;;;;;;;;;:::i;113502:378::-;;;;;;;;;;-1:-1:-1;113502:378:0;;;;;:::i;:::-;;:::i;118114:337::-;;;;;;;;;;-1:-1:-1;118114:337:0;;;;;:::i;:::-;;:::i;54807:306::-;;;;;;;;;;-1:-1:-1;54807:306:0;;;;;:::i;:::-;;:::i;95522:178::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;109911:818::-;;;;;;;;;;-1:-1:-1;109911:818:0;;;;;:::i;:::-;;:::i;119462:127::-;;;;;;;;;;-1:-1:-1;119462:127:0;;;;;:::i;:::-;;:::i;55681:399::-;;;;;;;;;;-1:-1:-1;55681:399:0;;;;;:::i;:::-;;:::i;111198:455::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;120692:377::-;;;;;;;;;;-1:-1:-1;120692:377:0;;;;;:::i;:::-;;:::i;117823:185::-;;;;;;;;;;-1:-1:-1;117823:185:0;;;;;:::i;:::-;;:::i;112428:379::-;;;;;;;;;;;;;:::i;55190:164::-;;;;;;;;;;-1:-1:-1;55190:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;55311:25:0;;;55287:4;55311:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55190:164;92695:30;;;;;;;;;;-1:-1:-1;92695:30:0;;;;;:::i;:::-;;:::i;3512:220::-;;;;;;;;;;-1:-1:-1;3512:220:0;;;;;:::i;:::-;;:::i;107642:749::-;;;;;;;;;;-1:-1:-1;107642:749:0;;;;;:::i;:::-;;:::i;6515:293::-;5917:1;6649:7;;:19;6641:63;;;;-1:-1:-1;;;6641:63:0;;17018:2:1;6641:63:0;;;17000:21:1;17057:2;17037:18;;;17030:30;17096:33;17076:18;;;17069:61;17147:18;;6641:63:0;16816:355:1;6641:63:0;5917:1;6782:7;:18;6515:293::o;88633:98::-;88691:7;88718:5;88722:1;88718;:5;:::i;:::-;88711:12;;88633:98;;;;;:::o;89032:::-;89090:7;89117:5;89121:1;89117;:5;:::i;88276:98::-;88334:7;88361:5;88365:1;88361;:5;:::i;121275:291::-;121423:4;121465:38;121491:11;121465:25;:38::i;:::-;:93;;;;121520:38;121546:11;121520:25;:38::i;120154:146::-;2465:13;:11;:13::i;:::-;120250:42:::1;120269:8;120279:12;120250:18;:42::i;:::-;120154:146:::0;;:::o;52579:100::-;52633:13;52666:5;52659:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52579:100;:::o;54531:204::-;54599:7;54624:16;54632:7;54624;:16::i;:::-;54619:64;;54649:34;;-1:-1:-1;;;54649:34:0;;;;;;;;;;;54619:64;-1:-1:-1;54703:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54703:24:0;;54531:204::o;54073:392::-;54154:13;54170:16;54178:7;54170;:16::i;:::-;54154:32;-1:-1:-1;74983:10:0;-1:-1:-1;;;;;54201:28:0;;;54197:175;;54249:44;54266:5;74983:10;55190:164;:::i;54249:44::-;54244:128;;54321:35;;-1:-1:-1;;;54321:35:0;;;;;;;;;;;54244:128;54384:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;54384:29:0;-1:-1:-1;;;;;54384:29:0;;;;;;;;;54429:28;;54384:24;;54429:28;;;;;;;54143:322;54073:392;;:::o;114628:387::-;114756:17;;114727:4;;-1:-1:-1;;;;;114756:17:0;114748:40;114744:242;;114809:17;;:65;;-1:-1:-1;;;114809:65:0;;-1:-1:-1;;;;;18346:15:1;;;114809:65:0;;;18328:34:1;18398:15;;;18378:18;;;18371:43;18450:15;;;18430:18;;;18423:43;114809:17:0;;;;:47;;18263:18:1;;114809:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114805:170;;-1:-1:-1;114954:5:0;114947:12;;114805:170;-1:-1:-1;114901:4:0;114894:11;;114805:170;-1:-1:-1;115003:4:0;114628:387;;;;;;:::o;63800:2800::-;63934:27;63964;63983:7;63964:18;:27::i;:::-;63934:57;;64049:4;-1:-1:-1;;;;;64008:45:0;64024:19;-1:-1:-1;;;;;64008:45:0;;64004:86;;64062:28;;-1:-1:-1;;;64062:28:0;;;;;;;;;;;64004:86;64104:27;62530:21;;;62357:15;62572:4;62565:36;62654:4;62638:21;;62744:26;;64288:62;62744:26;64324:4;74983:10;64330:19;-1:-1:-1;;;;;63349:31:0;;;63195:26;;63476:19;;63497:30;;63473:55;;62901:645;64288:62;64283:174;;64370:43;64387:4;74983:10;55190:164;:::i;64370:43::-;64365:92;;64422:35;;-1:-1:-1;;;64422:35:0;;;;;;;;;;;64365:92;-1:-1:-1;;;;;64474:16:0;;64470:52;;64499:23;;-1:-1:-1;;;64499:23:0;;;;;;;;;;;64470:52;64671:15;64668:160;;;64811:1;64790:19;64783:30;64668:160;-1:-1:-1;;;;;65206:24:0;;;;;;;:18;:24;;;;;;65204:26;;-1:-1:-1;;65204:26:0;;;65275:22;;;;;;;;;65273:24;;-1:-1:-1;65273:24:0;;;52267:11;52243:22;52239:40;52226:62;-1:-1:-1;;;52226:62:0;65568:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;65862:46:0;;:51;;65858:626;;65966:1;65956:11;;65934:19;66089:30;;;:17;:30;;;;;;:35;;66085:384;;66227:13;;66212:11;:28;66208:242;;66374:30;;;;:17;:30;;;;;:52;;;66208:242;65915:569;65858:626;66531:7;66527:2;-1:-1:-1;;;;;66512:27:0;66521:4;-1:-1:-1;;;;;66512:27:0;;;;;;;;;;;66550:42;63923:2677;;;63800:2800;;;:::o;80352:673::-;80463:16;80543:26;;;:17;:26;;;;;80606:21;;80463:16;;80543:26;-1:-1:-1;;;;;80606:21:0;;;-1:-1:-1;;;80663:28:0;;-1:-1:-1;;;;;80663:28:0;80606:21;80704:176;;-1:-1:-1;;80772:19:0;:28;-1:-1:-1;;;;;80772:28:0;;;-1:-1:-1;;;80833:35:0;;-1:-1:-1;;;;;80833:35:0;80704:176;80892:21;81391:5;80917:27;-1:-1:-1;;;;;80917:27:0;;:9;:27;:::i;:::-;80916:49;;;;:::i;:::-;80986:15;;;;-1:-1:-1;80352:673:0;;-1:-1:-1;;;;;;80352:673:0:o;112973:357::-;113081:17;;113052:4;;-1:-1:-1;;;;;113081:17:0;113073:40;113069:229;;113137:17;;113195:60;;-1:-1:-1;;;113195:60:0;;113249:4;113195:60;;;1738:51:1;-1:-1:-1;;;;;113137:17:0;;;;:39;;:17;;113195:45;;1711:18:1;;113195:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;113137:149;;-1:-1:-1;;;;;;113137:149:0;;;;;;;-1:-1:-1;;;;;19484:45:1;;;113137:149:0;;;19466:64:1;-1:-1:-1;;;;;19566:32:1;;19546:18;;;19539:60;19439:18;;113137:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;113069:229::-;-1:-1:-1;113317:5:0;;112973:357;-1:-1:-1;112973:357:0:o;92655:33::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;92655:33:0;;-1:-1:-1;92655:33:0;:::o;55425:185::-;55563:39;55580:4;55586:2;55590:7;55563:39;;;;;;;;;;;;:16;:39::i;:::-;55425:185;;;:::o;118648:221::-;6435:21;:19;:21::i;:::-;2625:7;2652:6;-1:-1:-1;;;;;2652:6:0;118734:10:::1;:21;::::0;:55:::1;;;118773:16;118781:7;118773;:16::i;:::-;-1:-1:-1::0;;;;;118759:30:0::1;:10;-1:-1:-1::0;;;;;118759:30:0::1;;118734:55;118712:124;;;::::0;-1:-1:-1;;;118712:124:0;;20062:2:1;118712:124:0::1;::::0;::::1;20044:21:1::0;20101:2;20081:18;;;20074:30;-1:-1:-1;;;20120:18:1;;;20113:49;20179:18;;118712:124:0::1;19860:343:1::0;118712:124:0::1;118847:14;118853:7;118847:5;:14::i;:::-;6479:20:::0;5873:1;6999:22;;6816:213;6479:20;118648:221;:::o;111860:358::-;111966:17;;111925:16;;-1:-1:-1;;;;;111966:17:0;111958:40;111954:221;;112022:17;;112082:60;;-1:-1:-1;;;112082:60:0;;112136:4;112082:60;;;1738:51:1;-1:-1:-1;;;;;112022:17:0;;;;:41;;:17;;112082:45;;1711:18:1;;112082:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;112022:141;;-1:-1:-1;;;;;;112022:141:0;;;;;;;-1:-1:-1;;;;;11031:45:1;;;112022:141:0;;;11013:64:1;10986:18;;112022:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;112022:141:0;;;;;;;;;;;;:::i;:::-;112015:148;;111860:358;:::o;111954:221::-;-1:-1:-1;112194:16:0;;;112208:1;112194:16;;;;;;;;;111860:358::o;119663:302::-;2465:13;:11;:13::i;:::-;6435:21:::1;:19;:21::i;:::-;119750::::2;119790:11:::0;119782:51:::2;;;::::0;-1:-1:-1;;;119782:51:0;;21371:2:1;119782:51:0::2;::::0;::::2;21353:21:1::0;21410:2;21390:18;;;21383:30;21449:29;21429:18;;;21422:57;21496:18;;119782:51:0::2;21169:351:1::0;119782:51:0::2;119845:12;2652:6:::0;;119863:41:::2;::::0;-1:-1:-1;;;;;2652:6:0;;;;119892:7;;119845:12;119863:41;119845:12;119863:41;119892:7;2652:6;119863:41:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119844:60;;;119923:7;119915:42;;;::::0;-1:-1:-1;;;119915:42:0;;21727:2:1;119915:42:0::2;::::0;::::2;21709:21:1::0;21766:2;21746:18;;;21739:30;-1:-1:-1;;;21785:18:1;;;21778:52;21847:18;;119915:42:0::2;21525:346:1::0;119915:42:0::2;119721:244;;6479:20:::1;5873:1:::0;6999:22;;6816:213;6479:20:::1;119663:302::o:0;119300:100::-;2465:13;:11;:13::i;:::-;119374:7:::1;:18;119384:8:::0;119374:7;:18:::1;:::i;120308:196::-:0;2465:13;:11;:13::i;:::-;120451:45:::1;120476:10;120488:7;120451:24;:45::i;108584:727::-:0;108773:31;:29;:31::i;:::-;108817:40;108860:22;110956:17;;-1:-1:-1;;;;;110956:17:0;;110844:137;108860:22;108817:65;-1:-1:-1;;;;;;108897:32:0;;108893:117;;108953:45;;-1:-1:-1;;;108953:45:0;;;;;;;;;;;108893:117;109022:68;;-1:-1:-1;;;109022:68:0;;-1:-1:-1;;;;;109022:46:0;;;;;:68;;109077:4;;109084:5;;109022:68;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;109101:78:0;;-1:-1:-1;;;109101:78:0;;-1:-1:-1;;;;;109101:42:0;;;-1:-1:-1;109101:42:0;;-1:-1:-1;109101:78:0;;109152:4;;109159:19;;109101:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;109190:113:0;;-1:-1:-1;;;109190:113:0;;-1:-1:-1;;;;;109190:59:0;;;-1:-1:-1;109190:59:0;;-1:-1:-1;109190:113:0;;109258:4;;109265:37;;109190:113;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108762:549;108584:727;;;:::o;52368:144::-;52432:7;52475:27;52494:7;52475:18;:27::i;95851:496::-;6435:21;:19;:21::i;:::-;-1:-1:-1;;;;;95943:24:0;::::1;95935:59;;;::::0;-1:-1:-1;;;95935:59:0;;24902:2:1;95935:59:0::1;::::0;::::1;24884:21:1::0;24941:2;24921:18;;;24914:30;-1:-1:-1;;;24960:18:1;;;24953:52;25022:18;;95935:59:0::1;24700:346:1::0;95935:59:0::1;96007:12;96043:9:::0;96038:243:::1;96062:16;:23:::0;96058:27;::::1;96038:243;;;96134:10;-1:-1:-1::0;;;;;96111:33:0::1;:16;96128:1;96111:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;96111:19:0::1;:33:::0;96107:163:::1;;96187:10;96165:16;96182:1;96165:19;;;;;;;;:::i;:::-;;;;;;;;;:32;;;;;-1:-1:-1::0;;;;;96165:32:0::1;;;;;-1:-1:-1::0;;;;;96165:32:0::1;;;;;;96226:4;96216:14;;96249:5;;96107:163;96087:3;;96038:243;;;;96301:7;96293:46;;;::::0;-1:-1:-1;;;96293:46:0;;25253:2:1;96293:46:0::1;::::0;::::1;25235:21:1::0;25292:2;25272:18;;;25265:30;25331:28;25311:18;;;25304:56;25377:18;;96293:46:0::1;25051:350:1::0;96293:46:0::1;95924:423;6479:20:::0;5873:1;6999:22;;6816:213;116769:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;106975:464::-;107039:31;:29;:31::i;:::-;107081:48;106379:42;107081:20;:48::i;:::-;107140:143;;-1:-1:-1;;;107140:143:0;;106379:42;;107140:95;;:143;;107244:4;;106502:26;;107140:143;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;107294:137:0;;-1:-1:-1;;;107294:137:0;;106379:42;;-1:-1:-1;107294:91:0;;-1:-1:-1;107294:137:0;;107394:4;;106599:1;;107294:137;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106975:464::o;119116:97::-;2465:13;:11;:13::i;:::-;119185:10:::1;:20:::0;119116:97::o;47611:224::-;47675:7;-1:-1:-1;;;;;47699:19:0;;47695:60;;47727:28;;-1:-1:-1;;;47727:28:0;;;;;;;;;;;47695:60;-1:-1:-1;;;;;;47773:25:0;;;;;:18;:25;;;;;;42103:13;47773:54;;47611:224::o;3254:103::-;2465:13;:11;:13::i;:::-;3319:30:::1;3346:1;3319:18;:30::i;52748:104::-:0;52804:13;52837:7;52830:14;;;;;:::i;113502:378::-;113616:17;;113587:4;;-1:-1:-1;;;;;113616:17:0;113608:40;113604:244;;113672:17;;113736:60;;-1:-1:-1;;;113736:60:0;;113790:4;113736:60;;;1738:51:1;-1:-1:-1;;;;;113672:17:0;;;;:45;;:17;;113736:45;;1711:18:1;;113736:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:89;;;;;113672:164;;-1:-1:-1;;;;;;113672:164:0;;;;;;;-1:-1:-1;;;;;19484:45:1;;;113672:164:0;;;19466:64:1;-1:-1:-1;;;;;19566:32:1;;19546:18;;;19539:60;19439:18;;113672:164:0;19292:313:1;118114:337:0;2465:13;:11;:13::i;:::-;118296:10:::1;::::0;46189:12;;46173:13;;118275:10;;46173:28;;-1:-1:-1;;46173:46:0;118259:33:::1;;;;:::i;:::-;:47;;118251:78;;;::::0;-1:-1:-1;;;118251:78:0;;25738:2:1;118251:78:0::1;::::0;::::1;25720:21:1::0;25777:2;25757:18;;;25750:30;-1:-1:-1;;;25796:18:1;;;25789:48;25854:18;;118251:78:0::1;25536:342:1::0;118251:78:0::1;118347:9;118342:102;118362:21:::0;;::::1;118342:102;;;118405:27;118415:10;;118426:1;118415:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;118430:1;118405:9;:27::i;:::-;118385:3;;118342:102;;54807:306:::0;74983:10;-1:-1:-1;;;;;54906:31:0;;;54902:61;;54946:17;;-1:-1:-1;;;54946:17:0;;;;;;;;;;;54902:61;74983:10;54974:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;54974:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;54974:60:0;;;;;;;;;;55050:55;;2326:41:1;;;54974:49:0;;74983:10;55050:55;;2299:18:1;55050:55:0;;;;;;;54807:306;;:::o;95522:178::-;95600:16;95618;95660;95678:13;95652:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;95652:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95522:178;;:::o;109911:818::-;109987:31;:29;:31::i;:::-;110031:29;-1:-1:-1;;;;;110084:30:0;;;:34;110081:304;;110139:95;;-1:-1:-1;;;110139:95:0;;110185:48;110139:95;;;26027:52:1;-1:-1:-1;;;;;110139:45:0;;;;;26000:18:1;;110139:95:0;;;;;;;;;;;;;;;;;;-1:-1:-1;110139:95:0;;;;;;;;-1:-1:-1;;110139:95:0;;;;;;;;;;;;:::i;:::-;;;110135:239;;;110332:17;-1:-1:-1;110135:239:0;-1:-1:-1;;;;;110400:32:0;;;;;;:61;;;110437:24;110436:25;110400:61;110397:152;;;110485:52;;-1:-1:-1;;;110485:52:0;;;;;;;;;;;110397:152;110599:17;;110566:72;;;-1:-1:-1;;;;;110599:17:0;;;26302:34:1;;26372:15;;;26367:2;26352:18;;26345:43;110566:72:0;;26237:18:1;110566:72:0;;;;;;;-1:-1:-1;110651:17:0;:70;;-1:-1:-1;;;;;;110651:70:0;-1:-1:-1;;;;;110651:70:0;;;;;;;;;;109911:818::o;119462:127::-;2465:13;:11;:13::i;:::-;119555:26:::1;::::0;-1:-1:-1;;;119555:26:0;;-1:-1:-1;;;;;554:32:1;;;119555:26:0::1;::::0;::::1;536:51:1::0;603:18;;;596:34;;;119555:14:0;::::1;::::0;::::1;::::0;509:18:1;;119555:26:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;55681:399::-:0;55848:31;55861:4;55867:2;55871:7;55848:12;:31::i;:::-;-1:-1:-1;;;;;55894:14:0;;;:19;55890:183;;55933:56;55964:4;55970:2;55974:7;55983:5;55933:30;:56::i;:::-;55928:145;;56017:40;;-1:-1:-1;;;56017:40:0;;;;;;;;;;;111198:455;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;111313:17:0;;-1:-1:-1;;;;;111313:17:0;111305:40;111301:140;;111369:17;;:60;;-1:-1:-1;;;111369:60:0;;111423:4;111369:60;;;1738:51:1;-1:-1:-1;;;;;111369:17:0;;;;:45;;1711:18:1;;111369:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;111301:140::-;-1:-1:-1;111460:185:0;;;;;;;;-1:-1:-1;111460:185:0;;;;;;;;;;;;;;;;;111198:455::o;120692:377::-;120810:13;120849:16;120857:7;120849;:16::i;:::-;120841:60;;;;-1:-1:-1;;;120841:60:0;;26601:2:1;120841:60:0;;;26583:21:1;26640:2;26620:18;;;26613:30;26679:33;26659:18;;;26652:61;26730:18;;120841:60:0;26399:355:1;120841:60:0;120956:1;120938:7;120932:21;;;;;:::i;:::-;;;:25;:129;;;;;;;;;;;;;;;;;121001:7;121010:18;:7;:16;:18::i;:::-;120984:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;120912:149;120692:377;-1:-1:-1;;120692:377:0:o;117823:185::-;2465:13;:11;:13::i;:::-;117933:10:::1;::::0;46189:12;;46173:13;;117921:8;;46173:28;;-1:-1:-1;;46173:46:0;117905:24:::1;;;;:::i;:::-;:38;;117897:69;;;::::0;-1:-1:-1;;;117897:69:0;;25738:2:1;117897:69:0::1;::::0;::::1;25720:21:1::0;25777:2;25757:18;;;25750:30;-1:-1:-1;;;25796:18:1;;;25789:48;25854:18;;117897:69:0::1;25536:342:1::0;117897:69:0::1;117977:23;117987:2;117991:8;117977:9;:23::i;112428:379::-:0;112540:17;;112499:16;;-1:-1:-1;;;;;112540:17:0;112532:40;112528:236;;112596:17;;112662:60;;-1:-1:-1;;;112662:60:0;;112716:4;112662:60;;;1738:51:1;-1:-1:-1;;;;;112596:17:0;;;;:47;;:17;;112662:45;;1711:18:1;;112662:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:89;;;;;112596:156;;-1:-1:-1;;;;;;112596:156:0;;;;;;;-1:-1:-1;;;;;11031:45:1;;;112596:156:0;;;11013:64:1;10986:18;;112596:156:0;10867:216:1;92695:30:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;92695:30:0;:::o;3512:220::-;2465:13;:11;:13::i;:::-;-1:-1:-1;;;;;3597:22:0;::::1;3593:93;;3643:31;::::0;-1:-1:-1;;;3643:31:0;;3671:1:::1;3643:31;::::0;::::1;1738:51:1::0;1711:18;;3643:31:0::1;1592:203:1::0;3593:93:0::1;3696:28;3715:8;3696:18;:28::i;107642:749::-:0;107872:31;:29;:31::i;:::-;107916;107937:9;107916:20;:31::i;:::-;107960:114;;-1:-1:-1;;;107960:114:0;;-1:-1:-1;;;;;107960:92:0;;;;;:114;;108061:4;;108068:5;;107960:114;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;108087:124:0;;-1:-1:-1;;;108087:124:0;;-1:-1:-1;;;;;108087:88:0;;;-1:-1:-1;108087:88:0;;-1:-1:-1;108087:124:0;;108184:4;;108191:19;;108087:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;108224:159:0;;-1:-1:-1;;;108224:159:0;;-1:-1:-1;;;;;108224:105:0;;;-1:-1:-1;108224:105:0;;-1:-1:-1;108224:159:0;;108338:4;;108345:37;;108224:159;;;:::i;46869:678::-;46954:4;-1:-1:-1;;;;;;;;;47254:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;47331:25:0;;;47254:102;:179;;;-1:-1:-1;;;;;;;;;;47408:25:0;;;47254:179;:242;;;-1:-1:-1;;;;;;;;47471:25:0;-1:-1:-1;;;47471:25:0;;46869:678::o;80082:215::-;80184:4;-1:-1:-1;;;;;;80208:41:0;;-1:-1:-1;;;80208:41:0;;:81;;-1:-1:-1;;;;;;;;;;77954:40:0;;;80253:36;77854:148;2744:166;2625:7;2652:6;-1:-1:-1;;;;;2652:6:0;74983:10;2804:23;2800:103;;2851:40;;-1:-1:-1;;;2851:40:0;;74983:10;2851:40;;;1738:51:1;1711:18;;2851:40:0;1592:203:1;83981:217:0;84085:48;84110:8;84120:12;84085:24;:48::i;:::-;84149:41;;-1:-1:-1;;;;;28114:39:1;;28096:58;;-1:-1:-1;;;;;84149:41:0;;;;;28084:2:1;28069:18;84149:41:0;;;;;;;83981:217;;:::o;56335:273::-;56392:4;56448:7;45530:1;56429:26;;:66;;;;;56482:13;;56472:7;:23;56429:66;:152;;;;-1:-1:-1;;56533:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;56533:43:0;:48;;56335:273::o;49285:1129::-;49352:7;49387;;45530:1;49436:23;49432:915;;49489:13;;49482:4;:20;49478:869;;;49527:14;49544:23;;;:17;:23;;;;;;;-1:-1:-1;;;49633:23:0;;:28;;49629:699;;50152:113;50159:6;50169:1;50159:11;50152:113;;-1:-1:-1;;;50230:6:0;50212:25;;;;:17;:25;;;;;;50152:113;;49629:699;49504:843;49478:869;50375:31;;-1:-1:-1;;;50375:31:0;;;;;;;;;;;66678:89;66738:21;66744:7;66753:5;66738;:21::i;93793:261::-;93935:16;:23;:28;93927:67;;;;-1:-1:-1;;;93927:67:0;;28367:2:1;93927:67:0;;;28349:21:1;28406:2;28386:18;;;28379:30;28445:28;28425:18;;;28418:56;28491:18;;93927:67:0;28165:350:1;93927:67:0;94005:41;94026:10;94038:7;94005:20;:41::i;121780:149::-;2625:7;2652:6;-1:-1:-1;;;;;2652:6:0;121863:10;:21;121855:66;;;;-1:-1:-1;;;121855:66:0;;28722:2:1;121855:66:0;;;28704:21:1;;;28741:18;;;28734:30;28800:34;28780:18;;;28773:62;28852:18;;121855:66:0;28520:356:1;3892:191:0;3966:16;3985:6;;-1:-1:-1;;;;;4002:17:0;;;-1:-1:-1;;;;;;4002:17:0;;;;;;4035:40;;3985:6;;;;;;;4035:40;;3966:16;4035:40;3955:128;3892:191;:::o;56692:104::-;56761:27;56771:2;56775:8;56761:27;;;;;;;;;;;;:9;:27::i;70551:716::-;70735:88;;-1:-1:-1;;;70735:88:0;;70714:4;;-1:-1:-1;;;;;70735:45:0;;;;;:88;;74983:10;;70802:4;;70808:7;;70817:5;;70735:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70735:88:0;;;;;;;;-1:-1:-1;;70735:88:0;;;;;;;;;;;;:::i;:::-;;;70731:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71018:6;:13;71035:1;71018:18;71014:235;;71064:40;;-1:-1:-1;;;71064:40:0;;;;;;;;;;;71014:235;71207:6;71201:13;71192:6;71188:2;71184:15;71177:38;70731:529;-1:-1:-1;;;;;;70894:64:0;-1:-1:-1;;;70894:64:0;;-1:-1:-1;70731:529:0;70551:716;;;;;;:::o;24825:718::-;24881:13;24932:14;24949:17;24960:5;24949:10;:17::i;:::-;24969:1;24949:21;24932:38;;24985:20;25019:6;25008:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25008:18:0;-1:-1:-1;24985:41:0;-1:-1:-1;25150:28:0;;;25166:2;25150:28;25207:290;-1:-1:-1;;25239:5:0;-1:-1:-1;;;25376:2:0;25365:14;;25360:32;25239:5;25347:46;25439:2;25430:11;;;-1:-1:-1;25460:21:0;25207:290;25460:21;-1:-1:-1;25518:6:0;24825:718;-1:-1:-1;;;24825:718:0:o;81675:518::-;81391:5;-1:-1:-1;;;;;81824:26:0;;;-1:-1:-1;81820:176:0;;;81929:55;;-1:-1:-1;;;81929:55:0;;-1:-1:-1;;;;;29820:39:1;;81929:55:0;;;29802:58:1;29876:18;;;29869:34;;;29775:18;;81929:55:0;29629:280:1;81820:176:0;-1:-1:-1;;;;;82010:22:0;;82006:110;;82056:48;;-1:-1:-1;;;82056:48:0;;82101:1;82056:48;;;1738:51:1;1711:18;;82056:48:0;1592:203:1;82006:110:0;-1:-1:-1;82150:35:0;;;;;;;;;-1:-1:-1;;;;;82150:35:0;;;;;;-1:-1:-1;;;;;82150:35:0;;;;;;;;;;-1:-1:-1;;;82128:57:0;;;;:19;:57;81675:518::o;66996:3063::-;67076:27;67106;67125:7;67106:18;:27::i;:::-;67076:57;-1:-1:-1;67076:57:0;67146:12;;67268:28;67288:7;62231:27;62530:21;;;62357:15;62572:4;62565:36;62654:4;62638:21;;62744:26;;62638:21;;62136:652;67268:28;67211:85;;;;67313:13;67309:310;;;67434:62;67453:15;67470:4;74983:10;67476:19;74896:105;67434:62;67429:178;;67520:43;67537:4;74983:10;55190:164;:::i;67520:43::-;67515:92;;67572:35;;-1:-1:-1;;;67572:35:0;;;;;;;;;;;67515:92;67775:15;67772:160;;;67915:1;67894:19;67887:30;67772:160;-1:-1:-1;;;;;68533:24:0;;;;;;:18;:24;;;;;:59;;68561:31;68533:59;;;52267:11;52243:22;52239:40;52226:62;-1:-1:-1;;;52226:62:0;68830:26;;;;:17;:26;;;;;:203;;;;-1:-1:-1;;;69153:46:0;;:51;;69149:626;;69257:1;69247:11;;69225:19;69380:30;;;:17;:30;;;;;;:35;;69376:384;;69518:13;;69503:11;:28;69499:242;;69665:30;;;;:17;:30;;;;;:52;;;69499:242;69206:569;69149:626;69803:35;;69830:7;;69826:1;;-1:-1:-1;;;;;69803:35:0;;;;;69826:1;;69803:35;-1:-1:-1;;70026:12:0;:14;;;;;;-1:-1:-1;;;;66996:3063:0:o;92824:858::-;92983:7;:14;92962:10;:17;:35;92954:70;;;;-1:-1:-1;;;92954:70:0;;30116:2:1;92954:70:0;;;30098:21:1;30155:2;30135:18;;;30128:30;-1:-1:-1;;;30174:18:1;;;30167:52;30236:18;;92954:70:0;29914:346:1;92954:70:0;93063:1;93043:10;:17;:21;93035:62;;;;-1:-1:-1;;;93035:62:0;;30467:2:1;93035:62:0;;;30449:21:1;30506:2;30486:18;;;30479:30;30545;30525:18;;;30518:58;30593:18;;93035:62:0;30265:352:1;93035:62:0;93110:20;;93141:267;93165:10;:17;93161:1;:21;93141:267;;;93237:1;-1:-1:-1;;;;;93212:27:0;:10;93223:1;93212:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;93212:27:0;;93204:64;;;;-1:-1:-1;;;93204:64:0;;30824:2:1;93204:64:0;;;30806:21:1;30863:2;30843:18;;;30836:30;30902:26;30882:18;;;30875:54;30946:18;;93204:64:0;30622:348:1;93204:64:0;93304:1;93291:7;93299:1;93291:10;;;;;;;;:::i;:::-;;;;;;;:14;93283:55;;;;-1:-1:-1;;;93283:55:0;;31177:2:1;93283:55:0;;;31159:21:1;31216:2;31196:18;;;31189:30;31255;31235:18;;;31228:58;31303:18;;93283:55:0;30975:352:1;93283:55:0;93368:28;93385:7;93393:1;93385:10;;;;;;;;:::i;:::-;;;;;;;93368:12;:16;;:28;;;;:::i;:::-;93353:43;-1:-1:-1;93184:3:0;;93141:267;;;;92583:5;93442:12;:36;93420:119;;;;-1:-1:-1;;;93420:119:0;;31534:2:1;93420:119:0;;;31516:21:1;31573:2;31553:18;;;31546:30;31612:34;31592:18;;;31585:62;-1:-1:-1;;;31663:18:1;;;31656:31;31704:19;;93420:119:0;31332:397:1;93420:119:0;93552:29;;;;:16;;:29;;;;;:::i;:::-;-1:-1:-1;93592:23:0;;;;:13;;:23;;;;;:::i;:::-;;93633:41;93654:10;93666:7;93633:41;;;;;;;:::i;:::-;;;;;;;;92943:739;92824:858;;:::o;57212:681::-;57335:19;57341:2;57345:8;57335:5;:19::i;:::-;-1:-1:-1;;;;;57396:14:0;;;:19;57392:483;;57450:13;;57498:14;;;57531:233;57562:62;57601:1;57605:2;57609:7;;;;;;57618:5;57562:30;:62::i;:::-;57557:167;;57660:40;;-1:-1:-1;;;57660:40:0;;;;;;;;;;;57557:167;57759:3;57751:5;:11;57531:233;;57846:3;57829:13;;:20;57825:34;;57851:8;;;57825:34;57417:458;;57212:681;;;:::o;19889:948::-;19942:7;;-1:-1:-1;;;20020:17:0;;20016:106;;-1:-1:-1;;;20058:17:0;;;-1:-1:-1;20104:2:0;20094:12;20016:106;20149:8;20140:5;:17;20136:106;;20187:8;20178:17;;;-1:-1:-1;20224:2:0;20214:12;20136:106;20269:8;20260:5;:17;20256:106;;20307:8;20298:17;;;-1:-1:-1;20344:2:0;20334:12;20256:106;20389:7;20380:5;:16;20376:103;;20426:7;20417:16;;;-1:-1:-1;20462:1:0;20452:11;20376:103;20506:7;20497:5;:16;20493:103;;20543:7;20534:16;;;-1:-1:-1;20579:1:0;20569:11;20493:103;20623:7;20614:5;:16;20610:103;;20660:7;20651:16;;;-1:-1:-1;20696:1:0;20686:11;20610:103;20740:7;20731:5;:16;20727:68;;20778:1;20768:11;20823:6;19889:948;-1:-1:-1;;19889:948:0:o;87895:98::-;87953:7;87980:5;87984:1;87980;:5;:::i;58166:1529::-;58254:13;;-1:-1:-1;;;;;58282:16:0;;58278:48;;58307:19;;-1:-1:-1;;;58307:19:0;;;;;;;;;;;58278:48;58341:8;58353:1;58341:13;58337:44;;58363:18;;-1:-1:-1;;;58363:18:0;;;;;;;;;;;58337:44;-1:-1:-1;;;;;58869:22:0;;;;;;:18;:22;;42240:2;58869:22;;:70;;58907:31;58895:44;;58869:70;;;52267:11;52243:22;52239:40;-1:-1:-1;53977:15:0;;53952:23;53948:45;52236:51;52226:62;59182:31;;;;:17;:31;;;;;:173;59200:12;59431:23;;;59469:101;59496:35;;59521:9;;;;;-1:-1:-1;;;;;59496:35:0;;;59513:1;;59496:35;;59513:1;;59496:35;59565:3;59555:7;:13;59469:101;;59586:13;:19;-1:-1:-1;55425:185:0;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;641:127:1;702:10;697:3;693:20;690:1;683:31;733:4;730:1;723:15;757:4;754:1;747:15;773:128;840:9;;;861:11;;;858:37;;;875:18;;:::i;906:127::-;967:10;962:3;958:20;955:1;948:31;998:4;995:1;988:15;1022:4;1019:1;1012:15;1800:131;-1:-1:-1;;;;;;1874:32:1;;1864:43;;1854:71;;1921:1;1918;1911:12;1936:245;1994:6;2047:2;2035:9;2026:7;2022:23;2018:32;2015:52;;;2063:1;2060;2053:12;2015:52;2102:9;2089:23;2121:30;2145:5;2121:30;:::i;2378:131::-;-1:-1:-1;;;;;2453:31:1;;2443:42;;2433:70;;2499:1;2496;2489:12;2514:435;2581:6;2589;2642:2;2630:9;2621:7;2617:23;2613:32;2610:52;;;2658:1;2655;2648:12;2610:52;2697:9;2684:23;2716:31;2741:5;2716:31;:::i;:::-;2766:5;-1:-1:-1;2823:2:1;2808:18;;2795:32;-1:-1:-1;;;;;2858:40:1;;2846:53;;2836:81;;2913:1;2910;2903:12;2836:81;2936:7;2926:17;;;2514:435;;;;;:::o;2954:250::-;3039:1;3049:113;3063:6;3060:1;3057:13;3049:113;;;3139:11;;;3133:18;3120:11;;;3113:39;3085:2;3078:10;3049:113;;;-1:-1:-1;;3196:1:1;3178:16;;3171:27;2954:250::o;3209:271::-;3251:3;3289:5;3283:12;3316:6;3311:3;3304:19;3332:76;3401:6;3394:4;3389:3;3385:14;3378:4;3371:5;3367:16;3332:76;:::i;:::-;3462:2;3441:15;-1:-1:-1;;3437:29:1;3428:39;;;;3469:4;3424:50;;3209:271;-1:-1:-1;;3209:271:1:o;3485:220::-;3634:2;3623:9;3616:21;3597:4;3654:45;3695:2;3684:9;3680:18;3672:6;3654:45;:::i;3710:180::-;3769:6;3822:2;3810:9;3801:7;3797:23;3793:32;3790:52;;;3838:1;3835;3828:12;3790:52;-1:-1:-1;3861:23:1;;3710:180;-1:-1:-1;3710:180:1:o;3895:315::-;3963:6;3971;4024:2;4012:9;4003:7;3999:23;3995:32;3992:52;;;4040:1;4037;4030:12;3992:52;4079:9;4066:23;4098:31;4123:5;4098:31;:::i;:::-;4148:5;4200:2;4185:18;;;;4172:32;;-1:-1:-1;;;3895:315:1:o;4644:529::-;4721:6;4729;4737;4790:2;4778:9;4769:7;4765:23;4761:32;4758:52;;;4806:1;4803;4796:12;4758:52;4845:9;4832:23;4864:31;4889:5;4864:31;:::i;:::-;4914:5;-1:-1:-1;4971:2:1;4956:18;;4943:32;4984:33;4943:32;4984:33;:::i;:::-;5036:7;-1:-1:-1;5095:2:1;5080:18;;5067:32;5108:33;5067:32;5108:33;:::i;:::-;5160:7;5150:17;;;4644:529;;;;;:::o;5310:250::-;5404:1;5397:5;5394:12;5384:143;;5449:10;5444:3;5440:20;5437:1;5430:31;5484:4;5481:1;5474:15;5512:4;5509:1;5502:15;5384:143;5536:18;;5310:250::o;5565:234::-;5724:2;5709:18;;5736:57;5713:9;5775:6;5736:57;:::i;5804:456::-;5881:6;5889;5897;5950:2;5938:9;5929:7;5925:23;5921:32;5918:52;;;5966:1;5963;5956:12;5918:52;6005:9;5992:23;6024:31;6049:5;6024:31;:::i;:::-;6074:5;-1:-1:-1;6131:2:1;6116:18;;6103:32;6144:33;6103:32;6144:33;:::i;:::-;5804:456;;6196:7;;-1:-1:-1;;;6250:2:1;6235:18;;;;6222:32;;5804:456::o;6265:248::-;6333:6;6341;6394:2;6382:9;6373:7;6369:23;6365:32;6362:52;;;6410:1;6407;6400:12;6362:52;-1:-1:-1;;6433:23:1;;;6503:2;6488:18;;;6475:32;;-1:-1:-1;6265:248:1:o;6518:247::-;6577:6;6630:2;6618:9;6609:7;6605:23;6601:32;6598:52;;;6646:1;6643;6636:12;6598:52;6685:9;6672:23;6704:31;6729:5;6704:31;:::i;6770:465::-;6823:3;6861:5;6855:12;6888:6;6883:3;6876:19;6914:4;6943;6938:3;6934:14;6927:21;;6982:4;6975:5;6971:16;7005:1;7015:195;7029:6;7026:1;7023:13;7015:195;;;7094:13;;-1:-1:-1;;;;;7090:39:1;7078:52;;7150:12;;;;7185:15;;;;7126:1;7044:9;7015:195;;;-1:-1:-1;7226:3:1;;6770:465;-1:-1:-1;;;;;6770:465:1:o;7240:261::-;7419:2;7408:9;7401:21;7382:4;7439:56;7491:2;7480:9;7476:18;7468:6;7439:56;:::i;7506:127::-;7567:10;7562:3;7558:20;7555:1;7548:31;7598:4;7595:1;7588:15;7622:4;7619:1;7612:15;7638:275;7709:2;7703:9;7774:2;7755:13;;-1:-1:-1;;7751:27:1;7739:40;;7809:18;7794:34;;7830:22;;;7791:62;7788:88;;;7856:18;;:::i;:::-;7892:2;7885:22;7638:275;;-1:-1:-1;7638:275:1:o;7918:407::-;7983:5;8017:18;8009:6;8006:30;8003:56;;;8039:18;;:::i;:::-;8077:57;8122:2;8101:15;;-1:-1:-1;;8097:29:1;8128:4;8093:40;8077:57;:::i;:::-;8068:66;;8157:6;8150:5;8143:21;8197:3;8188:6;8183:3;8179:16;8176:25;8173:45;;;8214:1;8211;8204:12;8173:45;8263:6;8258:3;8251:4;8244:5;8240:16;8227:43;8317:1;8310:4;8301:6;8294:5;8290:18;8286:29;8279:40;7918:407;;;;;:::o;8330:451::-;8399:6;8452:2;8440:9;8431:7;8427:23;8423:32;8420:52;;;8468:1;8465;8458:12;8420:52;8508:9;8495:23;8541:18;8533:6;8530:30;8527:50;;;8573:1;8570;8563:12;8527:50;8596:22;;8649:4;8641:13;;8637:27;-1:-1:-1;8627:55:1;;8678:1;8675;8668:12;8627:55;8701:74;8767:7;8762:2;8749:16;8744:2;8740;8736:11;8701:74;:::i;8786:183::-;8846:4;8879:18;8871:6;8868:30;8865:56;;;8901:18;;:::i;:::-;-1:-1:-1;8946:1:1;8942:14;8958:4;8938:25;;8786:183::o;8974:668::-;9028:5;9081:3;9074:4;9066:6;9062:17;9058:27;9048:55;;9099:1;9096;9089:12;9048:55;9135:6;9122:20;9161:4;9185:60;9201:43;9241:2;9201:43;:::i;:::-;9185:60;:::i;:::-;9267:3;9291:2;9286:3;9279:15;9319:4;9314:3;9310:14;9303:21;;9376:4;9370:2;9367:1;9363:10;9355:6;9351:23;9347:34;9333:48;;9404:3;9396:6;9393:15;9390:35;;;9421:1;9418;9411:12;9390:35;9457:4;9449:6;9445:17;9471:142;9487:6;9482:3;9479:15;9471:142;;;9553:17;;9541:30;;9591:12;;;;9504;;9471:142;;;-1:-1:-1;9631:5:1;8974:668;-1:-1:-1;;;;;;8974:668:1:o;9647:1215::-;9765:6;9773;9826:2;9814:9;9805:7;9801:23;9797:32;9794:52;;;9842:1;9839;9832:12;9794:52;9882:9;9869:23;9911:18;9952:2;9944:6;9941:14;9938:34;;;9968:1;9965;9958:12;9938:34;10006:6;9995:9;9991:22;9981:32;;10051:7;10044:4;10040:2;10036:13;10032:27;10022:55;;10073:1;10070;10063:12;10022:55;10109:2;10096:16;10131:4;10155:60;10171:43;10211:2;10171:43;:::i;10155:60::-;10249:15;;;10331:1;10327:10;;;;10319:19;;10315:28;;;10280:12;;;;10355:19;;;10352:39;;;10387:1;10384;10377:12;10352:39;10411:11;;;;10431:217;10447:6;10442:3;10439:15;10431:217;;;10527:3;10514:17;10544:31;10569:5;10544:31;:::i;:::-;10588:18;;10464:12;;;;10626;;;;10431:217;;;10667:5;-1:-1:-1;;10710:18:1;;10697:32;;-1:-1:-1;;10741:16:1;;;10738:36;;;10770:1;10767;10760:12;10738:36;;10793:63;10848:7;10837:8;10826:9;10822:24;10793:63;:::i;:::-;10783:73;;;9647:1215;;;;;:::o;11088:121::-;11183:1;11176:5;11173:12;11163:40;;11199:1;11196;11189:12;11214:144;-1:-1:-1;;;;;11293:5:1;11289:44;11282:5;11279:55;11269:83;;11348:1;11345;11338:12;11363:576;11467:6;11475;11483;11536:2;11524:9;11515:7;11511:23;11507:32;11504:52;;;11552:1;11549;11542:12;11504:52;11591:9;11578:23;11610:51;11655:5;11610:51;:::i;:::-;11680:5;-1:-1:-1;11737:2:1;11722:18;;11709:32;11750:33;11709:32;11750:33;:::i;:::-;11802:7;-1:-1:-1;11861:2:1;11846:18;;11833:32;11874:33;11833:32;11874:33;:::i;11944:615::-;12030:6;12038;12091:2;12079:9;12070:7;12066:23;12062:32;12059:52;;;12107:1;12104;12097:12;12059:52;12147:9;12134:23;12176:18;12217:2;12209:6;12206:14;12203:34;;;12233:1;12230;12223:12;12203:34;12271:6;12260:9;12256:22;12246:32;;12316:7;12309:4;12305:2;12301:13;12297:27;12287:55;;12338:1;12335;12328:12;12287:55;12378:2;12365:16;12404:2;12396:6;12393:14;12390:34;;;12420:1;12417;12410:12;12390:34;12473:7;12468:2;12458:6;12455:1;12451:14;12447:2;12443:23;12439:32;12436:45;12433:65;;;12494:1;12491;12484:12;12433:65;12525:2;12517:11;;;;;12547:6;;-1:-1:-1;11944:615:1;;-1:-1:-1;;;;11944:615:1:o;12564:118::-;12650:5;12643:13;12636:21;12629:5;12626:32;12616:60;;12672:1;12669;12662:12;12687:382;12752:6;12760;12813:2;12801:9;12792:7;12788:23;12784:32;12781:52;;;12829:1;12826;12819:12;12781:52;12868:9;12855:23;12887:31;12912:5;12887:31;:::i;:::-;12937:5;-1:-1:-1;12994:2:1;12979:18;;12966:32;13007:30;12966:32;13007:30;:::i;13074:804::-;13331:2;13320:9;13313:21;13294:4;13357:56;13409:2;13398:9;13394:18;13386:6;13357:56;:::i;:::-;13470:22;;;13432:2;13450:18;;;13443:50;;;;13542:13;;13564:22;;;13640:15;;;;13602;;;13673:1;13683:169;13697:6;13694:1;13691:13;13683:169;;;13758:13;;13746:26;;13827:15;;;;13792:12;;;;13719:1;13712:9;13683:169;;;-1:-1:-1;13869:3:1;;13074:804;-1:-1:-1;;;;;;;13074:804:1:o;14359:795::-;14454:6;14462;14470;14478;14531:3;14519:9;14510:7;14506:23;14502:33;14499:53;;;14548:1;14545;14538:12;14499:53;14587:9;14574:23;14606:31;14631:5;14606:31;:::i;:::-;14656:5;-1:-1:-1;14713:2:1;14698:18;;14685:32;14726:33;14685:32;14726:33;:::i;:::-;14778:7;-1:-1:-1;14832:2:1;14817:18;;14804:32;;-1:-1:-1;14887:2:1;14872:18;;14859:32;14914:18;14903:30;;14900:50;;;14946:1;14943;14936:12;14900:50;14969:22;;15022:4;15014:13;;15010:27;-1:-1:-1;15000:55:1;;15051:1;15048;15041:12;15000:55;15074:74;15140:7;15135:2;15122:16;15117:2;15113;15109:11;15074:74;:::i;:::-;15064:84;;;14359:795;;;;;;;:::o;15159:536::-;15335:4;15377:2;15366:9;15362:18;15354:26;;15389:64;15443:9;15434:6;15428:13;15389:64;:::i;:::-;15500:4;15492:6;15488:17;15482:24;-1:-1:-1;;;;;15613:2:1;15599:12;15595:21;15588:4;15577:9;15573:20;15566:51;15685:2;15677:4;15669:6;15665:17;15659:24;15655:33;15648:4;15637:9;15633:20;15626:63;;;15159:536;;;;:::o;15700:388::-;15768:6;15776;15829:2;15817:9;15808:7;15804:23;15800:32;15797:52;;;15845:1;15842;15835:12;15797:52;15884:9;15871:23;15903:31;15928:5;15903:31;:::i;:::-;15953:5;-1:-1:-1;16010:2:1;15995:18;;15982:32;16023:33;15982:32;16023:33;:::i;16093:718::-;16206:6;16214;16222;16230;16283:3;16271:9;16262:7;16258:23;16254:33;16251:53;;;16300:1;16297;16290:12;16251:53;16339:9;16326:23;16358:31;16383:5;16358:31;:::i;:::-;16408:5;-1:-1:-1;16465:2:1;16450:18;;16437:32;16478:53;16437:32;16478:53;:::i;:::-;16550:7;-1:-1:-1;16609:2:1;16594:18;;16581:32;16622:33;16581:32;16622:33;:::i;:::-;16674:7;-1:-1:-1;16733:2:1;16718:18;;16705:32;16746:33;16705:32;16746:33;:::i;:::-;16093:718;;;;-1:-1:-1;16093:718:1;;-1:-1:-1;;16093:718:1:o;17176:168::-;17249:9;;;17280;;17297:15;;;17291:22;;17277:37;17267:71;;17318:18;;:::i;17481:217::-;17521:1;17547;17537:132;;17591:10;17586:3;17582:20;17579:1;17572:31;17626:4;17623:1;17616:15;17654:4;17651:1;17644:15;17537:132;-1:-1:-1;17683:9:1;;17481:217::o;17703:380::-;17782:1;17778:12;;;;17825;;;17846:61;;17900:4;17892:6;17888:17;17878:27;;17846:61;17953:2;17945:6;17942:14;17922:18;17919:38;17916:161;;17999:10;17994:3;17990:20;17987:1;17980:31;18034:4;18031:1;18024:15;18062:4;18059:1;18052:15;17916:161;;17703:380;;;:::o;18477:810::-;18589:6;18642:2;18630:9;18621:7;18617:23;18613:32;18610:52;;;18658:1;18655;18648:12;18610:52;18691:2;18685:9;18733:2;18725:6;18721:15;18802:6;18790:10;18787:22;18766:18;18754:10;18751:34;18748:62;18745:88;;;18813:18;;:::i;:::-;18849:2;18842:22;18886:16;;18911:51;18886:16;18911:51;:::i;:::-;18971:21;;19037:2;19022:18;;19016:25;19050:33;19016:25;19050:33;:::i;:::-;19111:2;19099:15;;19092:32;19169:2;19154:18;;19148:25;19182:33;19148:25;19182:33;:::i;:::-;19243:2;19231:15;;19224:32;19235:6;18477:810;-1:-1:-1;;;18477:810:1:o;19610:245::-;19677:6;19730:2;19718:9;19709:7;19705:23;19701:32;19698:52;;;19746:1;19743;19736:12;19698:52;19778:9;19772:16;19797:28;19819:5;19797:28;:::i;20208:956::-;20303:6;20334:2;20377;20365:9;20356:7;20352:23;20348:32;20345:52;;;20393:1;20390;20383:12;20345:52;20426:9;20420:16;20459:18;20451:6;20448:30;20445:50;;;20491:1;20488;20481:12;20445:50;20514:22;;20567:4;20559:13;;20555:27;-1:-1:-1;20545:55:1;;20596:1;20593;20586:12;20545:55;20625:2;20619:9;20648:60;20664:43;20704:2;20664:43;:::i;20648:60::-;20742:15;;;20824:1;20820:10;;;;20812:19;;20808:28;;;20773:12;;;;20848:19;;;20845:39;;;20880:1;20877;20870:12;20845:39;20904:11;;;;20924:210;20940:6;20935:3;20932:15;20924:210;;;21013:3;21007:10;21030:31;21055:5;21030:31;:::i;:::-;21074:18;;20957:12;;;;21112;;;;20924:210;;;21153:5;20208:956;-1:-1:-1;;;;;;;20208:956:1:o;22002:518::-;22104:2;22099:3;22096:11;22093:421;;;22140:5;22137:1;22130:16;22184:4;22181:1;22171:18;22254:2;22242:10;22238:19;22235:1;22231:27;22225:4;22221:38;22290:4;22278:10;22275:20;22272:47;;;-1:-1:-1;22313:4:1;22272:47;22368:2;22363:3;22359:12;22356:1;22352:20;22346:4;22342:31;22332:41;;22423:81;22441:2;22434:5;22431:13;22423:81;;;22500:1;22486:16;;22467:1;22456:13;22423:81;;22696:1345;22822:3;22816:10;22849:18;22841:6;22838:30;22835:56;;;22871:18;;:::i;:::-;22900:97;22990:6;22950:38;22982:4;22976:11;22950:38;:::i;:::-;22944:4;22900:97;:::i;:::-;23052:4;;23109:2;23098:14;;23126:1;23121:663;;;;23828:1;23845:6;23842:89;;;-1:-1:-1;23897:19:1;;;23891:26;23842:89;-1:-1:-1;;22653:1:1;22649:11;;;22645:24;22641:29;22631:40;22677:1;22673:11;;;22628:57;23944:81;;23091:944;;23121:663;21949:1;21942:14;;;21986:4;21973:18;;-1:-1:-1;;23157:20:1;;;23275:236;23289:7;23286:1;23283:14;23275:236;;;23378:19;;;23372:26;23357:42;;23470:27;;;;23438:1;23426:14;;;;23305:19;;23275:236;;;23279:3;23539:6;23530:7;23527:19;23524:201;;;23600:19;;;23594:26;-1:-1:-1;;23683:1:1;23679:14;;;23695:3;23675:24;23671:37;23667:42;23652:58;23637:74;;23524:201;-1:-1:-1;;;;;23771:1:1;23755:14;;;23751:22;23738:36;;-1:-1:-1;22696:1345:1:o;24046:331::-;-1:-1:-1;;;;;24263:32:1;;24245:51;;24233:2;24218:18;;24305:66;24367:2;24352:18;;24344:6;24305:66;:::i;24382:313::-;-1:-1:-1;;;;;24574:32:1;;;;24556:51;;-1:-1:-1;;;;;24643:45:1;24638:2;24623:18;;24616:73;24544:2;24529:18;;24382:313::o;25406:125::-;25471:9;;;25492:10;;;25489:36;;;25505:18;;:::i;26759:1188::-;27036:3;27065:1;27098:6;27092:13;27128:36;27154:9;27128:36;:::i;:::-;27183:1;27200:17;;;27226:133;;;;27373:1;27368:358;;;;27193:533;;27226:133;-1:-1:-1;;27259:24:1;;27247:37;;27332:14;;27325:22;27313:35;;27304:45;;;-1:-1:-1;27226:133:1;;27368:358;27399:6;27396:1;27389:17;27429:4;27474;27471:1;27461:18;27501:1;27515:165;27529:6;27526:1;27523:13;27515:165;;;27607:14;;27594:11;;;27587:35;27650:16;;;;27544:10;;27515:165;;;27519:3;;;27709:6;27704:3;27700:16;27693:23;;27193:533;;;;;27757:6;27751:13;27773:68;27832:8;27827:3;27820:4;27812:6;27808:17;27773:68;:::i;:::-;-1:-1:-1;;;27863:18:1;;27890:22;;;27939:1;27928:13;;26759:1188;-1:-1:-1;;;;26759:1188:1:o;28881:489::-;-1:-1:-1;;;;;29150:15:1;;;29132:34;;29202:15;;29197:2;29182:18;;29175:43;29249:2;29234:18;;29227:34;;;29297:3;29292:2;29277:18;;29270:31;;;29075:4;;29318:46;;29344:19;;29336:6;29318:46;:::i;:::-;29310:54;28881:489;-1:-1:-1;;;;;;28881:489:1:o;29375:249::-;29444:6;29497:2;29485:9;29476:7;29472:23;29468:32;29465:52;;;29513:1;29510;29503:12;29465:52;29545:9;29539:16;29564:30;29588:5;29564:30;:::i
Swarm Source
ipfs://815773bd8fdfcb815b90da6d70710754e90fe9cd4911b8fd6e472cf2509dfe3f
[ 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.