ERC-721
Overview
Max Total Supply
833 DRDP
Holders
132
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DRDPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DuckRaceDerbyPond
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-09-29 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.19; /** * @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 DuckRaceDerbyPond is ERC721A, AccessLock { using Counters for Counters.Counter; using Strings for uint256; string public baseURI; string public initialURI; bool public isRevealed; bool public mintOpen = true; bool public metadataLocked; uint256 public maxSupply = 1000; uint256 public mintPrice = 0.23 ether; uint16 public maxPerWallet; uint256 public maxPerTx = 10; address public treasury = 0xa65fD9Fff67B0F3df29e32f12ab8A2a6e770Eb67; 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(treasury).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 _setMaxPerWallet(uint16 _newMaxPerWallet) external onlyOwner { require(_newMaxPerWallet > 0, "Cannot set to zero"); maxPerWallet = _newMaxPerWallet; } function _changeMaxPerTx(uint256 _newMaxPerTx) external onlyOwner { require(_newMaxPerTx > 0, "Error: Can't set to zero"); maxPerTx = _newMaxPerTx; } // function _openPublicMinting() external onlyOwner { // require(!mintOpen, "Error: Mint is already enabled"); // mintOpen = true; // } function _lockMetadata() external onlyOwner { require(!metadataLocked, "Error: Already locked"); metadataLocked = true; } /// @notice - Set initial unrevealed URI /// @dev - callable only by admin /// @param _initialURI - initial unrevealed URI function setInitialURI(string memory _initialURI) external onlyOwner { require(!metadataLocked, "Error: Metadata is locked"); initialURI = _initialURI; emit InitialURIUpdated(msg.sender, _initialURI); } /// @notice - Reveal NFTs /// @dev - callable only by admin /// @param baseURI_ - base URI to set /// isRevealed set to true function reveal(string memory baseURI_) external onlyOwner { require(!isRevealed, "Error: Already revealed."); isRevealed = true; 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 { require(!metadataLocked, "Error: Metadata is locked"); 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":"uint256","name":"_newMaxPerTx","type":"uint256"}],"name":"_changeMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_lockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_newMaxPerWallet","type":"uint16"}],"name":"_setMaxPerWallet","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":[],"name":"metadataLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}],"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"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600c805461ff0019166101001790556103e8600d556703311fc80a570000600e55600a601055601180546001600160a01b03191673a65fd9fff67b0f3df29e32f12ab8a2a6e770eb671790553480156200005d57600080fd5b50604051620026f7380380620026f7833981016040819052620000809162000184565b6040518060400160405280601481526020017f4475636b205261636520446572627920506f6e64000000000000000000000000815250604051806040016040528060048152602001630445244560e41b8152508160029081620000e49190620002e8565b506003620000f38282620002e8565b505060016000555062000106336200011c565b600b620001148282620002e8565b5050620003b4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200019857600080fd5b82516001600160401b0380821115620001b057600080fd5b818501915085601f830112620001c557600080fd5b815181811115620001da57620001da6200016e565b604051601f8201601f19908116603f011681019083821181831017156200020557620002056200016e565b8160405282815288868487010111156200021e57600080fd5b600093505b8284101562000242578484018601518185018701529285019262000223565b600086848301015280965050505050505092915050565b600181811c908216806200026e57607f821691505b6020821081036200028f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002e357600081815260208120601f850160051c81016020861015620002be5750805b601f850160051c820191505b81811015620002df57828155600101620002ca565b5050505b505050565b81516001600160401b038111156200030457620003046200016e565b6200031c8162000315845462000259565b8462000295565b602080601f8311600181146200035457600084156200033b5750858301515b600019600386901b1c1916600185901b178555620002df565b600085815260208120601f198616915b82811015620003855788860151825594840194600190910190840162000364565b5085821015620003a45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61233380620003c46000396000f3fe60806040526004361061023f5760003560e01c80636817c76c1161012e578063a32a7b65116100ab578063d5abeb011161006f578063d5abeb01146106ba578063e985e9c5146106d0578063f2fde38b146106f0578063f968adbe14610710578063fdff9b811461072657600080fd5b8063a32a7b6514610625578063af3da2f414610645578063b88d4fde14610665578063c87b56dd14610685578063c9a23077146106a557600080fd5b80637ad3abfa116100f25780637ad3abfa1461059f5780638da5cb5b146105bf57806395d89b41146105dd578063a0712d68146105f2578063a22cb4651461060557600080fd5b80636817c76c1461051f57806369d2ceb1146105355780636c0360eb1461055557806370a082311461056a578063715018a61461058a57600080fd5b806329cfd322116101bc5780634c261247116101805780634c2612471461048557806354214f69146104a557806355f804b3146104bf57806361d027b3146104df5780636352211e146104ff57600080fd5b806329cfd322146103e257806342842e0e146103f7578063432a044514610417578063453c2310146104375780634b0bddd21461046557600080fd5b80631c9641fb116102035780631c9641fb146103235780631e7269c51461034357806323b872dd1461037357806324bbd0491461039357806324d7806c146103b257600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da57806318160ddd146102fc57600080fd5b3661024657005b600080fd5b34801561025757600080fd5b5061026b610266366004611d68565b61073b565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b5061029561078d565b6040516102779190611ddc565b3480156102ae57600080fd5b506102c26102bd366004611def565b61081f565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004611e1f565b610863565b005b34801561030857600080fd5b5060015460005403600019015b604051908152602001610277565b34801561032f57600080fd5b506102fa61033e366004611def565b6108e9565b34801561034f57600080fd5b5061026b61035e366004611e49565b60126020526000908152604090205460ff1681565b34801561037f57600080fd5b506102fa61038e366004611e64565b6108f6565b34801561039f57600080fd5b50600c5461026b90610100900460ff1681565b3480156103be57600080fd5b5061026b6103cd366004611e49565b60096020526000908152604090205460ff1681565b3480156103ee57600080fd5b506102fa610901565b34801561040357600080fd5b506102fa610412366004611e64565b610972565b34801561042357600080fd5b506102fa610432366004611def565b61098d565b34801561044357600080fd5b50600f546104529061ffff1681565b60405161ffff9091168152602001610277565b34801561047157600080fd5b506102fa610480366004611ea0565b6109ea565b34801561049157600080fd5b506102fa6104a0366004611f68565b610a51565b3480156104b157600080fd5b50600c5461026b9060ff1681565b3480156104cb57600080fd5b506102fa6104da366004611f68565b610aff565b3480156104eb57600080fd5b506011546102c2906001600160a01b031681565b34801561050b57600080fd5b506102c261051a366004611def565b610bad565b34801561052b57600080fd5b50610315600e5481565b34801561054157600080fd5b50600c5461026b9062010000900460ff1681565b34801561056157600080fd5b50610295610bbf565b34801561057657600080fd5b50610315610585366004611e49565b610c4d565b34801561059657600080fd5b506102fa610c9c565b3480156105ab57600080fd5b506102fa6105ba366004611fb1565b610cb0565b3480156105cb57600080fd5b506008546001600160a01b03166102c2565b3480156105e957600080fd5b50610295610d19565b6102fa610600366004611def565b610d28565b34801561061157600080fd5b506102fa610620366004611ea0565b611050565b34801561063157600080fd5b506102fa610640366004611f68565b6110e5565b34801561065157600080fd5b506102fa610660366004611e1f565b611188565b34801561067157600080fd5b506102fa610680366004611fd5565b61125c565b34801561069157600080fd5b506102956106a0366004611def565b6112a6565b3480156106b157600080fd5b506102956113e0565b3480156106c657600080fd5b50610315600d5481565b3480156106dc57600080fd5b5061026b6106eb366004612051565b6113ed565b3480156106fc57600080fd5b506102fa61070b366004611e49565b61141b565b34801561071c57600080fd5b5061031560105481565b34801561073257600080fd5b506102fa611491565b60006001600160e01b031982166380ac58cd60e01b148061076c57506001600160e01b03198216635b5e139f60e01b145b8061078757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461079c90612084565b80601f01602080910402602001604051908101604052809291908181526020018280546107c890612084565b80156108155780601f106107ea57610100808354040283529160200191610815565b820191906000526020600020905b8154815290600101906020018083116107f857829003601f168201915b5050505050905090565b600061082a826114c5565b610847576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061086e82610bad565b9050806001600160a01b0316836001600160a01b0316036108a25760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108d9576108bc81336113ed565b6108d9576040516367d9dca160e11b815260040160405180910390fd5b6108e48383836114fe565b505050565b6108f161155a565b600e55565b6108e48383836115b4565b61090961155a565b600c5462010000900460ff161561095f5760405162461bcd60e51b8152602060048201526015602482015274115c9c9bdc8e88105b1c9958591e481b1bd8dad959605a1b60448201526064015b60405180910390fd5b600c805462ff0000191662010000179055565b6108e48383836040518060200160405280600081525061125c565b61099561155a565b600081116109e55760405162461bcd60e51b815260206004820152601860248201527f4572726f723a2043616e27742073657420746f207a65726f00000000000000006044820152606401610956565b601055565b6109f261155a565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527fe68d2c359a771606c400cf8b87000cf5864010363d6a736e98f5047b7bbe18e9910160405180910390a25050565b610a5961155a565b600c5460ff1615610aac5760405162461bcd60e51b815260206004820152601860248201527f4572726f723a20416c72656164792072657665616c65642e00000000000000006044820152606401610956565b600c805460ff1916600117905560405133907fffcd326b78e78031a693e986f76bfa19d1b13f1fe4b2ec67c23f46456ee100de90610aeb908490611ddc565b60405180910390a2610afc81610aff565b50565b610b0761155a565b600c5462010000900460ff1615610b5c5760405162461bcd60e51b8152602060048201526019602482015278115c9c9bdc8e8813595d1859185d18481a5cc81b1bd8dad959603a1b6044820152606401610956565b600a610b68828261210c565b50336001600160a01b03167ff765b68b6ff897de964353a0eb194e46ecea8772879eb880b4b0fd277124922c82604051610ba29190611ddc565b60405180910390a250565b6000610bb8826117a3565b5192915050565b600a8054610bcc90612084565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf890612084565b8015610c455780601f10610c1a57610100808354040283529160200191610c45565b820191906000526020600020905b815481529060010190602001808311610c2857829003601f168201915b505050505081565b60006001600160a01b038216610c76576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ca461155a565b610cae60006118c7565b565b610cb861155a565b60008161ffff1611610d015760405162461bcd60e51b815260206004820152601260248201527143616e6e6f742073657420746f207a65726f60701b6044820152606401610956565b600f805461ffff191661ffff92909216919091179055565b60606003805461079c90612084565b600c54610100900460ff16610d8b5760405162461bcd60e51b815260206004820152602360248201527f4d696e74696e67206973206e6f7420796574206f70656e20666f72207075626c60448201526269632160e81b6064820152608401610956565b600d546001546000548391900360001901610da691906121e2565b1115610df45760405162461bcd60e51b815260206004820152601f60248201527f4572726f723a2043616e277420657863656564206d617820737570706c7921006044820152606401610956565b601054811115610e5c5760405162461bcd60e51b815260206004820152602d60248201527f4572726f3a2043616e2774206d696e74206d6f7265207468616e206d6178207060448201526c195c881d1e08185b1b1bddd959609a1b6064820152608401610956565b3360009081526012602052604090205460ff1615610ef05760405162461bcd60e51b8152602060048201526044602482018190527f4572726f723a20546869732077616c6c65742068617320616c7265616479206d908201527f696e746564206974732071756f7461206f66206d617820616c6c6f776564204e606482015263232a399760e11b608482015260a401610956565b80600e54610efe91906121f5565b3414610f415760405162461bcd60e51b81526020600482015260126024820152714d75737420706179206d696e74206665652160701b6044820152606401610956565b600f5461ffff161561100c57600f5461ffff1681610f5e33610c4d565b610f6891906121e2565b1115610fd15760405162461bcd60e51b815260206004820152603260248201527f4572726f723a2063616e2774206d696e74206d6f7265207468616e206d6178206044820152711c195c881dd85b1b195d08185b1b1bddd95960721b6064820152608401610956565b600f5461ffff1681610fe233610c4d565b610fec91906121e2565b0361100c57336000908152601260205260409020805460ff191660011790555b6011546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611045573d6000803e3d6000fd5b50610afc3382611919565b336001600160a01b038316036110795760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110ed61155a565b600c5462010000900460ff16156111425760405162461bcd60e51b8152602060048201526019602482015278115c9c9bdc8e8813595d1859185d18481a5cc81b1bd8dad959603a1b6044820152606401610956565b600b61114e828261210c565b50336001600160a01b03167f998cc6c827a95d954dd9f7f353dbbb9e4959d633c6639bca42129fa1089c364882604051610ba29190611ddc565b61119061155a565b6001600160a01b0382166111e65760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a207265636970656e74203d3d20616464726573732830290000006044820152606401610956565b600d54600154600054839190036000190161120191906121e2565b1061124e5760405162461bcd60e51b815260206004820152601860248201527f43616e277420657863656564206d617820737570706c792100000000000000006044820152606401610956565b6112588282611919565b5050565b6112678484846115b4565b6001600160a01b0383163b156112a05761128384848484611933565b6112a0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c5460609060ff1661132a57600b80546112c090612084565b90506000036112f95760405180604001604052806012815260200171139bc81a5b9a5d1a585b08155492481cd95d60721b815250610787565b600b61130483611a1f565b60405160200161131592919061220c565b60405160208183030381529060405292915050565b600a805461133790612084565b90506000036113d057600b805461134d90612084565b80601f016020809104026020016040519081016040528092919081815260200182805461137990612084565b80156113c65780601f1061139b576101008083540402835291602001916113c6565b820191906000526020600020905b8154815290600101906020018083116113a957829003601f168201915b5050505050610787565b600a61130483611a1f565b919050565b600b8054610bcc90612084565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61142361155a565b6001600160a01b0381166114885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610956565b610afc816118c7565b61149961155a565b60405133904780156108fc02916000818181858888f19350505050158015610afc573d6000803e3d6000fd5b6000816001111580156114d9575060005482105b8015610787575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610cae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610956565b60006115bf826117a3565b9050836001600160a01b031681600001516001600160a01b0316146115f65760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611614575061161485336113ed565b8061162f5750336116248461081f565b6001600160a01b0316145b90508061164f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661167657604051633a954ecd60e21b815260040160405180910390fd5b611682600084876114fe565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611758576000548214611758578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b604080516060810182526000808252602082018190529181019190915281806001116118ae576000548110156118ae57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906118ac5780516001600160a01b031615611842579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156118a7579392505050565b611842565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611258828260405180602001604052806000815250611ab2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119689033908990889088906004016122a3565b6020604051808303816000875af19250505080156119a3575060408051601f3d908101601f191682019092526119a0918101906122e0565b60015b611a01573d8080156119d1576040519150601f19603f3d011682016040523d82523d6000602084013e6119d6565b606091505b5080516000036119f9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606000611a2c83611c7a565b600101905060008167ffffffffffffffff811115611a4c57611a4c611edc565b6040519080825280601f01601f191660200182016040528015611a76576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611a8057509392505050565b6000546001600160a01b038416611adb57604051622e076360e81b815260040160405180910390fd5b82600003611afc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611c25575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611bee6000878480600101955087611933565b611c0b576040516368d2bf6b60e11b815260040160405180910390fd5b808210611ba3578260005414611c2057600080fd5b611c6a565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611c26575b5060009081556112a09085838684565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611cb95772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611ce5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611d0357662386f26fc10000830492506010015b6305f5e1008310611d1b576305f5e100830492506008015b6127108310611d2f57612710830492506004015b60648310611d41576064830492506002015b600a83106107875760010192915050565b6001600160e01b031981168114610afc57600080fd5b600060208284031215611d7a57600080fd5b8135611d8581611d52565b9392505050565b60005b83811015611da7578181015183820152602001611d8f565b50506000910152565b60008151808452611dc8816020860160208601611d8c565b601f01601f19169290920160200192915050565b602081526000611d856020830184611db0565b600060208284031215611e0157600080fd5b5035919050565b80356001600160a01b03811681146113db57600080fd5b60008060408385031215611e3257600080fd5b611e3b83611e08565b946020939093013593505050565b600060208284031215611e5b57600080fd5b611d8582611e08565b600080600060608486031215611e7957600080fd5b611e8284611e08565b9250611e9060208501611e08565b9150604084013590509250925092565b60008060408385031215611eb357600080fd5b611ebc83611e08565b915060208301358015158114611ed157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f0d57611f0d611edc565b604051601f8501601f19908116603f01168101908282118183101715611f3557611f35611edc565b81604052809350858152868686011115611f4e57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f7a57600080fd5b813567ffffffffffffffff811115611f9157600080fd5b8201601f81018413611fa257600080fd5b611a1784823560208401611ef2565b600060208284031215611fc357600080fd5b813561ffff81168114611d8557600080fd5b60008060008060808587031215611feb57600080fd5b611ff485611e08565b935061200260208601611e08565b925060408501359150606085013567ffffffffffffffff81111561202557600080fd5b8501601f8101871361203657600080fd5b61204587823560208401611ef2565b91505092959194509250565b6000806040838503121561206457600080fd5b61206d83611e08565b915061207b60208401611e08565b90509250929050565b600181811c9082168061209857607f821691505b6020821081036120b857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156108e457600081815260208120601f850160051c810160208610156120e55750805b601f850160051c820191505b81811015612104578281556001016120f1565b505050505050565b815167ffffffffffffffff81111561212657612126611edc565b61213a816121348454612084565b846120be565b602080601f83116001811461216f57600084156121575750858301515b600019600386901b1c1916600185901b178555612104565b600085815260208120601f198616915b8281101561219e5788860151825594840194600190910190840161217f565b50858210156121bc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115610787576107876121cc565b8082028115828204841417610787576107876121cc565b600080845461221a81612084565b60018281168015612232576001811461224757612276565b60ff1984168752821515830287019450612276565b8860005260208060002060005b8581101561226d5781548a820152908401908201612254565b50505082870194505b50505050835161228a818360208801611d8c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122d690830184611db0565b9695505050505050565b6000602082840312156122f257600080fd5b8151611d8581611d5256fea2646970667358221220bab62e0b7c631340b58919d108ba6a82748a27b79b8b8b28cfb697ed107de85564736f6c634300081300330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f6261667962656967766b61367470727769366172657864777a6b333762776b706677336b6666377a706a713637697a78683336647a3232737367612e697066732e6e667473746f726167652e6c696e6b2f00000000000000
Deployed Bytecode
0x60806040526004361061023f5760003560e01c80636817c76c1161012e578063a32a7b65116100ab578063d5abeb011161006f578063d5abeb01146106ba578063e985e9c5146106d0578063f2fde38b146106f0578063f968adbe14610710578063fdff9b811461072657600080fd5b8063a32a7b6514610625578063af3da2f414610645578063b88d4fde14610665578063c87b56dd14610685578063c9a23077146106a557600080fd5b80637ad3abfa116100f25780637ad3abfa1461059f5780638da5cb5b146105bf57806395d89b41146105dd578063a0712d68146105f2578063a22cb4651461060557600080fd5b80636817c76c1461051f57806369d2ceb1146105355780636c0360eb1461055557806370a082311461056a578063715018a61461058a57600080fd5b806329cfd322116101bc5780634c261247116101805780634c2612471461048557806354214f69146104a557806355f804b3146104bf57806361d027b3146104df5780636352211e146104ff57600080fd5b806329cfd322146103e257806342842e0e146103f7578063432a044514610417578063453c2310146104375780634b0bddd21461046557600080fd5b80631c9641fb116102035780631c9641fb146103235780631e7269c51461034357806323b872dd1461037357806324bbd0491461039357806324d7806c146103b257600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da57806318160ddd146102fc57600080fd5b3661024657005b600080fd5b34801561025757600080fd5b5061026b610266366004611d68565b61073b565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b5061029561078d565b6040516102779190611ddc565b3480156102ae57600080fd5b506102c26102bd366004611def565b61081f565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004611e1f565b610863565b005b34801561030857600080fd5b5060015460005403600019015b604051908152602001610277565b34801561032f57600080fd5b506102fa61033e366004611def565b6108e9565b34801561034f57600080fd5b5061026b61035e366004611e49565b60126020526000908152604090205460ff1681565b34801561037f57600080fd5b506102fa61038e366004611e64565b6108f6565b34801561039f57600080fd5b50600c5461026b90610100900460ff1681565b3480156103be57600080fd5b5061026b6103cd366004611e49565b60096020526000908152604090205460ff1681565b3480156103ee57600080fd5b506102fa610901565b34801561040357600080fd5b506102fa610412366004611e64565b610972565b34801561042357600080fd5b506102fa610432366004611def565b61098d565b34801561044357600080fd5b50600f546104529061ffff1681565b60405161ffff9091168152602001610277565b34801561047157600080fd5b506102fa610480366004611ea0565b6109ea565b34801561049157600080fd5b506102fa6104a0366004611f68565b610a51565b3480156104b157600080fd5b50600c5461026b9060ff1681565b3480156104cb57600080fd5b506102fa6104da366004611f68565b610aff565b3480156104eb57600080fd5b506011546102c2906001600160a01b031681565b34801561050b57600080fd5b506102c261051a366004611def565b610bad565b34801561052b57600080fd5b50610315600e5481565b34801561054157600080fd5b50600c5461026b9062010000900460ff1681565b34801561056157600080fd5b50610295610bbf565b34801561057657600080fd5b50610315610585366004611e49565b610c4d565b34801561059657600080fd5b506102fa610c9c565b3480156105ab57600080fd5b506102fa6105ba366004611fb1565b610cb0565b3480156105cb57600080fd5b506008546001600160a01b03166102c2565b3480156105e957600080fd5b50610295610d19565b6102fa610600366004611def565b610d28565b34801561061157600080fd5b506102fa610620366004611ea0565b611050565b34801561063157600080fd5b506102fa610640366004611f68565b6110e5565b34801561065157600080fd5b506102fa610660366004611e1f565b611188565b34801561067157600080fd5b506102fa610680366004611fd5565b61125c565b34801561069157600080fd5b506102956106a0366004611def565b6112a6565b3480156106b157600080fd5b506102956113e0565b3480156106c657600080fd5b50610315600d5481565b3480156106dc57600080fd5b5061026b6106eb366004612051565b6113ed565b3480156106fc57600080fd5b506102fa61070b366004611e49565b61141b565b34801561071c57600080fd5b5061031560105481565b34801561073257600080fd5b506102fa611491565b60006001600160e01b031982166380ac58cd60e01b148061076c57506001600160e01b03198216635b5e139f60e01b145b8061078757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461079c90612084565b80601f01602080910402602001604051908101604052809291908181526020018280546107c890612084565b80156108155780601f106107ea57610100808354040283529160200191610815565b820191906000526020600020905b8154815290600101906020018083116107f857829003601f168201915b5050505050905090565b600061082a826114c5565b610847576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061086e82610bad565b9050806001600160a01b0316836001600160a01b0316036108a25760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108d9576108bc81336113ed565b6108d9576040516367d9dca160e11b815260040160405180910390fd5b6108e48383836114fe565b505050565b6108f161155a565b600e55565b6108e48383836115b4565b61090961155a565b600c5462010000900460ff161561095f5760405162461bcd60e51b8152602060048201526015602482015274115c9c9bdc8e88105b1c9958591e481b1bd8dad959605a1b60448201526064015b60405180910390fd5b600c805462ff0000191662010000179055565b6108e48383836040518060200160405280600081525061125c565b61099561155a565b600081116109e55760405162461bcd60e51b815260206004820152601860248201527f4572726f723a2043616e27742073657420746f207a65726f00000000000000006044820152606401610956565b601055565b6109f261155a565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527fe68d2c359a771606c400cf8b87000cf5864010363d6a736e98f5047b7bbe18e9910160405180910390a25050565b610a5961155a565b600c5460ff1615610aac5760405162461bcd60e51b815260206004820152601860248201527f4572726f723a20416c72656164792072657665616c65642e00000000000000006044820152606401610956565b600c805460ff1916600117905560405133907fffcd326b78e78031a693e986f76bfa19d1b13f1fe4b2ec67c23f46456ee100de90610aeb908490611ddc565b60405180910390a2610afc81610aff565b50565b610b0761155a565b600c5462010000900460ff1615610b5c5760405162461bcd60e51b8152602060048201526019602482015278115c9c9bdc8e8813595d1859185d18481a5cc81b1bd8dad959603a1b6044820152606401610956565b600a610b68828261210c565b50336001600160a01b03167ff765b68b6ff897de964353a0eb194e46ecea8772879eb880b4b0fd277124922c82604051610ba29190611ddc565b60405180910390a250565b6000610bb8826117a3565b5192915050565b600a8054610bcc90612084565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf890612084565b8015610c455780601f10610c1a57610100808354040283529160200191610c45565b820191906000526020600020905b815481529060010190602001808311610c2857829003601f168201915b505050505081565b60006001600160a01b038216610c76576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ca461155a565b610cae60006118c7565b565b610cb861155a565b60008161ffff1611610d015760405162461bcd60e51b815260206004820152601260248201527143616e6e6f742073657420746f207a65726f60701b6044820152606401610956565b600f805461ffff191661ffff92909216919091179055565b60606003805461079c90612084565b600c54610100900460ff16610d8b5760405162461bcd60e51b815260206004820152602360248201527f4d696e74696e67206973206e6f7420796574206f70656e20666f72207075626c60448201526269632160e81b6064820152608401610956565b600d546001546000548391900360001901610da691906121e2565b1115610df45760405162461bcd60e51b815260206004820152601f60248201527f4572726f723a2043616e277420657863656564206d617820737570706c7921006044820152606401610956565b601054811115610e5c5760405162461bcd60e51b815260206004820152602d60248201527f4572726f3a2043616e2774206d696e74206d6f7265207468616e206d6178207060448201526c195c881d1e08185b1b1bddd959609a1b6064820152608401610956565b3360009081526012602052604090205460ff1615610ef05760405162461bcd60e51b8152602060048201526044602482018190527f4572726f723a20546869732077616c6c65742068617320616c7265616479206d908201527f696e746564206974732071756f7461206f66206d617820616c6c6f776564204e606482015263232a399760e11b608482015260a401610956565b80600e54610efe91906121f5565b3414610f415760405162461bcd60e51b81526020600482015260126024820152714d75737420706179206d696e74206665652160701b6044820152606401610956565b600f5461ffff161561100c57600f5461ffff1681610f5e33610c4d565b610f6891906121e2565b1115610fd15760405162461bcd60e51b815260206004820152603260248201527f4572726f723a2063616e2774206d696e74206d6f7265207468616e206d6178206044820152711c195c881dd85b1b195d08185b1b1bddd95960721b6064820152608401610956565b600f5461ffff1681610fe233610c4d565b610fec91906121e2565b0361100c57336000908152601260205260409020805460ff191660011790555b6011546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611045573d6000803e3d6000fd5b50610afc3382611919565b336001600160a01b038316036110795760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110ed61155a565b600c5462010000900460ff16156111425760405162461bcd60e51b8152602060048201526019602482015278115c9c9bdc8e8813595d1859185d18481a5cc81b1bd8dad959603a1b6044820152606401610956565b600b61114e828261210c565b50336001600160a01b03167f998cc6c827a95d954dd9f7f353dbbb9e4959d633c6639bca42129fa1089c364882604051610ba29190611ddc565b61119061155a565b6001600160a01b0382166111e65760405162461bcd60e51b815260206004820152601d60248201527f4572726f723a207265636970656e74203d3d20616464726573732830290000006044820152606401610956565b600d54600154600054839190036000190161120191906121e2565b1061124e5760405162461bcd60e51b815260206004820152601860248201527f43616e277420657863656564206d617820737570706c792100000000000000006044820152606401610956565b6112588282611919565b5050565b6112678484846115b4565b6001600160a01b0383163b156112a05761128384848484611933565b6112a0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c5460609060ff1661132a57600b80546112c090612084565b90506000036112f95760405180604001604052806012815260200171139bc81a5b9a5d1a585b08155492481cd95d60721b815250610787565b600b61130483611a1f565b60405160200161131592919061220c565b60405160208183030381529060405292915050565b600a805461133790612084565b90506000036113d057600b805461134d90612084565b80601f016020809104026020016040519081016040528092919081815260200182805461137990612084565b80156113c65780601f1061139b576101008083540402835291602001916113c6565b820191906000526020600020905b8154815290600101906020018083116113a957829003601f168201915b5050505050610787565b600a61130483611a1f565b919050565b600b8054610bcc90612084565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61142361155a565b6001600160a01b0381166114885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610956565b610afc816118c7565b61149961155a565b60405133904780156108fc02916000818181858888f19350505050158015610afc573d6000803e3d6000fd5b6000816001111580156114d9575060005482105b8015610787575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610cae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610956565b60006115bf826117a3565b9050836001600160a01b031681600001516001600160a01b0316146115f65760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611614575061161485336113ed565b8061162f5750336116248461081f565b6001600160a01b0316145b90508061164f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661167657604051633a954ecd60e21b815260040160405180910390fd5b611682600084876114fe565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611758576000548214611758578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b604080516060810182526000808252602082018190529181019190915281806001116118ae576000548110156118ae57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906118ac5780516001600160a01b031615611842579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156118a7579392505050565b611842565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611258828260405180602001604052806000815250611ab2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119689033908990889088906004016122a3565b6020604051808303816000875af19250505080156119a3575060408051601f3d908101601f191682019092526119a0918101906122e0565b60015b611a01573d8080156119d1576040519150601f19603f3d011682016040523d82523d6000602084013e6119d6565b606091505b5080516000036119f9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606000611a2c83611c7a565b600101905060008167ffffffffffffffff811115611a4c57611a4c611edc565b6040519080825280601f01601f191660200182016040528015611a76576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611a8057509392505050565b6000546001600160a01b038416611adb57604051622e076360e81b815260040160405180910390fd5b82600003611afc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611c25575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611bee6000878480600101955087611933565b611c0b576040516368d2bf6b60e11b815260040160405180910390fd5b808210611ba3578260005414611c2057600080fd5b611c6a565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611c26575b5060009081556112a09085838684565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611cb95772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611ce5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611d0357662386f26fc10000830492506010015b6305f5e1008310611d1b576305f5e100830492506008015b6127108310611d2f57612710830492506004015b60648310611d41576064830492506002015b600a83106107875760010192915050565b6001600160e01b031981168114610afc57600080fd5b600060208284031215611d7a57600080fd5b8135611d8581611d52565b9392505050565b60005b83811015611da7578181015183820152602001611d8f565b50506000910152565b60008151808452611dc8816020860160208601611d8c565b601f01601f19169290920160200192915050565b602081526000611d856020830184611db0565b600060208284031215611e0157600080fd5b5035919050565b80356001600160a01b03811681146113db57600080fd5b60008060408385031215611e3257600080fd5b611e3b83611e08565b946020939093013593505050565b600060208284031215611e5b57600080fd5b611d8582611e08565b600080600060608486031215611e7957600080fd5b611e8284611e08565b9250611e9060208501611e08565b9150604084013590509250925092565b60008060408385031215611eb357600080fd5b611ebc83611e08565b915060208301358015158114611ed157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f0d57611f0d611edc565b604051601f8501601f19908116603f01168101908282118183101715611f3557611f35611edc565b81604052809350858152868686011115611f4e57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f7a57600080fd5b813567ffffffffffffffff811115611f9157600080fd5b8201601f81018413611fa257600080fd5b611a1784823560208401611ef2565b600060208284031215611fc357600080fd5b813561ffff81168114611d8557600080fd5b60008060008060808587031215611feb57600080fd5b611ff485611e08565b935061200260208601611e08565b925060408501359150606085013567ffffffffffffffff81111561202557600080fd5b8501601f8101871361203657600080fd5b61204587823560208401611ef2565b91505092959194509250565b6000806040838503121561206457600080fd5b61206d83611e08565b915061207b60208401611e08565b90509250929050565b600181811c9082168061209857607f821691505b6020821081036120b857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156108e457600081815260208120601f850160051c810160208610156120e55750805b601f850160051c820191505b81811015612104578281556001016120f1565b505050505050565b815167ffffffffffffffff81111561212657612126611edc565b61213a816121348454612084565b846120be565b602080601f83116001811461216f57600084156121575750858301515b600019600386901b1c1916600185901b178555612104565b600085815260208120601f198616915b8281101561219e5788860151825594840194600190910190840161217f565b50858210156121bc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820180821115610787576107876121cc565b8082028115828204841417610787576107876121cc565b600080845461221a81612084565b60018281168015612232576001811461224757612276565b60ff1984168752821515830287019450612276565b8860005260208060002060005b8581101561226d5781548a820152908401908201612254565b50505082870194505b50505050835161228a818360208801611d8c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906122d690830184611db0565b9695505050505050565b6000602082840312156122f257600080fd5b8151611d8581611d5256fea2646970667358221220bab62e0b7c631340b58919d108ba6a82748a27b79b8b8b28cfb697ed107de85564736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f6261667962656967766b61367470727769366172657864777a6b333762776b706677336b6666377a706a713637697a78683336647a3232737367612e697066732e6e667473746f726167652e6c696e6b2f00000000000000
-----Decoded View---------------
Arg [0] : _initialURI (string): https://bafybeigvka6tprwi6arexdwzk37bwkpfw3kff7zpjq67izxh36dz22ssga.ipfs.nftstorage.link/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000059
Arg [2] : 68747470733a2f2f6261667962656967766b6136747072776936617265786477
Arg [3] : 7a6b333762776b706677336b6666377a706a713637697a78683336647a323273
Arg [4] : 7367612e697066732e6e667473746f726167652e6c696e6b2f00000000000000
Deployed Bytecode Sourcemap
64409:5617: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;68583:112:0;;;;;;;;;;-1:-1:-1;68583:112:0;;;;;:::i;:::-;;:::i;64928:38::-;;;;;;;;;;-1:-1:-1;64928:38:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;49316:170;;;;;;;;;;-1:-1:-1;49316:170:0;;;;;:::i;:::-;;:::i;64630:27::-;;;;;;;;;;-1:-1:-1;64630:27:0;;;;;;;;;;;18755:39;;;;;;;;;;-1:-1:-1;18755:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;67561:144;;;;;;;;;;;;;:::i;49557:185::-;;;;;;;;;;-1:-1:-1;49557:185:0;;;;;:::i;:::-;;:::i;67215:172::-;;;;;;;;;;-1:-1:-1;67215:172:0;;;;;:::i;:::-;;:::i;64781:26::-;;;;;;;;;;-1:-1:-1;64781:26:0;;;;;;;;;;;3058:6:1;3046:19;;;3028:38;;3016:2;3001:18;64781:26:0;2884:188:1;19085:152:0;;;;;;;;;;-1:-1:-1;19085:152:0;;;;;:::i;:::-;;:::i;68238:259::-;;;;;;;;;;-1:-1:-1;68238:259:0;;;;;:::i;:::-;;:::i;64601:22::-;;;;;;;;;;-1:-1:-1;64601:22:0;;;;;;;;68827:214;;;;;;;;;;-1:-1:-1;68827:214:0;;;;;:::i;:::-;;:::i;64851:68::-;;;;;;;;;;-1:-1:-1;64851:68:0;;;;-1:-1:-1;;;;;64851:68:0;;;46513:125;;;;;;;;;;-1:-1:-1;46513:125:0;;;;;:::i;:::-;;:::i;64737:37::-;;;;;;;;;;;;;;;;64664:26;;;;;;;;;;-1:-1:-1;64664:26:0;;;;;;;;;;;64540:21;;;;;;;;;;;;;:::i;43838:206::-;;;;;;;;;;-1:-1:-1;43838:206:0;;;;;:::i;:::-;;:::i;17745:103::-;;;;;;;;;;;;;:::i;67025:182::-;;;;;;;;;;-1:-1:-1;67025:182:0;;;;;:::i;:::-;;:::i;17097:87::-;;;;;;;;;;-1:-1:-1;17170:6:0;;-1:-1:-1;;;;;17170:6:0;17097:87;;46874:104;;;;;;;;;;;;;:::i;65554:982::-;;;;;;:::i;:::-;;:::i;48645:319::-;;;;;;;;;;-1:-1:-1;48645:319:0;;;;;:::i;:::-;;:::i;67851:234::-;;;;;;;;;;-1:-1:-1;67851:234:0;;;;;:::i;:::-;;:::i;66669:348::-;;;;;;;;;;-1:-1:-1;66669:348:0;;;;;:::i;:::-;;:::i;49813:392::-;;;;;;;;;;-1:-1:-1;49813:392:0;;;;;:::i;:::-;;:::i;69124:782::-;;;;;;;;;;-1:-1:-1;69124:782:0;;;;;:::i;:::-;;:::i;64568:24::-;;;;;;;;;;;;;:::i;64699:31::-;;;;;;;;;;;;;;;;49035:214;;;;;;;;;;-1:-1:-1;49035:214:0;;;;;:::i;:::-;;:::i;18003:238::-;;;;;;;;;;-1:-1:-1;18003:238:0;;;;;:::i;:::-;;:::i;64814:28::-;;;;;;;;;;;;;;;;69914: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;68583:112::-;16983:13;:11;:13::i;:::-;68662:9:::1;:25:::0;68583:112::o;49316:170::-;49450:28;49460:4;49466:2;49470:7;49450:9;:28::i;67561:144::-;16983:13;:11;:13::i;:::-;67625:14:::1;::::0;;;::::1;;;67624:15;67616:49;;;::::0;-1:-1:-1;;;67616:49:0;;6455:2:1;67616:49:0::1;::::0;::::1;6437:21:1::0;6494:2;6474:18;;;6467:30;-1:-1:-1;;;6513:18:1;;;6506:51;6574:18;;67616:49:0::1;;;;;;;;;67676:14;:21:::0;;-1:-1:-1;;67676:21:0::1;::::0;::::1;::::0;;67561:144::o;49557:185::-;49695:39;49712:4;49718:2;49722:7;49695:39;;;;;;;;;;;;:16;:39::i;67215:172::-;16983:13;:11;:13::i;:::-;67315:1:::1;67300:12;:16;67292:53;;;::::0;-1:-1:-1;;;67292:53:0;;6805:2:1;67292:53:0::1;::::0;::::1;6787:21:1::0;6844:2;6824:18;;;6817:30;6883:26;6863:18;;;6856:54;6927:18;;67292:53:0::1;6603:348:1::0;67292:53:0::1;67356:8;:23:::0;67215:172::o;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;68238:259::-;16983:13;:11;:13::i;:::-;68340:10:::1;::::0;::::1;;68339:11;68331:48;;;::::0;-1:-1:-1;;;68331:48:0;;7158:2:1;68331:48:0::1;::::0;::::1;7140:21:1::0;7197:2;7177:18;;;7170:30;7236:26;7216:18;;;7209:54;7280:18;;68331:48:0::1;6956:348:1::0;68331:48:0::1;68390:10;:17:::0;;-1:-1:-1;;68390:17:0::1;68403:4;68390:17;::::0;;68423:35:::1;::::0;68437:10:::1;::::0;68423:35:::1;::::0;::::1;::::0;68449:8;;68423:35:::1;:::i;:::-;;;;;;;;68469:20;68480:8;68469:10;:20::i;:::-;68238:259:::0;:::o;68827:214::-;16983:13;:11;:13::i;:::-;68908:14:::1;::::0;;;::::1;;;68907:15;68899:53;;;::::0;-1:-1:-1;;;68899:53:0;;7511:2:1;68899:53:0::1;::::0;::::1;7493:21:1::0;7550:2;7530:18;;;7523:30;-1:-1:-1;;;7569:18:1;;;7562:55;7634:18;;68899:53:0::1;7309:349:1::0;68899:53:0::1;68963:7;:18;68973:8:::0;68963:7;:18:::1;:::i;:::-;;69012:10;-1:-1:-1::0;;;;;68997:36:0::1;;69024:8;68997:36;;;;;;:::i;:::-;;;;;;;;68827:214:::0;:::o;46513:125::-;46577:7;46604:21;46617:7;46604:12;:21::i;:::-;:26;;46513:125;-1:-1:-1;;46513:125:0:o;64540:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::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;67025:182::-;16983:13;:11;:13::i;:::-;67133:1:::1;67114:16;:20;;;67106:51;;;::::0;-1:-1:-1;;;67106:51:0;;10069:2:1;67106:51:0::1;::::0;::::1;10051:21:1::0;10108:2;10088:18;;;10081:30;-1:-1:-1;;;10127:18:1;;;10120:48;10185:18;;67106:51:0::1;9867:342:1::0;67106:51:0::1;67168:12;:31:::0;;-1:-1:-1;;67168:31:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;67025:182::o;46874:104::-;46930:13;46963:7;46956:14;;;;;:::i;65554:982::-;65423:8;;;;;;;65415:56;;;;-1:-1:-1;;;65415:56:0;;10416:2:1;65415:56:0;;;10398:21:1;10455:2;10435:18;;;10428:30;10494:34;10474:18;;;10467:62;-1:-1:-1;;;10545:18:1;;;10538:33;10588:19;;65415:56:0;10214:399:1;65415:56:0;65677:9:::1;::::0;42516:1;42922:12;42712:7;42906:13;65666:7;;42906:28;;-1:-1:-1;;42906:46:0;65650:23:::1;;;;:::i;:::-;:36;;65628:117;;;::::0;-1:-1:-1;;;65628:117:0;;11082:2:1;65628:117:0::1;::::0;::::1;11064:21:1::0;11121:2;11101:18;;;11094:30;11160:33;11140:18;;;11133:61;11211:18;;65628:117:0::1;10880:355:1::0;65628:117:0::1;65789:8;;65778:7;:19;;65756:114;;;::::0;-1:-1:-1;;;65756:114:0;;11442:2:1;65756:114:0::1;::::0;::::1;11424:21:1::0;11481:2;11461:18;;;11454:30;11520:34;11500:18;;;11493:62;-1:-1:-1;;;11571:18:1;;;11564:43;11624:19;;65756:114:0::1;11240:409:1::0;65756:114:0::1;65911:10;65904:18;::::0;;;:6:::1;:18;::::0;;;;;::::1;;65903:19;65881:137;;;::::0;-1:-1:-1;;;65881:137:0;;11856:2:1;65881:137:0::1;::::0;::::1;11838:21:1::0;11895:2;11875:18;;;11868:30;;;11934:34;11914:18;;;11907:62;12005:34;11985:18;;;11978:62;-1:-1:-1;;;12056:19:1;;;12049:35;12101:19;;65881:137:0::1;11654:472:1::0;65881:137:0::1;66062:7;66050:9;;:19;;;;:::i;:::-;66037:9;:32;66029:63;;;::::0;-1:-1:-1;;;66029:63:0;;12506:2:1;66029:63:0::1;::::0;::::1;12488:21:1::0;12545:2;12525:18;;;12518:30;-1:-1:-1;;;12564:18:1;;;12557:48;12622:18;;66029:63:0::1;12304:342:1::0;66029:63:0::1;66109:12;::::0;::::1;;:16:::0;66105:335:::1;;66203:12;::::0;::::1;;66192:7:::0;66168:21:::1;66178:10;66168:9;:21::i;:::-;:31;;;;:::i;:::-;:47;;66142:159;;;::::0;-1:-1:-1;;;66142:159:0;;12853:2:1;66142:159:0::1;::::0;::::1;12835:21:1::0;12892:2;12872:18;;;12865:30;12931:34;12911:18;;;12904:62;-1:-1:-1;;;12982:18:1;;;12975:48;13040:19;;66142:159:0::1;12651:414:1::0;66142:159:0::1;66355:12;::::0;::::1;;66344:7:::0;66320:21:::1;66330:10;66320:9;:21::i;:::-;:31;;;;:::i;:::-;:47:::0;66316:113:::1;;66395:10;66388:18;::::0;;;:6:::1;:18;::::0;;;;:25;;-1:-1:-1;;66388:25:0::1;66409:4;66388:25;::::0;;66316:113:::1;66458:8;::::0;66450:37:::1;::::0;-1:-1:-1;;;;;66458:8:0;;::::1;::::0;66477:9:::1;66450:37:::0;::::1;;;::::0;66458:8:::1;66450:37:::0;66458:8;66450:37;66477:9;66458:8;66450:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;66498:30;66508:10;66520:7;66498:9;:30::i;48645:319::-:0;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;67851:234::-;16983:13;:11;:13::i;:::-;67940:14:::1;::::0;;;::::1;;;67939:15;67931:53;;;::::0;-1:-1:-1;;;67931:53:0;;7511:2:1;67931:53:0::1;::::0;::::1;7493:21:1::0;7550:2;7530:18;;;7523:30;-1:-1:-1;;;7569:18:1;;;7562:55;7634:18;;67931:53:0::1;7309:349:1::0;67931:53:0::1;67995:10;:24;68008:11:::0;67995:10;:24:::1;:::i;:::-;;68053:10;-1:-1:-1::0;;;;;68035:42:0::1;;68065:11;68035:42;;;;;;:::i;66669:348::-:0;16983:13;:11;:13::i;:::-;-1:-1:-1;;;;;66788:23:0;::::1;66780:65;;;::::0;-1:-1:-1;;;66780:65:0;;13272:2:1;66780:65:0::1;::::0;::::1;13254:21:1::0;13311:2;13291:18;;;13284:30;13350:31;13330:18;;;13323:59;13399:18;;66780:65:0::1;13070:353:1::0;66780:65:0::1;66905:9;::::0;42516:1;42922:12;42712:7;42906:13;66894:8;;42906:28;;-1:-1:-1;;42906:46:0;66878:24:::1;;;;:::i;:::-;:36;66856:110;;;::::0;-1:-1:-1;;;66856:110:0;;13630:2:1;66856:110:0::1;::::0;::::1;13612:21:1::0;13669:2;13649:18;;;13642:30;13708:26;13688:18;;;13681:54;13752:18;;66856:110:0::1;13428:348:1::0;66856:110:0::1;66979:30;66989:9;67000:8;66979:9;:30::i;:::-;66669:348:::0;;:::o;49813:392::-;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;69124:782::-;69278:10;;69242:13;;69278:10;;69273:625;;69333:10;69327:24;;;;;:::i;:::-;;;69355:1;69327:29;:324;;;;;;;;;;;;;;;-1:-1:-1;;;69327:324:0;;;;;;69460:10;69501:18;:7;:16;:18::i;:::-;69413:171;;;;;;;;;:::i;:::-;;;;;;;;;;;;;69303:348;69124:782;-1:-1:-1;;69124:782:0:o;69273:625::-;69710:7;69704:21;;;;;:::i;:::-;;;69729:1;69704:26;:194;;69888:10;69704:194;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69804:7;69813:18;:7;:16;:18::i;69273:625::-;69124:782;;;:::o;64568:24::-;;;;;;;:::i;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;;15175:2:1;18084:110:0::1;::::0;::::1;15157:21:1::0;15214:2;15194:18;;;15187:30;15253:34;15233:18;;;15226:62;-1:-1:-1;;;15304:18:1;;;15297:36;15350:19;;18084:110:0::1;14973:402:1::0;18084:110:0::1;18205:28;18224:8;18205:18;:28::i;69914:109::-:0;16983:13;:11;:13::i;:::-;69964:51:::1;::::0;69972:10:::1;::::0;69993:21:::1;69964:51:::0;::::1;;;::::0;::::1;::::0;;;69993:21;69972:10;69964: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;;15582:2:1;17318:68:0;;;15564:21:1;;;15601:18;;;15594:30;15660:34;15640:18;;;15633:62;15712:18;;17318:68:0;15380: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;3077:347::-;3142:6;3150;3203:2;3191:9;3182:7;3178:23;3174:32;3171:52;;;3219:1;3216;3209:12;3171:52;3242:29;3261:9;3242:29;:::i;:::-;3232:39;;3321:2;3310:9;3306:18;3293:32;3368:5;3361:13;3354:21;3347:5;3344:32;3334:60;;3390:1;3387;3380:12;3334:60;3413:5;3403:15;;;3077:347;;;;;:::o;3429:127::-;3490:10;3485:3;3481:20;3478:1;3471:31;3521:4;3518:1;3511:15;3545:4;3542:1;3535:15;3561:632;3626:5;3656:18;3697:2;3689:6;3686:14;3683:40;;;3703:18;;:::i;:::-;3778:2;3772:9;3746:2;3832:15;;-1:-1:-1;;3828:24:1;;;3854:2;3824:33;3820:42;3808:55;;;3878:18;;;3898:22;;;3875:46;3872:72;;;3924:18;;:::i;:::-;3964:10;3960:2;3953:22;3993:6;3984:15;;4023:6;4015;4008:22;4063:3;4054:6;4049:3;4045:16;4042:25;4039:45;;;4080:1;4077;4070:12;4039:45;4130:6;4125:3;4118:4;4110:6;4106:17;4093:44;4185:1;4178:4;4169:6;4161;4157:19;4153:30;4146:41;;;;3561:632;;;;;:::o;4198:451::-;4267:6;4320:2;4308:9;4299:7;4295:23;4291:32;4288:52;;;4336:1;4333;4326:12;4288:52;4376:9;4363:23;4409:18;4401:6;4398:30;4395:50;;;4441:1;4438;4431:12;4395:50;4464:22;;4517:4;4509:13;;4505:27;-1:-1:-1;4495:55:1;;4546:1;4543;4536:12;4495:55;4569:74;4635:7;4630:2;4617:16;4612:2;4608;4604:11;4569:74;:::i;4654:272::-;4712:6;4765:2;4753:9;4744:7;4740:23;4736:32;4733:52;;;4781:1;4778;4771:12;4733:52;4820:9;4807:23;4870:6;4863:5;4859:18;4852:5;4849:29;4839:57;;4892:1;4889;4882:12;4931:667;5026:6;5034;5042;5050;5103:3;5091:9;5082:7;5078:23;5074:33;5071:53;;;5120:1;5117;5110:12;5071:53;5143:29;5162:9;5143:29;:::i;:::-;5133:39;;5191:38;5225:2;5214:9;5210:18;5191:38;:::i;:::-;5181:48;;5276:2;5265:9;5261:18;5248:32;5238:42;;5331:2;5320:9;5316:18;5303:32;5358:18;5350:6;5347:30;5344:50;;;5390:1;5387;5380:12;5344:50;5413:22;;5466:4;5458:13;;5454:27;-1:-1:-1;5444:55:1;;5495:1;5492;5485:12;5444:55;5518:74;5584:7;5579:2;5566:16;5561:2;5557;5553:11;5518:74;:::i;:::-;5508:84;;;4931:667;;;;;;;:::o;5603:260::-;5671:6;5679;5732:2;5720:9;5711:7;5707:23;5703:32;5700:52;;;5748:1;5745;5738:12;5700:52;5771:29;5790:9;5771:29;:::i;:::-;5761:39;;5819:38;5853:2;5842:9;5838:18;5819:38;:::i;:::-;5809:48;;5603:260;;;;;:::o;5868:380::-;5947:1;5943:12;;;;5990;;;6011:61;;6065:4;6057:6;6053:17;6043:27;;6011:61;6118:2;6110:6;6107:14;6087:18;6084:38;6081:161;;6164:10;6159:3;6155:20;6152:1;6145:31;6199:4;6196:1;6189:15;6227:4;6224:1;6217:15;6081:161;;5868:380;;;:::o;7789:545::-;7891:2;7886:3;7883:11;7880:448;;;7927:1;7952:5;7948:2;7941:17;7997:4;7993:2;7983:19;8067:2;8055:10;8051:19;8048:1;8044:27;8038:4;8034:38;8103:4;8091:10;8088:20;8085:47;;;-1:-1:-1;8126:4:1;8085:47;8181:2;8176:3;8172:12;8169:1;8165:20;8159:4;8155:31;8145:41;;8236:82;8254:2;8247:5;8244:13;8236:82;;;8299:17;;;8280:1;8269:13;8236:82;;;8240:3;;;7789:545;;;:::o;8510:1352::-;8636:3;8630:10;8663:18;8655:6;8652:30;8649:56;;;8685:18;;:::i;:::-;8714:97;8804:6;8764:38;8796:4;8790:11;8764:38;:::i;:::-;8758:4;8714:97;:::i;:::-;8866:4;;8930:2;8919:14;;8947:1;8942:663;;;;9649:1;9666:6;9663:89;;;-1:-1:-1;9718:19:1;;;9712:26;9663:89;-1:-1:-1;;8467:1:1;8463:11;;;8459:24;8455:29;8445:40;8491:1;8487:11;;;8442:57;9765:81;;8912:944;;8942:663;7736:1;7729:14;;;7773:4;7760:18;;-1:-1:-1;;8978:20:1;;;9096:236;9110:7;9107:1;9104:14;9096:236;;;9199:19;;;9193:26;9178:42;;9291:27;;;;9259:1;9247:14;;;;9126:19;;9096:236;;;9100:3;9360:6;9351:7;9348:19;9345:201;;;9421:19;;;9415:26;-1:-1:-1;;9504:1:1;9500:14;;;9516:3;9496:24;9492:37;9488:42;9473:58;9458:74;;9345:201;-1:-1:-1;;;;;9592:1:1;9576:14;;;9572:22;9559:36;;-1:-1:-1;8510:1352:1:o;10618:127::-;10679:10;10674:3;10670:20;10667:1;10660:31;10710:4;10707:1;10700:15;10734:4;10731:1;10724:15;10750:125;10815:9;;;10836:10;;;10833:36;;;10849:18;;:::i;12131:168::-;12204:9;;;12235;;12252:15;;;12246:22;;12232:37;12222:71;;12273:18;;:::i;13781:1187::-;14058:3;14087:1;14120:6;14114:13;14150:36;14176:9;14150:36;:::i;:::-;14205:1;14222:18;;;14249:133;;;;14396:1;14391:356;;;;14215:532;;14249:133;-1:-1:-1;;14282:24:1;;14270:37;;14355:14;;14348:22;14336:35;;14327:45;;;-1:-1:-1;14249:133:1;;14391:356;14422:6;14419:1;14412:17;14452:4;14497:2;14494:1;14484:16;14522:1;14536:165;14550:6;14547:1;14544:13;14536:165;;;14628:14;;14615:11;;;14608:35;14671:16;;;;14565:10;;14536:165;;;14540:3;;;14730:6;14725:3;14721:16;14714:23;;14215:532;;;;;14778:6;14772:13;14794:68;14853:8;14848:3;14841:4;14833:6;14829:17;14794:68;:::i;:::-;-1:-1:-1;;;14884:18:1;;14911:22;;;14960:1;14949:13;;13781:1187;-1:-1:-1;;;;13781:1187:1:o;15741:489::-;-1:-1:-1;;;;;16010:15:1;;;15992:34;;16062:15;;16057:2;16042:18;;16035:43;16109:2;16094:18;;16087:34;;;16157:3;16152:2;16137:18;;16130:31;;;15935:4;;16178:46;;16204:19;;16196:6;16178:46;:::i;:::-;16170:54;15741:489;-1:-1:-1;;;;;;15741:489:1:o;16235:249::-;16304:6;16357:2;16345:9;16336:7;16332:23;16328:32;16325:52;;;16373:1;16370;16363:12;16325:52;16405:9;16399:16;16424:30;16448:5;16424:30;:::i
Swarm Source
ipfs://bab62e0b7c631340b58919d108ba6a82748a27b79b8b8b28cfb697ed107de855
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.