Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,000 OC
Holders
511
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 OCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OpepenChat
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-01-12 */ // SPDX-License-Identifier: MIT // 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/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/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/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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/opepenchat.sol pragma solidity ^0.8.9; contract OpepenChat is ERC721A, Ownable { using Strings for uint256; uint256 public maxSupply = 2000; uint256 public cost = 0.0066 ether; uint256 public maxPerTx = 4; bool public sale; string private baseTokenUri; string public hiddenTokenUri; bool public isRevealed; error SaleNotActive(); error MaxSupplyReached(); error MaxPerTxReached(); error NotEnoughETH(); constructor(string memory _hiddenTokenUri) ERC721A("Opepen Chat", "OC") Ownable(msg.sender) { hiddenTokenUri = _hiddenTokenUri; } function mint(uint256 _amount) external payable { if (!sale) revert SaleNotActive(); if (_totalMinted() + _amount > maxSupply) revert MaxSupplyReached(); if (_amount > maxPerTx) revert MaxPerTxReached(); if (msg.value < cost * _amount) revert NotEnoughETH(); _mint(msg.sender, _amount); } function airdrop(address receiver, uint256 amount) external onlyOwner { _mint(receiver, amount); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); uint256 trueId = tokenId + 1; if (!isRevealed) { return hiddenTokenUri; } return bytes(baseTokenUri).length > 0 ? string( abi.encodePacked(baseTokenUri, trueId.toString(), ".json") ) : ""; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenUri; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setTokenUri(string memory _baseTokenUri) external onlyOwner { baseTokenUri = _baseTokenUri; } function setHiddenTokenUri(string memory _hiddenTokenUri) external onlyOwner { hiddenTokenUri = _hiddenTokenUri; } function startSale() external onlyOwner { sale = !sale; } function setCost(uint256 _cost) external onlyOwner { cost = _cost; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; } function toggleReveal() external onlyOwner { isRevealed = !isRevealed; } function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_hiddenTokenUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxPerTxReached","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEnoughETH","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":"SaleNotActive","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenTokenUri","type":"string"}],"name":"setHiddenTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","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":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526107d0600955661772aa3f848000600a556004600b5534801562000026575f80fd5b50604051620033d8380380620033d883398181016040528101906200004c9190620003e2565b336040518060400160405280600b81526020017f4f706570656e20436861740000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4f430000000000000000000000000000000000000000000000000000000000008152508160029081620000ca919062000668565b508060039081620000dc919062000668565b50620000ed6200019260201b60201c565b5f8190555050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000167575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016200015e91906200078f565b60405180910390fd5b62000178816200019a60201b60201c565b5080600e90816200018a919062000668565b5050620007aa565b5f6001905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620002be8262000276565b810181811067ffffffffffffffff82111715620002e057620002df62000286565b5b80604052505050565b5f620002f46200025d565b9050620003028282620002b3565b919050565b5f67ffffffffffffffff82111562000324576200032362000286565b5b6200032f8262000276565b9050602081019050919050565b5f5b838110156200035b5780820151818401526020810190506200033e565b5f8484015250505050565b5f6200037c620003768462000307565b620002e9565b9050828152602081018484840111156200039b576200039a62000272565b5b620003a88482856200033c565b509392505050565b5f82601f830112620003c757620003c66200026e565b5b8151620003d984826020860162000366565b91505092915050565b5f60208284031215620003fa57620003f962000266565b5b5f82015167ffffffffffffffff8111156200041a57620004196200026a565b5b6200042884828501620003b0565b91505092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200048057607f821691505b6020821081036200049657620004956200043b565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620004fa7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004bd565b620005068683620004bd565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620005506200054a62000544846200051e565b62000527565b6200051e565b9050919050565b5f819050919050565b6200056b8362000530565b620005836200057a8262000557565b848454620004c9565b825550505050565b5f90565b620005996200058b565b620005a681848462000560565b505050565b5b81811015620005cd57620005c15f826200058f565b600181019050620005ac565b5050565b601f8211156200061c57620005e6816200049c565b620005f184620004ae565b8101602085101562000601578190505b620006196200061085620004ae565b830182620005ab565b50505b505050565b5f82821c905092915050565b5f6200063e5f198460080262000621565b1980831691505092915050565b5f6200065883836200062d565b9150826002028217905092915050565b620006738262000431565b67ffffffffffffffff8111156200068f576200068e62000286565b5b6200069b825462000468565b620006a8828285620005d1565b5f60209050601f831160018114620006de575f8415620006c9578287015190505b620006d585826200064b565b86555062000744565b601f198416620006ee866200049c565b5f5b828110156200071757848901518255600182019150602085019450602081019050620006f0565b8683101562000737578489015162000733601f8916826200062d565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000777826200074c565b9050919050565b62000789816200076b565b82525050565b5f602082019050620007a45f8301846200077e565b92915050565b612c2080620007b85f395ff3fe6080604052600436106101ed575f3560e01c806370a082311161010c578063b66a0e5d1161009f578063d5abeb011161006e578063d5abeb011461063f578063e985e9c514610669578063f2fde38b146106a5578063f968adbe146106cd578063fa7ffe68146106f7576101ed565b8063b66a0e5d146105a9578063b88d4fde146105bf578063c6f6f216146105db578063c87b56dd14610603576101ed565b806395d89b41116100db57806395d89b4114610513578063a0712d681461053d578063a22cb46514610559578063ae8bdd3014610581576101ed565b806370a082311461046f578063715018a6146104ab5780638ba4cc3c146104c15780638da5cb5b146104e9576101ed565b80633ccfd60b116101845780635b8ad429116101535780635b8ad429146103cb5780636352211e146103e15780636ad1fe021461041d5780636f8b44b014610447576101ed565b80633ccfd60b1461034757806342842e0e1461035d57806344a0d68a1461037957806354214f69146103a1576101ed565b8063095ea7b3116101c0578063095ea7b3146102bb57806313faede6146102d757806318160ddd1461030157806323b872dd1461032b576101ed565b806301ffc9a7146101f15780630675b7c61461022d57806306fdde0314610255578063081812fc1461027f575b5f80fd5b3480156101fc575f80fd5b5061021760048036038101906102129190611f0f565b610721565b6040516102249190611f54565b60405180910390f35b348015610238575f80fd5b50610253600480360381019061024e91906120a9565b6107b2565b005b348015610260575f80fd5b506102696107cd565b604051610276919061216a565b60405180910390f35b34801561028a575f80fd5b506102a560048036038101906102a091906121bd565b61085d565b6040516102b29190612227565b60405180910390f35b6102d560048036038101906102d0919061226a565b6108d7565b005b3480156102e2575f80fd5b506102eb610a16565b6040516102f891906122b7565b60405180910390f35b34801561030c575f80fd5b50610315610a1c565b60405161032291906122b7565b60405180910390f35b610345600480360381019061034091906122d0565b610a31565b005b348015610352575f80fd5b5061035b610d3f565b005b610377600480360381019061037291906122d0565b610df2565b005b348015610384575f80fd5b5061039f600480360381019061039a91906121bd565b610e11565b005b3480156103ac575f80fd5b506103b5610e23565b6040516103c29190611f54565b60405180910390f35b3480156103d6575f80fd5b506103df610e35565b005b3480156103ec575f80fd5b50610407600480360381019061040291906121bd565b610e67565b6040516104149190612227565b60405180910390f35b348015610428575f80fd5b50610431610e78565b60405161043e9190611f54565b60405180910390f35b348015610452575f80fd5b5061046d600480360381019061046891906121bd565b610e8a565b005b34801561047a575f80fd5b5061049560048036038101906104909190612320565b610e9c565b6040516104a291906122b7565b60405180910390f35b3480156104b6575f80fd5b506104bf610f51565b005b3480156104cc575f80fd5b506104e760048036038101906104e2919061226a565b610f64565b005b3480156104f4575f80fd5b506104fd610f7a565b60405161050a9190612227565b60405180910390f35b34801561051e575f80fd5b50610527610fa2565b604051610534919061216a565b60405180910390f35b610557600480360381019061055291906121bd565b611032565b005b348015610564575f80fd5b5061057f600480360381019061057a9190612375565b611155565b005b34801561058c575f80fd5b506105a760048036038101906105a291906120a9565b61125b565b005b3480156105b4575f80fd5b506105bd611276565b005b6105d960048036038101906105d49190612451565b6112a8565b005b3480156105e6575f80fd5b5061060160048036038101906105fc91906121bd565b61131a565b005b34801561060e575f80fd5b50610629600480360381019061062491906121bd565b61132c565b604051610636919061216a565b60405180910390f35b34801561064a575f80fd5b50610653611488565b60405161066091906122b7565b60405180910390f35b348015610674575f80fd5b5061068f600480360381019061068a91906124d1565b61148e565b60405161069c9190611f54565b60405180910390f35b3480156106b0575f80fd5b506106cb60048036038101906106c69190612320565b61151c565b005b3480156106d8575f80fd5b506106e16115a0565b6040516106ee91906122b7565b60405180910390f35b348015610702575f80fd5b5061070b6115a6565b604051610718919061216a565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107ab5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6107ba611632565b80600d90816107c99190612709565b5050565b6060600280546107dc9061253c565b80601f01602080910402602001604051908101604052809291908181526020018280546108089061253c565b80156108535780601f1061082a57610100808354040283529160200191610853565b820191905f5260205f20905b81548152906001019060200180831161083657829003601f168201915b5050505050905090565b5f610867826116b9565b61089d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f6108e182610e67565b90508073ffffffffffffffffffffffffffffffffffffffff16610902611713565b73ffffffffffffffffffffffffffffffffffffffff16146109655761092e81610929611713565b61148e565b610964576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a5481565b5f610a2561171a565b6001545f540303905090565b5f610a3b82611722565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aa2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610aad846117e5565b91509150610ac38187610abe611713565b611808565b610b0f57610ad886610ad3611713565b61148e565b610b0e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b74576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b81868686600161184b565b8015610b8b575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c5385610c2f888887611851565b7c020000000000000000000000000000000000000000000000000000000017611878565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610ccf575f6001850190505f60045f8381526020019081526020015f205403610ccd575f548114610ccc578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d3786868660016118a2565b505050505050565b610d47611632565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610d6c90612805565b5f6040518083038185875af1925050503d805f8114610da6576040519150601f19603f3d011682016040523d82523d5f602084013e610dab565b606091505b5050905080610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de690612863565b60405180910390fd5b50565b610e0c83838360405180602001604052805f8152506112a8565b505050565b610e19611632565b80600a8190555050565b600f5f9054906101000a900460ff1681565b610e3d611632565b600f5f9054906101000a900460ff1615600f5f6101000a81548160ff021916908315150217905550565b5f610e7182611722565b9050919050565b600c5f9054906101000a900460ff1681565b610e92611632565b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f02576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610f59611632565b610f625f6118a8565b565b610f6c611632565b610f76828261196b565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610fb19061253c565b80601f0160208091040260200160405190810160405280929190818152602001828054610fdd9061253c565b80156110285780601f10610fff57610100808354040283529160200191611028565b820191905f5260205f20905b81548152906001019060200180831161100b57829003601f168201915b5050505050905090565b600c5f9054906101000a900460ff16611077576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095481611083611b14565b61108d91906128ae565b11156110c5576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54811115611101576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a5461110f91906128e1565b341015611148576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611152338261196b565b50565b8060075f611161611713565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661120a611713565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161124f9190611f54565b60405180910390a35050565b611263611632565b80600e90816112729190612709565b5050565b61127e611632565b600c5f9054906101000a900460ff1615600c5f6101000a81548160ff021916908315150217905550565b6112b3848484610a31565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611314576112dd84848484611b25565b611313576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611322611632565b80600b8190555050565b6060611337826116b9565b611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d90612992565b60405180910390fd5b5f60018361138491906128ae565b9050600f5f9054906101000a900460ff1661142a57600e80546113a69061253c565b80601f01602080910402602001604051908101604052809291908181526020018280546113d29061253c565b801561141d5780601f106113f45761010080835404028352916020019161141d565b820191905f5260205f20905b81548152906001019060200180831161140057829003601f168201915b5050505050915050611483565b5f600d80546114389061253c565b9050116114535760405180602001604052805f81525061147f565b600d61145e82611c70565b60405160200161146f929190612ab4565b6040516020818303038152906040525b9150505b919050565b60095481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611524611632565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611594575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161158b9190612227565b60405180910390fd5b61159d816118a8565b50565b600b5481565b600e80546115b39061253c565b80601f01602080910402602001604051908101604052809291908181526020018280546115df9061253c565b801561162a5780601f106116015761010080835404028352916020019161162a565b820191905f5260205f20905b81548152906001019060200180831161160d57829003601f168201915b505050505081565b61163a611d3a565b73ffffffffffffffffffffffffffffffffffffffff16611658610f7a565b73ffffffffffffffffffffffffffffffffffffffff16146116b75761167b611d3a565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016116ae9190612227565b60405180910390fd5b565b5f816116c361171a565b111580156116d157505f5482105b801561170c57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f808290508061173061171a565b116117ae575f548110156117ad575f60045f8381526020019081526020015f205490505f7c01000000000000000000000000000000000000000000000000000000008216036117ab575b5f81036117a15760045f836001900393508381526020019081526020015f2054905061177a565b80925050506117e0565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611867868684611d41565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f805490505f82036119a9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119b55f84838561184b565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550611a2783611a185f865f611851565b611a2185611d49565b17611878565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114611ac15780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050611a88565b505f8203611afb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611b0f5f8483856118a2565b505050565b5f611b1d61171a565b5f5403905090565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611b4a611713565b8786866040518563ffffffff1660e01b8152600401611b6c9493929190612b34565b6020604051808303815f875af1925050508015611ba757506040513d601f19601f82011682018060405250810190611ba49190612b92565b60015b611c1d573d805f8114611bd5576040519150601f19603f3d011682016040523d82523d5f602084013e611bda565b606091505b505f815103611c15576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611c7e84611d58565b0190505f8167ffffffffffffffff811115611c9c57611c9b611f85565b5b6040519080825280601f01601f191660200182016040528015611cce5781602001600182028036833780820191505090505b5090505f82602001820190505b600115611d2f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611d2457611d23612bbd565b5b0494505f8503611cdb575b819350505050919050565b5f33905090565b5f9392505050565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611db4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611daa57611da9612bbd565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611df1576d04ee2d6d415b85acef81000000008381611de757611de6612bbd565b5b0492506020810190505b662386f26fc100008310611e2057662386f26fc100008381611e1657611e15612bbd565b5b0492506010810190505b6305f5e1008310611e49576305f5e1008381611e3f57611e3e612bbd565b5b0492506008810190505b6127108310611e6e576127108381611e6457611e63612bbd565b5b0492506004810190505b60648310611e915760648381611e8757611e86612bbd565b5b0492506002810190505b600a8310611ea0576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611eee81611eba565b8114611ef8575f80fd5b50565b5f81359050611f0981611ee5565b92915050565b5f60208284031215611f2457611f23611eb2565b5b5f611f3184828501611efb565b91505092915050565b5f8115159050919050565b611f4e81611f3a565b82525050565b5f602082019050611f675f830184611f45565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611fbb82611f75565b810181811067ffffffffffffffff82111715611fda57611fd9611f85565b5b80604052505050565b5f611fec611ea9565b9050611ff88282611fb2565b919050565b5f67ffffffffffffffff82111561201757612016611f85565b5b61202082611f75565b9050602081019050919050565b828183375f83830152505050565b5f61204d61204884611ffd565b611fe3565b90508281526020810184848401111561206957612068611f71565b5b61207484828561202d565b509392505050565b5f82601f8301126120905761208f611f6d565b5b81356120a084826020860161203b565b91505092915050565b5f602082840312156120be576120bd611eb2565b5b5f82013567ffffffffffffffff8111156120db576120da611eb6565b5b6120e78482850161207c565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561212757808201518184015260208101905061210c565b5f8484015250505050565b5f61213c826120f0565b61214681856120fa565b935061215681856020860161210a565b61215f81611f75565b840191505092915050565b5f6020820190508181035f8301526121828184612132565b905092915050565b5f819050919050565b61219c8161218a565b81146121a6575f80fd5b50565b5f813590506121b781612193565b92915050565b5f602082840312156121d2576121d1611eb2565b5b5f6121df848285016121a9565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612211826121e8565b9050919050565b61222181612207565b82525050565b5f60208201905061223a5f830184612218565b92915050565b61224981612207565b8114612253575f80fd5b50565b5f8135905061226481612240565b92915050565b5f80604083850312156122805761227f611eb2565b5b5f61228d85828601612256565b925050602061229e858286016121a9565b9150509250929050565b6122b18161218a565b82525050565b5f6020820190506122ca5f8301846122a8565b92915050565b5f805f606084860312156122e7576122e6611eb2565b5b5f6122f486828701612256565b935050602061230586828701612256565b9250506040612316868287016121a9565b9150509250925092565b5f6020828403121561233557612334611eb2565b5b5f61234284828501612256565b91505092915050565b61235481611f3a565b811461235e575f80fd5b50565b5f8135905061236f8161234b565b92915050565b5f806040838503121561238b5761238a611eb2565b5b5f61239885828601612256565b92505060206123a985828601612361565b9150509250929050565b5f67ffffffffffffffff8211156123cd576123cc611f85565b5b6123d682611f75565b9050602081019050919050565b5f6123f56123f0846123b3565b611fe3565b90508281526020810184848401111561241157612410611f71565b5b61241c84828561202d565b509392505050565b5f82601f83011261243857612437611f6d565b5b81356124488482602086016123e3565b91505092915050565b5f805f806080858703121561246957612468611eb2565b5b5f61247687828801612256565b945050602061248787828801612256565b9350506040612498878288016121a9565b925050606085013567ffffffffffffffff8111156124b9576124b8611eb6565b5b6124c587828801612424565b91505092959194509250565b5f80604083850312156124e7576124e6611eb2565b5b5f6124f485828601612256565b925050602061250585828601612256565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061255357607f821691505b6020821081036125665761256561250f565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026125c87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261258d565b6125d2868361258d565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61260d6126086126038461218a565b6125ea565b61218a565b9050919050565b5f819050919050565b612626836125f3565b61263a61263282612614565b848454612599565b825550505050565b5f90565b61264e612642565b61265981848461261d565b505050565b5b8181101561267c576126715f82612646565b60018101905061265f565b5050565b601f8211156126c1576126928161256c565b61269b8461257e565b810160208510156126aa578190505b6126be6126b68561257e565b83018261265e565b50505b505050565b5f82821c905092915050565b5f6126e15f19846008026126c6565b1980831691505092915050565b5f6126f983836126d2565b9150826002028217905092915050565b612712826120f0565b67ffffffffffffffff81111561272b5761272a611f85565b5b612735825461253c565b612740828285612680565b5f60209050601f831160018114612771575f841561275f578287015190505b61276985826126ee565b8655506127d0565b601f19841661277f8661256c565b5f5b828110156127a657848901518255600182019150602085019450602081019050612781565b868310156127c357848901516127bf601f8916826126d2565b8355505b6001600288020188555050505b505050505050565b5f81905092915050565b50565b5f6127f05f836127d8565b91506127fb826127e2565b5f82019050919050565b5f61280f826127e5565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f61284d600f836120fa565b915061285882612819565b602082019050919050565b5f6020820190508181035f83015261287a81612841565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6128b88261218a565b91506128c38361218a565b92508282019050808211156128db576128da612881565b5b92915050565b5f6128eb8261218a565b91506128f68361218a565b92508282026129048161218a565b9150828204841483151761291b5761291a612881565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f61297c602f836120fa565b915061298782612922565b604082019050919050565b5f6020820190508181035f8301526129a981612970565b9050919050565b5f81905092915050565b5f81546129c68161253c565b6129d081866129b0565b9450600182165f81146129ea57600181146129ff57612a31565b60ff1983168652811515820286019350612a31565b612a088561256c565b5f5b83811015612a2957815481890152600182019150602081019050612a0a565b838801955050505b50505092915050565b5f612a44826120f0565b612a4e81856129b0565b9350612a5e81856020860161210a565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f612a9e6005836129b0565b9150612aa982612a6a565b600582019050919050565b5f612abf82856129ba565b9150612acb8284612a3a565b9150612ad682612a92565b91508190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f612b0682612ae2565b612b108185612aec565b9350612b2081856020860161210a565b612b2981611f75565b840191505092915050565b5f608082019050612b475f830187612218565b612b546020830186612218565b612b6160408301856122a8565b8181036060830152612b738184612afc565b905095945050505050565b5f81519050612b8c81611ee5565b92915050565b5f60208284031215612ba757612ba6611eb2565b5b5f612bb484828501612b7e565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220b8533c0cd9b48d07ebeece0e4a3f8c5659d3b2178a5291c108714969ef44732e64736f6c6343000816003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f516d64354c374165394c6144416938784864674c376573314642454276664e76753837746233315a6d7a563178752f756e72657665616c2e6a736f6e0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ed575f3560e01c806370a082311161010c578063b66a0e5d1161009f578063d5abeb011161006e578063d5abeb011461063f578063e985e9c514610669578063f2fde38b146106a5578063f968adbe146106cd578063fa7ffe68146106f7576101ed565b8063b66a0e5d146105a9578063b88d4fde146105bf578063c6f6f216146105db578063c87b56dd14610603576101ed565b806395d89b41116100db57806395d89b4114610513578063a0712d681461053d578063a22cb46514610559578063ae8bdd3014610581576101ed565b806370a082311461046f578063715018a6146104ab5780638ba4cc3c146104c15780638da5cb5b146104e9576101ed565b80633ccfd60b116101845780635b8ad429116101535780635b8ad429146103cb5780636352211e146103e15780636ad1fe021461041d5780636f8b44b014610447576101ed565b80633ccfd60b1461034757806342842e0e1461035d57806344a0d68a1461037957806354214f69146103a1576101ed565b8063095ea7b3116101c0578063095ea7b3146102bb57806313faede6146102d757806318160ddd1461030157806323b872dd1461032b576101ed565b806301ffc9a7146101f15780630675b7c61461022d57806306fdde0314610255578063081812fc1461027f575b5f80fd5b3480156101fc575f80fd5b5061021760048036038101906102129190611f0f565b610721565b6040516102249190611f54565b60405180910390f35b348015610238575f80fd5b50610253600480360381019061024e91906120a9565b6107b2565b005b348015610260575f80fd5b506102696107cd565b604051610276919061216a565b60405180910390f35b34801561028a575f80fd5b506102a560048036038101906102a091906121bd565b61085d565b6040516102b29190612227565b60405180910390f35b6102d560048036038101906102d0919061226a565b6108d7565b005b3480156102e2575f80fd5b506102eb610a16565b6040516102f891906122b7565b60405180910390f35b34801561030c575f80fd5b50610315610a1c565b60405161032291906122b7565b60405180910390f35b610345600480360381019061034091906122d0565b610a31565b005b348015610352575f80fd5b5061035b610d3f565b005b610377600480360381019061037291906122d0565b610df2565b005b348015610384575f80fd5b5061039f600480360381019061039a91906121bd565b610e11565b005b3480156103ac575f80fd5b506103b5610e23565b6040516103c29190611f54565b60405180910390f35b3480156103d6575f80fd5b506103df610e35565b005b3480156103ec575f80fd5b50610407600480360381019061040291906121bd565b610e67565b6040516104149190612227565b60405180910390f35b348015610428575f80fd5b50610431610e78565b60405161043e9190611f54565b60405180910390f35b348015610452575f80fd5b5061046d600480360381019061046891906121bd565b610e8a565b005b34801561047a575f80fd5b5061049560048036038101906104909190612320565b610e9c565b6040516104a291906122b7565b60405180910390f35b3480156104b6575f80fd5b506104bf610f51565b005b3480156104cc575f80fd5b506104e760048036038101906104e2919061226a565b610f64565b005b3480156104f4575f80fd5b506104fd610f7a565b60405161050a9190612227565b60405180910390f35b34801561051e575f80fd5b50610527610fa2565b604051610534919061216a565b60405180910390f35b610557600480360381019061055291906121bd565b611032565b005b348015610564575f80fd5b5061057f600480360381019061057a9190612375565b611155565b005b34801561058c575f80fd5b506105a760048036038101906105a291906120a9565b61125b565b005b3480156105b4575f80fd5b506105bd611276565b005b6105d960048036038101906105d49190612451565b6112a8565b005b3480156105e6575f80fd5b5061060160048036038101906105fc91906121bd565b61131a565b005b34801561060e575f80fd5b50610629600480360381019061062491906121bd565b61132c565b604051610636919061216a565b60405180910390f35b34801561064a575f80fd5b50610653611488565b60405161066091906122b7565b60405180910390f35b348015610674575f80fd5b5061068f600480360381019061068a91906124d1565b61148e565b60405161069c9190611f54565b60405180910390f35b3480156106b0575f80fd5b506106cb60048036038101906106c69190612320565b61151c565b005b3480156106d8575f80fd5b506106e16115a0565b6040516106ee91906122b7565b60405180910390f35b348015610702575f80fd5b5061070b6115a6565b604051610718919061216a565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107ab5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6107ba611632565b80600d90816107c99190612709565b5050565b6060600280546107dc9061253c565b80601f01602080910402602001604051908101604052809291908181526020018280546108089061253c565b80156108535780601f1061082a57610100808354040283529160200191610853565b820191905f5260205f20905b81548152906001019060200180831161083657829003601f168201915b5050505050905090565b5f610867826116b9565b61089d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f6108e182610e67565b90508073ffffffffffffffffffffffffffffffffffffffff16610902611713565b73ffffffffffffffffffffffffffffffffffffffff16146109655761092e81610929611713565b61148e565b610964576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a5481565b5f610a2561171a565b6001545f540303905090565b5f610a3b82611722565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aa2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610aad846117e5565b91509150610ac38187610abe611713565b611808565b610b0f57610ad886610ad3611713565b61148e565b610b0e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b74576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b81868686600161184b565b8015610b8b575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610c5385610c2f888887611851565b7c020000000000000000000000000000000000000000000000000000000017611878565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610ccf575f6001850190505f60045f8381526020019081526020015f205403610ccd575f548114610ccc578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d3786868660016118a2565b505050505050565b610d47611632565b5f3373ffffffffffffffffffffffffffffffffffffffff1647604051610d6c90612805565b5f6040518083038185875af1925050503d805f8114610da6576040519150601f19603f3d011682016040523d82523d5f602084013e610dab565b606091505b5050905080610def576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de690612863565b60405180910390fd5b50565b610e0c83838360405180602001604052805f8152506112a8565b505050565b610e19611632565b80600a8190555050565b600f5f9054906101000a900460ff1681565b610e3d611632565b600f5f9054906101000a900460ff1615600f5f6101000a81548160ff021916908315150217905550565b5f610e7182611722565b9050919050565b600c5f9054906101000a900460ff1681565b610e92611632565b8060098190555050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f02576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610f59611632565b610f625f6118a8565b565b610f6c611632565b610f76828261196b565b5050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610fb19061253c565b80601f0160208091040260200160405190810160405280929190818152602001828054610fdd9061253c565b80156110285780601f10610fff57610100808354040283529160200191611028565b820191905f5260205f20905b81548152906001019060200180831161100b57829003601f168201915b5050505050905090565b600c5f9054906101000a900460ff16611077576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60095481611083611b14565b61108d91906128ae565b11156110c5576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54811115611101576040517f84eef40b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600a5461110f91906128e1565b341015611148576040517f583aa02600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611152338261196b565b50565b8060075f611161611713565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661120a611713565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161124f9190611f54565b60405180910390a35050565b611263611632565b80600e90816112729190612709565b5050565b61127e611632565b600c5f9054906101000a900460ff1615600c5f6101000a81548160ff021916908315150217905550565b6112b3848484610a31565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611314576112dd84848484611b25565b611313576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611322611632565b80600b8190555050565b6060611337826116b9565b611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d90612992565b60405180910390fd5b5f60018361138491906128ae565b9050600f5f9054906101000a900460ff1661142a57600e80546113a69061253c565b80601f01602080910402602001604051908101604052809291908181526020018280546113d29061253c565b801561141d5780601f106113f45761010080835404028352916020019161141d565b820191905f5260205f20905b81548152906001019060200180831161140057829003601f168201915b5050505050915050611483565b5f600d80546114389061253c565b9050116114535760405180602001604052805f81525061147f565b600d61145e82611c70565b60405160200161146f929190612ab4565b6040516020818303038152906040525b9150505b919050565b60095481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611524611632565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611594575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161158b9190612227565b60405180910390fd5b61159d816118a8565b50565b600b5481565b600e80546115b39061253c565b80601f01602080910402602001604051908101604052809291908181526020018280546115df9061253c565b801561162a5780601f106116015761010080835404028352916020019161162a565b820191905f5260205f20905b81548152906001019060200180831161160d57829003601f168201915b505050505081565b61163a611d3a565b73ffffffffffffffffffffffffffffffffffffffff16611658610f7a565b73ffffffffffffffffffffffffffffffffffffffff16146116b75761167b611d3a565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016116ae9190612227565b60405180910390fd5b565b5f816116c361171a565b111580156116d157505f5482105b801561170c57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f6001905090565b5f808290508061173061171a565b116117ae575f548110156117ad575f60045f8381526020019081526020015f205490505f7c01000000000000000000000000000000000000000000000000000000008216036117ab575b5f81036117a15760045f836001900393508381526020019081526020015f2054905061177a565b80925050506117e0565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8611867868684611d41565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f805490505f82036119a9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119b55f84838561184b565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550611a2783611a185f865f611851565b611a2185611d49565b17611878565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114611ac15780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050611a88565b505f8203611afb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f819055505050611b0f5f8483856118a2565b505050565b5f611b1d61171a565b5f5403905090565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611b4a611713565b8786866040518563ffffffff1660e01b8152600401611b6c9493929190612b34565b6020604051808303815f875af1925050508015611ba757506040513d601f19601f82011682018060405250810190611ba49190612b92565b60015b611c1d573d805f8114611bd5576040519150601f19603f3d011682016040523d82523d5f602084013e611bda565b606091505b505f815103611c15576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f6001611c7e84611d58565b0190505f8167ffffffffffffffff811115611c9c57611c9b611f85565b5b6040519080825280601f01601f191660200182016040528015611cce5781602001600182028036833780820191505090505b5090505f82602001820190505b600115611d2f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611d2457611d23612bbd565b5b0494505f8503611cdb575b819350505050919050565b5f33905090565b5f9392505050565b5f6001821460e11b9050919050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611db4577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611daa57611da9612bbd565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611df1576d04ee2d6d415b85acef81000000008381611de757611de6612bbd565b5b0492506020810190505b662386f26fc100008310611e2057662386f26fc100008381611e1657611e15612bbd565b5b0492506010810190505b6305f5e1008310611e49576305f5e1008381611e3f57611e3e612bbd565b5b0492506008810190505b6127108310611e6e576127108381611e6457611e63612bbd565b5b0492506004810190505b60648310611e915760648381611e8757611e86612bbd565b5b0492506002810190505b600a8310611ea0576001810190505b80915050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611eee81611eba565b8114611ef8575f80fd5b50565b5f81359050611f0981611ee5565b92915050565b5f60208284031215611f2457611f23611eb2565b5b5f611f3184828501611efb565b91505092915050565b5f8115159050919050565b611f4e81611f3a565b82525050565b5f602082019050611f675f830184611f45565b92915050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611fbb82611f75565b810181811067ffffffffffffffff82111715611fda57611fd9611f85565b5b80604052505050565b5f611fec611ea9565b9050611ff88282611fb2565b919050565b5f67ffffffffffffffff82111561201757612016611f85565b5b61202082611f75565b9050602081019050919050565b828183375f83830152505050565b5f61204d61204884611ffd565b611fe3565b90508281526020810184848401111561206957612068611f71565b5b61207484828561202d565b509392505050565b5f82601f8301126120905761208f611f6d565b5b81356120a084826020860161203b565b91505092915050565b5f602082840312156120be576120bd611eb2565b5b5f82013567ffffffffffffffff8111156120db576120da611eb6565b5b6120e78482850161207c565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561212757808201518184015260208101905061210c565b5f8484015250505050565b5f61213c826120f0565b61214681856120fa565b935061215681856020860161210a565b61215f81611f75565b840191505092915050565b5f6020820190508181035f8301526121828184612132565b905092915050565b5f819050919050565b61219c8161218a565b81146121a6575f80fd5b50565b5f813590506121b781612193565b92915050565b5f602082840312156121d2576121d1611eb2565b5b5f6121df848285016121a9565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612211826121e8565b9050919050565b61222181612207565b82525050565b5f60208201905061223a5f830184612218565b92915050565b61224981612207565b8114612253575f80fd5b50565b5f8135905061226481612240565b92915050565b5f80604083850312156122805761227f611eb2565b5b5f61228d85828601612256565b925050602061229e858286016121a9565b9150509250929050565b6122b18161218a565b82525050565b5f6020820190506122ca5f8301846122a8565b92915050565b5f805f606084860312156122e7576122e6611eb2565b5b5f6122f486828701612256565b935050602061230586828701612256565b9250506040612316868287016121a9565b9150509250925092565b5f6020828403121561233557612334611eb2565b5b5f61234284828501612256565b91505092915050565b61235481611f3a565b811461235e575f80fd5b50565b5f8135905061236f8161234b565b92915050565b5f806040838503121561238b5761238a611eb2565b5b5f61239885828601612256565b92505060206123a985828601612361565b9150509250929050565b5f67ffffffffffffffff8211156123cd576123cc611f85565b5b6123d682611f75565b9050602081019050919050565b5f6123f56123f0846123b3565b611fe3565b90508281526020810184848401111561241157612410611f71565b5b61241c84828561202d565b509392505050565b5f82601f83011261243857612437611f6d565b5b81356124488482602086016123e3565b91505092915050565b5f805f806080858703121561246957612468611eb2565b5b5f61247687828801612256565b945050602061248787828801612256565b9350506040612498878288016121a9565b925050606085013567ffffffffffffffff8111156124b9576124b8611eb6565b5b6124c587828801612424565b91505092959194509250565b5f80604083850312156124e7576124e6611eb2565b5b5f6124f485828601612256565b925050602061250585828601612256565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061255357607f821691505b6020821081036125665761256561250f565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026125c87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261258d565b6125d2868361258d565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61260d6126086126038461218a565b6125ea565b61218a565b9050919050565b5f819050919050565b612626836125f3565b61263a61263282612614565b848454612599565b825550505050565b5f90565b61264e612642565b61265981848461261d565b505050565b5b8181101561267c576126715f82612646565b60018101905061265f565b5050565b601f8211156126c1576126928161256c565b61269b8461257e565b810160208510156126aa578190505b6126be6126b68561257e565b83018261265e565b50505b505050565b5f82821c905092915050565b5f6126e15f19846008026126c6565b1980831691505092915050565b5f6126f983836126d2565b9150826002028217905092915050565b612712826120f0565b67ffffffffffffffff81111561272b5761272a611f85565b5b612735825461253c565b612740828285612680565b5f60209050601f831160018114612771575f841561275f578287015190505b61276985826126ee565b8655506127d0565b601f19841661277f8661256c565b5f5b828110156127a657848901518255600182019150602085019450602081019050612781565b868310156127c357848901516127bf601f8916826126d2565b8355505b6001600288020188555050505b505050505050565b5f81905092915050565b50565b5f6127f05f836127d8565b91506127fb826127e2565b5f82019050919050565b5f61280f826127e5565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f61284d600f836120fa565b915061285882612819565b602082019050919050565b5f6020820190508181035f83015261287a81612841565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6128b88261218a565b91506128c38361218a565b92508282019050808211156128db576128da612881565b5b92915050565b5f6128eb8261218a565b91506128f68361218a565b92508282026129048161218a565b9150828204841483151761291b5761291a612881565b5b5092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f61297c602f836120fa565b915061298782612922565b604082019050919050565b5f6020820190508181035f8301526129a981612970565b9050919050565b5f81905092915050565b5f81546129c68161253c565b6129d081866129b0565b9450600182165f81146129ea57600181146129ff57612a31565b60ff1983168652811515820286019350612a31565b612a088561256c565b5f5b83811015612a2957815481890152600182019150602081019050612a0a565b838801955050505b50505092915050565b5f612a44826120f0565b612a4e81856129b0565b9350612a5e81856020860161210a565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f612a9e6005836129b0565b9150612aa982612a6a565b600582019050919050565b5f612abf82856129ba565b9150612acb8284612a3a565b9150612ad682612a92565b91508190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f612b0682612ae2565b612b108185612aec565b9350612b2081856020860161210a565b612b2981611f75565b840191505092915050565b5f608082019050612b475f830187612218565b612b546020830186612218565b612b6160408301856122a8565b8181036060830152612b738184612afc565b905095945050505050565b5f81519050612b8c81611ee5565b92915050565b5f60208284031215612ba757612ba6611eb2565b5b5f612bb484828501612b7e565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffdfea2646970667358221220b8533c0cd9b48d07ebeece0e4a3f8c5659d3b2178a5291c108714969ef44732e64736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f516d64354c374165394c6144416938784864674c376573314642454276664e76753837746233315a6d7a563178752f756e72657665616c2e6a736f6e0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _hiddenTokenUri (string): ipfs://Qmd5L7Ae9LaDAi8xHdgL7es1FBEBvfNvu87tb31ZmzV1xu/unreveal.json
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [2] : 697066733a2f2f516d64354c374165394c6144416938784864674c3765733146
Arg [3] : 42454276664e76753837746233315a6d7a563178752f756e72657665616c2e6a
Arg [4] : 736f6e0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
75660:2803:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42557:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77549:116;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;43459:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49950:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49383:408;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75779:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;39210:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53589:2825;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;78288:172;;;;;;;;;;;;;:::i;:::-;;56510:193;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77888:82;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75946:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78194:86;;;;;;;;;;;;;:::i;:::-;;44852:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75854:16;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77978:102;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;40394:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23317:103;;;;;;;;;;;;;:::i;:::-;;76594:112;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;22642:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43635:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;76246:340;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50508:234;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77673:128;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;77809:71;;;;;;;;;;;;;:::i;:::-;;57301:407;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;78088:98;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;76714:597;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75741:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50899:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;23575:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;75820:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;75911:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42557:639;42642:4;42981:10;42966:25;;:11;:25;;;;:102;;;;43058:10;43043:25;;:11;:25;;;;42966:102;:179;;;;43135:10;43120:25;;:11;:25;;;;42966:179;42946:199;;42557:639;;;:::o;77549:116::-;22528:13;:11;:13::i;:::-;77644::::1;77629:12;:28;;;;;;:::i;:::-;;77549:116:::0;:::o;43459:100::-;43513:13;43546:5;43539:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43459:100;:::o;49950:218::-;50026:7;50051:16;50059:7;50051;:16::i;:::-;50046:64;;50076:34;;;;;;;;;;;;;;50046:64;50130:15;:24;50146:7;50130:24;;;;;;;;;;;:30;;;;;;;;;;;;50123:37;;49950:218;;;:::o;49383:408::-;49472:13;49488:16;49496:7;49488;:16::i;:::-;49472:32;;49544:5;49521:28;;:19;:17;:19::i;:::-;:28;;;49517:175;;49569:44;49586:5;49593:19;:17;:19::i;:::-;49569:16;:44::i;:::-;49564:128;;49641:35;;;;;;;;;;;;;;49564:128;49517:175;49737:2;49704:15;:24;49720:7;49704:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;49775:7;49771:2;49755:28;;49764:5;49755:28;;;;;;;;;;;;49461:330;49383:408;;:::o;75779:34::-;;;;:::o;39210:323::-;39271:7;39499:15;:13;:15::i;:::-;39484:12;;39468:13;;:28;:46;39461:53;;39210:323;:::o;53589:2825::-;53731:27;53761;53780:7;53761:18;:27::i;:::-;53731:57;;53846:4;53805:45;;53821:19;53805:45;;;53801:86;;53859:28;;;;;;;;;;;;;;53801:86;53901:27;53930:23;53957:35;53984:7;53957:26;:35::i;:::-;53900:92;;;;54092:68;54117:15;54134:4;54140:19;:17;:19::i;:::-;54092:24;:68::i;:::-;54087:180;;54180:43;54197:4;54203:19;:17;:19::i;:::-;54180:16;:43::i;:::-;54175:92;;54232:35;;;;;;;;;;;;;;54175:92;54087:180;54298:1;54284:16;;:2;:16;;;54280:52;;54309:23;;;;;;;;;;;;;;54280:52;54345:43;54367:4;54373:2;54377:7;54386:1;54345:21;:43::i;:::-;54481:15;54478:160;;;54621:1;54600:19;54593:30;54478:160;55018:18;:24;55037:4;55018:24;;;;;;;;;;;;;;;;55016:26;;;;;;;;;;;;55087:18;:22;55106:2;55087:22;;;;;;;;;;;;;;;;55085:24;;;;;;;;;;;55409:146;55446:2;55495:45;55510:4;55516:2;55520:19;55495:14;:45::i;:::-;35609:8;55467:73;55409:18;:146::i;:::-;55380:17;:26;55398:7;55380:26;;;;;;;;;;;:175;;;;55726:1;35609:8;55675:19;:47;:52;55671:627;;55748:19;55780:1;55770:7;:11;55748:33;;55937:1;55903:17;:30;55921:11;55903:30;;;;;;;;;;;;:35;55899:384;;56041:13;;56026:11;:28;56022:242;;56221:19;56188:17;:30;56206:11;56188:30;;;;;;;;;;;:52;;;;56022:242;55899:384;55729:569;55671:627;56345:7;56341:2;56326:27;;56335:4;56326:27;;;;;;;;;;;;56364:42;56385:4;56391:2;56395:7;56404:1;56364:20;:42::i;:::-;53720:2694;;;53589:2825;;;:::o;78288:172::-;22528:13;:11;:13::i;:::-;78339:12:::1;78357:10;:15;;78380:21;78357:49;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78338:68;;;78425:7;78417:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;78327:133;78288:172::o:0;56510:193::-;56656:39;56673:4;56679:2;56683:7;56656:39;;;;;;;;;;;;:16;:39::i;:::-;56510:193;;;:::o;77888:82::-;22528:13;:11;:13::i;:::-;77957:5:::1;77950:4;:12;;;;77888:82:::0;:::o;75946:22::-;;;;;;;;;;;;;:::o;78194:86::-;22528:13;:11;:13::i;:::-;78262:10:::1;;;;;;;;;;;78261:11;78248:10;;:24;;;;;;;;;;;;;;;;;;78194:86::o:0;44852:152::-;44924:7;44967:27;44986:7;44967:18;:27::i;:::-;44944:52;;44852:152;;;:::o;75854:16::-;;;;;;;;;;;;;:::o;77978:102::-;22528:13;:11;:13::i;:::-;78062:10:::1;78050:9;:22;;;;77978:102:::0;:::o;40394:233::-;40466:7;40507:1;40490:19;;:5;:19;;;40486:60;;40518:28;;;;;;;;;;;;;;40486:60;34553:13;40564:18;:25;40583:5;40564:25;;;;;;;;;;;;;;;;:55;40557:62;;40394:233;;;:::o;23317:103::-;22528:13;:11;:13::i;:::-;23382:30:::1;23409:1;23382:18;:30::i;:::-;23317:103::o:0;76594:112::-;22528:13;:11;:13::i;:::-;76675:23:::1;76681:8;76691:6;76675:5;:23::i;:::-;76594:112:::0;;:::o;22642:87::-;22688:7;22715:6;;;;;;;;;;;22708:13;;22642:87;:::o;43635:104::-;43691:13;43724:7;43717:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43635:104;:::o;76246:340::-;76310:4;;;;;;;;;;;76305:33;;76323:15;;;;;;;;;;;;;;76305:33;76380:9;;76370:7;76353:14;:12;:14::i;:::-;:24;;;;:::i;:::-;:36;76349:67;;;76398:18;;;;;;;;;;;;;;76349:67;76441:8;;76431:7;:18;76427:48;;;76458:17;;;;;;;;;;;;;;76427:48;76509:7;76502:4;;:14;;;;:::i;:::-;76490:9;:26;76486:53;;;76525:14;;;;;;;;;;;;;;76486:53;76552:26;76558:10;76570:7;76552:5;:26::i;:::-;76246:340;:::o;50508:234::-;50655:8;50603:18;:39;50622:19;:17;:19::i;:::-;50603:39;;;;;;;;;;;;;;;:49;50643:8;50603:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;50715:8;50679:55;;50694:19;:17;:19::i;:::-;50679:55;;;50725:8;50679:55;;;;;;:::i;:::-;;;;;;;;50508:234;;:::o;77673:128::-;22528:13;:11;:13::i;:::-;77778:15:::1;77761:14;:32;;;;;;:::i;:::-;;77673:128:::0;:::o;77809:71::-;22528:13;:11;:13::i;:::-;77868:4:::1;;;;;;;;;;;77867:5;77860:4;;:12;;;;;;;;;;;;;;;;;;77809:71::o:0;57301:407::-;57476:31;57489:4;57495:2;57499:7;57476:12;:31::i;:::-;57540:1;57522:2;:14;;;:19;57518:183;;57561:56;57592:4;57598:2;57602:7;57611:5;57561:30;:56::i;:::-;57556:145;;57645:40;;;;;;;;;;;;;;57556:145;57518:183;57301:407;;;;:::o;78088:98::-;22528:13;:11;:13::i;:::-;78169:9:::1;78158:8;:20;;;;78088:98:::0;:::o;76714:597::-;76832:13;76885:16;76893:7;76885;:16::i;:::-;76863:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;76989:14;77016:1;77006:7;:11;;;;:::i;:::-;76989:28;;77035:10;;;;;;;;;;;77030:65;;77069:14;77062:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77030:65;77154:1;77131:12;77125:26;;;;;:::i;:::-;;;:30;:178;;;;;;;;;;;;;;;;;77221:12;77235:17;:6;:15;:17::i;:::-;77204:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77125:178;77105:198;;;76714:597;;;;:::o;75741:31::-;;;;:::o;50899:164::-;50996:4;51020:18;:25;51039:5;51020:25;;;;;;;;;;;;;;;:35;51046:8;51020:35;;;;;;;;;;;;;;;;;;;;;;;;;51013:42;;50899:164;;;;:::o;23575:220::-;22528:13;:11;:13::i;:::-;23680:1:::1;23660:22;;:8;:22;;::::0;23656:93:::1;;23734:1;23706:31;;;;;;;;;;;:::i;:::-;;;;;;;;23656:93;23759:28;23778:8;23759:18;:28::i;:::-;23575:220:::0;:::o;75820:27::-;;;;:::o;75911:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22807:166::-;22878:12;:10;:12::i;:::-;22867:23;;:7;:5;:7::i;:::-;:23;;;22863:103;;22941:12;:10;:12::i;:::-;22914:40;;;;;;;;;;;:::i;:::-;;;;;;;;22863:103;22807:166::o;51321:282::-;51386:4;51442:7;51423:15;:13;:15::i;:::-;:26;;:66;;;;;51476:13;;51466:7;:23;51423:66;:153;;;;;51575:1;35329:8;51527:17;:26;51545:7;51527:26;;;;;;;;;;;;:44;:49;51423:153;51403:173;;51321:282;;;:::o;73629:105::-;73689:7;73716:10;73709:17;;73629:105;:::o;77440:101::-;77505:7;77532:1;77525:8;;77440:101;:::o;46007:1275::-;46074:7;46094:12;46109:7;46094:22;;46177:4;46158:15;:13;:15::i;:::-;:23;46154:1061;;46211:13;;46204:4;:20;46200:1015;;;46249:14;46266:17;:23;46284:4;46266:23;;;;;;;;;;;;46249:40;;46383:1;35329:8;46355:6;:24;:29;46351:845;;47020:113;47037:1;47027:6;:11;47020:113;;47080:17;:25;47098:6;;;;;;;47080:25;;;;;;;;;;;;47071:34;;47020:113;;;47166:6;47159:13;;;;;;46351:845;46226:989;46200:1015;46154:1061;47243:31;;;;;;;;;;;;;;46007:1275;;;;:::o;52484:485::-;52586:27;52615:23;52656:38;52697:15;:24;52713:7;52697:24;;;;;;;;;;;52656:65;;52874:18;52851:41;;52931:19;52925:26;52906:45;;52836:126;52484:485;;;:::o;51712:659::-;51861:11;52026:16;52019:5;52015:28;52006:37;;52186:16;52175:9;52171:32;52158:45;;52336:15;52325:9;52322:30;52314:5;52303:9;52300:20;52297:56;52287:66;;51712:659;;;;;:::o;58370:159::-;;;;;:::o;72938:311::-;73073:7;73093:16;35733:3;73119:19;:41;;73093:68;;35733:3;73187:31;73198:4;73204:2;73208:9;73187:10;:31::i;:::-;73179:40;;:62;;73172:69;;;72938:311;;;;;:::o;47830:450::-;47910:14;48078:16;48071:5;48067:28;48058:37;;48255:5;48241:11;48216:23;48212:41;48209:52;48202:5;48199:63;48189:73;;47830:450;;;;:::o;59194:158::-;;;;;:::o;23955:191::-;24029:16;24048:6;;;;;;;;;;;24029:25;;24074:8;24065:6;;:17;;;;;;;;;;;;;;;;;;24129:8;24098:40;;24119:8;24098:40;;;;;;;;;;;;24018:128;23955:191;:::o;60970:2966::-;61043:20;61066:13;;61043:36;;61106:1;61094:8;:13;61090:44;;61116:18;;;;;;;;;;;;;;61090:44;61147:61;61177:1;61181:2;61185:12;61199:8;61147:21;:61::i;:::-;61691:1;34691:2;61661:1;:26;;61660:32;61648:8;:45;61622:18;:22;61641:2;61622:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;61970:139;62007:2;62061:33;62084:1;62088:2;62092:1;62061:14;:33::i;:::-;62028:30;62049:8;62028:20;:30::i;:::-;:66;61970:18;:139::i;:::-;61936:17;:31;61954:12;61936:31;;;;;;;;;;;:173;;;;62126:16;62157:11;62186:8;62171:12;:23;62157:37;;62707:16;62703:2;62699:25;62687:37;;63079:12;63039:8;62998:1;62936:25;62877:1;62816;62789:335;63450:1;63436:12;63432:20;63390:346;63491:3;63482:7;63479:16;63390:346;;63709:7;63699:8;63696:1;63669:25;63666:1;63663;63658:59;63544:1;63535:7;63531:15;63520:26;;63390:346;;;63394:77;63781:1;63769:8;:13;63765:45;;63791:19;;;;;;;;;;;;;;63765:45;63843:3;63827:13;:19;;;;61396:2462;;63868:60;63897:1;63901:2;63905:12;63919:8;63868:20;:60::i;:::-;61032:2904;60970:2966;;:::o;39631:296::-;39686:7;39893:15;:13;:15::i;:::-;39877:13;;:31;39870:38;;39631:296;:::o;59792:716::-;59955:4;60001:2;59976:45;;;60022:19;:17;:19::i;:::-;60043:4;60049:7;60058:5;59976:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;59972:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60276:1;60259:6;:13;:18;60255:235;;60305:40;;;;;;;;;;;;;;60255:235;60448:6;60442:13;60433:6;60429:2;60425:15;60418:38;59972:529;60145:54;;;60135:64;;;:6;:64;;;;60128:71;;;59792:716;;;;;;:::o;17528:718::-;17584:13;17635:14;17672:1;17652:17;17663:5;17652:10;:17::i;:::-;:21;17635:38;;17688:20;17722:6;17711:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17688:41;;17744:11;17873:6;17869:2;17865:15;17857:6;17853:28;17846:35;;17910:290;17917:4;17910:290;;;17942:5;;;;;;;;18084:10;18079:2;18072:5;18068:14;18063:32;18058:3;18050:46;18142:2;18133:11;;;;;;:::i;:::-;;;;;18176:1;18167:5;:10;17910:290;18163:21;17910:290;18221:6;18214:13;;;;;17528:718;;;:::o;20758:98::-;20811:7;20838:10;20831:17;;20758:98;:::o;72639:147::-;72776:6;72639:147;;;;;:::o;48382:324::-;48452:14;48685:1;48675:8;48672:15;48646:24;48642:46;48632:56;;48382:324;;;:::o;13932:948::-;13985:7;14005:14;14022:1;14005:18;;14072:8;14063:5;:17;14059:106;;14110:8;14101:17;;;;;;:::i;:::-;;;;;14147:2;14137:12;;;;14059:106;14192:8;14183:5;:17;14179:106;;14230:8;14221:17;;;;;;:::i;:::-;;;;;14267:2;14257:12;;;;14179:106;14312:8;14303:5;:17;14299:106;;14350:8;14341:17;;;;;;:::i;:::-;;;;;14387:2;14377:12;;;;14299:106;14432:7;14423:5;:16;14419:103;;14469:7;14460:16;;;;;;:::i;:::-;;;;;14505:1;14495:11;;;;14419:103;14549:7;14540:5;:16;14536:103;;14586:7;14577:16;;;;;;:::i;:::-;;;;;14622:1;14612:11;;;;14536:103;14666:7;14657:5;:16;14653:103;;14703:7;14694:16;;;;;;:::i;:::-;;;;;14739:1;14729:11;;;;14653:103;14783:7;14774:5;:16;14770:68;;14821:1;14811:11;;;;14770:68;14866:6;14859:13;;;13932:948;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:117::-;1627:1;1624;1617:12;1641:117;1750:1;1747;1740:12;1764:102;1805:6;1856:2;1852:7;1847:2;1840:5;1836:14;1832:28;1822:38;;1764:102;;;:::o;1872:180::-;1920:77;1917:1;1910:88;2017:4;2014:1;2007:15;2041:4;2038:1;2031:15;2058:281;2141:27;2163:4;2141:27;:::i;:::-;2133:6;2129:40;2271:6;2259:10;2256:22;2235:18;2223:10;2220:34;2217:62;2214:88;;;2282:18;;:::i;:::-;2214:88;2322:10;2318:2;2311:22;2101:238;2058:281;;:::o;2345:129::-;2379:6;2406:20;;:::i;:::-;2396:30;;2435:33;2463:4;2455:6;2435:33;:::i;:::-;2345:129;;;:::o;2480:308::-;2542:4;2632:18;2624:6;2621:30;2618:56;;;2654:18;;:::i;:::-;2618:56;2692:29;2714:6;2692:29;:::i;:::-;2684:37;;2776:4;2770;2766:15;2758:23;;2480:308;;;:::o;2794:146::-;2891:6;2886:3;2881;2868:30;2932:1;2923:6;2918:3;2914:16;2907:27;2794:146;;;:::o;2946:425::-;3024:5;3049:66;3065:49;3107:6;3065:49;:::i;:::-;3049:66;:::i;:::-;3040:75;;3138:6;3131:5;3124:21;3176:4;3169:5;3165:16;3214:3;3205:6;3200:3;3196:16;3193:25;3190:112;;;3221:79;;:::i;:::-;3190:112;3311:54;3358:6;3353:3;3348;3311:54;:::i;:::-;3030:341;2946:425;;;;;:::o;3391:340::-;3447:5;3496:3;3489:4;3481:6;3477:17;3473:27;3463:122;;3504:79;;:::i;:::-;3463:122;3621:6;3608:20;3646:79;3721:3;3713:6;3706:4;3698:6;3694:17;3646:79;:::i;:::-;3637:88;;3453:278;3391:340;;;;:::o;3737:509::-;3806:6;3855:2;3843:9;3834:7;3830:23;3826:32;3823:119;;;3861:79;;:::i;:::-;3823:119;4009:1;3998:9;3994:17;3981:31;4039:18;4031:6;4028:30;4025:117;;;4061:79;;:::i;:::-;4025:117;4166:63;4221:7;4212:6;4201:9;4197:22;4166:63;:::i;:::-;4156:73;;3952:287;3737:509;;;;:::o;4252:99::-;4304:6;4338:5;4332:12;4322:22;;4252:99;;;:::o;4357:169::-;4441:11;4475:6;4470:3;4463:19;4515:4;4510:3;4506:14;4491:29;;4357:169;;;;:::o;4532:246::-;4613:1;4623:113;4637:6;4634:1;4631:13;4623:113;;;4722:1;4717:3;4713:11;4707:18;4703:1;4698:3;4694:11;4687:39;4659:2;4656:1;4652:10;4647:15;;4623:113;;;4770:1;4761:6;4756:3;4752:16;4745:27;4594:184;4532:246;;;:::o;4784:377::-;4872:3;4900:39;4933:5;4900:39;:::i;:::-;4955:71;5019:6;5014:3;4955:71;:::i;:::-;4948:78;;5035:65;5093:6;5088:3;5081:4;5074:5;5070:16;5035:65;:::i;:::-;5125:29;5147:6;5125:29;:::i;:::-;5120:3;5116:39;5109:46;;4876:285;4784:377;;;;:::o;5167:313::-;5280:4;5318:2;5307:9;5303:18;5295:26;;5367:9;5361:4;5357:20;5353:1;5342:9;5338:17;5331:47;5395:78;5468:4;5459:6;5395:78;:::i;:::-;5387:86;;5167:313;;;;:::o;5486:77::-;5523:7;5552:5;5541:16;;5486:77;;;:::o;5569:122::-;5642:24;5660:5;5642:24;:::i;:::-;5635:5;5632:35;5622:63;;5681:1;5678;5671:12;5622:63;5569:122;:::o;5697:139::-;5743:5;5781:6;5768:20;5759:29;;5797:33;5824:5;5797:33;:::i;:::-;5697:139;;;;:::o;5842:329::-;5901:6;5950:2;5938:9;5929:7;5925:23;5921:32;5918:119;;;5956:79;;:::i;:::-;5918:119;6076:1;6101:53;6146:7;6137:6;6126:9;6122:22;6101:53;:::i;:::-;6091:63;;6047:117;5842:329;;;;:::o;6177:126::-;6214:7;6254:42;6247:5;6243:54;6232:65;;6177:126;;;:::o;6309:96::-;6346:7;6375:24;6393:5;6375:24;:::i;:::-;6364:35;;6309:96;;;:::o;6411:118::-;6498:24;6516:5;6498:24;:::i;:::-;6493:3;6486:37;6411:118;;:::o;6535:222::-;6628:4;6666:2;6655:9;6651:18;6643:26;;6679:71;6747:1;6736:9;6732:17;6723:6;6679:71;:::i;:::-;6535:222;;;;:::o;6763:122::-;6836:24;6854:5;6836:24;:::i;:::-;6829:5;6826:35;6816:63;;6875:1;6872;6865:12;6816:63;6763:122;:::o;6891:139::-;6937:5;6975:6;6962:20;6953:29;;6991:33;7018:5;6991:33;:::i;:::-;6891:139;;;;:::o;7036:474::-;7104:6;7112;7161:2;7149:9;7140:7;7136:23;7132:32;7129:119;;;7167:79;;:::i;:::-;7129:119;7287:1;7312:53;7357:7;7348:6;7337:9;7333:22;7312:53;:::i;:::-;7302:63;;7258:117;7414:2;7440:53;7485:7;7476:6;7465:9;7461:22;7440:53;:::i;:::-;7430:63;;7385:118;7036:474;;;;;:::o;7516:118::-;7603:24;7621:5;7603:24;:::i;:::-;7598:3;7591:37;7516:118;;:::o;7640:222::-;7733:4;7771:2;7760:9;7756:18;7748:26;;7784:71;7852:1;7841:9;7837:17;7828:6;7784:71;:::i;:::-;7640:222;;;;:::o;7868:619::-;7945:6;7953;7961;8010:2;7998:9;7989:7;7985:23;7981:32;7978:119;;;8016:79;;:::i;:::-;7978:119;8136:1;8161:53;8206:7;8197:6;8186:9;8182:22;8161:53;:::i;:::-;8151:63;;8107:117;8263:2;8289:53;8334:7;8325:6;8314:9;8310:22;8289:53;:::i;:::-;8279:63;;8234:118;8391:2;8417:53;8462:7;8453:6;8442:9;8438:22;8417:53;:::i;:::-;8407:63;;8362:118;7868:619;;;;;:::o;8493:329::-;8552:6;8601:2;8589:9;8580:7;8576:23;8572:32;8569:119;;;8607:79;;:::i;:::-;8569:119;8727:1;8752:53;8797:7;8788:6;8777:9;8773:22;8752:53;:::i;:::-;8742:63;;8698:117;8493:329;;;;:::o;8828:116::-;8898:21;8913:5;8898:21;:::i;:::-;8891:5;8888:32;8878:60;;8934:1;8931;8924:12;8878:60;8828:116;:::o;8950:133::-;8993:5;9031:6;9018:20;9009:29;;9047:30;9071:5;9047:30;:::i;:::-;8950:133;;;;:::o;9089:468::-;9154:6;9162;9211:2;9199:9;9190:7;9186:23;9182:32;9179:119;;;9217:79;;:::i;:::-;9179:119;9337:1;9362:53;9407:7;9398:6;9387:9;9383:22;9362:53;:::i;:::-;9352:63;;9308:117;9464:2;9490:50;9532:7;9523:6;9512:9;9508:22;9490:50;:::i;:::-;9480:60;;9435:115;9089:468;;;;;:::o;9563:307::-;9624:4;9714:18;9706:6;9703:30;9700:56;;;9736:18;;:::i;:::-;9700:56;9774:29;9796:6;9774:29;:::i;:::-;9766:37;;9858:4;9852;9848:15;9840:23;;9563:307;;;:::o;9876:423::-;9953:5;9978:65;9994:48;10035:6;9994:48;:::i;:::-;9978:65;:::i;:::-;9969:74;;10066:6;10059:5;10052:21;10104:4;10097:5;10093:16;10142:3;10133:6;10128:3;10124:16;10121:25;10118:112;;;10149:79;;:::i;:::-;10118:112;10239:54;10286:6;10281:3;10276;10239:54;:::i;:::-;9959:340;9876:423;;;;;:::o;10318:338::-;10373:5;10422:3;10415:4;10407:6;10403:17;10399:27;10389:122;;10430:79;;:::i;:::-;10389:122;10547:6;10534:20;10572:78;10646:3;10638:6;10631:4;10623:6;10619:17;10572:78;:::i;:::-;10563:87;;10379:277;10318:338;;;;:::o;10662:943::-;10757:6;10765;10773;10781;10830:3;10818:9;10809:7;10805:23;10801:33;10798:120;;;10837:79;;:::i;:::-;10798:120;10957:1;10982:53;11027:7;11018:6;11007:9;11003:22;10982:53;:::i;:::-;10972:63;;10928:117;11084:2;11110:53;11155:7;11146:6;11135:9;11131:22;11110:53;:::i;:::-;11100:63;;11055:118;11212:2;11238:53;11283:7;11274:6;11263:9;11259:22;11238:53;:::i;:::-;11228:63;;11183:118;11368:2;11357:9;11353:18;11340:32;11399:18;11391:6;11388:30;11385:117;;;11421:79;;:::i;:::-;11385:117;11526:62;11580:7;11571:6;11560:9;11556:22;11526:62;:::i;:::-;11516:72;;11311:287;10662:943;;;;;;;:::o;11611:474::-;11679:6;11687;11736:2;11724:9;11715:7;11711:23;11707:32;11704:119;;;11742:79;;:::i;:::-;11704:119;11862:1;11887:53;11932:7;11923:6;11912:9;11908:22;11887:53;:::i;:::-;11877:63;;11833:117;11989:2;12015:53;12060:7;12051:6;12040:9;12036:22;12015:53;:::i;:::-;12005:63;;11960:118;11611:474;;;;;:::o;12091:180::-;12139:77;12136:1;12129:88;12236:4;12233:1;12226:15;12260:4;12257:1;12250:15;12277:320;12321:6;12358:1;12352:4;12348:12;12338:22;;12405:1;12399:4;12395:12;12426:18;12416:81;;12482:4;12474:6;12470:17;12460:27;;12416:81;12544:2;12536:6;12533:14;12513:18;12510:38;12507:84;;12563:18;;:::i;:::-;12507:84;12328:269;12277:320;;;:::o;12603:141::-;12652:4;12675:3;12667:11;;12698:3;12695:1;12688:14;12732:4;12729:1;12719:18;12711:26;;12603:141;;;:::o;12750:93::-;12787:6;12834:2;12829;12822:5;12818:14;12814:23;12804:33;;12750:93;;;:::o;12849:107::-;12893:8;12943:5;12937:4;12933:16;12912:37;;12849:107;;;;:::o;12962:393::-;13031:6;13081:1;13069:10;13065:18;13104:97;13134:66;13123:9;13104:97;:::i;:::-;13222:39;13252:8;13241:9;13222:39;:::i;:::-;13210:51;;13294:4;13290:9;13283:5;13279:21;13270:30;;13343:4;13333:8;13329:19;13322:5;13319:30;13309:40;;13038:317;;12962:393;;;;;:::o;13361:60::-;13389:3;13410:5;13403:12;;13361:60;;;:::o;13427:142::-;13477:9;13510:53;13528:34;13537:24;13555:5;13537:24;:::i;:::-;13528:34;:::i;:::-;13510:53;:::i;:::-;13497:66;;13427:142;;;:::o;13575:75::-;13618:3;13639:5;13632:12;;13575:75;;;:::o;13656:269::-;13766:39;13797:7;13766:39;:::i;:::-;13827:91;13876:41;13900:16;13876:41;:::i;:::-;13868:6;13861:4;13855:11;13827:91;:::i;:::-;13821:4;13814:105;13732:193;13656:269;;;:::o;13931:73::-;13976:3;13931:73;:::o;14010:189::-;14087:32;;:::i;:::-;14128:65;14186:6;14178;14172:4;14128:65;:::i;:::-;14063:136;14010:189;;:::o;14205:186::-;14265:120;14282:3;14275:5;14272:14;14265:120;;;14336:39;14373:1;14366:5;14336:39;:::i;:::-;14309:1;14302:5;14298:13;14289:22;;14265:120;;;14205:186;;:::o;14397:543::-;14498:2;14493:3;14490:11;14487:446;;;14532:38;14564:5;14532:38;:::i;:::-;14616:29;14634:10;14616:29;:::i;:::-;14606:8;14602:44;14799:2;14787:10;14784:18;14781:49;;;14820:8;14805:23;;14781:49;14843:80;14899:22;14917:3;14899:22;:::i;:::-;14889:8;14885:37;14872:11;14843:80;:::i;:::-;14502:431;;14487:446;14397:543;;;:::o;14946:117::-;15000:8;15050:5;15044:4;15040:16;15019:37;;14946:117;;;;:::o;15069:169::-;15113:6;15146:51;15194:1;15190:6;15182:5;15179:1;15175:13;15146:51;:::i;:::-;15142:56;15227:4;15221;15217:15;15207:25;;15120:118;15069:169;;;;:::o;15243:295::-;15319:4;15465:29;15490:3;15484:4;15465:29;:::i;:::-;15457:37;;15527:3;15524:1;15520:11;15514:4;15511:21;15503:29;;15243:295;;;;:::o;15543:1395::-;15660:37;15693:3;15660:37;:::i;:::-;15762:18;15754:6;15751:30;15748:56;;;15784:18;;:::i;:::-;15748:56;15828:38;15860:4;15854:11;15828:38;:::i;:::-;15913:67;15973:6;15965;15959:4;15913:67;:::i;:::-;16007:1;16031:4;16018:17;;16063:2;16055:6;16052:14;16080:1;16075:618;;;;16737:1;16754:6;16751:77;;;16803:9;16798:3;16794:19;16788:26;16779:35;;16751:77;16854:67;16914:6;16907:5;16854:67;:::i;:::-;16848:4;16841:81;16710:222;16045:887;;16075:618;16127:4;16123:9;16115:6;16111:22;16161:37;16193:4;16161:37;:::i;:::-;16220:1;16234:208;16248:7;16245:1;16242:14;16234:208;;;16327:9;16322:3;16318:19;16312:26;16304:6;16297:42;16378:1;16370:6;16366:14;16356:24;;16425:2;16414:9;16410:18;16397:31;;16271:4;16268:1;16264:12;16259:17;;16234:208;;;16470:6;16461:7;16458:19;16455:179;;;16528:9;16523:3;16519:19;16513:26;16571:48;16613:4;16605:6;16601:17;16590:9;16571:48;:::i;:::-;16563:6;16556:64;16478:156;16455:179;16680:1;16676;16668:6;16664:14;16660:22;16654:4;16647:36;16082:611;;;16045:887;;15635:1303;;;15543:1395;;:::o;16944:147::-;17045:11;17082:3;17067:18;;16944:147;;;;:::o;17097:114::-;;:::o;17217:398::-;17376:3;17397:83;17478:1;17473:3;17397:83;:::i;:::-;17390:90;;17489:93;17578:3;17489:93;:::i;:::-;17607:1;17602:3;17598:11;17591:18;;17217:398;;;:::o;17621:379::-;17805:3;17827:147;17970:3;17827:147;:::i;:::-;17820:154;;17991:3;17984:10;;17621:379;;;:::o;18006:165::-;18146:17;18142:1;18134:6;18130:14;18123:41;18006:165;:::o;18177:366::-;18319:3;18340:67;18404:2;18399:3;18340:67;:::i;:::-;18333:74;;18416:93;18505:3;18416:93;:::i;:::-;18534:2;18529:3;18525:12;18518:19;;18177:366;;;:::o;18549:419::-;18715:4;18753:2;18742:9;18738:18;18730:26;;18802:9;18796:4;18792:20;18788:1;18777:9;18773:17;18766:47;18830:131;18956:4;18830:131;:::i;:::-;18822:139;;18549:419;;;:::o;18974:180::-;19022:77;19019:1;19012:88;19119:4;19116:1;19109:15;19143:4;19140:1;19133:15;19160:191;19200:3;19219:20;19237:1;19219:20;:::i;:::-;19214:25;;19253:20;19271:1;19253:20;:::i;:::-;19248:25;;19296:1;19293;19289:9;19282:16;;19317:3;19314:1;19311:10;19308:36;;;19324:18;;:::i;:::-;19308:36;19160:191;;;;:::o;19357:410::-;19397:7;19420:20;19438:1;19420:20;:::i;:::-;19415:25;;19454:20;19472:1;19454:20;:::i;:::-;19449:25;;19509:1;19506;19502:9;19531:30;19549:11;19531:30;:::i;:::-;19520:41;;19710:1;19701:7;19697:15;19694:1;19691:22;19671:1;19664:9;19644:83;19621:139;;19740:18;;:::i;:::-;19621:139;19405:362;19357:410;;;;:::o;19773:234::-;19913:34;19909:1;19901:6;19897:14;19890:58;19982:17;19977:2;19969:6;19965:15;19958:42;19773:234;:::o;20013:366::-;20155:3;20176:67;20240:2;20235:3;20176:67;:::i;:::-;20169:74;;20252:93;20341:3;20252:93;:::i;:::-;20370:2;20365:3;20361:12;20354:19;;20013:366;;;:::o;20385:419::-;20551:4;20589:2;20578:9;20574:18;20566:26;;20638:9;20632:4;20628:20;20624:1;20613:9;20609:17;20602:47;20666:131;20792:4;20666:131;:::i;:::-;20658:139;;20385:419;;;:::o;20810:148::-;20912:11;20949:3;20934:18;;20810:148;;;;:::o;20988:874::-;21091:3;21128:5;21122:12;21157:36;21183:9;21157:36;:::i;:::-;21209:89;21291:6;21286:3;21209:89;:::i;:::-;21202:96;;21329:1;21318:9;21314:17;21345:1;21340:166;;;;21520:1;21515:341;;;;21307:549;;21340:166;21424:4;21420:9;21409;21405:25;21400:3;21393:38;21486:6;21479:14;21472:22;21464:6;21460:35;21455:3;21451:45;21444:52;;21340:166;;21515:341;21582:38;21614:5;21582:38;:::i;:::-;21642:1;21656:154;21670:6;21667:1;21664:13;21656:154;;;21744:7;21738:14;21734:1;21729:3;21725:11;21718:35;21794:1;21785:7;21781:15;21770:26;;21692:4;21689:1;21685:12;21680:17;;21656:154;;;21839:6;21834:3;21830:16;21823:23;;21522:334;;21307:549;;21095:767;;20988:874;;;;:::o;21868:390::-;21974:3;22002:39;22035:5;22002:39;:::i;:::-;22057:89;22139:6;22134:3;22057:89;:::i;:::-;22050:96;;22155:65;22213:6;22208:3;22201:4;22194:5;22190:16;22155:65;:::i;:::-;22245:6;22240:3;22236:16;22229:23;;21978:280;21868:390;;;;:::o;22264:155::-;22404:7;22400:1;22392:6;22388:14;22381:31;22264:155;:::o;22425:400::-;22585:3;22606:84;22688:1;22683:3;22606:84;:::i;:::-;22599:91;;22699:93;22788:3;22699:93;:::i;:::-;22817:1;22812:3;22808:11;22801:18;;22425:400;;;:::o;22831:695::-;23109:3;23131:92;23219:3;23210:6;23131:92;:::i;:::-;23124:99;;23240:95;23331:3;23322:6;23240:95;:::i;:::-;23233:102;;23352:148;23496:3;23352:148;:::i;:::-;23345:155;;23517:3;23510:10;;22831:695;;;;;:::o;23532:98::-;23583:6;23617:5;23611:12;23601:22;;23532:98;;;:::o;23636:168::-;23719:11;23753:6;23748:3;23741:19;23793:4;23788:3;23784:14;23769:29;;23636:168;;;;:::o;23810:373::-;23896:3;23924:38;23956:5;23924:38;:::i;:::-;23978:70;24041:6;24036:3;23978:70;:::i;:::-;23971:77;;24057:65;24115:6;24110:3;24103:4;24096:5;24092:16;24057:65;:::i;:::-;24147:29;24169:6;24147:29;:::i;:::-;24142:3;24138:39;24131:46;;23900:283;23810:373;;;;:::o;24189:640::-;24384:4;24422:3;24411:9;24407:19;24399:27;;24436:71;24504:1;24493:9;24489:17;24480:6;24436:71;:::i;:::-;24517:72;24585:2;24574:9;24570:18;24561:6;24517:72;:::i;:::-;24599;24667:2;24656:9;24652:18;24643:6;24599:72;:::i;:::-;24718:9;24712:4;24708:20;24703:2;24692:9;24688:18;24681:48;24746:76;24817:4;24808:6;24746:76;:::i;:::-;24738:84;;24189:640;;;;;;;:::o;24835:141::-;24891:5;24922:6;24916:13;24907:22;;24938:32;24964:5;24938:32;:::i;:::-;24835:141;;;;:::o;24982:349::-;25051:6;25100:2;25088:9;25079:7;25075:23;25071:32;25068:119;;;25106:79;;:::i;:::-;25068:119;25226:1;25251:63;25306:7;25297:6;25286:9;25282:22;25251:63;:::i;:::-;25241:73;;25197:127;24982:349;;;;:::o;25337:180::-;25385:77;25382:1;25375:88;25482:4;25479:1;25472:15;25506:4;25503:1;25496:15
Swarm Source
ipfs://b8533c0cd9b48d07ebeece0e4a3f8c5659d3b2178a5291c108714969ef44732e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.