ERC-721
Overview
Max Total Supply
558 DRDP
Holders
98
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DRDPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
DuckRaceDerbyPondNFT
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-08-11 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.17; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } /** * @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; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /// @title Access Lock /// @author 0xhohenheim <[email protected]> /// @notice Provides Admin Access Control contract AccessLock is Ownable { mapping(address => bool) public isAdmin; // user => isAdmin? mapping /// @notice emitted when admin role is granted or revoked event AdminSet(address indexed user, bool isEnabled); /// @notice Grant or Revoke Admin Access /// @param user - Address of User /// @param isEnabled - Grant or Revoke? function setAdmin(address user, bool isEnabled) external onlyOwner { isAdmin[user] = isEnabled; emit AdminSet(user, isEnabled); } /// @notice reverts if caller is not admin or owner modifier onlyAdmin() { require( isAdmin[msg.sender] || msg.sender == owner(), "Caller does not have Admin/Owner access" ); _; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue( target, data, 0, "Address: low-level call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); (bool success, bytes memory returndata) = target.call{value: value}( data ); return verifyCallResultFromTarget( target, success, returndata, errorMessage ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget( target, success, returndata, errorMessage ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget( target, success, returndata, errorMessage ); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _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 _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary 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 { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if (!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract()) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if ( !_checkContractOnERC721Received( address(0), to, updatedIndex++, _data ) ) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { // require(balanceOf(to) <= 50, "Exceeding max allowed holding amount"); TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @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 {} } /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } contract DuckRaceDerbyPondNFT is ERC721A, AccessLock { // IERC20 public DADToken; using Counters for Counters.Counter; using Strings for uint256; string public baseURI; bool public isRevealed; bool public mintOpen; string public initialURI; uint256 public maxSupply = 1000; uint256 public mintPrice = 0.23 ether; uint16 public maxPerWallet; uint256 public maxPerTx = 2; mapping(address => bool) public minted; event RevealUpdated(address indexed admin, string baseURI); event InitialURIUpdated(address indexed admin, string newURI); event BaseURIUpdated(address indexed admin, string newBaseURI); constructor(string memory _initialURI) ERC721A("Duck Race Derby Pond", "DRDP") { initialURI = _initialURI; } // fallbacks receive() external payable {} modifier whenMintIsOpen() { require(mintOpen, "Minting is not yet open for public!"); _; } // @notice - Mint NFT // @dev - paid minting function mint(uint256 _amount) external payable whenMintIsOpen { require( totalSupply() + _amount <= maxSupply, "Error: Can't exceed max supply!" ); require( _amount <= maxPerTx, "Erro: Can't mint more than max per tx allowed" ); require( !minted[msg.sender], "Error: This wallet has already minted its quota of max allowed NFTs." ); require(msg.value == mintPrice * _amount, "Must pay mint fee!"); if (maxPerWallet > 0) { require( balanceOf(msg.sender) + _amount <= maxPerWallet, "Error: can't mint more than max per wallet allowed" ); if (balanceOf(msg.sender) + _amount == maxPerWallet) { minted[msg.sender] = true; } } payable(address(this)).transfer(msg.value); _safeMint(msg.sender, _amount); } /// @notice - Mint NFT /// @dev - callable only by admin or whitelisted wallet /// @param recipient - mint to function mintByAdmin(address recipient, uint256 quantity) external onlyOwner { require(recipient != address(0), "Error: recipent == address(0)"); require( totalSupply() + quantity < maxSupply, "Can't exceed max supply!" ); _safeMint(recipient, quantity); } function _changeMaxPerWallet(uint16 _newMaxPerWallet) external onlyOwner { require(_newMaxPerWallet > 0, "Cannot set to zero"); maxPerWallet = _newMaxPerWallet; } function _openPublicMinting() external onlyOwner { require(!mintOpen, "Error: Mint is already enabled"); mintOpen = true; } /// @notice - Set initial unrevealed URI /// @dev - callable only by admin /// @param _initialURI - initial unrevealed URI function setInitialURI(string memory _initialURI) external onlyOwner { initialURI = _initialURI; emit InitialURIUpdated(msg.sender, _initialURI); } /// @notice - Reveal NFTs /// @dev - callable only by admin /// @param baseURI_ - base URI to set /// @param _isRevealed - is the URI revealed? function reveal(string memory baseURI_, bool _isRevealed) external onlyOwner { isRevealed = _isRevealed; emit RevealUpdated(msg.sender, baseURI_); setBaseURI(baseURI_); } // @notice - Update mint price // @dev - callable only by the owner function _updateMintPrice(uint256 _newMintPrice) external onlyOwner { mintPrice = _newMintPrice; } /// @notice - Set base URI for token /// @dev - callable only by admin /// @param baseURI_ - base URI to set function setBaseURI(string memory baseURI_) public onlyOwner { baseURI = baseURI_; emit BaseURIUpdated(msg.sender, baseURI_); } /// @notice - Get token URI /// @param tokenId - Token ID of NFT function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!isRevealed) return bytes(initialURI).length != 0 ? string( abi.encodePacked( initialURI, tokenId.toString(), ".json" ) ) : "No initial URI set"; else return bytes(baseURI).length != 0 ? string( abi.encodePacked(baseURI, tokenId.toString(), ".json") ) : initialURI; } function collectETH() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initialURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"AdminSet","type":"event"},{"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":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"InitialURIUpdated","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":"admin","type":"address"},{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"RevealUpdated","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":"uint16","name":"_newMaxPerWallet","type":"uint16"}],"name":"_changeMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_openPublicMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPrice","type":"uint256"}],"name":"_updateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"maxPerWallet","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintByAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"bool","name":"_isRevealed","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_initialURI","type":"string"}],"name":"setInitialURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526103e8600d556703311fc80a570000600e5560026010553480156200002857600080fd5b506040516200252f3803806200252f8339810160408190526200004b916200014f565b6040518060400160405280601481526020017f4475636b205261636520446572627920506f6e64000000000000000000000000815250604051806040016040528060048152602001630445244560e41b8152508160029081620000af9190620002b3565b506003620000be8282620002b3565b5050600160005550620000d133620000e7565b600c620000df8282620002b3565b50506200037f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200016357600080fd5b82516001600160401b03808211156200017b57600080fd5b818501915085601f8301126200019057600080fd5b815181811115620001a557620001a562000139565b604051601f8201601f19908116603f01168101908382118183101715620001d057620001d062000139565b816040528281528886848701011115620001e957600080fd5b600093505b828410156200020d5784840186015181850187015292850192620001ee565b600086848301015280965050505050505092915050565b600181811c908216806200023957607f821691505b6020821081036200025a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002ae57600081815260208120601f850160051c81016020861015620002895750805b601f850160051c820191505b81811015620002aa5782815560010162000295565b5050505b505050565b81516001600160401b03811115620002cf57620002cf62000139565b620002e781620002e0845462000224565b8462000260565b602080601f8311600181146200031f5760008415620003065750858301515b600019600386901b1c1916600185901b178555620002aa565b600085815260208120601f198616915b8281101562000350578886015182559484019460019091019084016200032f565b50858210156200036f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6121a0806200038f6000396000f3fe60806040526004361061021e5760003560e01c80636c0360eb11610123578063af3da2f4116100ab578063e837ead91161006f578063e837ead91461063a578063e985e9c51461064f578063f2fde38b1461066f578063f968adbe1461068f578063fdff9b81146106a557600080fd5b8063af3da2f4146105af578063b88d4fde146105cf578063c87b56dd146105ef578063c9a230771461060f578063d5abeb011461062457600080fd5b80638da5cb5b116100f25780638da5cb5b1461052957806395d89b4114610547578063a0712d681461055c578063a22cb4651461056f578063a32a7b651461058f57600080fd5b80636c0360eb146104bf5780636d818560146104d457806370a08231146104f4578063715018a61461051457600080fd5b806324d7806c116101a65780634b0bddd2116101755780634b0bddd21461042f57806354214f691461044f57806355f804b3146104695780636352211e146104895780636817c76c146104a957600080fd5b806324d7806c1461039157806335dc3c68146103c157806342842e0e146103e1578063453c23101461040157600080fd5b806318160ddd116101ed57806318160ddd146102db5780631c9641fb146103025780631e7269c51461032257806323b872dd1461035257806324bbd0491461037257600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b957600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061024a610245366004611b86565b6106ba565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027461070c565b6040516102569190611bfa565b34801561028d57600080fd5b506102a161029c366004611c0d565b61079e565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611c3d565b6107e2565b005b3480156102e757600080fd5b5060015460005403600019015b604051908152602001610256565b34801561030e57600080fd5b506102d961031d366004611c0d565b610868565b34801561032e57600080fd5b5061024a61033d366004611c67565b60116020526000908152604090205460ff1681565b34801561035e57600080fd5b506102d961036d366004611c82565b610875565b34801561037e57600080fd5b50600b5461024a90610100900460ff1681565b34801561039d57600080fd5b5061024a6103ac366004611c67565b60096020526000908152604090205460ff1681565b3480156103cd57600080fd5b506102d96103dc366004611cbe565b610880565b3480156103ed57600080fd5b506102d96103fc366004611c82565b6108ee565b34801561040d57600080fd5b50600f5461041c9061ffff1681565b60405161ffff9091168152602001610256565b34801561043b57600080fd5b506102d961044a366004611cf2565b610909565b34801561045b57600080fd5b50600b5461024a9060ff1681565b34801561047557600080fd5b506102d9610484366004611dd1565b610970565b34801561049557600080fd5b506102a16104a4366004611c0d565b6109c9565b3480156104b557600080fd5b506102f4600e5481565b3480156104cb57600080fd5b506102746109db565b3480156104e057600080fd5b506102d96104ef366004611e06565b610a69565b34801561050057600080fd5b506102f461050f366004611c67565b610ac6565b34801561052057600080fd5b506102d9610b15565b34801561053557600080fd5b506008546001600160a01b03166102a1565b34801561055357600080fd5b50610274610b29565b6102d961056a366004611c0d565b610b38565b34801561057b57600080fd5b506102d961058a366004611cf2565b610e56565b34801561059b57600080fd5b506102d96105aa366004611dd1565b610eeb565b3480156105bb57600080fd5b506102d96105ca366004611c3d565b610f39565b3480156105db57600080fd5b506102d96105ea366004611e4b565b611009565b3480156105fb57600080fd5b5061027461060a366004611c0d565b611053565b34801561061b57600080fd5b5061027461118d565b34801561063057600080fd5b506102f4600d5481565b34801561064657600080fd5b506102d961119a565b34801561065b57600080fd5b5061024a61066a366004611ec7565b61120b565b34801561067b57600080fd5b506102d961068a366004611c67565b611239565b34801561069b57600080fd5b506102f460105481565b3480156106b157600080fd5b506102d96112af565b60006001600160e01b031982166380ac58cd60e01b14806106eb57506001600160e01b03198216635b5e139f60e01b145b8061070657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461071b90611ef1565b80601f016020809104026020016040519081016040528092919081815260200182805461074790611ef1565b80156107945780601f1061076957610100808354040283529160200191610794565b820191906000526020600020905b81548152906001019060200180831161077757829003601f168201915b5050505050905090565b60006107a9826112e3565b6107c6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107ed826109c9565b9050806001600160a01b0316836001600160a01b0316036108215760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108585761083b813361120b565b610858576040516367d9dca160e11b815260040160405180910390fd5b61086383838361131c565b505050565b610870611378565b600e55565b6108638383836113d2565b610888611378565b60008161ffff16116108d65760405162461bcd60e51b815260206004820152601260248201527143616e6e6f742073657420746f207a65726f60701b60448201526064015b60405180910390fd5b600f805461ffff191661ffff92909216919091179055565b61086383838360405180602001604052806000815250611009565b610911611378565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527fe68d2c359a771606c400cf8b87000cf5864010363d6a736e98f5047b7bbe18e9910160405180910390a25050565b610978611378565b600a6109848282611f79565b50336001600160a01b03167ff765b68b6ff897de964353a0eb194e46ecea8772879eb880b4b0fd277124922c826040516109be9190611bfa565b60405180910390a250565b60006109d4826115c1565b5192915050565b600a80546109e890611ef1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1490611ef1565b8015610a615780601f10610a3657610100808354040283529160200191610a61565b820191906000526020600020905b815481529060010190602001808311610a4457829003601f168201915b505050505081565b610a71611378565b600b805460ff191682151517905560405133907fffcd326b78e78031a693e986f76bfa19d1b13f1fe4b2ec67c23f46456ee100de90610ab1908590611bfa565b60405180910390a2610ac282610970565b5050565b60006001600160a01b038216610aef576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b1d611378565b610b2760006116e5565b565b60606003805461071b90611ef1565b600b54610100900460ff16610b9b5760405162461bcd60e51b815260206004820152602360248201527f4d696e74696e67206973206e6f7420796574206f70656e20666f72207075626c60448201526269632160e81b60648201526084016108cd565b600d546001546000548391900360001901610bb6919061204f565b1115610c045760405162461bcd60e51b815260206004820152601f60248201527f4572726f723a2043616e277420657863656564206d617820737570706c79210060448201526064016108cd565b601054811115610c6c5760405162461bcd60e51b815260206004820152602d60248201527f4572726f3a2043616e2774206d696e74206d6f7265207468616e206d6178207060448201526c195c881d1e08185b1b1bddd959609a1b60648201526084016108cd565b3360009081526011602052604090205460ff1615610d005760405162461bcd60e51b8152602060048201526044602482018190527f4572726f723a20546869732077616c6c65742068617320616c7265616479206d908201527f696e746564206974732071756f7461206f66206d617820616c6c6f776564204e606482015263232a399760e11b608482015260a4016108cd565b80600e54610d0e9190612062565b3414610d515760405162461bcd60e51b81526020600482015260126024820152714d75737420706179206d696e74206665652160701b60448201526064016108cd565b600f5461ffff1615610e1c57600f5461ffff1681610d6e33610ac6565b610d78919061204f565b1115610de15760405162461bcd60e51b815260206004820152603260248201527f4572726f723a2063616e2774206d696e74206d6f7265207468616e206d6178206044820152711c195c881dd85b1b195d08185b1b1bddd95960721b60648201526084016108cd565b600f5461ffff1681610df233610ac6565b610dfc919061204f565b03610e1c57336000908152601160205260409020805460ff191660011790555b60405130903480156108fc02916000818181858888f19350505050158015610e48573d6000803e3d6000fd5b50610e533382611737565b50565b336001600160a01b03831603610e7f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ef3611378565b600c610eff8282611f79565b50336001600160a01b03167f998cc6c827a95d954dd9f7f353dbbb9e4959d633c6639bca42129fa1089c3648826040516109be9190611bfa565b610f41611378565b6001600160a01b038216610f975760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a207265636970656e74203d3d206164647265737328302900000060448201526064016108cd565b600d546001546000548391900360001901610fb2919061204f565b10610fff5760405162461bcd60e51b815260206004820152601860248201527f43616e277420657863656564206d617820737570706c7921000000000000000060448201526064016108cd565b610ac28282611737565b6110148484846113d2565b6001600160a01b0383163b1561104d5761103084848484611751565b61104d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b5460609060ff166110d757600c805461106d90611ef1565b90506000036110a65760405180604001604052806012815260200171139bc81a5b9a5d1a585b08155492481cd95d60721b815250610706565b600c6110b18361183d565b6040516020016110c2929190612079565b60405160208183030381529060405292915050565b600a80546110e490611ef1565b905060000361117d57600c80546110fa90611ef1565b80601f016020809104026020016040519081016040528092919081815260200182805461112690611ef1565b80156111735780601f1061114857610100808354040283529160200191611173565b820191906000526020600020905b81548152906001019060200180831161115657829003601f168201915b5050505050610706565b600a6110b18361183d565b919050565b600c80546109e890611ef1565b6111a2611378565b600b54610100900460ff16156111fa5760405162461bcd60e51b815260206004820152601e60248201527f4572726f723a204d696e7420697320616c726561647920656e61626c6564000060448201526064016108cd565b600b805461ff001916610100179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611241611378565b6001600160a01b0381166112a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108cd565b610e53816116e5565b6112b7611378565b60405133904780156108fc02916000818181858888f19350505050158015610e53573d6000803e3d6000fd5b6000816001111580156112f7575060005482105b8015610706575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610b275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108cd565b60006113dd826115c1565b9050836001600160a01b031681600001516001600160a01b0316146114145760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806114325750611432853361120b565b8061144d5750336114428461079e565b6001600160a01b0316145b90508061146d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661149457604051633a954ecd60e21b815260040160405180910390fd5b6114a06000848761131c565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611576576000548214611576578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b604080516060810182526000808252602082018190529181019190915281806001116116cc576000548110156116cc57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906116ca5780516001600160a01b031615611660579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156116c5579392505050565b611660565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ac28282604051806020016040528060008152506118d0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611786903390899088908890600401612110565b6020604051808303816000875af19250505080156117c1575060408051601f3d908101601f191682019092526117be9181019061214d565b60015b61181f573d8080156117ef576040519150601f19603f3d011682016040523d82523d6000602084013e6117f4565b606091505b508051600003611817576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600061184a83611a98565b600101905060008167ffffffffffffffff81111561186a5761186a611d25565b6040519080825280601f01601f191660200182016040528015611894576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461189e57509392505050565b6000546001600160a01b0384166118f957604051622e076360e81b815260040160405180910390fd5b8260000361191a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611a43575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a0c6000878480600101955087611751565b611a29576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119c1578260005414611a3e57600080fd5b611a88565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a44575b50600090815561104d9085838684565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611ad75772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b03576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b2157662386f26fc10000830492506010015b6305f5e1008310611b39576305f5e100830492506008015b6127108310611b4d57612710830492506004015b60648310611b5f576064830492506002015b600a83106107065760010192915050565b6001600160e01b031981168114610e5357600080fd5b600060208284031215611b9857600080fd5b8135611ba381611b70565b9392505050565b60005b83811015611bc5578181015183820152602001611bad565b50506000910152565b60008151808452611be6816020860160208601611baa565b601f01601f19169290920160200192915050565b602081526000611ba36020830184611bce565b600060208284031215611c1f57600080fd5b5035919050565b80356001600160a01b038116811461118857600080fd5b60008060408385031215611c5057600080fd5b611c5983611c26565b946020939093013593505050565b600060208284031215611c7957600080fd5b611ba382611c26565b600080600060608486031215611c9757600080fd5b611ca084611c26565b9250611cae60208501611c26565b9150604084013590509250925092565b600060208284031215611cd057600080fd5b813561ffff81168114611ba357600080fd5b8035801515811461118857600080fd5b60008060408385031215611d0557600080fd5b611d0e83611c26565b9150611d1c60208401611ce2565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d5657611d56611d25565b604051601f8501601f19908116603f01168101908282118183101715611d7e57611d7e611d25565b81604052809350858152868686011115611d9757600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611dc257600080fd5b611ba383833560208501611d3b565b600060208284031215611de357600080fd5b813567ffffffffffffffff811115611dfa57600080fd5b61183584828501611db1565b60008060408385031215611e1957600080fd5b823567ffffffffffffffff811115611e3057600080fd5b611e3c85828601611db1565b925050611d1c60208401611ce2565b60008060008060808587031215611e6157600080fd5b611e6a85611c26565b9350611e7860208601611c26565b925060408501359150606085013567ffffffffffffffff811115611e9b57600080fd5b8501601f81018713611eac57600080fd5b611ebb87823560208401611d3b565b91505092959194509250565b60008060408385031215611eda57600080fd5b611ee383611c26565b9150611d1c60208401611c26565b600181811c90821680611f0557607f821691505b602082108103611f2557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561086357600081815260208120601f850160051c81016020861015611f525750805b601f850160051c820191505b81811015611f7157828155600101611f5e565b505050505050565b815167ffffffffffffffff811115611f9357611f93611d25565b611fa781611fa18454611ef1565b84611f2b565b602080601f831160018114611fdc5760008415611fc45750858301515b600019600386901b1c1916600185901b178555611f71565b600085815260208120601f198616915b8281101561200b57888601518255948401946001909101908401611fec565b50858210156120295787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561070657610706612039565b808202811582820484141761070657610706612039565b600080845461208781611ef1565b6001828116801561209f57600181146120b4576120e3565b60ff19841687528215158302870194506120e3565b8860005260208060002060005b858110156120da5781548a8201529084019082016120c1565b50505082870194505b5050505083516120f7818360208801611baa565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061214390830184611bce565b9695505050505050565b60006020828403121561215f57600080fd5b8151611ba381611b7056fea26469706673582212208211abc48a8e1c27eb5dece6dc6e6b9c3558c9a3bb49e0c2357a2437d45d349064736f6c634300081100330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f62616679626569646a766f706371676d75756d6d6437737761776b6c626262356f6e6967747a7a71377763756975686875697268676362627677342e697066732e6e667473746f726167652e6c696e6b2f00000000000000
Deployed Bytecode
0x60806040526004361061021e5760003560e01c80636c0360eb11610123578063af3da2f4116100ab578063e837ead91161006f578063e837ead91461063a578063e985e9c51461064f578063f2fde38b1461066f578063f968adbe1461068f578063fdff9b81146106a557600080fd5b8063af3da2f4146105af578063b88d4fde146105cf578063c87b56dd146105ef578063c9a230771461060f578063d5abeb011461062457600080fd5b80638da5cb5b116100f25780638da5cb5b1461052957806395d89b4114610547578063a0712d681461055c578063a22cb4651461056f578063a32a7b651461058f57600080fd5b80636c0360eb146104bf5780636d818560146104d457806370a08231146104f4578063715018a61461051457600080fd5b806324d7806c116101a65780634b0bddd2116101755780634b0bddd21461042f57806354214f691461044f57806355f804b3146104695780636352211e146104895780636817c76c146104a957600080fd5b806324d7806c1461039157806335dc3c68146103c157806342842e0e146103e1578063453c23101461040157600080fd5b806318160ddd116101ed57806318160ddd146102db5780631c9641fb146103025780631e7269c51461032257806323b872dd1461035257806324bbd0491461037257600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b957600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061024a610245366004611b86565b6106ba565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027461070c565b6040516102569190611bfa565b34801561028d57600080fd5b506102a161029c366004611c0d565b61079e565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611c3d565b6107e2565b005b3480156102e757600080fd5b5060015460005403600019015b604051908152602001610256565b34801561030e57600080fd5b506102d961031d366004611c0d565b610868565b34801561032e57600080fd5b5061024a61033d366004611c67565b60116020526000908152604090205460ff1681565b34801561035e57600080fd5b506102d961036d366004611c82565b610875565b34801561037e57600080fd5b50600b5461024a90610100900460ff1681565b34801561039d57600080fd5b5061024a6103ac366004611c67565b60096020526000908152604090205460ff1681565b3480156103cd57600080fd5b506102d96103dc366004611cbe565b610880565b3480156103ed57600080fd5b506102d96103fc366004611c82565b6108ee565b34801561040d57600080fd5b50600f5461041c9061ffff1681565b60405161ffff9091168152602001610256565b34801561043b57600080fd5b506102d961044a366004611cf2565b610909565b34801561045b57600080fd5b50600b5461024a9060ff1681565b34801561047557600080fd5b506102d9610484366004611dd1565b610970565b34801561049557600080fd5b506102a16104a4366004611c0d565b6109c9565b3480156104b557600080fd5b506102f4600e5481565b3480156104cb57600080fd5b506102746109db565b3480156104e057600080fd5b506102d96104ef366004611e06565b610a69565b34801561050057600080fd5b506102f461050f366004611c67565b610ac6565b34801561052057600080fd5b506102d9610b15565b34801561053557600080fd5b506008546001600160a01b03166102a1565b34801561055357600080fd5b50610274610b29565b6102d961056a366004611c0d565b610b38565b34801561057b57600080fd5b506102d961058a366004611cf2565b610e56565b34801561059b57600080fd5b506102d96105aa366004611dd1565b610eeb565b3480156105bb57600080fd5b506102d96105ca366004611c3d565b610f39565b3480156105db57600080fd5b506102d96105ea366004611e4b565b611009565b3480156105fb57600080fd5b5061027461060a366004611c0d565b611053565b34801561061b57600080fd5b5061027461118d565b34801561063057600080fd5b506102f4600d5481565b34801561064657600080fd5b506102d961119a565b34801561065b57600080fd5b5061024a61066a366004611ec7565b61120b565b34801561067b57600080fd5b506102d961068a366004611c67565b611239565b34801561069b57600080fd5b506102f460105481565b3480156106b157600080fd5b506102d96112af565b60006001600160e01b031982166380ac58cd60e01b14806106eb57506001600160e01b03198216635b5e139f60e01b145b8061070657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461071b90611ef1565b80601f016020809104026020016040519081016040528092919081815260200182805461074790611ef1565b80156107945780601f1061076957610100808354040283529160200191610794565b820191906000526020600020905b81548152906001019060200180831161077757829003601f168201915b5050505050905090565b60006107a9826112e3565b6107c6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107ed826109c9565b9050806001600160a01b0316836001600160a01b0316036108215760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108585761083b813361120b565b610858576040516367d9dca160e11b815260040160405180910390fd5b61086383838361131c565b505050565b610870611378565b600e55565b6108638383836113d2565b610888611378565b60008161ffff16116108d65760405162461bcd60e51b815260206004820152601260248201527143616e6e6f742073657420746f207a65726f60701b60448201526064015b60405180910390fd5b600f805461ffff191661ffff92909216919091179055565b61086383838360405180602001604052806000815250611009565b610911611378565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527fe68d2c359a771606c400cf8b87000cf5864010363d6a736e98f5047b7bbe18e9910160405180910390a25050565b610978611378565b600a6109848282611f79565b50336001600160a01b03167ff765b68b6ff897de964353a0eb194e46ecea8772879eb880b4b0fd277124922c826040516109be9190611bfa565b60405180910390a250565b60006109d4826115c1565b5192915050565b600a80546109e890611ef1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1490611ef1565b8015610a615780601f10610a3657610100808354040283529160200191610a61565b820191906000526020600020905b815481529060010190602001808311610a4457829003601f168201915b505050505081565b610a71611378565b600b805460ff191682151517905560405133907fffcd326b78e78031a693e986f76bfa19d1b13f1fe4b2ec67c23f46456ee100de90610ab1908590611bfa565b60405180910390a2610ac282610970565b5050565b60006001600160a01b038216610aef576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b1d611378565b610b2760006116e5565b565b60606003805461071b90611ef1565b600b54610100900460ff16610b9b5760405162461bcd60e51b815260206004820152602360248201527f4d696e74696e67206973206e6f7420796574206f70656e20666f72207075626c60448201526269632160e81b60648201526084016108cd565b600d546001546000548391900360001901610bb6919061204f565b1115610c045760405162461bcd60e51b815260206004820152601f60248201527f4572726f723a2043616e277420657863656564206d617820737570706c79210060448201526064016108cd565b601054811115610c6c5760405162461bcd60e51b815260206004820152602d60248201527f4572726f3a2043616e2774206d696e74206d6f7265207468616e206d6178207060448201526c195c881d1e08185b1b1bddd959609a1b60648201526084016108cd565b3360009081526011602052604090205460ff1615610d005760405162461bcd60e51b8152602060048201526044602482018190527f4572726f723a20546869732077616c6c65742068617320616c7265616479206d908201527f696e746564206974732071756f7461206f66206d617820616c6c6f776564204e606482015263232a399760e11b608482015260a4016108cd565b80600e54610d0e9190612062565b3414610d515760405162461bcd60e51b81526020600482015260126024820152714d75737420706179206d696e74206665652160701b60448201526064016108cd565b600f5461ffff1615610e1c57600f5461ffff1681610d6e33610ac6565b610d78919061204f565b1115610de15760405162461bcd60e51b815260206004820152603260248201527f4572726f723a2063616e2774206d696e74206d6f7265207468616e206d6178206044820152711c195c881dd85b1b195d08185b1b1bddd95960721b60648201526084016108cd565b600f5461ffff1681610df233610ac6565b610dfc919061204f565b03610e1c57336000908152601160205260409020805460ff191660011790555b60405130903480156108fc02916000818181858888f19350505050158015610e48573d6000803e3d6000fd5b50610e533382611737565b50565b336001600160a01b03831603610e7f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ef3611378565b600c610eff8282611f79565b50336001600160a01b03167f998cc6c827a95d954dd9f7f353dbbb9e4959d633c6639bca42129fa1089c3648826040516109be9190611bfa565b610f41611378565b6001600160a01b038216610f975760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a207265636970656e74203d3d206164647265737328302900000060448201526064016108cd565b600d546001546000548391900360001901610fb2919061204f565b10610fff5760405162461bcd60e51b815260206004820152601860248201527f43616e277420657863656564206d617820737570706c7921000000000000000060448201526064016108cd565b610ac28282611737565b6110148484846113d2565b6001600160a01b0383163b1561104d5761103084848484611751565b61104d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b5460609060ff166110d757600c805461106d90611ef1565b90506000036110a65760405180604001604052806012815260200171139bc81a5b9a5d1a585b08155492481cd95d60721b815250610706565b600c6110b18361183d565b6040516020016110c2929190612079565b60405160208183030381529060405292915050565b600a80546110e490611ef1565b905060000361117d57600c80546110fa90611ef1565b80601f016020809104026020016040519081016040528092919081815260200182805461112690611ef1565b80156111735780601f1061114857610100808354040283529160200191611173565b820191906000526020600020905b81548152906001019060200180831161115657829003601f168201915b5050505050610706565b600a6110b18361183d565b919050565b600c80546109e890611ef1565b6111a2611378565b600b54610100900460ff16156111fa5760405162461bcd60e51b815260206004820152601e60248201527f4572726f723a204d696e7420697320616c726561647920656e61626c6564000060448201526064016108cd565b600b805461ff001916610100179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611241611378565b6001600160a01b0381166112a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108cd565b610e53816116e5565b6112b7611378565b60405133904780156108fc02916000818181858888f19350505050158015610e53573d6000803e3d6000fd5b6000816001111580156112f7575060005482105b8015610706575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610b275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108cd565b60006113dd826115c1565b9050836001600160a01b031681600001516001600160a01b0316146114145760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806114325750611432853361120b565b8061144d5750336114428461079e565b6001600160a01b0316145b90508061146d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661149457604051633a954ecd60e21b815260040160405180910390fd5b6114a06000848761131c565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611576576000548214611576578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b604080516060810182526000808252602082018190529181019190915281806001116116cc576000548110156116cc57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906116ca5780516001600160a01b031615611660579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156116c5579392505050565b611660565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ac28282604051806020016040528060008152506118d0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611786903390899088908890600401612110565b6020604051808303816000875af19250505080156117c1575060408051601f3d908101601f191682019092526117be9181019061214d565b60015b61181f573d8080156117ef576040519150601f19603f3d011682016040523d82523d6000602084013e6117f4565b606091505b508051600003611817576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600061184a83611a98565b600101905060008167ffffffffffffffff81111561186a5761186a611d25565b6040519080825280601f01601f191660200182016040528015611894576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461189e57509392505050565b6000546001600160a01b0384166118f957604051622e076360e81b815260040160405180910390fd5b8260000361191a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611a43575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a0c6000878480600101955087611751565b611a29576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119c1578260005414611a3e57600080fd5b611a88565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a44575b50600090815561104d9085838684565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611ad75772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b03576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b2157662386f26fc10000830492506010015b6305f5e1008310611b39576305f5e100830492506008015b6127108310611b4d57612710830492506004015b60648310611b5f576064830492506002015b600a83106107065760010192915050565b6001600160e01b031981168114610e5357600080fd5b600060208284031215611b9857600080fd5b8135611ba381611b70565b9392505050565b60005b83811015611bc5578181015183820152602001611bad565b50506000910152565b60008151808452611be6816020860160208601611baa565b601f01601f19169290920160200192915050565b602081526000611ba36020830184611bce565b600060208284031215611c1f57600080fd5b5035919050565b80356001600160a01b038116811461118857600080fd5b60008060408385031215611c5057600080fd5b611c5983611c26565b946020939093013593505050565b600060208284031215611c7957600080fd5b611ba382611c26565b600080600060608486031215611c9757600080fd5b611ca084611c26565b9250611cae60208501611c26565b9150604084013590509250925092565b600060208284031215611cd057600080fd5b813561ffff81168114611ba357600080fd5b8035801515811461118857600080fd5b60008060408385031215611d0557600080fd5b611d0e83611c26565b9150611d1c60208401611ce2565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611d5657611d56611d25565b604051601f8501601f19908116603f01168101908282118183101715611d7e57611d7e611d25565b81604052809350858152868686011115611d9757600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611dc257600080fd5b611ba383833560208501611d3b565b600060208284031215611de357600080fd5b813567ffffffffffffffff811115611dfa57600080fd5b61183584828501611db1565b60008060408385031215611e1957600080fd5b823567ffffffffffffffff811115611e3057600080fd5b611e3c85828601611db1565b925050611d1c60208401611ce2565b60008060008060808587031215611e6157600080fd5b611e6a85611c26565b9350611e7860208601611c26565b925060408501359150606085013567ffffffffffffffff811115611e9b57600080fd5b8501601f81018713611eac57600080fd5b611ebb87823560208401611d3b565b91505092959194509250565b60008060408385031215611eda57600080fd5b611ee383611c26565b9150611d1c60208401611c26565b600181811c90821680611f0557607f821691505b602082108103611f2557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561086357600081815260208120601f850160051c81016020861015611f525750805b601f850160051c820191505b81811015611f7157828155600101611f5e565b505050505050565b815167ffffffffffffffff811115611f9357611f93611d25565b611fa781611fa18454611ef1565b84611f2b565b602080601f831160018114611fdc5760008415611fc45750858301515b600019600386901b1c1916600185901b178555611f71565b600085815260208120601f198616915b8281101561200b57888601518255948401946001909101908401611fec565b50858210156120295787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561070657610706612039565b808202811582820484141761070657610706612039565b600080845461208781611ef1565b6001828116801561209f57600181146120b4576120e3565b60ff19841687528215158302870194506120e3565b8860005260208060002060005b858110156120da5781548a8201529084019082016120c1565b50505082870194505b5050505083516120f7818360208801611baa565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061214390830184611bce565b9695505050505050565b60006020828403121561215f57600080fd5b8151611ba381611b7056fea26469706673582212208211abc48a8e1c27eb5dece6dc6e6b9c3558c9a3bb49e0c2357a2437d45d349064736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f62616679626569646a766f706371676d75756d6d6437737761776b6c626262356f6e6967747a7a71377763756975686875697268676362627677342e697066732e6e667473746f726167652e6c696e6b2f00000000000000
-----Decoded View---------------
Arg [0] : _initialURI (string): https://bafybeidjvopcqgmuummd7swawklbbb5onigtzzq7wcuiuhhuirhgcbbvw4.ipfs.nftstorage.link/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000059
Arg [2] : 68747470733a2f2f62616679626569646a766f706371676d75756d6d64377377
Arg [3] : 61776b6c626262356f6e6967747a7a7137776375697568687569726867636262
Arg [4] : 7677342e697066732e6e667473746f726167652e6c696e6b2f00000000000000
Deployed Bytecode Sourcemap
64409:5051:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43419:355;;;;;;;;;;-1:-1:-1;43419:355:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;43419:355:0;;;;;;;;46705:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;48328:245::-;;;;;;;;;;-1:-1:-1;48328:245:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;48328:245:0;1533:203:1;47868:394:0;;;;;;;;;;-1:-1:-1;47868:394:0;;;;;:::i;:::-;;:::i;:::-;;42659:312;;;;;;;;;;-1:-1:-1;42516:1:0;42922:12;42712:7;42906:13;:28;-1:-1:-1;;42906:46:0;42659:312;;;2324:25:1;;;2312:2;2297:18;42659:312:0;2178:177:1;68081:112:0;;;;;;;;;;-1:-1:-1;68081:112:0;;;;;:::i;:::-;;:::i;64841:38::-;;;;;;;;;;-1:-1:-1;64841:38:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;49316:170;;;;;;;;;;-1:-1:-1;49316:170:0;;;;;:::i;:::-;;:::i;64632:20::-;;;;;;;;;;-1:-1:-1;64632:20:0;;;;;;;;;;;18755:39;;;;;;;;;;-1:-1:-1;18755:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;66943:185;;;;;;;;;;-1:-1:-1;66943:185:0;;;;;:::i;:::-;;:::i;49557:::-;;;;;;;;;;-1:-1:-1;49557:185:0;;;;;:::i;:::-;;:::i;64772:26::-;;;;;;;;;;-1:-1:-1;64772:26:0;;;;;;;;;;;3335:6:1;3323:19;;;3305:38;;3293:2;3278:18;64772:26:0;3161:188:1;19085:152:0;;;;;;;;;;-1:-1:-1;19085:152:0;;;;;:::i;:::-;;:::i;64603:22::-;;;;;;;;;;-1:-1:-1;64603:22:0;;;;;;;;68325:150;;;;;;;;;;-1:-1:-1;68325:150:0;;;;;:::i;:::-;;:::i;46513:125::-;;;;;;;;;;-1:-1:-1;46513:125:0;;;;;:::i;:::-;;:::i;64728:37::-;;;;;;;;;;;;;;;;64575:21;;;;;;;;;;;;;:::i;67770:225::-;;;;;;;;;;-1:-1:-1;67770:225:0;;;;;:::i;:::-;;:::i;43838:206::-;;;;;;;;;;-1:-1:-1;43838:206:0;;;;;:::i;:::-;;:::i;17745:103::-;;;;;;;;;;;;;:::i;17097:87::-;;;;;;;;;;-1:-1:-1;17170:6:0;;-1:-1:-1;;;;;17170:6:0;17097:87;;46874:104;;;;;;;;;;;;;:::i;65467:987::-;;;;;;:::i;:::-;;:::i;48645:319::-;;;;;;;;;;-1:-1:-1;48645:319:0;;;;;:::i;:::-;;:::i;67428:170::-;;;;;;;;;;-1:-1:-1;67428:170:0;;;;;:::i;:::-;;:::i;66587:348::-;;;;;;;;;;-1:-1:-1;66587:348:0;;;;;:::i;:::-;;:::i;49813:392::-;;;;;;;;;;-1:-1:-1;49813:392:0;;;;;:::i;:::-;;:::i;68558:782::-;;;;;;;;;;-1:-1:-1;68558:782:0;;;;;:::i;:::-;;:::i;64659:24::-;;;;;;;;;;;;;:::i;64690:31::-;;;;;;;;;;;;;;;;67136:146;;;;;;;;;;;;;:::i;49035:214::-;;;;;;;;;;-1:-1:-1;49035:214:0;;;;;:::i;:::-;;:::i;18003:238::-;;;;;;;;;;-1:-1:-1;18003:238:0;;;;;:::i;:::-;;:::i;64805:27::-;;;;;;;;;;;;;;;;69348:109;;;;;;;;;;;;;:::i;43419:355::-;43566:4;-1:-1:-1;;;;;;43608:40:0;;-1:-1:-1;;;43608:40:0;;:105;;-1:-1:-1;;;;;;;43665:48:0;;-1:-1:-1;;;43665:48:0;43608:105;:158;;;-1:-1:-1;;;;;;;;;;32119:40:0;;;43730:36;43588:178;43419:355;-1:-1:-1;;43419:355:0:o;46705:100::-;46759:13;46792:5;46785:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46705:100;:::o;48328:245::-;48432:7;48462:16;48470:7;48462;:16::i;:::-;48457:64;;48487:34;;-1:-1:-1;;;48487:34:0;;;;;;;;;;;48457:64;-1:-1:-1;48541:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;48541:24:0;;48328:245::o;47868:394::-;47941:13;47957:24;47973:7;47957:15;:24::i;:::-;47941:40;;48002:5;-1:-1:-1;;;;;47996:11:0;:2;-1:-1:-1;;;;;47996:11:0;;47992:48;;48016:24;;-1:-1:-1;;;48016:24:0;;;;;;;;;;;47992:48;15861:10;-1:-1:-1;;;;;48057:21:0;;;48053:161;;48098:37;48115:5;15861:10;49035:214;:::i;48098:37::-;48093:121;;48163:35;;-1:-1:-1;;;48163:35:0;;;;;;;;;;;48093:121;48226:28;48235:2;48239:7;48248:5;48226:8;:28::i;:::-;47930:332;47868:394;;:::o;68081:112::-;16983:13;:11;:13::i;:::-;68160:9:::1;:25:::0;68081:112::o;49316:170::-;49450:28;49460:4;49466:2;49470:7;49450:9;:28::i;66943:185::-;16983:13;:11;:13::i;:::-;67054:1:::1;67035:16;:20;;;67027:51;;;::::0;-1:-1:-1;;;67027:51:0;;7020:2:1;67027:51:0::1;::::0;::::1;7002:21:1::0;7059:2;7039:18;;;7032:30;-1:-1:-1;;;7078:18:1;;;7071:48;7136:18;;67027:51:0::1;;;;;;;;;67089:12;:31:::0;;-1:-1:-1;;67089:31:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;66943:185::o;49557:::-;49695:39;49712:4;49718:2;49722:7;49695:39;;;;;;;;;;;;:16;:39::i;19085:152::-;16983:13;:11;:13::i;:::-;-1:-1:-1;;;;;19163:13:0;::::1;;::::0;;;:7:::1;:13;::::0;;;;;;;;:25;;-1:-1:-1;;19163:25:0::1;::::0;::::1;;::::0;;::::1;::::0;;;19204;;540:41:1;;;19204:25:0::1;::::0;513:18:1;19204:25:0::1;;;;;;;19085:152:::0;;:::o;68325:150::-;16983:13;:11;:13::i;:::-;68397:7:::1;:18;68407:8:::0;68397:7;:18:::1;:::i;:::-;;68446:10;-1:-1:-1::0;;;;;68431:36:0::1;;68458:8;68431:36;;;;;;:::i;:::-;;;;;;;;68325:150:::0;:::o;46513:125::-;46577:7;46604:21;46617:7;46604:12;:21::i;:::-;:26;;46513:125;-1:-1:-1;;46513:125:0:o;64575:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;67770:225::-;16983:13;:11;:13::i;:::-;67881:10:::1;:24:::0;;-1:-1:-1;;67881:24:0::1;::::0;::::1;;;::::0;;67921:35:::1;::::0;67935:10:::1;::::0;67921:35:::1;::::0;::::1;::::0;67947:8;;67921:35:::1;:::i;:::-;;;;;;;;67967:20;67978:8;67967:10;:20::i;:::-;67770:225:::0;;:::o;43838:206::-;43902:7;-1:-1:-1;;;;;43926:19:0;;43922:60;;43954:28;;-1:-1:-1;;;43954:28:0;;;;;;;;;;;43922:60;-1:-1:-1;;;;;;44008:19:0;;;;;:12;:19;;;;;:27;;;;43838:206::o;17745:103::-;16983:13;:11;:13::i;:::-;17810:30:::1;17837:1;17810:18;:30::i;:::-;17745:103::o:0;46874:104::-;46930:13;46963:7;46956:14;;;;;:::i;65467:987::-;65336:8;;;;;;;65328:56;;;;-1:-1:-1;;;65328:56:0;;9571:2:1;65328:56:0;;;9553:21:1;9610:2;9590:18;;;9583:30;9649:34;9629:18;;;9622:62;-1:-1:-1;;;9700:18:1;;;9693:33;9743:19;;65328:56:0;9369:399:1;65328:56:0;65590:9:::1;::::0;42516:1;42922:12;42712:7;42906:13;65579:7;;42906:28;;-1:-1:-1;;42906:46:0;65563:23:::1;;;;:::i;:::-;:36;;65541:117;;;::::0;-1:-1:-1;;;65541:117:0;;10237:2:1;65541:117:0::1;::::0;::::1;10219:21:1::0;10276:2;10256:18;;;10249:30;10315:33;10295:18;;;10288:61;10366:18;;65541:117:0::1;10035:355:1::0;65541:117:0::1;65702:8;;65691:7;:19;;65669:114;;;::::0;-1:-1:-1;;;65669:114:0;;10597:2:1;65669:114:0::1;::::0;::::1;10579:21:1::0;10636:2;10616:18;;;10609:30;10675:34;10655:18;;;10648:62;-1:-1:-1;;;10726:18:1;;;10719:43;10779:19;;65669:114:0::1;10395:409:1::0;65669:114:0::1;65824:10;65817:18;::::0;;;:6:::1;:18;::::0;;;;;::::1;;65816:19;65794:137;;;::::0;-1:-1:-1;;;65794:137:0;;11011:2:1;65794:137:0::1;::::0;::::1;10993:21:1::0;11050:2;11030:18;;;11023:30;;;11089:34;11069:18;;;11062:62;11160:34;11140:18;;;11133:62;-1:-1:-1;;;11211:19:1;;;11204:35;11256:19;;65794:137:0::1;10809:472:1::0;65794:137:0::1;65975:7;65963:9;;:19;;;;:::i;:::-;65950:9;:32;65942:63;;;::::0;-1:-1:-1;;;65942:63:0;;11661:2:1;65942:63:0::1;::::0;::::1;11643:21:1::0;11700:2;11680:18;;;11673:30;-1:-1:-1;;;11719:18:1;;;11712:48;11777:18;;65942:63:0::1;11459:342:1::0;65942:63:0::1;66022:12;::::0;::::1;;:16:::0;66018:335:::1;;66116:12;::::0;::::1;;66105:7:::0;66081:21:::1;66091:10;66081:9;:21::i;:::-;:31;;;;:::i;:::-;:47;;66055:159;;;::::0;-1:-1:-1;;;66055:159:0;;12008:2:1;66055:159:0::1;::::0;::::1;11990:21:1::0;12047:2;12027:18;;;12020:30;12086:34;12066:18;;;12059:62;-1:-1:-1;;;12137:18:1;;;12130:48;12195:19;;66055:159:0::1;11806:414:1::0;66055:159:0::1;66268:12;::::0;::::1;;66257:7:::0;66233:21:::1;66243:10;66233:9;:21::i;:::-;:31;;;;:::i;:::-;:47:::0;66229:113:::1;;66308:10;66301:18;::::0;;;:6:::1;:18;::::0;;;;:25;;-1:-1:-1;;66301:25:0::1;66322:4;66301:25;::::0;;66229:113:::1;66363:42;::::0;66379:4:::1;::::0;66395:9:::1;66363:42:::0;::::1;;;::::0;::::1;::::0;;;66395:9;66379:4;66363:42;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;66416:30;66426:10;66438:7;66416:9;:30::i;:::-;65467:987:::0;:::o;48645:319::-;15861:10;-1:-1:-1;;;;;48776:24:0;;;48772:54;;48809:17;;-1:-1:-1;;;48809:17:0;;;;;;;;;;;48772:54;15861:10;48839:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;48839:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;48839:53:0;;;;;;;;;;48908:48;;540:41:1;;;48839:42:0;;15861:10;48908:48;;513:18:1;48908:48:0;;;;;;;48645:319;;:::o;67428:170::-;16983:13;:11;:13::i;:::-;67508:10:::1;:24;67521:11:::0;67508:10;:24:::1;:::i;:::-;;67566:10;-1:-1:-1::0;;;;;67548:42:0::1;;67578:11;67548:42;;;;;;:::i;66587:348::-:0;16983:13;:11;:13::i;:::-;-1:-1:-1;;;;;66706:23:0;::::1;66698:65;;;::::0;-1:-1:-1;;;66698:65:0;;12427:2:1;66698:65:0::1;::::0;::::1;12409:21:1::0;12466:2;12446:18;;;12439:30;12505:31;12485:18;;;12478:59;12554:18;;66698:65:0::1;12225:353:1::0;66698:65:0::1;66823:9;::::0;42516:1;42922:12;42712:7;42906:13;66812:8;;42906:28;;-1:-1:-1;;42906:46:0;66796:24:::1;;;;:::i;:::-;:36;66774:110;;;::::0;-1:-1:-1;;;66774:110:0;;12785:2:1;66774:110:0::1;::::0;::::1;12767:21:1::0;12824:2;12804:18;;;12797:30;12863:26;12843:18;;;12836:54;12907:18;;66774:110:0::1;12583:348:1::0;66774:110:0::1;66897:30;66907:9;66918:8;66897:9;:30::i;49813:392::-:0;49980:28;49990:4;49996:2;50000:7;49980:9;:28::i;:::-;-1:-1:-1;;;;;50023:13:0;;20868:19;:23;50019:179;;50058:56;50089:4;50095:2;50099:7;50108:5;50058:30;:56::i;:::-;50053:145;;50142:40;;-1:-1:-1;;;50142:40:0;;;;;;;;;;;50053:145;49813:392;;;;:::o;68558:782::-;68712:10;;68676:13;;68712:10;;68707:625;;68767:10;68761:24;;;;;:::i;:::-;;;68789:1;68761:29;:324;;;;;;;;;;;;;;;-1:-1:-1;;;68761:324:0;;;;;;68894:10;68935:18;:7;:16;:18::i;:::-;68847:171;;;;;;;;;:::i;:::-;;;;;;;;;;;;;68737:348;68558:782;-1:-1:-1;;68558:782:0:o;68707:625::-;69144:7;69138:21;;;;;:::i;:::-;;;69163:1;69138:26;:194;;69322:10;69138:194;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69238:7;69247:18;:7;:16;:18::i;68707:625::-;68558:782;;;:::o;64659:24::-;;;;;;;:::i;67136:146::-;16983:13;:11;:13::i;:::-;67205:8:::1;::::0;::::1;::::0;::::1;;;67204:9;67196:52;;;::::0;-1:-1:-1;;;67196:52:0;;14330:2:1;67196:52:0::1;::::0;::::1;14312:21:1::0;14369:2;14349:18;;;14342:30;14408:32;14388:18;;;14381:60;14458:18;;67196:52:0::1;14128:354:1::0;67196:52:0::1;67259:8;:15:::0;;-1:-1:-1;;67259:15:0::1;;;::::0;;67136:146::o;49035:214::-;-1:-1:-1;;;;;49206:25:0;;;49177:4;49206:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;49035:214::o;18003:238::-;16983:13;:11;:13::i;:::-;-1:-1:-1;;;;;18106:22:0;::::1;18084:110;;;::::0;-1:-1:-1;;;18084:110:0;;14689:2:1;18084:110:0::1;::::0;::::1;14671:21:1::0;14728:2;14708:18;;;14701:30;14767:34;14747:18;;;14740:62;-1:-1:-1;;;14818:18:1;;;14811:36;14864:19;;18084:110:0::1;14487:402:1::0;18084:110:0::1;18205:28;18224:8;18205:18;:28::i;69348:109::-:0;16983:13;:11;:13::i;:::-;69398:51:::1;::::0;69406:10:::1;::::0;69427:21:::1;69398:51:::0;::::1;;;::::0;::::1;::::0;;;69427:21;69406:10;69398:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;50460:213:::0;50517:4;50573:7;42516:1;50554:26;;:66;;;;;50607:13;;50597:7;:23;50554:66;:111;;;;-1:-1:-1;;50638:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;50638:27:0;;;;50637:28;;50460:213::o;59994:196::-;60109:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;60109:29:0;-1:-1:-1;;;;;60109:29:0;;;;;;;;;60154:28;;60109:24;;60154:28;;;;;;;59994:196;;;:::o;17262:132::-;17170:6;;-1:-1:-1;;;;;17170:6:0;15861:10;17326:23;17318:68;;;;-1:-1:-1;;;17318:68:0;;15096:2:1;17318:68:0;;;15078:21:1;;;15115:18;;;15108:30;15174:34;15154:18;;;15147:62;15226:18;;17318:68:0;14894:356:1;54860:2212:0;55057:35;55095:21;55108:7;55095:12;:21::i;:::-;55057:59;;55155:4;-1:-1:-1;;;;;55133:26:0;:13;:18;;;-1:-1:-1;;;;;55133:26:0;;55129:67;;55168:28;;-1:-1:-1;;;55168:28:0;;;;;;;;;;;55129:67;55209:22;15861:10;-1:-1:-1;;;;;55235:20:0;;;;:73;;-1:-1:-1;55272:36:0;55289:4;15861:10;49035:214;:::i;55272:36::-;55235:126;;;-1:-1:-1;15861:10:0;55325:20;55337:7;55325:11;:20::i;:::-;-1:-1:-1;;;;;55325:36:0;;55235:126;55209:153;;55380:17;55375:66;;55406:35;;-1:-1:-1;;;55406:35:0;;;;;;;;;;;55375:66;-1:-1:-1;;;;;55456:16:0;;55452:52;;55481:23;;-1:-1:-1;;;55481:23:0;;;;;;;;;;;55452:52;55625:35;55642:1;55646:7;55655:4;55625:8;:35::i;:::-;-1:-1:-1;;;;;55956:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;55956:31:0;;;;;;;-1:-1:-1;;55956:31:0;;;;;;;56002:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;56002:29:0;;;;;;;;;;;56082:20;;;:11;:20;;;;;;56117:18;;-1:-1:-1;;;;;;56150:49:0;;;;-1:-1:-1;;;56183:15:0;56150:49;;;;;;;;;;56473:11;;56533:24;;;;;56576:13;;56082:20;;56533:24;;56576:13;56572:384;;56786:13;;56771:11;:28;56767:174;;56824:20;;56893:28;;;;56867:54;;-1:-1:-1;;;56867:54:0;-1:-1:-1;;;;;;56867:54:0;;;-1:-1:-1;;;;;56824:20:0;;56867:54;;;;56767:174;55931:1036;;;57003:7;56999:2;-1:-1:-1;;;;;56984:27:0;56993:4;-1:-1:-1;;;;;56984:27:0;;;;;;;;;;;54964:2108;;54860:2212;;;:::o;45219:1232::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;45362:7:0;;42516:1;45411:23;45407:977;;45464:13;;45457:4;:20;45453:931;;;45502:31;45536:17;;;:11;:17;;;;;;;;;45502:51;;;;;;;;;-1:-1:-1;;;;;45502:51:0;;;;-1:-1:-1;;;45502:51:0;;;;;;;;;;;-1:-1:-1;;;45502:51:0;;;;;;;;;;;;;;45576:789;;45630:14;;-1:-1:-1;;;;;45630:28:0;;45626:109;;45698:9;45219:1232;-1:-1:-1;;;45219:1232:0:o;45626:109::-;-1:-1:-1;;;46101:6:0;46150:17;;;;:11;:17;;;;;;;;;46138:29;;;;;;;;;-1:-1:-1;;;;;46138:29:0;;;;;-1:-1:-1;;;46138:29:0;;;;;;;;;;;-1:-1:-1;;;46138:29:0;;;;;;;;;;;;;46202:28;46198:117;;46274:9;45219:1232;-1:-1:-1;;;45219:1232:0:o;46198:117::-;46057:285;;;45479:905;45453:931;46412:31;;-1:-1:-1;;;46412:31:0;;;;;;;;;;;18401:191;18494:6;;;-1:-1:-1;;;;;18511:17:0;;;-1:-1:-1;;;;;;18511:17:0;;;;;;;18544:40;;18494:6;;;18511:17;18494:6;;18544:40;;18475:16;;18544:40;18464:128;18401:191;:::o;50757:104::-;50826:27;50836:2;50840:8;50826:27;;;;;;;;;;;;:9;:27::i;60682:772::-;60879:155;;-1:-1:-1;;;60879:155:0;;60845:4;;-1:-1:-1;;;;;60879:36:0;;;;;:155;;15861:10;;60965:4;;60988:7;;61014:5;;60879:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60879:155:0;;;;;;;;-1:-1:-1;;60879:155:0;;;;;;;;;;;;:::i;:::-;;;60862:585;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61205:6;:13;61222:1;61205:18;61201:235;;61251:40;;-1:-1:-1;;;61251:40:0;;;;;;;;;;;61201:235;61394:6;61388:13;61379:6;61375:2;61371:15;61364:38;60862:585;-1:-1:-1;;;;;;61090:55:0;-1:-1:-1;;;61090:55:0;;-1:-1:-1;60862:585:0;60682:772;;;;;;:::o;13315:716::-;13371:13;13422:14;13439:17;13450:5;13439:10;:17::i;:::-;13459:1;13439:21;13422:38;;13475:20;13509:6;13498:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13498:18:0;-1:-1:-1;13475:41:0;-1:-1:-1;13640:28:0;;;13656:2;13640:28;13697:288;-1:-1:-1;;13729:5:0;-1:-1:-1;;;13866:2:0;13855:14;;13850:30;13729:5;13837:44;13927:2;13918:11;;;-1:-1:-1;13948:21:0;13697:288;13948:21;-1:-1:-1;14006:6:0;13315:716;-1:-1:-1;;;13315:716:0:o;51234:1940::-;51357:20;51380:13;-1:-1:-1;;;;;51408:16:0;;51404:48;;51433:19;;-1:-1:-1;;;51433:19:0;;;;;;;;;;;51404:48;51467:8;51479:1;51467:13;51463:44;;51489:18;;-1:-1:-1;;;51489:18:0;;;;;;;;;;;51463:44;-1:-1:-1;;;;;51858:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;51917:49:0;;51858:44;;;;;;;;51917:49;;;;-1:-1:-1;;51858:44:0;;;;;;51917:49;;;;;;;;;;;;;;;;51983:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;52033:66:0;;;-1:-1:-1;;;52083:15:0;52033:66;;;;;;;;;;;;;51983:25;;52180:23;;;;20868:19;:23;52220:822;;52260:504;52291:38;;52316:12;;-1:-1:-1;;;;;52291:38:0;;;52308:1;;52291:38;;52308:1;;52291:38;52383:212;52452:1;52485:2;52518:14;;;;;;52563:5;52383:30;:212::i;:::-;52352:365;;52653:40;;-1:-1:-1;;;52653:40:0;;;;;;;;;;;52352:365;52759:3;52744:12;:18;52260:504;;52845:12;52828:13;;:29;52824:43;;52859:8;;;52824:43;52220:822;;;52908:119;52939:40;;52964:14;;;;;-1:-1:-1;;;;;52939:40:0;;;52956:1;;52939:40;;52956:1;;52939:40;53022:3;53007:12;:18;52908:119;;52220:822;-1:-1:-1;53056:13:0;:28;;;53106:60;;53139:2;53143:12;53157:8;53106:60;:::i;10205:922::-;10258:7;;-1:-1:-1;;;10336:15:0;;10332:102;;-1:-1:-1;;;10372:15:0;;;-1:-1:-1;10416:2:0;10406:12;10332:102;10461:6;10452:5;:15;10448:102;;10497:6;10488:15;;;-1:-1:-1;10532:2:0;10522:12;10448:102;10577:6;10568:5;:15;10564:102;;10613:6;10604:15;;;-1:-1:-1;10648:2:0;10638:12;10564:102;10693:5;10684;:14;10680:99;;10728:5;10719:14;;;-1:-1:-1;10762:1:0;10752:11;10680:99;10806:5;10797;:14;10793:99;;10841:5;10832:14;;;-1:-1:-1;10875:1:0;10865:11;10793:99;10919:5;10910;:14;10906:99;;10954:5;10945:14;;;-1:-1:-1;10988:1:0;10978:11;10906:99;11032:5;11023;:14;11019:66;;11068:1;11058:11;11113:6;10205:922;-1:-1:-1;;10205:922:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:186::-;2419:6;2472:2;2460:9;2451:7;2447:23;2443:32;2440:52;;;2488:1;2485;2478:12;2440:52;2511:29;2530:9;2511:29;:::i;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;2884:272::-;2942:6;2995:2;2983:9;2974:7;2970:23;2966:32;2963:52;;;3011:1;3008;3001:12;2963:52;3050:9;3037:23;3100:6;3093:5;3089:18;3082:5;3079:29;3069:57;;3122:1;3119;3112:12;3354:160;3419:20;;3475:13;;3468:21;3458:32;;3448:60;;3504:1;3501;3494:12;3519:254;3584:6;3592;3645:2;3633:9;3624:7;3620:23;3616:32;3613:52;;;3661:1;3658;3651:12;3613:52;3684:29;3703:9;3684:29;:::i;:::-;3674:39;;3732:35;3763:2;3752:9;3748:18;3732:35;:::i;:::-;3722:45;;3519:254;;;;;:::o;3778:127::-;3839:10;3834:3;3830:20;3827:1;3820:31;3870:4;3867:1;3860:15;3894:4;3891:1;3884:15;3910:632;3975:5;4005:18;4046:2;4038:6;4035:14;4032:40;;;4052:18;;:::i;:::-;4127:2;4121:9;4095:2;4181:15;;-1:-1:-1;;4177:24:1;;;4203:2;4173:33;4169:42;4157:55;;;4227:18;;;4247:22;;;4224:46;4221:72;;;4273:18;;:::i;:::-;4313:10;4309:2;4302:22;4342:6;4333:15;;4372:6;4364;4357:22;4412:3;4403:6;4398:3;4394:16;4391:25;4388:45;;;4429:1;4426;4419:12;4388:45;4479:6;4474:3;4467:4;4459:6;4455:17;4442:44;4534:1;4527:4;4518:6;4510;4506:19;4502:30;4495:41;;;;3910:632;;;;;:::o;4547:222::-;4590:5;4643:3;4636:4;4628:6;4624:17;4620:27;4610:55;;4661:1;4658;4651:12;4610:55;4683:80;4759:3;4750:6;4737:20;4730:4;4722:6;4718:17;4683:80;:::i;4774:322::-;4843:6;4896:2;4884:9;4875:7;4871:23;4867:32;4864:52;;;4912:1;4909;4902:12;4864:52;4952:9;4939:23;4985:18;4977:6;4974:30;4971:50;;;5017:1;5014;5007:12;4971:50;5040;5082:7;5073:6;5062:9;5058:22;5040:50;:::i;5101:390::-;5176:6;5184;5237:2;5225:9;5216:7;5212:23;5208:32;5205:52;;;5253:1;5250;5243:12;5205:52;5293:9;5280:23;5326:18;5318:6;5315:30;5312:50;;;5358:1;5355;5348:12;5312:50;5381;5423:7;5414:6;5403:9;5399:22;5381:50;:::i;:::-;5371:60;;;5450:35;5481:2;5470:9;5466:18;5450:35;:::i;5496:667::-;5591:6;5599;5607;5615;5668:3;5656:9;5647:7;5643:23;5639:33;5636:53;;;5685:1;5682;5675:12;5636:53;5708:29;5727:9;5708:29;:::i;:::-;5698:39;;5756:38;5790:2;5779:9;5775:18;5756:38;:::i;:::-;5746:48;;5841:2;5830:9;5826:18;5813:32;5803:42;;5896:2;5885:9;5881:18;5868:32;5923:18;5915:6;5912:30;5909:50;;;5955:1;5952;5945:12;5909:50;5978:22;;6031:4;6023:13;;6019:27;-1:-1:-1;6009:55:1;;6060:1;6057;6050:12;6009:55;6083:74;6149:7;6144:2;6131:16;6126:2;6122;6118:11;6083:74;:::i;:::-;6073:84;;;5496:667;;;;;;;:::o;6168:260::-;6236:6;6244;6297:2;6285:9;6276:7;6272:23;6268:32;6265:52;;;6313:1;6310;6303:12;6265:52;6336:29;6355:9;6336:29;:::i;:::-;6326:39;;6384:38;6418:2;6407:9;6403:18;6384:38;:::i;6433:380::-;6512:1;6508:12;;;;6555;;;6576:61;;6630:4;6622:6;6618:17;6608:27;;6576:61;6683:2;6675:6;6672:14;6652:18;6649:38;6646:161;;6729:10;6724:3;6720:20;6717:1;6710:31;6764:4;6761:1;6754:15;6792:4;6789:1;6782:15;6646:161;;6433:380;;;:::o;7291:545::-;7393:2;7388:3;7385:11;7382:448;;;7429:1;7454:5;7450:2;7443:17;7499:4;7495:2;7485:19;7569:2;7557:10;7553:19;7550:1;7546:27;7540:4;7536:38;7605:4;7593:10;7590:20;7587:47;;;-1:-1:-1;7628:4:1;7587:47;7683:2;7678:3;7674:12;7671:1;7667:20;7661:4;7657:31;7647:41;;7738:82;7756:2;7749:5;7746:13;7738:82;;;7801:17;;;7782:1;7771:13;7738:82;;;7742:3;;;7291:545;;;:::o;8012:1352::-;8138:3;8132:10;8165:18;8157:6;8154:30;8151:56;;;8187:18;;:::i;:::-;8216:97;8306:6;8266:38;8298:4;8292:11;8266:38;:::i;:::-;8260:4;8216:97;:::i;:::-;8368:4;;8432:2;8421:14;;8449:1;8444:663;;;;9151:1;9168:6;9165:89;;;-1:-1:-1;9220:19:1;;;9214:26;9165:89;-1:-1:-1;;7969:1:1;7965:11;;;7961:24;7957:29;7947:40;7993:1;7989:11;;;7944:57;9267:81;;8414:944;;8444:663;7238:1;7231:14;;;7275:4;7262:18;;-1:-1:-1;;8480:20:1;;;8598:236;8612:7;8609:1;8606:14;8598:236;;;8701:19;;;8695:26;8680:42;;8793:27;;;;8761:1;8749:14;;;;8628:19;;8598:236;;;8602:3;8862:6;8853:7;8850:19;8847:201;;;8923:19;;;8917:26;-1:-1:-1;;9006:1:1;9002:14;;;9018:3;8998:24;8994:37;8990:42;8975:58;8960:74;;8847:201;-1:-1:-1;;;;;9094:1:1;9078:14;;;9074:22;9061:36;;-1:-1:-1;8012:1352:1:o;9773:127::-;9834:10;9829:3;9825:20;9822:1;9815:31;9865:4;9862:1;9855:15;9889:4;9886:1;9879:15;9905:125;9970:9;;;9991:10;;;9988:36;;;10004:18;;:::i;11286:168::-;11359:9;;;11390;;11407:15;;;11401:22;;11387:37;11377:71;;11428:18;;:::i;12936:1187::-;13213:3;13242:1;13275:6;13269:13;13305:36;13331:9;13305:36;:::i;:::-;13360:1;13377:18;;;13404:133;;;;13551:1;13546:356;;;;13370:532;;13404:133;-1:-1:-1;;13437:24:1;;13425:37;;13510:14;;13503:22;13491:35;;13482:45;;;-1:-1:-1;13404:133:1;;13546:356;13577:6;13574:1;13567:17;13607:4;13652:2;13649:1;13639:16;13677:1;13691:165;13705:6;13702:1;13699:13;13691:165;;;13783:14;;13770:11;;;13763:35;13826:16;;;;13720:10;;13691:165;;;13695:3;;;13885:6;13880:3;13876:16;13869:23;;13370:532;;;;;13933:6;13927:13;13949:68;14008:8;14003:3;13996:4;13988:6;13984:17;13949:68;:::i;:::-;-1:-1:-1;;;14039:18:1;;14066:22;;;14115:1;14104:13;;12936:1187;-1:-1:-1;;;;12936:1187:1:o;15255:489::-;-1:-1:-1;;;;;15524:15:1;;;15506:34;;15576:15;;15571:2;15556:18;;15549:43;15623:2;15608:18;;15601:34;;;15671:3;15666:2;15651:18;;15644:31;;;15449:4;;15692:46;;15718:19;;15710:6;15692:46;:::i;:::-;15684:54;15255:489;-1:-1:-1;;;;;;15255:489:1:o;15749:249::-;15818:6;15871:2;15859:9;15850:7;15846:23;15842:32;15839:52;;;15887:1;15884;15877:12;15839:52;15919:9;15913:16;15938:30;15962:5;15938:30;:::i
Swarm Source
ipfs://8211abc48a8e1c27eb5dece6dc6e6b9c3558c9a3bb49e0c2357a2437d45d3490
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.